diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index d2a7a447a84..b09adad042f 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -232,7 +232,7 @@ class block_base { $bc->footer = $this->content->footer; } } else { - $bc->add_class('invisible'); + $bc->add_class('invisibleblock'); } if (!$this->hide_header()) { diff --git a/theme/boost/scss/moodle/blocks.scss b/theme/boost/scss/moodle/blocks.scss index dc1c7e6f04a..178e38e3b90 100644 --- a/theme/boost/scss/moodle/blocks.scss +++ b/theme/boost/scss/moodle/blocks.scss @@ -328,3 +328,7 @@ body.drawer-open-left #region-main.has-blocks { margin-right: 2px; } } + +.block.invisibleblock .card-title { + color: $text-muted; +} \ No newline at end of file diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 84d746a6f76..15f9bfb421b 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -11413,6 +11413,9 @@ div.editor_atto_toolbar button .icon { .block_settings .block_tree p.hasicon .icon { margin-right: 2px; } +.block.invisibleblock .card-title { + color: #868e96; } + .navbar { max-height: 50px; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 03a8838470c..a8a9f2f8d89 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -11655,6 +11655,9 @@ div.editor_atto_toolbar button .icon { .block_settings .block_tree p.hasicon .icon { margin-right: 2px; } +.block.invisibleblock .card-title { + color: #868e96; } + .navbar { max-height: 50px; }