blob: 66ff7aacae1023b0ac581364b66234afd47d8fcd [file] [log] [blame]
//status light states
@mixin status-light-before {
content: '';
display: inline-block;
margin-right: -12%;
transform: translateY(-2px);
@include slowTransition-all;
left: 0;
top: 0;
width: 20px;
height: 20px;
position: absolute;
}
@mixin status-light-header {
padding-left: 1.6em;
margin-top: .7em;
position: relative;
}
@mixin status-light__good {
@include status-light-before;
}
@mixin status-light__error {
@include status-light-before;
}
@mixin status-light__disabled {
@include status-light-before;
}
@mixin status-light__warn {
@include status-light-before;
}
.status-light__disabled {
@include status-light-header;
&::before {
@include status-light__disabled;
}
}
.status-light__good {
@include status-light-header;
&::before {
@include status-light__good;
@extend .icon__good;
}
}
.status-light__error {
@include status-light-header;
&::before {
@include status-light__error;
@extend .icon__critical;
}
}
.status-light__warn {
@include status-light-header;
&::before {
@include status-light__warn;
@extend .icon__warning;
}
}