monitoring/web/css/libs/_labels.scss

18 lines
457 B
SCSS

@import "compass";
span.label {
padding: 1px 3px 2px;
font-size: map-get($label, font-size);
font-weight: bold;
color: #fff;
text-transform: uppercase;
white-space: nowrap;
background-color: map-get-deep($label, types, default);
@include border-radius(map-get($label, border-radius));
@each $name, $color in map-get($label, types) {
&.#{""+$name+""} {
background-color: $color;
}
}
}