blob: 9a9646b35a01c507b6a0e859c0b2e2ebf766c059 [file] [log] [blame]
Michael Davis9486f542017-05-30 15:35:31 -05001.icon {
2 display: inline-block;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -05003 width: 1.5em;
4 height: auto;
Michael Davis9486f542017-05-30 15:35:31 -05005}
6
7.icon__more {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05008 fill: $primary-accent;
9 stroke: $primary-accent;
Michael Davis75f94d92017-08-08 14:00:03 -050010 background: transparent;
Michael Davis9486f542017-05-30 15:35:31 -050011 overflow: visible;
Iftekharul Islam4390b022017-06-05 09:44:50 -050012 &:hover {
13 cursor: pointer;
14 }
Michael Davis9486f542017-05-30 15:35:31 -050015}
16
17.icon__more-dropdown {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050018 background: $background-02;
Michael Davis9486f542017-05-30 15:35:31 -050019 position: absolute;
20 right: 3px;
21 white-space: normal;
22 word-wrap: normal;
23 z-index: 200;
24 padding: 1em;
25 font-size: 1em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050026 box-shadow: 2px 4px 5px $box-shadow-color;
Michael Davis9486f542017-05-30 15:35:31 -050027}
28
29.icon__bar-arrow {
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050030 font-style: normal;
Michael Davis9486f542017-05-30 15:35:31 -050031 &: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 Davis5104ade2017-07-27 14:55:53 -050043.icon-angle {
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050044 font-style: normal;
Michael Davis5104ade2017-07-27 14:55:53 -050045 &:before {
46 content: '\276F';
47 display: inline-block;
48 font-size: 1em;
49 margin-left: 1em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050050 color: $text-02;
Michael Davis5104ade2017-07-27 14:55:53 -050051 }
52}
53//Status icons
54@mixin status-icon {
Iftekharul Islam4390b022017-06-05 09:44:50 -050055 background-repeat: no-repeat;
56 vertical-align: middle;
Michael Davis9632d712017-08-28 18:36:53 -050057 width: 16px;
58 height: 16px;
Michael Davis5104ade2017-07-27 14:55:53 -050059 margin-right: .4em;
Michael Davis9486f542017-05-30 15:35:31 -050060}
61
Michael Davis5104ade2017-07-27 14:55:53 -050062.icon__warning {
63 @include status-icon;
Ed Tanousbbcf6702017-10-06 13:53:06 -070064 background-image: url(../assets/images/icon-warning.svg);
Michael Davis5104ade2017-07-27 14:55:53 -050065}
66
Iftekharul Islamec6bcd12017-09-06 10:49:07 -050067.modal .icon__warning {
68 width: 30px;
69 height: 30px;
70}
71
Michael Davis5104ade2017-07-27 14:55:53 -050072.icon__critical {
73 @include status-icon;
Ed Tanousbbcf6702017-10-06 13:53:06 -070074 background-image: url(../assets/images/icon-critical.svg);
Michael Davis5104ade2017-07-27 14:55:53 -050075}
76
77.icon__good {
78 @include status-icon;
Ed Tanousbbcf6702017-10-06 13:53:06 -070079 background-image: url(../assets/images/icon-on.svg);
Michael Davis6dc5f182017-06-26 13:07:27 -050080}
81
Michael Davis44621a82017-07-31 18:18:32 -050082.icon__off {
83 @include status-icon;
Ed Tanousbbcf6702017-10-06 13:53:06 -070084 background-image: url(../assets/images/icon-off.svg);
Michael Davis44621a82017-07-31 18:18:32 -050085}
86
Iftekharul Islamc0161392017-06-14 15:46:15 -050087.icon__info{
Michael Davis9486f542017-05-30 15:35:31 -050088 margin-top: -4px;
89 margin-right: .5em;
90 width: 25px;
91 height: 25px;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050092 fill: $primary-accent;
Michael Davis9486f542017-05-30 15:35:31 -050093 float: left;
94}
95
96.icon__up-arrow {
Michael Davisc8a099e2017-08-03 13:39:03 -050097 margin-right: .4em;
98 margin-bottom: -15px;
Ed Tanousbbcf6702017-10-06 13:53:06 -070099 background: url(../assets/images/icon-arrow-blue.svg) center center no-repeat;
Michael Davisc8a099e2017-08-03 13:39:03 -0500100 height: 40px;
101 width: 30px;
102 &.icon-as-spacer {
Ed Tanousbbcf6702017-10-06 13:53:06 -0700103 background: url(../assets/images/icon-arrow-gray.svg) center center no-repeat;
Iftekharul Islam4390b022017-06-05 09:44:50 -0500104 }
Michael Davis9486f542017-05-30 15:35:31 -0500105}
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500106
Michael Davis9486f542017-05-30 15:35:31 -0500107.icon__down-arrow {
Michael Davisc8a099e2017-08-03 13:39:03 -0500108 @extend .icon__up-arrow;
109 transform: rotate(180deg);
Ed Tanousbbcf6702017-10-06 13:53:06 -0700110}