bmbrands / theme_bootstrap

A Moodle theme based on the Bootstrap CSS framework
113 stars 112 forks source link

Opacity problem in hidden sections #450

Open jrm-unamur opened 7 years ago

jrm-unamur commented 7 years ago

Hi Bas, When a section is hidden, opacity is set to 0.5 on the '

  • ' element, children elements thus inheriting this property. There is a poblem with the collapsible menus on the right hand side of the section. If one of these menus overlaps a non-hidden section, edit buttons for this section can be seen by transparency (see screenshot). Opacity should not be set on li element, but rather like it's done in core themes:

    .course-content ul li.section.hidden .sectionname > span, .course-content ul li.section.hidden .content > div, .course-content ul li.section.hidden .activity .activityinstance {
        opacity: 0.5;
    }

    Kind regards

    capture d ecran 2016-10-31 a 08 45 24