blob: 7b7e98179f08abc6a94e62dfa3c0d8364d358f6e [file] [log] [blame]
.icon {
display: inline-block;
width: 20px;
height: 20px;
position: relative;
speak: none;
font-style: normal;
&.icon-as-spacer {
text-indent: -9999px;
}
}
.icon__more {
fill: $medblue;
stroke: $medblue;
background: $white;
overflow: visible;
&:hover {
cursor: pointer;
}
}
.icon__more-dropdown {
background: $lightgrey;
position: absolute;
right: 3px;
white-space: normal;
word-wrap: normal;
z-index: 200;
padding: 1em;
font-size: 1em;
box-shadow: 2px 4px 5px $medgrey;
}
.icon__bar-arrow {
&:before {
content: '\21E5';
position: absolute;
font-size: 1.7em;
vertical-align: middle;
transform: rotate(90deg);
display: inline-block;
left: 0px;
top: -5px;
}
}
.icon-angle {
&:before {
content: '\276F';
display: inline-block;
font-size: 1em;
margin-left: 1em;
color: lighten($darkgrey, 4%);
}
}
//Status icons
@mixin status-icon {
background-repeat: no-repeat;
vertical-align: middle;
width: 20px;
height: 20px;
margin-right: .4em;
}
.icon__warning {
@include status-icon;
background-image: url(/assets/images/icon-warning.svg);
}
.icon__critical {
@include status-icon;
background-image: url(/assets/images/icon-critical.svg);
}
.icon__good {
@include status-icon;
background-image: url(/assets/images/icon-on.svg);
}
.icon__info{
margin-top: -4px;
margin-right: .5em;
width: 25px;
height: 25px;
fill: $medblue;
float: left;
}
.icon__up-arrow {
margin-right: 1em;
&:before {
content: '\029C0';
position: absolute;
font-size: 3em;
left: 0;
top: -50%;
transform: rotate(90deg);
}
&.hide {
text-align: -9999px;
}
}
.icon__down-arrow {
margin-right: 1em;
&:before {
content: '\029C0';
position: absolute;
font-size: 3em;
left: -4px;
top: -50%;
transform: rotate(-90deg);
}
}