2013-09-16 13:46:04 -04:00
|
|
|
|
|
|
|
.label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $label-padding-vertical $label-padding-horizontal;
|
|
|
|
font-size: $label-font-size;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
border-radius: ($line-height-base * $label-font-size) + 2 * $label-padding-vertical;
|
|
|
|
white-space: nowrap;
|
|
|
|
background-color: $label-back-color;
|
|
|
|
color: $label-color;
|
2013-11-04 15:07:32 -05:00
|
|
|
transition: background-color 0.3s;
|
2013-09-16 13:46:04 -04:00
|
|
|
|
|
|
|
&[data-icon]:before {
|
2013-12-05 07:16:20 -05:00
|
|
|
padding-right: 0.5em;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
&[data-icon-append]:after {
|
2013-12-05 07:16:20 -05:00
|
|
|
padding-left: 0.5em;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-primary {
|
|
|
|
background-color: $label-primary-back-color;
|
|
|
|
color: $label-primary-color;
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAJUlEQVQIW2NkQABJIPM5lCvJCGMgC4LYIAkUlTAFMB0gjRQaBQCw8go5lVnl5wAAAABJRU5ErkJggg==);
|
|
|
|
|
|
|
|
@include respond-to(retina) {
|
|
|
|
background-size: 3px 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-28 11:19:03 -05:00
|
|
|
.label-primary-click {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
transition: none;
|
|
|
|
background-color: lighten($label-primary-back-color, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-22 10:41:07 -04:00
|
|
|
.label-blank {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $color-black;
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-16 13:46:04 -04:00
|
|
|
.label-light {
|
|
|
|
background-color: $label-light-back-color;
|
|
|
|
color: $label-light-color;
|
|
|
|
box-shadow: inset 1px 1px 0px $label-light-shadow-color;
|
|
|
|
padding: $label-light-padding-vertical $label-light-padding-horizontal;
|
|
|
|
min-width: 2.5em;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
}
|