icingaweb2/public/css/icinga/badges.less

48 lines
785 B
Plaintext

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
.badge {
background-color: @gray-light;
color: @text-color-inverted;
font-family: @font-family-wide;
font-size: @font-size-small;
font-weight: @font-weight-bold;
line-height: 1;
min-width: 3em;
padding: @vertical-padding @horizontal-padding;
text-align: center;
vertical-align: middle;
white-space: nowrap;
&.state-ok {
.bg-color-ok();
}
&.state-up {
.bg-color-up();
}
&.state-warning {
.bg-color-warning();
}
&.state-critical {
.bg-color-critical();
}
&.state-down {
.bg-color-down();
}
&.state-unreachable {
.bg-color-unreachable();
}
&.state-unknown {
.bg-color-unknown();
}
&.state-pending {
.bg-color-pending();
}
}