aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_icon.scss
blob: c80055d055771491a9eebe8ce5fd639ec566b68a (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
$image-icon-normal-size: 20px;

.icon-component {
  display: inline-flex;
  align-items: center;

  &.clickable:hover {
    cursor: pointer;
  }
  .icon-label {
    color: $blue;
  }
  &.disabled {
    .icon-label {
      color: $tlv-light-gray;
			opacity: 0.7;
    }
  }
  .icon {
    width: $image-icon-normal-size;
    height: $image-icon-normal-size;
    margin: 0 6px;
    background-repeat: no-repeat;

    &.trash {
      background-image: url($trash-icon);
    }

    &.artifacts {
      background-image: url($artifacts-icon);
    }

    &.base {
      background-image: url($base-module-icon);
    }

    &.module {
      background-image: url($module-icon);
    }

    &.pencil {
      background-image: url($pencil-icon);
    }

    &.check {
      background-image: url($check-icon);
      width: 30px;
      height: 30px;
    }

    &.download {
      background-image: url($download-icon);
      width: 16px;
      height: 14px;
    }

    &.upload {
      background-image: url($upload-icon);
      width: 16px;
      height: 14px;
    }
    &.validation-artifacts {
      width: 13px;
      height: 17px;
      position: relative;
      top: 3px;
      background-image: url($artifacts-regular-icon);
      &.selected {
        background-image: url($artifacts-selected-icon);
      }
    }
    &.network {
      background-image: url($network-icon);
      width: 12px;
      height: 12px;
      &.selected {
        background-image: url($network-selected-icon);
      }
    }
    &.validation-other {
      background-image: url($others-icon);
      width: 12px;
      height: 12px;
      &.selected {
        background-image: url($others-selected-icon);
      }
    }
    &.volume {
      width: 15px;
      height: 16px;
      background-image: url($volume-icon);
      &.selected {
        background-image: url($volume-selected-icon);
      }
    }
    &.zip {
      background-image: url($zip-icon);
      height: 23px;
      width: 29px;
      &.selected {
        background-image: url($zip-selected-icon);
      }
    }
    &.heat {
      background-image: url($heat-icon);
      height: 14px;
      width: 16px;
      &.selected {
        background-image: url($heat-selected-icon);
      }
    }
    &.env {
      background-image: url($env-icon);
      height: 15px;
      width: 16px;
      &.selected {
        background-image: url($env-selected-icon);
      }
    }
    &.error {
      width: 14px;
      min-width: 14px;
      height: 14px;
      background-image: url($error-icon-sm);
    }
    &.warning {
      height: 13px;
      width: 15px;
      min-width: 15px;
      background-image: url($warning-icon-sm);
    }
    &.error-lg {
      width: 17px;
      min-width: 17px;
      height: 17px;
      background-image: url($error-icon-lg);
    }
    &.warning-lg {
      width: 19px;
      min-width: 19px;
      height: 17px;
      background-image: url($warning-icon-lg);
    }
    &.chevron-up {
      background-image: url($chevron_down);
      transform: rotate(180deg);
      height: 7px;
      width: 11px;
    }
    &.chevron-down {
      background-image: url($chevron_down);
      height: 7px;
      width: 11px;
    }
    &.go-to-overview {
      background-image: url($go-to-overview-icon);
      height: 15px;
      width: 18px;
      &.disabled {
        background-image: url($go-to-overview-disabled-icon);
      }
    }
  }
}