ezservermonitor-web/web/css/libs/_labels.scss
ShevAbam 9970343fe5 General : cleaning and optimizing CSS
General : responsive design
General : reload button now spins when you reload block
General : update jQuery plugin Knob to 1.2.11
General : optimizing security (config file esm.config.json is now in the conf/ folder with an htaccess)
CPU : retrieves correctly CPU frequency for Raspberry Pi
CPU : add CPU temperature (+ option to enable/disable)
System : little correction for getting distro name
Swap : fix if swap is disabled
Services status : adds protocol TCP or UDP for checking service status
Services status : new option to hide port number (see show_port in services section)
2015-07-07 15:57:41 +02:00

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;
}
}
}