Provide z-index centralisation for lower components

pull/2494/head
Rigel Kent 2020-02-21 21:25:27 +01:00
parent 97eae8382e
commit 555fdc8c79
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
5 changed files with 7 additions and 5 deletions

View File

@ -21,7 +21,7 @@
display: flex;
.top-left-block {
z-index: z(headerLeft);
z-index: 1;
height: $header-height;
display: flex;
align-items: center;

View File

@ -30,7 +30,7 @@
.jump-to-suggestions {
top: 100%;
left: 0;
z-index: 35;
z-index: z(typeahead);
width: 100%;
}

View File

@ -25,7 +25,7 @@
border-radius: 3px;
font-size: 12px;
font-weight: $font-bold;
z-index: 1;
z-index: z(miniature);
}
.video-thumbnail-duration-overlay {

View File

@ -462,6 +462,7 @@ my-video-comments {
.privacy-concerns {
position: fixed;
bottom: 0;
z-index: z(privacymsg);
padding: 5px 15px;

View File

@ -102,9 +102,10 @@ $variables: (
/*** z-index groups ***/
$zindex: (
miniature : 10,
privacymsg : 20,
typeahead : 30,
header : 1000,
/* header context */
headerLeft : 10,
menu : 11000,
dropdown : 12000,
popover : 13000,