summaryrefslogtreecommitdiffstats
path: root/app/common/styles/base/icons.scss
blob: bd5b9a6ba4385ad74212aefda883ff7bd6ddeb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.icon {
  display: inline-block;
  width: 1.5em;
  height: auto;
}

.icon__more {
  fill: $medblue;
  stroke: $medblue;
  background: transparent;
  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 {
  font-style: normal;
  &:before {
    content: '\21E5';
    position: absolute;
    font-size: 1.7em;
    vertical-align: middle;
    transform: rotate(90deg);
    display: inline-block;
    left: 0px;
    top: -5px;
  }
}

.icon-angle {
  font-style: normal;
  &: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: 16px;
  height: 16px;
  margin-right: .4em;
}

.icon__warning {
  @include status-icon;
  background-image: url(../assets/images/icon-warning.svg);
}

.modal .icon__warning {
  width: 30px;
  height: 30px;
}

.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__off {
  @include status-icon;
  background-image: url(../assets/images/icon-off.svg);
}

.icon__info{
  margin-top: -4px;
  margin-right: .5em;
  width: 25px;
  height: 25px;
  fill: $medblue;
  float: left;
}

.icon__up-arrow {
  margin-right: .4em;
  margin-bottom: -15px;
  background: url(../assets/images/icon-arrow-blue.svg) center center no-repeat;
  height: 40px;
  width: 30px;
  &.icon-as-spacer {
    background: url(../assets/images/icon-arrow-gray.svg) center center no-repeat;
  }
}

.icon__down-arrow {
  @extend .icon__up-arrow;
  transform: rotate(180deg);
}
OpenPOWER on IntegriCloud