diff options
| Commit | 66c492fd05c2d720c81e2be8d6845560b868e7ff (patch) | |
|---|---|---|
| Author | 2017-08-28 13:30:48 +0800 | |
| Committer | 2017-08-28 13:30:48 +0800 | |
| Files | 8547f648c647b8cf82c81a731c95c5b8e2d06240 /src/labels.less | |
| Spectre-Dark-Gruvbox-0.3.2.tar Spectre-Dark-Gruvbox-0.3.2.tar.gz Spectre-Dark-Gruvbox-0.3.2.zip | ||
| Parent | 7395257d70d8c60b5c4499f297f03b75db5af230 (diff) | |
| Parent | 00f87b240e52065f6a07641999315aafb89be781 (diff) | |
Merge pull request #262 from picturepan2/0.3.2 v0.3.2
0.3.2
1 files changed, 11 insertions, 3 deletions
| -rw-r--r-- | src/labels.less | 14 |
diff --git a/src/labels.less b/src/labels.less index c67759b..efeb89d 100644 --- a/src/labels.less +++ b/src/labels.less @@ -1,7 +1,15 @@ // Labels .label { + display: inline-block; .label-base(); .label-variant(lighten(@body-font-color, 5%), @bg-color); + line-height: 1; + + &.label-rounded { + border-radius: 5rem; + padding-left: .4rem; + padding-right: .4rem; + } &.label-primary { .label-variant(@light-color, @primary-color); @@ -12,14 +20,14 @@ } &.label-success { - .label-variant(@light-color, @control-color-success); + .label-variant(@light-color, @success-color); } &.label-warning { - .label-variant(@light-color, @control-color-warning); + .label-variant(@light-color, @warning-color); } &.label-error { - .label-variant(@light-color, @control-color-error); + .label-variant(@light-color, @error-color); } } |