2015-09-11 23:25:19 +00:00
|
|
|
@mixin limit($bg, $ic, $glyph) {
|
|
|
|
background: $bg !important;
|
|
|
|
//color: $fg !important;
|
2015-06-02 23:12:19 +00:00
|
|
|
&:before {
|
2015-09-11 23:25:19 +00:00
|
|
|
//@include pulse(1000ms);
|
|
|
|
color: $ic;
|
2015-06-02 23:12:19 +00:00
|
|
|
content: $glyph;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[class*="s-limit"] {
|
2015-09-11 23:25:19 +00:00
|
|
|
//white-space: nowrap;
|
2015-06-02 23:12:19 +00:00
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
font-family: symbolsfont;
|
2015-09-11 23:25:19 +00:00
|
|
|
font-size: 0.75em;
|
2015-06-02 23:12:19 +00:00
|
|
|
font-style: normal !important;
|
|
|
|
margin-right: $interiorMarginSm;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-11 23:25:19 +00:00
|
|
|
.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"); };
|