diff options
update demo and labels
1 files changed, 11 insertions, 1 deletions
| -rw-r--r-- | src/labels.less | 12 |
diff --git a/src/labels.less b/src/labels.less index 57995ee..1550a93 100644 --- a/src/labels.less +++ b/src/labels.less @@ -9,12 +9,22 @@ text-align: center; white-space: nowrap; vertical-align: middle; - margin-top: -.2rem; + margin: -.2rem .5rem 0 0; border-radius: 2px; &.label-primary { background-color: @core-color; } + &.label-success { + background-color: @control-color-success; + } + &.label-warning { + color: darken(@control-color-warning, 35%); + background-color: @control-color-warning; + } + &.label-danger { + background-color: @control-color-danger; + } &.label-lg { padding: .2rem .8rem; |