From 098687e55def98d4b6cb2166c0d50fc9c751ab97 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Wed, 30 Oct 2019 14:22:52 +0100 Subject: [PATCH] MDL-66999 theme_boost: @extend remove .small Remove specific CSS and use bs4 classes in mustache instead --- admin/templates/settings_search_results.mustache | 2 +- theme/boost/scss/moodle/admin.scss | 2 -- theme/boost/style/moodle.css | 13 +++++-------- theme/classic/style/moodle.css | 13 +++++-------- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/admin/templates/settings_search_results.mustache b/admin/templates/settings_search_results.mustache index 66531548b66..2a766599f93 100644 --- a/admin/templates/settings_search_results.mustache +++ b/admin/templates/settings_search_results.mustache @@ -47,7 +47,7 @@

{{{title}}}

diff --git a/theme/boost/scss/moodle/admin.scss b/theme/boost/scss/moodle/admin.scss index 37b85b53a9e..a2bd27b0af6 100644 --- a/theme/boost/scss/moodle/admin.scss +++ b/theme/boost/scss/moodle/admin.scss @@ -746,8 +746,6 @@ padding: 0; margin: 0 0 1.5rem 0; li { - color: $text-muted; - @extend .small; + li:before { padding-right: 0.5rem; padding-left: 0.5rem; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 0b3828367ec..7b02422f8ca 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -2685,8 +2685,7 @@ hr { border-top: 1px solid rgba(0, 0, 0, 0.1); } small, -.small, -#page-admin-search .adminpagepath li { +.small { font-size: 80%; font-weight: 400; } @@ -12170,12 +12169,10 @@ body.h5p-embed .h5pmessages { list-style: none; padding: 0; margin: 0 0 1.5rem 0; } - #page-admin-search .adminpagepath li { - color: #868e96; } - #page-admin-search .adminpagepath li + li:before { - padding-right: 0.5rem; - padding-left: 0.5rem; - content: "/"; } + #page-admin-search .adminpagepath li + li:before { + padding-right: 0.5rem; + padding-left: 0.5rem; + content: "/"; } @media (min-width: 576px) { #page-admin-search .container { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index c3e13ee9644..341ea1a2f77 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -2685,8 +2685,7 @@ hr { border-top: 1px solid rgba(0, 0, 0, 0.1); } small, -.small, -#page-admin-search .adminpagepath li { +.small { font-size: 80%; font-weight: 400; } @@ -12426,12 +12425,10 @@ body.h5p-embed .h5pmessages { list-style: none; padding: 0; margin: 0 0 1.5rem 0; } - #page-admin-search .adminpagepath li { - color: #868e96; } - #page-admin-search .adminpagepath li + li:before { - padding-right: 0.5rem; - padding-left: 0.5rem; - content: "/"; } + #page-admin-search .adminpagepath li + li:before { + padding-right: 0.5rem; + padding-left: 0.5rem; + content: "/"; } @media (min-width: 576px) { #page-admin-search .container { -- 2.17.1