2015-05-06 16:55:25 -07:00
|
|
|
@mixin limit($c, $glyph) {
|
|
|
|
background: $c;
|
|
|
|
&:before {
|
|
|
|
color: lighten($c, 30%);
|
|
|
|
content: $glyph;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.s-limit-upr,
|
|
|
|
.s-limit-lwr {
|
2015-05-06 11:20:09 -07:00
|
|
|
$a: 0.5;
|
2015-05-06 10:21:29 -07:00
|
|
|
$l: 30%;
|
2015-05-06 11:20:09 -07:00
|
|
|
white-space: nowrap;
|
2015-05-06 10:21:29 -07:00
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
font-family: symbolsfont;
|
2015-05-06 11:20:09 -07:00
|
|
|
font-size: 0.8em;
|
2015-05-06 10:21:29 -07:00
|
|
|
margin-right: $interiorMarginSm;
|
2015-05-06 11:20:09 -07:00
|
|
|
vertical-align: middle;
|
2015-05-06 10:21:29 -07:00
|
|
|
}
|
2015-05-06 16:55:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.s-limit-upr {
|
|
|
|
&.s-limit-yellow { @include limit($colorLimitYellow, "\0000ed"); }
|
|
|
|
&.s-limit-red { @include limit($colorLimitRed, "\0000eb"); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.s-limit-lwr {
|
|
|
|
&.s-limit-yellow { @include limit($colorLimitYellow, "\0000ec"); }
|
|
|
|
&.s-limit-red { @include limit($colorLimitRed, "\0000ee"); }
|
2015-05-06 10:21:29 -07:00
|
|
|
}
|