34 lines
465 B
SCSS
34 lines
465 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
.status-text {
|
|
font-weight: $weight-semibold;
|
|
|
|
&.node-ready {
|
|
color: $nomad-green-dark;
|
|
}
|
|
|
|
&.node-disconnected {
|
|
color: $yellow;
|
|
}
|
|
|
|
&.node-down {
|
|
color: $danger;
|
|
}
|
|
|
|
&.node-initializing {
|
|
color: $grey;
|
|
}
|
|
|
|
@each $name, $pair in $colors {
|
|
$color: nth($pair, 1);
|
|
$color-invert: nth($pair, 2);
|
|
|
|
&.is-#{$name} {
|
|
color: $color;
|
|
}
|
|
}
|
|
}
|