Skip to content

Opacity problem in hidden sections #450

Description

@jrm-unamur

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

  • Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions