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:
Bas Brands 2019-05-13 12:02:44 +02:00
parent 6a7451ff1b
commit c906aed8ab
4 changed files with 11 additions and 1 deletions

View File

@ -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()) {

View File

@ -328,3 +328,7 @@ body.drawer-open-left #region-main.has-blocks {
margin-right: 2px;
}
}
.block.invisibleblock .card-title {
color: $text-muted;
}

View File

@ -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; }

View File

@ -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; }