@@ -8,9 +8,10 @@ $transition-base: 0.2s;
88$transition-fade : 1s ;
99
1010$z-index-controls : 1 ;
11- $z-index-control-bar : 2 ;
11+ $z-index-control-bar : 6 ;
1212$z-index-chapter-tooltip : 4 ;
1313$z-index-thumbnail : 5 ;
14+ $z-index-menu : 7 ;
1415
1516// Spacing (em-based for scalability)
1617$spacing-control-bar-bottom : 3em ;
@@ -112,6 +113,7 @@ $spacing-progress-interactive-hover: -1.4rem;
112113 padding : 0.4em 0.6em ;
113114 top : $spacing-time-tooltip-offset ;
114115 font-size : 0.8em ;
116+ z-index : 3 ;
115117 }
116118
117119 .vjs-big-play-button {
@@ -291,6 +293,11 @@ $spacing-progress-interactive-hover: -1.4rem;
291293 z-index : $z-index-control-bar ;
292294 font-size : 120% ;
293295
296+ .vjs-menu-button {
297+ position : relative ;
298+ z-index : $z-index-menu ;
299+ }
300+
294301 .vjs-volume-panel {
295302 margin-right : 0.5em ;
296303
@@ -389,12 +396,16 @@ $spacing-progress-interactive-hover: -1.4rem;
389396 }
390397
391398 .vjs-menu {
399+ position : absolute ;
400+ z-index : $z-index-menu ;
401+
392402 .vjs-menu-content {
393403 max-width : 13em ;
394404 width : auto ;
395405 padding : 0.2em 0 ;
396406 overflow-y : auto ;
397407 max-height : 20em ;
408+ z-index : $z-index-menu ;
398409 // Firefox
399410 scrollbar-gutter : stable;
400411 scrollbar-width : thin ;
@@ -558,14 +569,23 @@ $spacing-progress-interactive-hover: -1.4rem;
558569 }
559570 }
560571
561- .vjs-http-source-selector >.vjs-button {
562- font-size : 1.6em ;
563- margin-right : -12px ;
564- margin-left : -12px ;
565- }
572+ .vjs-http-source-selector {
573+ z-index : $z-index-menu ;
574+
575+ >.vjs-button {
576+ font-size : 1.6em ;
577+ margin-right : -12px ;
578+ margin-left : -12px ;
579+ }
566580
567- .vjs-http-source-selector >.vjs-menu {
568- margin-bottom : 1.8em
581+ >.vjs-menu {
582+ // margin-bottom already set in general .vjs-menu rule above
583+ z-index : $z-index-menu ;
584+
585+ .vjs-menu-content {
586+ z-index : $z-index-menu ;
587+ }
588+ }
569589 }
570590
571591 .vjs-http-source-selector >.vjs-button.vjs-icon-cog ::before {
0 commit comments