mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
blocks editing ui: MDL-19398 Make invisible blocks at least partly invisible.
This commit is contained in:
parent
ae42ff6fee
commit
bc422e6955
@ -361,6 +361,8 @@ class block_base {
|
||||
if (!empty($this->content->footer)) {
|
||||
$bc->footer = $this->content->footer;
|
||||
}
|
||||
} else {
|
||||
$bc->add_class('invisible');
|
||||
}
|
||||
|
||||
if ($this->page->user_is_editing()) {
|
||||
|
@ -1585,6 +1585,11 @@ a.skip:focus, a.skip:active {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block-region .invisible {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=0.5);
|
||||
}
|
||||
|
||||
.sideblock .header .icon.hide,
|
||||
.sideblock .header .icon.edit {
|
||||
margin-right: 6px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user