mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
34 lines
466 B
SCSS
34 lines
466 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|