MDL-42634 theme: Action menu is displayed correctly with hidden elements

This commit is contained in:
Frederic Massart 2015-01-21 16:56:42 +08:00 committed by Andrew Nicols
parent 57739a72cb
commit c855ced7bb
4 changed files with 14 additions and 5 deletions

View File

@ -20,7 +20,10 @@
.block.beingmoved {border-width: 2px;border-style: dashed;}
.blockmovetarget {display: block;height: 1em;margin-bottom: 1em;border-width: 2px;border-style: dashed;}
.block-region .invisible {opacity: 0.5;filter: alpha(opacity=50);}
.block-region block.invisible .header h2 {
opacity: 0.5;
filter: alpha(opacity=50);
}
.block .block-hider-show,
.block .block-hider-hide {cursor:pointer;}

View File

@ -64,7 +64,9 @@
border-style: dashed;
}
&.invisible {
.opacity(50);
.header h2 {
.opacity(50);
}
}
&.hidden .header .block_action {

View File

@ -317,7 +317,11 @@
margin-top: 0;
}
.course-content ul li.section.hidden {
opacity: 0.5;
.sectionname,
.content > div, /* All the divs but the activities which are in a UL. */
.activity .activityinstance {
opacity: .5;
}
}
.course-content ul.topics li.section .content,
.course-content ul.weeks li.section .content {

File diff suppressed because one or more lines are too long