From 6346cc35931f3b2d9736ec50a57563c66846a479 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Thu, 11 Jun 2020 10:22:00 +0200 Subject: [PATCH] MDL-69021 theme_boost: improve link styles in alerts - provide default styles for links in alerts if the .alert-link css class is omitted. --- theme/boost/scss/moodle/core.scss | 3 +++ theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 3 files changed, 9 insertions(+) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index ac58e81402d..4f10a3795d4 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2603,6 +2603,9 @@ $picker-emojis-per-row: 7 !default; color: darken(theme-color-level($color, $alert-color-level), 10%); } } +.alert a { + font-weight: $font-weight-bold; +} @include media-breakpoint-down(sm) { #page-navbar { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index c9fc67172b4..588a0de57e9 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -11746,6 +11746,9 @@ body.h5p-embed .h5pmessages { .alert-dark a { color: #040505; } +.alert a { + font-weight: 700; } + @media (max-width: 767.98px) { #page-navbar { width: 100%; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 7be61849309..e9b5b03f0fe 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -11960,6 +11960,9 @@ body.h5p-embed .h5pmessages { .alert-dark a { color: #040505; } +.alert a { + font-weight: 700; } + @media (max-width: 767.98px) { #page-navbar { width: 100%; }