diff options
update demo and labels
2 files changed, 38 insertions, 29 deletions
| -rw-r--r-- | src/labels.less | 12 | ||||
| -rw-r--r-- | src/typography.less | 55 |
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 |