-
Task
-
Resolution: Unresolved
-
Minor
-
None
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
[JENKINS-37251] JDL button style should promote the secondary style as the default
Epic Link | New: JENKINS-35741 [ 171657 ] |
Rank | New: Ranked higher |
Sprint | New: 1.0-beta-2 [ 101 ] |
Rank | New: Ranked lower |
Assignee | New: Cliff Meyers [ cliffmeyers ] |
Description |
Original:
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 |
New:
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 |
Rank | New: Ranked lower |
Sprint | Original: 1.0-b07/b08 [ 101 ] | New: 1.0-beta-5 [ 106 ] |
cliffmeyers 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>