Summary Files Commits Branches @commit @diff @stats
path: root / src / labels.less
diff options
context:
space:
mode:
Commitf5fcba37b9304df1003a86cc18184072b7ac6256 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-03 20:10:24 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-03 20:10:24 +0800
Filesbebbd95192316c2f3a353e35e016cd0914669fe1 /src/labels.less
Spectre-Dark-Gruvbox-f5fcba37b9304df1003a86cc18184072b7ac6256.tar
Spectre-Dark-Gruvbox-f5fcba37b9304df1003a86cc18184072b7ac6256.tar.gz
Spectre-Dark-Gruvbox-f5fcba37b9304df1003a86cc18184072b7ac6256.zip
Parentfb2abff6320104dd2c7d72ac4d51690956534368 (diff)
update labels and toasts
1 files changed, 12 insertions, 8 deletions
-rw-r--r--src/labels.less20
diff --git a/src/labels.less b/src/labels.less
index 3288065..ac11630 100644
--- a/src/labels.less
+++ b/src/labels.less
@@ -1,15 +1,15 @@
// Labels
.label {
display: inline-block;
- padding: .2rem .5rem;
- font-size: 1.2rem;
- line-height: 1.4rem;
+ padding: .3rem .5rem;
+ font-size: 80%;
+ line-height: 1;
color: #666;
background-color: @core-border-color;
text-align: center;
white-space: nowrap;
vertical-align: middle;
- margin: -.2rem .5rem 0 0;
+ margin: -.3rem .5rem 0 .5rem;
border-radius: .2rem;
&.label-primary {
@@ -20,8 +20,12 @@
color: #fff;
background-color: @control-color-success;
}
+ &.label-info {
+ color: #fff;
+ background-color: @control-color-info;
+ }
&.label-warning {
- color: darken(@control-color-warning, 35%);
+ color: #fff;
background-color: @control-color-warning;
}
&.label-danger {
@@ -30,8 +34,8 @@
}
&.label-lg {
- padding: .2rem .8rem;
- font-size: 1.4rem;
- line-height: 1.8rem;
+ font-size: 100%;
+ line-height: 1.2;
+ padding: .3rem .8rem;
}
} \ No newline at end of file