Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78925

Heatmap from block_accessreview does not work properly for all activites

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.4
    • None
    • MOODLE_401_STABLE

      Using course format Topics, certain activities are not properly highlighted, specifically hidden activities and labels (text & media area).

      The following elements have background/background-color overwritten:

      • li.activity.label
      • .activity-item.hiddenactivity

      We could increase specificity, like I did in our theme to work around this issue:

      .block_accessreview .activity-item.hiddenactivity {
          color: inherit;
          background: inherit;
          border-color: inherit;
      }
      li.activity.label {
          &.block_accessreview_danger {
              color: #6e211e;
              background: #f6d9d8;
              border-color: #f3c9c8;
          }
          &.block_accessreview_success {
              color: #1e451e;
              background: #d7e6d7;
              border-color: #c8ddc8;
          }
          &.block_accessreview_warning {
              color: #7d5a29;
              background: #fcefdc;
              border-color: #fbe8cd;
          }
      }
      

      The two CSS rules causing the problem both come from Boost. Maybe it would be better to reconsider why they are in place and how they could be changed instead?

        1. hidden.png
          hidden.png
          76 kB
        2. label.png
          label.png
          153 kB

            Unassigned Unassigned
            smeikx Alex Kremser
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.