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

JDL button style should promote the secondary style as the default

    Details

    • Similar Issues:
    • Epic Link:

      Description

      We want to ensure that when someone creates a button that the default style for that button is the secondary style - this is so that we don't end up with lots of plugins showing primary buttons everywhere.

      If someone wants a primary button they should be adding .btn-primary to the classes.

      In Scope

      • .btn, .btn-default, no class should be the secondary style
      • .btn-primary should be the only way to make a button or anchor primary
      • default anchor style should just be a link
      • Update blueocean-plugin to reflect the class changes

        Attachments

          Activity

          Hide
          jamesdumay James Dumay added a comment -

          Cliff Meyers should the .inverse be applied from the container instead?

          // Button is inverse
          <nav class="inverse">
          <button>Hello World</button>
          </nav>

          // Button is default
          <nav>
          <button>Hello World</button>
          </nav>

          Show
          jamesdumay James Dumay added a comment - Cliff Meyers should the .inverse be applied from the container instead? // Button is inverse <nav class="inverse"> <button>Hello World</button> </nav> // Button is default <nav> <button>Hello World</button> </nav>

            People

            • Assignee:
              Unassigned
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: