2121 * .able-transcript-area = 7000
2222 *
2323 * Player controls: (5000 - 6000)
24- * .able-controller div[role=" button"] = 6600
24+ * .able-controller button = 6600
2525 * .able-big-play-button = 6500
2626 * .able-seekbar = 6500
2727 * div.able-captions-wrapper = 6000
@@ -336,8 +336,7 @@ video[data-able-player],
336336}
337337
338338.able-controller ,
339- .able-controller button ,
340- .able-controller div [role = "button" ]{
339+ .able-controller button {
341340 color : var (--able-control-color );
342341}
343342
@@ -358,7 +357,8 @@ video[data-able-player],
358357 outline-offset : 2px ;
359358}
360359
361- .able-controller div [role = "button" ] {
360+ .able-controller button {
361+ all : unset;
362362 background : none;
363363 position : relative;
364364 padding : 2px ;
@@ -373,9 +373,10 @@ video[data-able-player],
373373 align-items : center;
374374 z-index : 6600 ;
375375 border-radius : 3px ;
376+ box-sizing : border-box;
376377}
377378
378- .able-controller div .able-button-handler-play [ role = " button" ] {
379+ .able-controller div .able-button-handler-play button {
379380 /* The icon appears too large if this button doesn't have padding. */
380381 padding : 4px ;
381382}
@@ -1187,7 +1188,7 @@ div.able-modal-dialog button,
11871188.able-window-toolbar input ,
11881189.able-window-toolbar select ,
11891190.able-controller input ,
1190- .able-controller div [ role = " button" ] ,
1191+ .able-controller button ,
11911192.able-seekbar-head {
11921193 outline-style : solid;
11931194 outline-width : 3px ;
@@ -1200,14 +1201,13 @@ div.able-modal-dialog button,
12001201.able-modal-dialog button : focus ,
12011202.able-wrapper .able button .able-big-play-button : focus .icon-play ,
12021203.able-wrapper .able button .able-big-play-button : focus svg ,
1203- .able-controller div [ role = " button" ] : focus ,
1204+ .able-controller button : focus ,
12041205div .able-modal-dialog input : focus ,
12051206div .able-modal-dialog button : focus ,
12061207.able-window-toolbar .able-button-handler-preferences : focus ,
12071208.able-window-toolbar input : focus ,
12081209.able-window-toolbar select : focus ,
12091210.able-controller input : focus ,
1210- .able-controller div [role = "button" ]: focus ,
12111211.able-seekbar-head : focus {
12121212 outline-color : var (--able-focus-outline );
12131213}
@@ -1220,14 +1220,13 @@ div.able-modal-dialog button:focus,
12201220.able-wrapper .able button .able-big-play-button : hover .icon-play ,
12211221.able-wrapper .able button .able-big-play-button : hover svg ,
12221222.able-popup li : hover ,
1223- .able-controller div [ role = " button" ] : hover ,
1223+ .able-controller button : hover ,
12241224div .able-modal-dialog input : hover ,
12251225div .able-modal-dialog button : hover ,
12261226.able-window-toolbar .able-button-handler-preferences : hover ,
12271227.able-window-toolbar input : hover ,
12281228.able-window-toolbar select : hover ,
12291229.able-controller input : hover ,
1230- .able-controller div [role = "button" ]: hover ,
12311230.able-seekbar-head : hover {
12321231 outline-color : var (--able-hover-outline );
12331232}
@@ -1339,8 +1338,8 @@ button.able-search-results-time {
13391338}
13401339
13411340/* SVG Icons */
1342- .able-wrapper div [ role = " button" ] svg ,
1343- .able-modal-dialog div [ role = " button" ] svg ,
1341+ .able-wrapper button svg ,
1342+ .able-modal-dialog button svg ,
13441343.able-wrapper button svg ,
13451344.able-modal-dialog button svg {
13461345 display : block;
@@ -1486,7 +1485,7 @@ button#able-vts-save:focus {
14861485 .able-control-row {
14871486 gap : 8px ;
14881487 }
1489- .able-control-row div [ role = " button" ] {
1488+ .able-control-row button {
14901489 min-width : 32px ;
14911490 height : 32px ;
14921491 }
0 commit comments