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

Possibly useless form CSS in admin/tool/customlang/style.css

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE

      Description

      This file has some CSS that limits the form width to 70%, and then gives 30% of that to the form labels and 60% to the form controls.

      Basically the same CSS is provided by Standard/Clean etc. to lay out all standard moodle forms so this is redundant.

      At least this can be deleted:

      .path-admin-tool-customlang .mform.filterform

      { width: 70%; margin-left: auto; margin-right: auto; }

      .path-admin-tool-customlang .mform.filterform .fitem .fitemtitle

      { width: 30%; }

      .path-admin-tool-customlang .mform.filterform .fitem .felement

      { width: 60%; margin-left: 31%; }

      And someone might want to have a second look at the rest of the file, bearing in mind that this CSS is now sent to every user of Moodle (which might not have been the case when originally written) and the fact that the default theme has changed so much. Perhaps we can delete most of it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bawjaws David Scotson
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón, Bas Brands
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: