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

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5.1
    • Fix Version/s: FRONTEND
    • Component/s: HTML and CSS
    • Labels:

      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

              Assignee:
              bawjaws David Scotson
              Reporter:
              bawjaws David Scotson
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: