mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-65581 core_blocks: change classname for hidden blocks
Changing the added class .invisible to .ivisibleblock to avoid hiding the block completely
This commit is contained in:
parent
6a7451ff1b
commit
c906aed8ab
@ -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()) {
|
||||
|
@ -328,3 +328,7 @@ body.drawer-open-left #region-main.has-blocks {
|
||||
margin-right: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.block.invisibleblock .card-title {
|
||||
color: $text-muted;
|
||||
}
|
@ -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; }
|
||||
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user