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

Review comments in .less files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: HTML and CSS
    • Labels:
      None
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      If // style comments are stripped out of .less files this issue can be closed.

      If however they survive in the resulting CSS they're not really valid. They will work apparently but they're not entirely correct. We should be using /* comment */

      See theme/bootstrapbase/less/moodle/buttons.less for example.

      At the same time this needs to be documented at http://docs.moodle.org/dev/CSS_coding_style#Documentation_and_Comments

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andyjdavis Andrew Davis
                Participants:
                Component watchers:
                Amy Groshek, David Scotson, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: