openmct/platform/commonUI/general/res/sass/_limits.scss

45 lines
869 B
SCSS
Raw Normal View History

.s-limit {
$a: 0.5;
$l: 30%;
white-space: nowrap;
&:before {
display: inline-block;
font-family: symbolsfont;
font-size: 0.8em;
//line-height: 1.1em;
margin-right: $interiorMarginSm;
vertical-align: middle;
}
&.s-limit-upr {
&.s-limit-yellow {
background: rgba($colorLimitYellow, $a);
&:before {
color: lighten($colorLimitYellow, $l);
content: "\0000ed";
}
}
&.s-limit-red {
background: rgba($colorLimitRed, $a);
&:before {
color: lighten($colorLimitRed, $l);
content: "\0000eb";
}
}
}
&.s-limit-lwr {
&.s-limit-yellow {
background: rgba($colorLimitYellow, $a);
&:before {
color: lighten($colorLimitYellow, $l);
content: "\0000ec";
}
}
&.s-limit-red {
background: rgba($colorLimitRed, $a);
&:before {
color: lighten($colorLimitRed, $l);
content: "\0000ee";
}
}
}
}