From 20e6ece866fff7ed15e0c6254e50aa2dfd6551f6 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Mon, 17 Dec 2018 14:01:42 +0800 Subject: [PATCH] MDL-63378 theme_boost: Contrast of menu items Enforce the :active menu text colour during a mouse click on an action menu. --- theme/boost/scss/moodle/core.scss | 5 ++++- theme/boost/style/moodle.css | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 8f5c2e7b317c9..554b42a7b5a78 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -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 { @@ -2252,4 +2255,4 @@ $switch-transition: .2s all !default; .position-right { right: 0 !important; /* stylelint-disable-line declaration-no-important */ -} \ No newline at end of file +} diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index d63018cdbbd5d..97ea76d36b8dd 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -10383,6 +10383,9 @@ ul { width: 100%; color: #373a3c; } +.dropdown-item:active a { + color: #fff; } + .competency-tree ul { padding-left: 1.5rem; }