MDL-67472 theme_boost: configurable sass variable for drawer bgcolour
authorBas Brands <bas@moodle.com>
Mon, 13 Jan 2020 08:12:47 +0000 (09:12 +0100)
committerBas Brands <bas@moodle.com>
Mon, 13 Jan 2020 08:12:47 +0000 (09:12 +0100)
theme/boost/scss/moodle/drawer.scss

index bbf3d6e..c261e05 100644 (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;