summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/badges.less
blob: eae95c21908e64b6973a1154293f4911fafca878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

@badge-color: @body-bg-color;
@badge-line-height: 1.2;
@badge-padding: 0.25em;

.badge {
  .bg-stateful();
  .rounded-corners();

  background-color: @gray;
  color: @badge-color;
  display: inline-block;
  font-family: @font-family-wide;
  font-size: @font-size-small;
  line-height: @badge-line-height;
  min-width: 2em;
  padding: @badge-padding;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}