meshviewer/scss/modules/_node.scss

31 lines
494 B
SCSS
Raw Permalink 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;
2018-02-25 16:33:57 +00:00
max-width: 100%;
}
label {
color: $color-white;
font-weight: bold;
position: absolute;
right: .5em;
top: .1em;
white-space: nowrap;
}
}