blob: 9246b5fcbfb12427038e66d94bad4374fc2721ef [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;
az2497644017c2017-08-10 17:49:40 +030064 width: 100%;
Avi Ziv61070c92017-07-26 17:37:57 +030065 padding: 2px 0 2px 6px;
66 margin-top: 10px;
az2497644017c2017-08-10 17:49:40 +030067 position: relative;
68 .svg-icon-wrapper {
69 position: absolute;;
70 right:0;
71 top:0;
72 opacity: 0;
73 }
Avi Ziv61070c92017-07-26 17:37:57 +030074 $hover-padding-right: 16px;
75 @include percent-plus-value($property: width, $percent: 100%, $value: -$hover-padding-right); // compensate for padding added on hover
AviZi280f8012017-06-09 02:39:56 +030076 &:hover {
Avi Ziv61070c92017-07-26 17:37:57 +030077 padding-right: $hover-padding-right;
Avi Ziv61070c92017-07-26 17:37:57 +030078 border: 1px solid $light-gray;
79 cursor: pointer;
80
az2497644017c2017-08-10 17:49:40 +030081 background-color: $white;
82 .svg-icon-wrapper {
83 opacity: 1;
84 z-index: 10;
85 }
Avi Ziv61070c92017-07-26 17:37:57 +030086 .description-data:after {
87 background: white;
88 }
az2497644017c2017-08-10 17:49:40 +030089 .description-data {
90 width: 100%;
91 }
AviZi280f8012017-06-09 02:39:56 +030092 }
AviZi280f8012017-06-09 02:39:56 +030093 }
94
95 .vendor-description-readonly {
Avi Ziv61070c92017-07-26 17:37:57 +030096 margin-top: 16px;
AviZi280f8012017-06-09 02:39:56 +030097 }
98
Avi Ziv61070c92017-07-26 17:37:57 +030099 .description-data {
100 @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray);
101 flex: initial;
102 }
103
AviZi280f8012017-06-09 02:39:56 +0300104 .vendor-description-edit {
105 @extend .flex;
106 flex-direction: column;
107 border: none;
108 margin-top: 10px;
109 position: relative;
110 left: -6px;
111 width: 101%;
112 textarea {
113 padding-left: 6px;
Avi Ziv61070c92017-07-26 17:37:57 +0300114 resize: vertical;
AviZi280f8012017-06-09 02:39:56 +0300115 }
116 .buttons-row {
117 @extend .flex;
118 justify-content: flex-end;
119 flex-direction: row;
120 margin-top: -25px;
121 .buttons-wrapper {
122 @extend .flex;
123 @extend .body-3;
124 border: 1px solid $light-gray;
125 width: 95px;
126 height: 19px;
127 background-color: $tlv-light-gray;
128 border-radius: 2px;
129 position: relative;
130 flex: 0 1 auto;
131 text-align: center;
132 .description-button {
133 cursor: pointer;
134 flex: 1;
135 &:hover {
136 background-color: $white;
137 }
138 }
139 .description-save {
140 cursor: pointer;
141 flex: 1;
142 color:$blue;
143 &:hover {
144 background-color: $white;
145 }
146 }
147 }
148 }
149 .description-edit-textarea {
150 height:67px;
151 border: 1px solid $tlv-light-gray;
152 resize: none;
153 position: relative;
154 left: -12px;
155 }
miriame6ef2c122017-10-29 13:59:52 +0200156 .validation-error-message.tooltip {
157 z-index: 1000;
158 .tooltip-inner {
159 background-color: $red;
160 }
161 }
AviZi280f8012017-06-09 02:39:56 +0300162 }
163 }
164 .summary-count-list {
165 @extend .flex-column;
166 flex: 0.6;
167 margin-left: 20px;
168 justify-content: space-between;
169 border: 1px solid $tlv-light-gray;
Avi Ziv61070c92017-07-26 17:37:57 +0300170 @include overview-tile-shadow();
AviZi280f8012017-06-09 02:39:56 +0300171 background-color: $tlv-gray;
172 .summary-count-item {
173 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300174 @extend .heading-5-semibold;
175 align-items: center;
AviZi280f8012017-06-09 02:39:56 +0300176 padding-left: 45px;
177 padding-right: 45px;
178 border-bottom: 1px solid $tlv-light-gray;
179 &:last-child { border-bottom: none; }
180 .item-count {
181 flex-grow: 2;
182 margin-left: 5px;
183 }
az2497644017c2017-08-10 17:49:40 +0300184 .summary-name-and-count {
185 width: 100%;
186 }
187 .svg-icon-wrapper {
188
189 .svg-icon {
190 &.__plusCircle {
191 width: 20px;
192 height: 20px;
193 margin-top: 3px;
194 margin-left: auto;
195 fill: $dark-gray;
196 &:hover {
197 fill: $blue;
198 }
199 }
200 }
AviZi280f8012017-06-09 02:39:56 +0300201 }
202
203 .summary-name-and-count {
204 &:hover {
205 cursor: pointer;
206 color: $blue;
207 }
208 }
209
210
211 }
212 }
213 .plus-icon {
214 font-size: $icon-font-size;
215 border-radius: 50%;
216 border: 1px solid $black;
217 color: $black;
218 height: 16px;
219 width: 16px;
220 padding: 2px 2px 2px 3px;
221 }
222 }
223 }
Avi Ziv61070c92017-07-26 17:37:57 +0300224 .vlm-list-tab-panel {
az2497644017c2017-08-10 17:49:40 +0300225
Avi Ziv61070c92017-07-26 17:37:57 +0300226 @extend .flex;
227 margin-bottom: 7px;
AviZi280f8012017-06-09 02:39:56 +0300228 .section-title {
229 flex: 1;
230 }
231 .overview-buttons-section {
232 margin-top: 20px;
233 display: flex;
234 justify-content: flex-start;
235 .button-vlm-list-view {
236 height: 32px;
237 width: 34px;
238 margin-left:10px;
239 cursor: pointer;
240 }
az2497644017c2017-08-10 17:49:40 +0300241 /**
AviZi280f8012017-06-09 02:39:56 +0300242 .vlm-list-icon {
243 background-size: 32px;
244 background-repeat: no-repeat;
245 background-image: url($vlm-summary-used);
246 &.selected {
247 background-image: url($vlm-summary-used-blue);
248 }
249 }
250 .entities-list-icon {
251 background-size: 32px;
252 background-repeat: no-repeat;
253 background-image: url($vlm-summary-orphans);
254 &.selected {
255 background-image: url($vlm-summary-orphans-blue);
256 }
257 }
az2497644017c2017-08-10 17:49:40 +0300258 **/
AviZi280f8012017-06-09 02:39:56 +0300259 }
260 }
261
262 .overview-list-section {
263 @extend .flex-column;
264 margin-top: 35px;
265 .section-title {
266 @extend .heading-2;
267 padding-top: 20px;
268 margin-bottom: 15px;
269 padding-bottom: 0px;
270 }
271 &.overview-list-orphans {
272 .chevron::before
273 {
274 display: none;
275 }
276 .vlm-list-view {
277 .vlm-list {
Avi Ziv61070c92017-07-26 17:37:57 +0300278 .vlm-list-item.orphan-list-item {
279 @include overview-tile-shadow();
280 margin-left: 0;
az2497644017c2017-08-10 17:49:40 +0300281
Avi Ziv61070c92017-07-26 17:37:57 +0300282 .vlm-list-item-title {
AviZi280f8012017-06-09 02:39:56 +0300283
Avi Ziv61070c92017-07-26 17:37:57 +0300284 .item-name {
285 color: $dark-gray;
286 }
287 }
288 .list-item-icon-col {
289 .overview-list-icon {
290 background-color: $gray;
291 border-color: $gray;
292 }
293 }
294 .list-item-section {
295 &:first-child {
296 display: flex;
297 color: $white;
298 min-width: $arrow-element-width;
299 }
300 &.list-item-icon-col {
301 margin-left: 65px;
302 margin-right: 65px - $list-item-padding;
303 }
304 }
AviZi280f8012017-06-09 02:39:56 +0300305 }
306 }
307 }
308 }
309 .vlm-list-view {
310 flex: 1;
311 .vlm-list {
312 @extend .flex;
313 flex-direction: column;
314 .vlm-list-item {
315 @include border-shadow();
316 min-height: 90px;
317 height: 90px;
318 background-color: $tlv-gray;
319 @extend .flex;
320 border: 1px solid $tlv-light-gray;
321 margin-bottom: 0px;
Avi Ziv61070c92017-07-26 17:37:57 +0300322 .clickable {
323 cursor: pointer;
324 }
az2497644017c2017-08-10 17:49:40 +0300325
AviZi280f8012017-06-09 02:39:56 +0300326 .list-item-section {
Avi Ziv61070c92017-07-26 17:37:57 +0300327 .count-value {
328 @extend .body-3;
329 }
330 &.list-item-icon-col {
331 display: flex;
332 flex-direction: column;
333 justify-content: center;
334 align-items: center;
335 padding: 0;
336 margin-right: 40px - $list-item-padding;
337 margin-left: $icon-margin;
338 .overview-list-icon {
339 @extend .body-2;
340 }
341 }
342 padding: 15px;
343 &.list-item-arrow-col {
344 padding: 0;
345 }
AviZi280f8012017-06-09 02:39:56 +0300346 .children-count {
347 @extend .body-1;
AviZi280f8012017-06-09 02:39:56 +0300348 color: $gray;
349 padding-left: 5px;
350 .count-value {
351 padding: 0 5px;
352 }
353 }
354 .additional-data {
Avi Ziv61070c92017-07-26 17:37:57 +0300355 padding-left: 60px;
356 display: flex;
357 flex-direction: column;
358 justify-content: space-between;
359 *:last-child {
360 margin-top: 20px;
361 }
362 *:only-child {
363 margin-top: 0;
364 }
AviZi280f8012017-06-09 02:39:56 +0300365 .additional-data-name {
Avi Ziv61070c92017-07-26 17:37:57 +0300366 @extend .body-2-semibold;
AviZi280f8012017-06-09 02:39:56 +0300367 }
368 }
369 .additional-data-col-border {
370 border-left: 1px solid $tlv-light-gray;
371 min-height: 100%;
372 height: 100%;
373 }
374 }
375 .list-item-additional-data-col {
Avi Ziv61070c92017-07-26 17:37:57 +0300376 @extend .body-2;
AviZi280f8012017-06-09 02:39:56 +0300377 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300378 align-items: stretch;
379 flex: 0.8;
380 margin-left: 30px;
381 padding-top: 17px;
382 padding-bottom: 11px;
AviZi280f8012017-06-09 02:39:56 +0300383 }
384 .arrow-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300385 align-self: center;
az2497644017c2017-08-10 17:49:40 +0300386
AviZi280f8012017-06-09 02:39:56 +0300387 }
388 .vlm-item-info {
389 flex: 1;
390 }
391 .vlm-list-item-title {
Avi Ziv61070c92017-07-26 17:37:57 +0300392 @extend .flex;
393 align-items: baseline;
AviZi280f8012017-06-09 02:39:56 +0300394 .item-name {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300395 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300396 flex: 0 1 auto;
Avi Ziv61070c92017-07-26 17:37:57 +0300397 margin-bottom: 4px;
398 text-transform: uppercase;
AviZi280f8012017-06-09 02:39:56 +0300399 }
400 }
401 .vlm-list-item-description {
402 @extend .body-1;
Avi Ziv61070c92017-07-26 17:37:57 +0300403 @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray);
AviZi280f8012017-06-09 02:39:56 +0300404 max-height: 38px;
405 }
406 &.vlm-list-item-la {
407 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300408 .la-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300409 @include create-circle($circle-icon-size,$la-color,'LA');
AviZi280f8012017-06-09 02:39:56 +0300410 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300411 }
412 .vlm-list-item-title {
413 .item-name {
414 color: $la-color;
415 }
416 }
AviZi280f8012017-06-09 02:39:56 +0300417 .list-item-section {
418
419 &:first-child {
420 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300421 color: $la-color;
422 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300423 }
424 }
425 .list-item-arrow-col {
426 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300427 margin-left: $arrow-margin;
428 justify-content: center;
AviZi280f8012017-06-09 02:39:56 +0300429 }
AviZi280f8012017-06-09 02:39:56 +0300430 }
431 &.vlm-list-item-fg {
Avi Ziv61070c92017-07-26 17:37:57 +0300432 margin-left: $list-indentation;
433 margin-top: 10px;
434 .fg-pipeline-separator {
435 color: $dark-gray;
436 padding: 0 5px;
437 }
438 .list-item-icon-col {
439 margin-left: 29px;
440 }
AviZi280f8012017-06-09 02:39:56 +0300441 .fg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300442 @include create-circle($circle-icon-size,$fg-color,'FG');
AviZi280f8012017-06-09 02:39:56 +0300443 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300444 }
az2497644017c2017-08-10 17:49:40 +0300445
Avi Ziv61070c92017-07-26 17:37:57 +0300446 .vlm-list-item-title {
447 .item-name {
448 color: $fg-color;
449 }
450 }
AviZi280f8012017-06-09 02:39:56 +0300451 .list-item-section {
452 &:first-child {
453 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300454 color: $fg-color;
455 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300456
457 }
458 }
459 .list-item-arrow-col {
460 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300461 margin-left: $arrow-margin - $list-indentation;
462 padding-left: $list-indentation;
AviZi280f8012017-06-09 02:39:56 +0300463 }
464 }
465 &.vlm-list-item-ep {
Avi Ziv61070c92017-07-26 17:37:57 +0300466 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300467 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300468 cursor: default;
469 .ep-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300470 @include create-circle($circle-icon-size,$lkg-ep-color,'EP');
AviZi280f8012017-06-09 02:39:56 +0300471 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300472 }
473 .vlm-list-item-title {
474 .item-name {
475 color: $lkg-ep-color;
476 }
477 }
AviZi280f8012017-06-09 02:39:56 +0300478 .list-item-section {
479 &:first-child {
480 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300481 }
482 &.list-item-icon-col {
483 margin-left: 52px;
484 }
AviZi280f8012017-06-09 02:39:56 +0300485 }
az2497644017c2017-08-10 17:49:40 +0300486
AviZi280f8012017-06-09 02:39:56 +0300487 }
488 &.vlm-list-item-lkg {
489 margin-top: 10px;
Avi Ziv61070c92017-07-26 17:37:57 +0300490 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300491 cursor: default;
492 .lkg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300493 @include create-circle($circle-icon-size,$lkg-ep-color,'KG');
AviZi280f8012017-06-09 02:39:56 +0300494 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300495 }
496 .vlm-list-item-title {
497 .item-name {
498 color: $lkg-ep-color;
499 }
500 }
AviZi280f8012017-06-09 02:39:56 +0300501 .list-item-section {
502 &:first-child {
503 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300504 }
505 &.list-item-icon-col {
506 margin-left: 52px;
507 }
AviZi280f8012017-06-09 02:39:56 +0300508
509 }
AviZi280f8012017-06-09 02:39:56 +0300510 }
511 }
512
513 }
514 }
515 }
516
517}