meshviewer/scss/modules/_node.scss

30 lines
473 B
SCSS
Raw Normal View History

.bar {
2016-06-03 07:38:18 +00:00
background: mix($color-new, $color-white, 60);
display: block;
height: 1.4em;
position: relative;
&.warning {
background: mix($color-offline, $color-white, 60);
span {
background: $color-offline;
}
}
span {
2016-06-03 07:38:18 +00:00
background: $color-new;
display: inline-block;
height: 1.4em;
}
label {
color: $color-white;
font-weight: bold;
position: absolute;
right: .5em;
top: .1em;
white-space: nowrap;
}
}