Summary Files Commits Branches @commit @diff @stats
path: root / src / labels.less
blob: efeb89d3ac1beb234eeb58ed4b00f9acc1e86b64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Labels
.label {
  display: inline-block;
  .label-base();
  .label-variant(lighten(@body-font-color, 5%), @bg-color);
  line-height: 1;

  &.label-rounded {
    border-radius: 5rem;
    padding-left: .4rem;
    padding-right: .4rem; 
  }

  &.label-primary {
    .label-variant(@light-color, @primary-color);
  }

  &.label-secondary {
    .label-variant(@primary-color, @secondary-color);
  }

  &.label-success {
    .label-variant(@light-color, @success-color);
  }

  &.label-warning {
    .label-variant(@light-color, @warning-color);
  }

  &.label-error {
    .label-variant(@light-color, @error-color);
  }
}