Merge branch 'MDL-42634-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Dan Poltawski 2015-08-17 11:44:57 +01:00
commit edc3889618
4 changed files with 14 additions and 5 deletions

View file

@ -20,7 +20,10 @@
.block.beingmoved {border-width: 2px;border-style: dashed;} .block.beingmoved {border-width: 2px;border-style: dashed;}
.blockmovetarget {display: block;height: 1em;margin-bottom: 1em;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-show,
.block .block-hider-hide {cursor:pointer;} .block .block-hider-hide {cursor:pointer;}

View file

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

View file

@ -317,7 +317,11 @@
margin-top: 0; margin-top: 0;
} }
.course-content ul li.section.hidden { .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.topics li.section .content,
.course-content ul.weeks li.section .content { .course-content ul.weeks li.section .content {

File diff suppressed because one or more lines are too long