diff options
| author | Mark Otto <[email protected]> | 2013-08-05 15:30:28 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-05 15:30:28 -0700 |
| commit | c4281f39190b99ed543b046430e32ff488092ecd (patch) | |
| tree | 5eab86ca1606061950675c2c01ad928c95a31899 /less | |
| parent | 844df9e0011c0dff5900bcbed3f1146564c0103c (diff) | |
| download | bootstrap-c4281f39190b99ed543b046430e32ff488092ecd.tar.xz bootstrap-c4281f39190b99ed543b046430e32ff488092ecd.zip | |
Update labels to include a base class
* Builds on the new button styles by requiring a `.btn-default` for the
regular, gray labels
* Updates components examples to show new stuff
Diffstat (limited to 'less')
| -rw-r--r-- | less/labels.less | 6 | ||||
| -rw-r--r-- | less/variables.less | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/less/labels.less b/less/labels.less index 7e7ea169f..c7c719c03 100644 --- a/less/labels.less +++ b/less/labels.less @@ -12,7 +12,6 @@ text-align: center; white-space: nowrap; vertical-align: baseline; - background-color: @gray-light; border-radius: .25em; // Add hover effects, but only for links @@ -29,6 +28,11 @@ // Colors // Contextual variations (linked labels get darker on :hover) + +.label-default { + .label-variant(@label-default-bg); +} + .label-danger { .label-variant(@label-danger-bg); } diff --git a/less/variables.less b/less/variables.less index 48c6d88b2..b3743755c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -375,6 +375,8 @@ // Labels // ------------------------- + +@label-default-bg: @gray-light; @label-success-bg: @brand-success; @label-info-bg: @brand-info; @label-warning-bg: @brand-warning; |
