mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
3e5d46a62b
open #95 Limits, plots, etc.; Misc sanding and shimming; Updated symbols font to replace missing Info symbol;
26 lines
755 B
SCSS
26 lines
755 B
SCSS
@mixin limit($bg, $ic, $glyph) {
|
|
background: $bg !important;
|
|
//color: $fg !important;
|
|
&:before {
|
|
//@include pulse(1000ms);
|
|
color: $ic;
|
|
content: $glyph;
|
|
}
|
|
}
|
|
|
|
[class*="s-limit"] {
|
|
//white-space: nowrap;
|
|
&:before {
|
|
display: inline-block;
|
|
font-family: symbolsfont;
|
|
font-size: 0.75em;
|
|
font-style: normal !important;
|
|
margin-right: $interiorMarginSm;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.s-limit-upr-red { @include limit($colorLimitRedBg, $colorLimitRedIc, "\0000eb"); };
|
|
.s-limit-upr-yellow { @include limit($colorLimitYellowBg, $colorLimitYellowIc, "\0000ed"); };
|
|
.s-limit-lwr-yellow { @include limit($colorLimitYellowBg, $colorLimitYellowIc, "\0000ec"); };
|
|
.s-limit-lwr-red { @include limit($colorLimitRedBg, $colorLimitRedIc, "\0000ee"); }; |