blocks editing ui: MDL-19398 Make invisible blocks at least partly invisible.

This commit is contained in:
tjhunt 2009-07-15 07:45:48 +00:00
parent ae42ff6fee
commit bc422e6955
2 changed files with 7 additions and 0 deletions

View File

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

View File

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