From b01dbc09c4b526fdfa3fe948ec9d22008a54f5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikel=20Mart=C3=ADn?= Date: Tue, 5 Nov 2024 15:12:42 +0100 Subject: [PATCH] MDL-80519 theme: Add backward compatibility for rounded sizes --- theme/boost/scss/moodle/bs4-compat.scss | 10 ++++++++++ theme/boost/style/moodle.css | 8 ++++++++ theme/classic/style/moodle.css | 8 ++++++++ 3 files changed, 26 insertions(+) diff --git a/theme/boost/scss/moodle/bs4-compat.scss b/theme/boost/scss/moodle/bs4-compat.scss index 61221430d6d4b..515787cfbb0e3 100644 --- a/theme/boost/scss/moodle/bs4-compat.scss +++ b/theme/boost/scss/moodle/bs4-compat.scss @@ -377,3 +377,13 @@ a.close.disabled { .font-italic { font-style: italic !important; } + +// +// Rounded sizes +// +.rounded-sm { + border-radius: $border-radius-sm !important; +} +.rounded-lg { + border-radius: $border-radius-lg !important; +} diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 8c97956a1c248..e823570a44744 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -25527,6 +25527,14 @@ a.close.disabled, a.disabled.btn-close { font-style: italic !important; } +.rounded-sm { + border-radius: 0.2rem !important; +} + +.rounded-lg { + border-radius: 0.6rem !important; +} + /** * Moodle variables * diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index f3d3ab96640a2..94bebf4e00632 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -25527,6 +25527,14 @@ a.close.disabled, a.disabled.btn-close { font-style: italic !important; } +.rounded-sm { + border-radius: 0.2rem !important; +} + +.rounded-lg { + border-radius: 0.3rem !important; +} + /** * Moodle variables *