blob: 22d99b8a81404eed882214f42e0696c531258f12 [file] [log] [blame]
Michael Davise15a9562017-03-03 14:30:24 -06001//status light states
2@mixin status-light {
3 content: '\25CF';
4 display: inline-block;
5 font-size: 2em;
Michael Davise15a9562017-03-03 14:30:24 -06006 margin-right: .1em;
7 transform: translateY(2px);
Michael Davis57738ea2017-03-06 23:21:19 -06008 @include slowTransition-all;
Michael Davise15a9562017-03-03 14:30:24 -06009}
10
11@mixin status-light__good {
12 @include status-light;
13 color: $status-ok;
14
15}
16
17@mixin status-light__error {
18 @include status-light;
19 color: $error-color;
20
21}
22
23@mixin status-light__disabled {
24 @include status-light;
25 color: $darkgrey;
26
27}
28
29@mixin status-light__warn {
30 @include status-light;
Michael Davis5a752b22017-03-09 09:41:08 -060031 color: $status-warn;
Michael Davise15a9562017-03-03 14:30:24 -060032
33}
34
35.status-light__disabled {
36 color: $darkgrey;
37 &::before {
38 @include status-light__disabled;
39 }
40}
41
42.status-light__good {
Michael Davis272297b2017-04-24 12:11:53 -050043 color: $status-ok;
Michael Davise15a9562017-03-03 14:30:24 -060044 &::before {
45 @include status-light__good;
46 }
47}
48
49.status-light__error {
50 color: $error-color;
51 &::before {
52 @include status-light__error;
53 }
54}
55
56.status-light__warn {
57 color: $status-warn;
58 &::before {
Michael Davis5a752b22017-03-09 09:41:08 -060059 @include status-light__warn;
Michael Davise15a9562017-03-03 14:30:24 -060060 }
61}