Skip to content

Commit

Permalink
MDL-63378 theme_boost: Contrast of menu items
Browse files Browse the repository at this point in the history
Enforce the :active menu text colour during a mouse click on an action menu.
  • Loading branch information
Damyon Wiese committed Dec 17, 2018
1 parent 33a388e commit 20e6ece
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion theme/boost/scss/moodle/core.scss
Expand Up @@ -2056,6 +2056,9 @@ $footer-link-color: $bg-inverse-link-color !default;
width: 100%;
color: $body-color;
}
.dropdown-item:active a {
color: $dropdown-link-active-color;
}

.competency-tree {
ul {
Expand Down Expand Up @@ -2252,4 +2255,4 @@ $switch-transition: .2s all !default;

.position-right {
right: 0 !important; /* stylelint-disable-line declaration-no-important */
}
}
3 changes: 3 additions & 0 deletions theme/boost/style/moodle.css
Expand Up @@ -10383,6 +10383,9 @@ ul {
width: 100%;
color: #373a3c; }

.dropdown-item:active a {
color: #fff; }

.competency-tree ul {
padding-left: 1.5rem; }

Expand Down

0 comments on commit 20e6ece

Please sign in to comment.