summaryrefslogtreecommitdiff
path: root/web/css/libs/_labels.scss
blob: 51363004d24dc042548cf6a5ccbf9436338f87fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@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;
        }
    }
}