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

Popup windows need uniform body class

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 2.0
    • Themes
    • None
    • MOODLE_18_STABLE
    • 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

              timhunt Tim Hunt
              ptrkmkl Patrick Malley
              Nobody Nobody
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10