1.icon { 2 display: inline-block; 3 width: 20px; 4 height: 20px; 5 position: relative; 6 speak: none; 7 font-style: normal; 8 &.icon-as-spacer { 9 text-indent: -9999px; 10 } 11} 12 13.icon__more { 14 fill: $medblue; 15 stroke: $medblue; 16 background: $white; 17 overflow: visible; 18 &:hover { 19 cursor: pointer; 20 } 21} 22 23.icon__more-dropdown { 24 background: $lightgrey; 25 position: absolute; 26 right: 3px; 27 white-space: normal; 28 word-wrap: normal; 29 z-index: 200; 30 padding: 1em; 31 font-size: 1em; 32 box-shadow: 2px 4px 5px $medgrey; 33} 34 35.icon__bar-arrow { 36 &:before { 37 content: '\21E5'; 38 position: absolute; 39 font-size: 1.7em; 40 vertical-align: middle; 41 transform: rotate(90deg); 42 display: inline-block; 43 left: 0px; 44 top: -5px; 45 } 46} 47 48.icon-angle { 49 &:before { 50 content: '\276F'; 51 display: inline-block; 52 font-size: 1em; 53 margin-left: 1em; 54 color: lighten($darkgrey, 4%); 55 } 56} 57//Status icons 58@mixin status-icon { 59 background-repeat: no-repeat; 60 vertical-align: middle; 61 width: 20px; 62 height: 20px; 63 margin-right: .4em; 64} 65 66.icon__warning { 67 @include status-icon; 68 background-image: url(/assets/images/icon-warning.svg); 69} 70 71.icon__critical { 72 @include status-icon; 73 background-image: url(/assets/images/icon-critical.svg); 74} 75 76.icon__good { 77 @include status-icon; 78 background-image: url(/assets/images/icon-on.svg); 79} 80 81.icon__info{ 82 margin-top: -4px; 83 margin-right: .5em; 84 width: 25px; 85 height: 25px; 86 fill: $medblue; 87 float: left; 88} 89 90.icon__up-arrow { 91 margin-right: 1em; 92 &:before { 93 content: '\029C0'; 94 position: absolute; 95 font-size: 3em; 96 left: 0; 97 top: -50%; 98 transform: rotate(90deg); 99 } 100 &.hide { 101 text-align: -9999px; 102 } 103} 104.icon__down-arrow { 105 margin-right: 1em; 106 &:before { 107 content: '\029C0'; 108 position: absolute; 109 font-size: 3em; 110 left: -4px; 111 top: -50%; 112 transform: rotate(-90deg); 113 } 114}