Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 1 | .icon { |
| 2 | display: inline-block; |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 3 | width: 1.5em; |
| 4 | height: auto; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 5 | } |
| 6 | |
| 7 | .icon__more { |
| 8 | fill: $medblue; |
| 9 | stroke: $medblue; |
Michael Davis | 75f94d9 | 2017-08-08 14:00:03 -0500 | [diff] [blame] | 10 | background: transparent; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 11 | overflow: visible; |
Iftekharul Islam | 4390b02 | 2017-06-05 09:44:50 -0500 | [diff] [blame] | 12 | &:hover { |
| 13 | cursor: pointer; |
| 14 | } |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | .icon__more-dropdown { |
| 18 | background: $lightgrey; |
| 19 | position: absolute; |
| 20 | right: 3px; |
| 21 | white-space: normal; |
| 22 | word-wrap: normal; |
| 23 | z-index: 200; |
| 24 | padding: 1em; |
| 25 | font-size: 1em; |
| 26 | box-shadow: 2px 4px 5px $medgrey; |
| 27 | } |
| 28 | |
| 29 | .icon__bar-arrow { |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 30 | font-style: normal; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 31 | &:before { |
| 32 | content: '\21E5'; |
| 33 | position: absolute; |
| 34 | font-size: 1.7em; |
| 35 | vertical-align: middle; |
| 36 | transform: rotate(90deg); |
| 37 | display: inline-block; |
| 38 | left: 0px; |
| 39 | top: -5px; |
| 40 | } |
| 41 | } |
| 42 | |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 43 | .icon-angle { |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 44 | font-style: normal; |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 45 | &:before { |
| 46 | content: '\276F'; |
| 47 | display: inline-block; |
| 48 | font-size: 1em; |
| 49 | margin-left: 1em; |
| 50 | color: lighten($darkgrey, 4%); |
| 51 | } |
| 52 | } |
| 53 | //Status icons |
| 54 | @mixin status-icon { |
Iftekharul Islam | 4390b02 | 2017-06-05 09:44:50 -0500 | [diff] [blame] | 55 | background-repeat: no-repeat; |
| 56 | vertical-align: middle; |
Michael Davis | 9632d71 | 2017-08-28 18:36:53 -0500 | [diff] [blame] | 57 | width: 16px; |
| 58 | height: 16px; |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 59 | margin-right: .4em; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 60 | } |
| 61 | |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 62 | .icon__warning { |
| 63 | @include status-icon; |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 64 | background-image: url(../assets/images/icon-warning.svg); |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 65 | } |
| 66 | |
Iftekharul Islam | ec6bcd1 | 2017-09-06 10:49:07 -0500 | [diff] [blame] | 67 | .modal .icon__warning { |
| 68 | width: 30px; |
| 69 | height: 30px; |
| 70 | } |
| 71 | |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 72 | .icon__critical { |
| 73 | @include status-icon; |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 74 | background-image: url(../assets/images/icon-critical.svg); |
Michael Davis | 5104ade | 2017-07-27 14:55:53 -0500 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | .icon__good { |
| 78 | @include status-icon; |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 79 | background-image: url(../assets/images/icon-on.svg); |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 80 | } |
| 81 | |
Michael Davis | 44621a8 | 2017-07-31 18:18:32 -0500 | [diff] [blame] | 82 | .icon__off { |
| 83 | @include status-icon; |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 84 | background-image: url(../assets/images/icon-off.svg); |
Michael Davis | 44621a8 | 2017-07-31 18:18:32 -0500 | [diff] [blame] | 85 | } |
| 86 | |
Iftekharul Islam | c016139 | 2017-06-14 15:46:15 -0500 | [diff] [blame] | 87 | .icon__info{ |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 88 | margin-top: -4px; |
| 89 | margin-right: .5em; |
| 90 | width: 25px; |
| 91 | height: 25px; |
| 92 | fill: $medblue; |
| 93 | float: left; |
| 94 | } |
| 95 | |
| 96 | .icon__up-arrow { |
Michael Davis | c8a099e | 2017-08-03 13:39:03 -0500 | [diff] [blame] | 97 | margin-right: .4em; |
| 98 | margin-bottom: -15px; |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 99 | background: url(../assets/images/icon-arrow-blue.svg) center center no-repeat; |
Michael Davis | c8a099e | 2017-08-03 13:39:03 -0500 | [diff] [blame] | 100 | height: 40px; |
| 101 | width: 30px; |
| 102 | &.icon-as-spacer { |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 103 | background: url(../assets/images/icon-arrow-gray.svg) center center no-repeat; |
Iftekharul Islam | 4390b02 | 2017-06-05 09:44:50 -0500 | [diff] [blame] | 104 | } |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 105 | } |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 106 | |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 107 | .icon__down-arrow { |
Michael Davis | c8a099e | 2017-08-03 13:39:03 -0500 | [diff] [blame] | 108 | @extend .icon__up-arrow; |
| 109 | transform: rotate(180deg); |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame] | 110 | } |