blob: bd216c794b94bcb194594437b0ffbcfa65ef1002 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001@mixin modules-and-artifacts-list-items {
2 background-color: $tlv-gray;
3 margin-bottom: 12px;
4 border: 1px solid $light-gray;
5 border-left-width: 18px;
6 border-left-color: $blue;
7 display: flex;
8 flex-direction: column;
9 justify-content: space-between;
10 padding: 10px 20px 0 20px;
11}
12
13.heat-setup-view {
14 margin-top: 20px;
15 display: flex;
16 justify-content: space-between;
17 padding: 0 60px 0 36px;
18
19 .heat-setup-view-modules-and-artifacts {
20 margin-right: 20px;
21 flex: 1;
22 .heat-setup-module-icon {
23 margin: 0 6px 0 0;
24 position: relative;
25 top: -2px;
26 }
az2497644017c2017-08-10 17:49:40 +030027
AviZi280f8012017-06-09 02:39:56 +030028 .modules-list-wrapper {
az2497644017c2017-08-10 17:49:40 +030029 &.modules-list-wrapper-divider {
30 border-bottom: 1px solid $tlv-light-gray;
31 }
32
AviZi280f8012017-06-09 02:39:56 +030033 ul {
34 .undefined-dragging {
35 opacity: 0.5;
36 }
37 .modules-list-item-selectors {
38 display: flex;
39 justify-content: space-between;
40 flex-wrap: wrap;
az2497644017c2017-08-10 17:49:40 +030041 padding-bottom: 3px;
AviZi280f8012017-06-09 02:39:56 +030042 .Select-value-label {
43 @include ellipsis(85%);
44 }
45
46 .validation-input-wrapper {
47 flex-basis: 48%;
48 }
49
50 .control-label {
51 margin-bottom: 4px;
52 }
53
54 .form-group {
55 margin-bottom: 12px;
56 }
57 }
58 }
59
AviZi280f8012017-06-09 02:39:56 +030060 .modules-list-item-controllers {
61 display: flex;
62 justify-content: space-between;
63 margin-bottom: 7px;
64
65 .btn {
66 min-width: 0;
67 }
68
az2497644017c2017-08-10 17:49:40 +030069 .svg-icon {
70 &.__trashO {
71 fill: $dark-gray;
72 &:hover {
73 fill: $black;
74 }
AviZi280f8012017-06-09 02:39:56 +030075 }
76 }
az2497644017c2017-08-10 17:49:40 +030077
AviZi280f8012017-06-09 02:39:56 +030078 .module-title-by-type {
Avi Zivb8e2faf2017-07-18 19:45:38 +030079 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +030080 margin-right: 3px;
81 }
82 .modules-list-item-filename {
83 display: flex;
84 align-items: center;
85
az2497644017c2017-08-10 17:49:40 +030086 .svg-icon {
87 &.__pencil {
88 margin-left: 3px;
89 opacity: 0;
Avi Zivb8e2faf2017-07-18 19:45:38 +030090 }
AviZi280f8012017-06-09 02:39:56 +030091 }
92
az2497644017c2017-08-10 17:49:40 +030093
94
AviZi280f8012017-06-09 02:39:56 +030095 .filename-text {
Avi Zivb8e2faf2017-07-18 19:45:38 +030096 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +030097
98 }
99
100 .text-and-icon {
101 padding: 5px;
102 border: 1px solid transparent;
103 display: flex;
104 align-items: center;
105 height: 35px;
106 &.in-edit {
107 padding: 0;
108 .name-edit {
109 padding: 4px;
Avi Zivb8e2faf2017-07-18 19:45:38 +0300110 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300111 height: 100%;
112 border: 1px solid $light-gray;
113 width: 400px;
114 }
115 }
116 }
117
118 input[disabled] {
119 border: none;
120 }
121 &:hover {
122 .text-and-icon {
123 border-color: $light-gray;
124 background-color: $white;
125
126 &.in-edit {
127 border-color: transparent;
128 }
129 }
az2497644017c2017-08-10 17:49:40 +0300130 .svg-icon {
131 &.__pencil {
132 margin-left: 10px;
133 opacity: 1;
134 .svg-icon {
135 stroke: $dark-gray;
136 &:hover {
137 stroke: $black;
138 }
139 }
AviZi280f8012017-06-09 02:39:56 +0300140 }
141 }
142 }
143 }
144 }
145
146 .modules-list-item {
147 @include modules-and-artifacts-list-items;
148 position: relative;
149 .Select-option {
150 @extend .body-1;
151 &.is-selected {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300152 @extend .body-1-semibold;
AviZi280f8012017-06-09 02:39:56 +0300153 background-color: $white;
154 }
155 &.is-focused {
156 background-color: $blue;
157 color: $white;
158 }
159 }
160 .add-or-delete-volumes {
az2497644017c2017-08-10 17:49:40 +0300161 margin-right: 8px;
AviZi280f8012017-06-09 02:39:56 +0300162 margin-bottom: 11px;
AviZi280f8012017-06-09 02:39:56 +0300163 }
164 &:before {
165 content: "\00B7\00B7\00B7\00B7\00B7\00B7";
166 color: $white;
167 position: absolute;
168 left: -27px;
169 top: 56%;
170 font-size: 27px;
171 width: 75px;
172 @include transform-rotate(90);
173 height: 0;
174 letter-spacing: 1px;
175 }
176 }
177 }
178
179 .artifact-files {
180 @include modules-and-artifacts-list-items;
az2497644017c2017-08-10 17:49:40 +0300181 &.with-list-items {
182 margin-top: 10px;
183 }
AviZi280f8012017-06-09 02:39:56 +0300184
185 &.nested {
186 .nested-list {
187 display: flex;
188 flex-wrap: wrap;
189 margin-bottom: 18px;
190 }
191
192 .nested-list-item {
193 border-radius: 15px;
194 background-color: $tlv-light-gray;
195 padding: 4px 15px;
196 margin: 2px 10px 2px 0;
197 }
198 }
199
200 .artifact-files-header {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300201 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300202 display: flex;
203 margin-bottom: 10px;
204 justify-content: space-between;
205 .image-icon.artifacts {
206 margin-right: 10px;
207 }
208
209 span {
210 display: flex;
211 }
212
AviZi280f8012017-06-09 02:39:56 +0300213 }
214 }
215 }
216
az2497644017c2017-08-10 17:49:40 +0300217 .modules-list-header {
218 height: 30px;
219 display: flex;
220 flex-direction: row;
221 flex-wrap: nowrap;
222 justify-content: flex-end;
223 align-items: baseline;
224 }
225
AviZi280f8012017-06-09 02:39:56 +0300226 .unassigned-files {
AviZi280f8012017-06-09 02:39:56 +0300227 border: 1px solid $light-gray;
AviZi280f8012017-06-09 02:39:56 +0300228 background-color: $white;
229 height: 250px;
230 width: 250px;
231
232 // Will work in chrome from chrome 56
233 position: sticky;
234 top: 10px;
235
236 .unassigned-files-title {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300237 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300238 background-color: $tlv-gray;
239 padding: 11px 0 9px 15px;
240 }
241
242 .unassigned-files-list {
243 height: 207px;
244 overflow-y: auto;
245 padding-bottom: 5px;
246
247 .go-to-validation-button-wrapper {
248 display: flex;
249 flex-direction: column;
250 justify-content: center;
251 align-items: center;
252 margin-top: 70px;
253 .all-files-assigned {
254 @extend .heading-4;
255 margin-bottom: 10px;
256 }
az2497644017c2017-08-10 17:49:40 +0300257 .svg-icon-wrapper {
AviZi280f8012017-06-09 02:39:56 +0300258 margin-bottom: 10px;
az2497644017c2017-08-10 17:49:40 +0300259 .svg-icon {
260 &.__angleRight {
261 width: 10px;
262 height: 10px;
AviZi280f8012017-06-09 02:39:56 +0300263 }
264 }
265 }
266 }
267
268 .unassigned-files-list-item {
269 @include ellipsis();
270 border-bottom: 1px solid $tlv-light-gray;
271 padding: 0 5px 5px 15px;
272 &:first-child {
273 padding-top: 5px;
274 }
275 &:last-child {
276 border-bottom: none;
277 padding-bottom: 0;
278 }
279 }
280 }
281 }
282}