Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24223

Check possibility of having a single "/plugin/styles.css"

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      This could be a concat of style.css files from all plugins, loaded into the browser via a single request for "/plugin.styles.css".

      Sure... each plugin can already define and load a .css but if you have a load of plugins installed all loading css files etc etc

      Thinking of this wrt css based icons - plugins can define icon themes via a style.css file that they provide as part of the plugin.

          [JENKINS-24223] Check possibility of having a single "/plugin/styles.css"

          Tom FENNELLY added a comment -

          Tom FENNELLY added a comment - Playing: https://github.com/tfennelly/jenkins/compare/JENKINS-24223

          Daniel Beck added a comment -

          Won't a single malformed CSS potentially break a lot more that only the own style in this case?

          Daniel Beck added a comment - Won't a single malformed CSS potentially break a lot more that only the own style in this case?

          Tom FENNELLY added a comment -

          Right... all the more reason to run each through a CSS pre-processor, rejecting those that cause it to barf.

          Tom FENNELLY added a comment - Right... all the more reason to run each through a CSS pre-processor, rejecting those that cause it to barf.

            tfennelly Tom FENNELLY
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: