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

Re-format all CSS in Moodle into a more easily human-readable format

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • FRONTEND
    • HTML and CSS

    Description

      The CSS in Moodle is poorly formatted and new CSS is still being added that is similarly poorly formatted.

      We have a CSS minifier that can turn nicely formatted CSS into a space-efficient format for delivery so there's no need to make it harder for developers to read and change the CSS. This is particularly annoying when you're looking at diffs of changes since a single change is not confined to a single line.

      This could be done in one sweep with an automated tool, or people changing CSS could be asked to submit one commit reformatting the file they're working on before any commits changing the code.

      Attachments

        Issue Links

          Activity

            People

              bawjaws David Scotson
              bawjaws David Scotson
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: