From 1aaa130376709247669cb85ae2fad18a01722afe 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 | 3 +++ theme/boost/style/moodle.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index cb11f94320c..238cc9d4ad7 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2047,6 +2047,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 { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 1afa609ebe1..e76d136511d 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -10374,6 +10374,9 @@ ul { width: 100%; color: #373a3c; } +.dropdown-item:active a { + color: #fff; } + .competency-tree ul { padding-left: 1.5rem; }