aboutsummaryrefslogtreecommitdiff
path: root/less/_labels.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-12-03 18:15:37 -0800
committerMark Otto <[email protected]>2014-12-03 18:15:37 -0800
commitbad40d5c4ac47efdadcf524455cf3e12f5bec82b (patch)
treee60fdd0bf19b98380619d4e3c6029a760d64697c /less/_labels.less
parent6bd84210ffe766b18fd3cd11a5da4f5ee0d43ecc (diff)
parentbafd0b057eceae261da82e52ad78c65f08ddd166 (diff)
downloadbootstrap-bad40d5c4ac47efdadcf524455cf3e12f5bec82b.tar.xz
bootstrap-bad40d5c4ac47efdadcf524455cf3e12f5bec82b.zip
Merge pull request #1 from twbs/scss
Move to Sass
Diffstat (limited to 'less/_labels.less')
-rw-r--r--less/_labels.less64
1 files changed, 0 insertions, 64 deletions
diff --git a/less/_labels.less b/less/_labels.less
deleted file mode 100644
index f34c019b1..000000000
--- a/less/_labels.less
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Labels
-// --------------------------------------------------
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: bold;
- line-height: 1;
- color: @label-color;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- .border-radius();
-
- // Add hover effects, but only for links
- a& {
- &:hover,
- &:focus {
- color: @label-link-hover-color;
- text-decoration: none;
- cursor: pointer;
- }
- }
-
- // Empty labels collapse automatically
- &:empty {
- display: none;
- }
-
- // Quick fix for labels in buttons
- .btn & {
- position: relative;
- top: -1px;
- }
-}
-
-// Colors
-// Contextual variations (linked labels get darker on :hover)
-
-.label-default {
- .label-variant(@label-default-bg);
-}
-
-.label-primary {
- .label-variant(@label-primary-bg);
-}
-
-.label-success {
- .label-variant(@label-success-bg);
-}
-
-.label-info {
- .label-variant(@label-info-bg);
-}
-
-.label-warning {
- .label-variant(@label-warning-bg);
-}
-
-.label-danger {
- .label-variant(@label-danger-bg);
-}