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

Popup windows need uniform body class

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 2.0
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Popup windows in Moodle cannot currently be styled separately from non-popup windows due to lack of a uniform body class identifying it as such (ex: #mod-resource-view and .mod-resource will modify all resources).

      This is problematic when creating themes that are fixed-width and/or use margins or padding around the page or content. Popups appear fixed or padded in windows that do not support their size. A uniform class attached to all popups would really open the doors to theme development.

      Moodle Themes discussion on this topic here: http://moodle.org/mod/forum/discuss.php?d=77000

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              ptrkmkl Patrick Malley
              Tester:
              Nobody
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10