blob: 1c133a1dce3806bba87867adce714785933960d1 [file] [log] [blame]
Avi Ziv61070c92017-07-26 17:37:57 +03001$list-indentation: 20px;
2$arrow-margin: 30px;
3$icon-margin: 30px;
4$arrow-element-width: 30px;
5$list-item-padding: 15px;
6
7@mixin overview-tile-shadow() {
8 @include box-shadow(0.5px 0.8px 4px 0 rgba(24, 24, 25, 0.05));
9}
10
11// @mixin vlm-list-item-inset($color) {
12// @include box-shadow(inset 6px 0 0 0 $color);
13// }
14
15$la-color: $dark-blue;
16$fg-color: $blue;
17$lkg-ep-color: $light-blue;
18
AviZi280f8012017-06-09 02:39:56 +030019.license-model-overview {
20 .overview-top-section {
21 .overview-title{
22 @extend .heading-1;
23 @extend .text-uppercase !optional;
24 margin-bottom: 20px;
25 color: $blue;
26 }
27 .license-model-overview-top {
28 display: flex;
29 justify-content: flex-start;
30 flex-direction: row;
31 padding-bottom: 10px;
32 min-height: 155px;
33 .separator {
34 width: 1px;
35 border-right: 1px solid $tlv-light-gray;
36 margin-left: 20px;
37 }
38 .vendor-data-view {
39 @extend .flex-column;
40 background-color: $tlv-gray;
Avi Ziv61070c92017-07-26 17:37:57 +030041 padding: 13px 30px;
AviZi280f8012017-06-09 02:39:56 +030042 border: 1px solid $tlv-light-gray;
Avi Ziv61070c92017-07-26 17:37:57 +030043 @include overview-tile-shadow();
AviZi280f8012017-06-09 02:39:56 +030044 .vendor-title {
45 margin-top:5px;
46 }
47 .vendor-name {
Avi Zivb8e2faf2017-07-18 19:45:38 +030048 @extend .heading-4-semibold;
AviZi280f8012017-06-09 02:39:56 +030049 text-transform: none;
Avi Ziv61070c92017-07-26 17:37:57 +030050 padding-bottom: 10px;
AviZi280f8012017-06-09 02:39:56 +030051 border-bottom: 1px solid $tlv-light-gray;
52 }
Avi Ziv61070c92017-07-26 17:37:57 +030053 .vendor-description, .vendor-description-readonly {
AviZi280f8012017-06-09 02:39:56 +030054 @extend .flex;
55 @extend .body-1;
56 justify-content: space-between;
AviZi280f8012017-06-09 02:39:56 +030057 overflow: hidden;
Avi Ziv61070c92017-07-26 17:37:57 +030058 position: relative;
59 flex: initial;
60 }
AviZi280f8012017-06-09 02:39:56 +030061
Avi Ziv61070c92017-07-26 17:37:57 +030062 &:not(.read-only) .vendor-description {
63 border: 1px solid transparent;
64 padding: 2px 0 2px 6px;
65 margin-top: 10px;
66
67 $hover-padding-right: 16px;
68 @include percent-plus-value($property: width, $percent: 100%, $value: -$hover-padding-right); // compensate for padding added on hover
AviZi280f8012017-06-09 02:39:56 +030069 &:hover {
Avi Ziv61070c92017-07-26 17:37:57 +030070 padding-right: $hover-padding-right;
71 width: 100%;
72 border: 1px solid $light-gray;
73 cursor: pointer;
74
75 background-position: calc(100% - 4px) 4px;
76 background-size: 14px;
AviZi280f8012017-06-09 02:39:56 +030077 background-image: url($pencil-icon);
78 background-repeat: no-repeat;
Avi Ziv61070c92017-07-26 17:37:57 +030079 background-color: white;
80
81 .description-data:after {
82 background: white;
83 }
AviZi280f8012017-06-09 02:39:56 +030084 }
AviZi280f8012017-06-09 02:39:56 +030085 }
86
87 .vendor-description-readonly {
Avi Ziv61070c92017-07-26 17:37:57 +030088 margin-top: 16px;
AviZi280f8012017-06-09 02:39:56 +030089 }
90
Avi Ziv61070c92017-07-26 17:37:57 +030091 .description-data {
92 @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray);
93 flex: initial;
94 }
95
AviZi280f8012017-06-09 02:39:56 +030096 .vendor-description-edit {
97 @extend .flex;
98 flex-direction: column;
99 border: none;
100 margin-top: 10px;
101 position: relative;
102 left: -6px;
103 width: 101%;
104 textarea {
105 padding-left: 6px;
Avi Ziv61070c92017-07-26 17:37:57 +0300106 resize: vertical;
AviZi280f8012017-06-09 02:39:56 +0300107 }
108 .buttons-row {
109 @extend .flex;
110 justify-content: flex-end;
111 flex-direction: row;
112 margin-top: -25px;
113 .buttons-wrapper {
114 @extend .flex;
115 @extend .body-3;
116 border: 1px solid $light-gray;
117 width: 95px;
118 height: 19px;
119 background-color: $tlv-light-gray;
120 border-radius: 2px;
121 position: relative;
122 flex: 0 1 auto;
123 text-align: center;
124 .description-button {
125 cursor: pointer;
126 flex: 1;
127 &:hover {
128 background-color: $white;
129 }
130 }
131 .description-save {
132 cursor: pointer;
133 flex: 1;
134 color:$blue;
135 &:hover {
136 background-color: $white;
137 }
138 }
139 }
140 }
141 .description-edit-textarea {
142 height:67px;
143 border: 1px solid $tlv-light-gray;
144 resize: none;
145 position: relative;
146 left: -12px;
147 }
148 }
149 }
150 .summary-count-list {
151 @extend .flex-column;
152 flex: 0.6;
153 margin-left: 20px;
154 justify-content: space-between;
155 border: 1px solid $tlv-light-gray;
Avi Ziv61070c92017-07-26 17:37:57 +0300156 @include overview-tile-shadow();
AviZi280f8012017-06-09 02:39:56 +0300157 background-color: $tlv-gray;
158 .summary-count-item {
159 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300160 @extend .heading-5-semibold;
161 align-items: center;
AviZi280f8012017-06-09 02:39:56 +0300162 padding-left: 45px;
163 padding-right: 45px;
164 border-bottom: 1px solid $tlv-light-gray;
165 &:last-child { border-bottom: none; }
166 .item-count {
167 flex-grow: 2;
168 margin-left: 5px;
169 }
170 .add-button {
171 cursor: pointer;
172 font-size: larger;
173 background-image: url($vlm-summary-plus);
174 background-size: 20px;
175 background-repeat: no-repeat;
176 width:20px;
177 height:20px;
178 margin-top: 3px;
179 margin-left: auto;
180 &:hover {
181 cursor: pointer;
182 background-image: url($vlm-summary-plus-blue);
183 }
184 }
185
186 .summary-name-and-count {
187 &:hover {
188 cursor: pointer;
189 color: $blue;
190 }
191 }
192
193
194 }
195 }
196 .plus-icon {
197 font-size: $icon-font-size;
198 border-radius: 50%;
199 border: 1px solid $black;
200 color: $black;
201 height: 16px;
202 width: 16px;
203 padding: 2px 2px 2px 3px;
204 }
205 }
206 }
Avi Ziv61070c92017-07-26 17:37:57 +0300207 .vlm-list-tab-panel {
208
209 @extend .flex;
210 margin-bottom: 7px;
AviZi280f8012017-06-09 02:39:56 +0300211 .section-title {
212 flex: 1;
213 }
214 .overview-buttons-section {
215 margin-top: 20px;
216 display: flex;
217 justify-content: flex-start;
218 .button-vlm-list-view {
219 height: 32px;
220 width: 34px;
221 margin-left:10px;
222 cursor: pointer;
223 }
224 .vlm-list-icon {
225 background-size: 32px;
226 background-repeat: no-repeat;
227 background-image: url($vlm-summary-used);
228 &.selected {
229 background-image: url($vlm-summary-used-blue);
230 }
231 }
232 .entities-list-icon {
233 background-size: 32px;
234 background-repeat: no-repeat;
235 background-image: url($vlm-summary-orphans);
236 &.selected {
237 background-image: url($vlm-summary-orphans-blue);
238 }
239 }
240
241 }
242 }
243
244 .overview-list-section {
245 @extend .flex-column;
246 margin-top: 35px;
247 .section-title {
248 @extend .heading-2;
249 padding-top: 20px;
250 margin-bottom: 15px;
251 padding-bottom: 0px;
252 }
253 &.overview-list-orphans {
254 .chevron::before
255 {
256 display: none;
257 }
258 .vlm-list-view {
259 .vlm-list {
Avi Ziv61070c92017-07-26 17:37:57 +0300260 .vlm-list-item.orphan-list-item {
261 @include overview-tile-shadow();
262 margin-left: 0;
263
264 .vlm-list-item-title {
AviZi280f8012017-06-09 02:39:56 +0300265
Avi Ziv61070c92017-07-26 17:37:57 +0300266 .item-name {
267 color: $dark-gray;
268 }
269 }
270 .list-item-icon-col {
271 .overview-list-icon {
272 background-color: $gray;
273 border-color: $gray;
274 }
275 }
276 .list-item-section {
277 &:first-child {
278 display: flex;
279 color: $white;
280 min-width: $arrow-element-width;
281 }
282 &.list-item-icon-col {
283 margin-left: 65px;
284 margin-right: 65px - $list-item-padding;
285 }
286 }
AviZi280f8012017-06-09 02:39:56 +0300287 }
288 }
289 }
290 }
291 .vlm-list-view {
292 flex: 1;
293 .vlm-list {
294 @extend .flex;
295 flex-direction: column;
296 .vlm-list-item {
297 @include border-shadow();
298 min-height: 90px;
299 height: 90px;
300 background-color: $tlv-gray;
301 @extend .flex;
302 border: 1px solid $tlv-light-gray;
303 margin-bottom: 0px;
Avi Ziv61070c92017-07-26 17:37:57 +0300304 .clickable {
305 cursor: pointer;
306 }
307
AviZi280f8012017-06-09 02:39:56 +0300308 .list-item-section {
Avi Ziv61070c92017-07-26 17:37:57 +0300309 .count-value {
310 @extend .body-3;
311 }
312 &.list-item-icon-col {
313 display: flex;
314 flex-direction: column;
315 justify-content: center;
316 align-items: center;
317 padding: 0;
318 margin-right: 40px - $list-item-padding;
319 margin-left: $icon-margin;
320 .overview-list-icon {
321 @extend .body-2;
322 }
323 }
324 padding: 15px;
325 &.list-item-arrow-col {
326 padding: 0;
327 }
AviZi280f8012017-06-09 02:39:56 +0300328 .children-count {
329 @extend .body-1;
AviZi280f8012017-06-09 02:39:56 +0300330 color: $gray;
331 padding-left: 5px;
332 .count-value {
333 padding: 0 5px;
334 }
335 }
336 .additional-data {
Avi Ziv61070c92017-07-26 17:37:57 +0300337 padding-left: 60px;
338 display: flex;
339 flex-direction: column;
340 justify-content: space-between;
341 *:last-child {
342 margin-top: 20px;
343 }
344 *:only-child {
345 margin-top: 0;
346 }
AviZi280f8012017-06-09 02:39:56 +0300347 .additional-data-name {
Avi Ziv61070c92017-07-26 17:37:57 +0300348 @extend .body-2-semibold;
AviZi280f8012017-06-09 02:39:56 +0300349 }
350 }
351 .additional-data-col-border {
352 border-left: 1px solid $tlv-light-gray;
353 min-height: 100%;
354 height: 100%;
355 }
356 }
357 .list-item-additional-data-col {
Avi Ziv61070c92017-07-26 17:37:57 +0300358 @extend .body-2;
AviZi280f8012017-06-09 02:39:56 +0300359 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300360 align-items: stretch;
361 flex: 0.8;
362 margin-left: 30px;
363 padding-top: 17px;
364 padding-bottom: 11px;
AviZi280f8012017-06-09 02:39:56 +0300365 }
366 .arrow-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300367 align-self: center;
368
AviZi280f8012017-06-09 02:39:56 +0300369 }
370 .vlm-item-info {
371 flex: 1;
372 }
373 .vlm-list-item-title {
Avi Ziv61070c92017-07-26 17:37:57 +0300374 @extend .flex;
375 align-items: baseline;
AviZi280f8012017-06-09 02:39:56 +0300376 .item-name {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300377 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300378 flex: 0 1 auto;
Avi Ziv61070c92017-07-26 17:37:57 +0300379 margin-bottom: 4px;
380 text-transform: uppercase;
AviZi280f8012017-06-09 02:39:56 +0300381 }
382 }
383 .vlm-list-item-description {
384 @extend .body-1;
Avi Ziv61070c92017-07-26 17:37:57 +0300385 @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray);
AviZi280f8012017-06-09 02:39:56 +0300386 max-height: 38px;
387 }
388 &.vlm-list-item-la {
389 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300390 .la-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300391 @include create-circle($circle-icon-size,$la-color,'LA');
AviZi280f8012017-06-09 02:39:56 +0300392 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300393 }
394 .vlm-list-item-title {
395 .item-name {
396 color: $la-color;
397 }
398 }
AviZi280f8012017-06-09 02:39:56 +0300399 .list-item-section {
400
401 &:first-child {
402 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300403 color: $la-color;
404 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300405 }
406 }
407 .list-item-arrow-col {
408 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300409 margin-left: $arrow-margin;
410 justify-content: center;
AviZi280f8012017-06-09 02:39:56 +0300411 }
AviZi280f8012017-06-09 02:39:56 +0300412 }
413 &.vlm-list-item-fg {
Avi Ziv61070c92017-07-26 17:37:57 +0300414 margin-left: $list-indentation;
415 margin-top: 10px;
416 .fg-pipeline-separator {
417 color: $dark-gray;
418 padding: 0 5px;
419 }
420 .list-item-icon-col {
421 margin-left: 29px;
422 }
AviZi280f8012017-06-09 02:39:56 +0300423 .fg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300424 @include create-circle($circle-icon-size,$fg-color,'FG');
AviZi280f8012017-06-09 02:39:56 +0300425 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300426 }
427
428 .vlm-list-item-title {
429 .item-name {
430 color: $fg-color;
431 }
432 }
AviZi280f8012017-06-09 02:39:56 +0300433 .list-item-section {
434 &:first-child {
435 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300436 color: $fg-color;
437 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300438
439 }
440 }
441 .list-item-arrow-col {
442 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300443 margin-left: $arrow-margin - $list-indentation;
444 padding-left: $list-indentation;
AviZi280f8012017-06-09 02:39:56 +0300445 }
446 }
447 &.vlm-list-item-ep {
Avi Ziv61070c92017-07-26 17:37:57 +0300448 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300449 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300450 cursor: default;
451 .ep-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300452 @include create-circle($circle-icon-size,$lkg-ep-color,'EP');
AviZi280f8012017-06-09 02:39:56 +0300453 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300454 }
455 .vlm-list-item-title {
456 .item-name {
457 color: $lkg-ep-color;
458 }
459 }
AviZi280f8012017-06-09 02:39:56 +0300460 .list-item-section {
461 &:first-child {
462 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300463 }
464 &.list-item-icon-col {
465 margin-left: 52px;
466 }
AviZi280f8012017-06-09 02:39:56 +0300467 }
Avi Ziv61070c92017-07-26 17:37:57 +0300468
AviZi280f8012017-06-09 02:39:56 +0300469 }
470 &.vlm-list-item-lkg {
471 margin-top: 10px;
Avi Ziv61070c92017-07-26 17:37:57 +0300472 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300473 cursor: default;
474 .lkg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300475 @include create-circle($circle-icon-size,$lkg-ep-color,'KG');
AviZi280f8012017-06-09 02:39:56 +0300476 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300477 }
478 .vlm-list-item-title {
479 .item-name {
480 color: $lkg-ep-color;
481 }
482 }
AviZi280f8012017-06-09 02:39:56 +0300483 .list-item-section {
484 &:first-child {
485 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300486 }
487 &.list-item-icon-col {
488 margin-left: 52px;
489 }
AviZi280f8012017-06-09 02:39:56 +0300490
491 }
AviZi280f8012017-06-09 02:39:56 +0300492 }
493 }
494
495 }
496 }
497 }
498
499}