From ca9e1f15622148d196d383c815ddaf0cb7056768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikel=20Mart=C3=ADn?= Date: Wed, 26 Mar 2025 13:15:27 +0100 Subject: [PATCH] MDL-85019 theme_boost: Fix .badge-none text colour --- theme/boost/scss/moodle/course.scss | 1 + theme/boost/style/moodle.css | 1 + theme/classic/style/moodle.css | 1 + 3 files changed, 3 insertions(+) diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index ca9347ee71d..2a14dab1fd3 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -357,6 +357,7 @@ $divider-hover-color: $primary !default; .activitybadge { &.badge-none { font-weight: normal; + --#{$prefix}badge-color: #{$body-color}; @include font-size($small-font-size); padding: 0; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index ac4e355a38e..4f37d5164aa 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -30847,6 +30847,7 @@ table.calendartable caption { } .activity-item .activity-name-area .activitybadge.badge-none { font-weight: normal; + --bs-badge-color: #1d2125; font-size: 0.875em; padding: 0; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index a52cfaa5fee..02854bf097a 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -30847,6 +30847,7 @@ table.calendartable caption { } .activity-item .activity-name-area .activitybadge.badge-none { font-weight: normal; + --bs-badge-color: #1d2125; font-size: 0.875em; padding: 0; }