open-nomad/ui/app/styles/components/node-status-light.scss
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

30 lines
467 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
);
}
}