Просмотр исходного кода

fix(video-quality-label): push around z-indexes for firefox

master
Leonard Kim 7 лет назад
Родитель
Сommit
c54879d605
2 измененных файлов: 6 добавлений и 3 удалений
  1. 2
    2
      css/_vertical_filmstrip_overrides.scss
  2. 4
    1
      css/modals/video-quality/_video-quality.scss

+ 2
- 2
css/_vertical_filmstrip_overrides.scss Просмотреть файл

22
          * clickable but its inline dialogs must display over the video state
22
          * clickable but its inline dialogs must display over the video state
23
          * indicator when videos are displayed.
23
          * indicator when videos are displayed.
24
          */
24
          */
25
-        z-index: $tooltipsZ;
25
+        z-index: #{$tooltipsZ + 1};
26
 
26
 
27
         &.hide-videos {
27
         &.hide-videos {
28
-            z-index: calc(#{$tooltipsZ} - 1);
28
+            z-index: #{$tooltipsZ - 1};
29
         }
29
         }
30
 
30
 
31
         /**
31
         /**

+ 4
- 1
css/modals/video-quality/_video-quality.scss Просмотреть файл

142
     }
142
     }
143
 }
143
 }
144
 
144
 
145
-#videoResolutionLabel,
146
 .centeredVideoLabel.moveToCorner {
145
 .centeredVideoLabel.moveToCorner {
147
     z-index: $tooltipsZ;
146
     z-index: $tooltipsZ;
148
 }
147
 }
149
 
148
 
149
+#videoResolutionLabel {
150
+    z-index: #{$tooltipsZ + 1};
151
+}
152
+
150
 .centeredVideoLabel {
153
 .centeredVideoLabel {
151
     bottom: 45%;
154
     bottom: 45%;
152
     border-radius: 2px;
155
     border-radius: 2px;

Загрузка…
Отмена
Сохранить