open-nomad/ui/app/styles/components/node-status-light.scss
2018-05-30 11:27:21 -07:00

34 lines
515 B
SCSS

$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
);
}
&.ineligible {
background: $warning;
}
}