open-nomad/ui/app/styles/components/node-status-light.scss

34 lines
515 B
SCSS
Raw Normal View History

2017-09-19 14:47:10 +00:00
$size: 0.75em;
.node-status-light {
display: inline-block;
height: $size;
width: $size;
border-radius: $size / 2;
vertical-align: middle;
background: $black;
&.ready {
background: $primary;
}
&.down {
background: $danger;
}
&.initializing {
background: repeating-linear-gradient(
-45deg,
$grey-lighter,
$grey-lighter 3px,
darken($grey-lighter, 25%) 3px,
darken($grey-lighter, 25%) 6px
);
}
2018-05-29 17:27:24 +00:00
&.ineligible {
background: $warning;
}
2017-09-19 14:47:10 +00:00
}