MDL-67472 theme_boost: configurable sass variable for drawer bgcolour

This commit is contained in:
Bas Brands
2020-01-13 09:12:47 +01:00
parent 77d1c41502
commit e097ddcd4f
+2 -2
View File
@@ -25,7 +25,7 @@ $drawer-offscreen-gutter: 20px !default;
}
/* Use a variable for the drawer background colors. */
$drawer-bg: $gray-lighter !default;
$drawer-bg: darken($body-bg, 5%) !default;
[data-region="drawer"] {
position: fixed;
@@ -36,7 +36,7 @@ $drawer-bg: $gray-lighter !default;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
z-index: $zindex-dropdown - 1;
background-color: darken($body-bg, 5%);
background-color: $drawer-bg;
-webkit-transition: right 0.5s ease, left 0.5s ease;
-moz-transition: right 0.5s ease, left 0.5s ease;
transition: right 0.5s ease, left 0.5s ease;