Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commited9de11c8b31bd37431235137a25b372ddec92ba (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-14 01:41:46 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-14 01:41:46 +0800
Files29e4c7131684544fef91ca6fe15f93a6b46d51c6 /src
Spectre-Dark-Gruvbox-ed9de11c8b31bd37431235137a25b372ddec92ba.tar
Spectre-Dark-Gruvbox-ed9de11c8b31bd37431235137a25b372ddec92ba.tar.gz
Spectre-Dark-Gruvbox-ed9de11c8b31bd37431235137a25b372ddec92ba.zip
Parentf5867e949c5af5d8979d5dc07091974d1114c589 (diff)
update demo and labels
2 files changed, 38 insertions, 29 deletions
-rw-r--r--src/labels.less12
-rw-r--r--src/typography.less55
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;
diff --git a/src/typography.less b/src/typography.less
index a15b132..dc7da3d 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -44,6 +44,33 @@ blockquote {
margin-bottom: 0;
}
}
+ul,
+ol {
+ margin: 0 0 1rem;
+
+ ul,
+ ol {
+ margin-left: 2rem;
+ }
+
+ li {
+ margin-top: 1rem;
+ }
+}
+ul {
+ list-style: disc inside;
+
+ ul {
+ list-style-type: circle;
+ }
+}
+ol {
+ list-style: decimal inside;
+
+ ol {
+ list-style-type: lower-alpha;
+ }
+}
.text-left {
text-align: left;
@@ -89,32 +116,4 @@ blockquote {
word-break: break-word;
word-wrap: break-word;
hyphens: auto;
-}
-
-ul,
-ol {
- margin: 0 0 1rem;
-
- ul,
- ol {
- margin-left: 2rem;
- }
-
- li {
- margin-top: 1rem;
- }
-}
-ul {
- list-style: disc inside;
-
- ul {
- list-style-type: circle;
- }
-}
-ol {
- list-style: decimal inside;
-
- ol {
- list-style-type: lower-alpha;
- }
} \ No newline at end of file