-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.4, 3.8, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67472-master -
Theres a SCSS variable called
$drawer-bg
|
which does essentially nothing in my eyes, as the drawer bg stays the same if it is set in "Raw initial scss". It is located in boost/scss/drawer.scss. If it should set the drawer background then the code in boost/scss/drawer.scss should be changed accordingly.
For example from:
/* Use a variable for the drawer background colors. */
|
$drawer-bg: $gray-lighter !default; |
|
[data-region="drawer"] { |
position: fixed;
|
padding: $drawer-padding-x $drawer-padding-y;
|
width: $drawer-width;
|
top: $fixed-header-y;
|
height: calc(100% - #{$navbar-height}); |
overflow-y: auto;
|
-webkit-overflow-scrolling: touch;
|
z-index: $zindex-dropdown - 1; |
background-color: darken($body-bg, 5%); |
-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; |
}
|
to
/* Use a variable for the drawer background colors. */
|
$drawer-bg: darken($body-bg, 5%) !default; |
//XOR
|
$drawer-bg: darken($gray-lighter, 5%) !default; |
|
[data-region="drawer"] { |
position: fixed;
|
padding: $drawer-padding-x $drawer-padding-y;
|
width: $drawer-width;
|
top: $fixed-header-y;
|
height: calc(100% - #{$navbar-height}); |
overflow-y: auto;
|
-webkit-overflow-scrolling: touch;
|
z-index: $zindex-dropdown - 1; |
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; |
}
|