blob: 15bb9a70335b8c8d4875137c960ebfc35b6cb7ba [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 }
156 }
157 }
158 .summary-count-list {
159 @extend .flex-column;
160 flex: 0.6;
161 margin-left: 20px;
162 justify-content: space-between;
163 border: 1px solid $tlv-light-gray;
Avi Ziv61070c92017-07-26 17:37:57 +0300164 @include overview-tile-shadow();
AviZi280f8012017-06-09 02:39:56 +0300165 background-color: $tlv-gray;
166 .summary-count-item {
167 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300168 @extend .heading-5-semibold;
169 align-items: center;
AviZi280f8012017-06-09 02:39:56 +0300170 padding-left: 45px;
171 padding-right: 45px;
172 border-bottom: 1px solid $tlv-light-gray;
173 &:last-child { border-bottom: none; }
174 .item-count {
175 flex-grow: 2;
176 margin-left: 5px;
177 }
az2497644017c2017-08-10 17:49:40 +0300178 .summary-name-and-count {
179 width: 100%;
180 }
181 .svg-icon-wrapper {
182
183 .svg-icon {
184 &.__plusCircle {
185 width: 20px;
186 height: 20px;
187 margin-top: 3px;
188 margin-left: auto;
189 fill: $dark-gray;
190 &:hover {
191 fill: $blue;
192 }
193 }
194 }
AviZi280f8012017-06-09 02:39:56 +0300195 }
196
197 .summary-name-and-count {
198 &:hover {
199 cursor: pointer;
200 color: $blue;
201 }
202 }
203
204
205 }
206 }
207 .plus-icon {
208 font-size: $icon-font-size;
209 border-radius: 50%;
210 border: 1px solid $black;
211 color: $black;
212 height: 16px;
213 width: 16px;
214 padding: 2px 2px 2px 3px;
215 }
216 }
217 }
Avi Ziv61070c92017-07-26 17:37:57 +0300218 .vlm-list-tab-panel {
az2497644017c2017-08-10 17:49:40 +0300219
Avi Ziv61070c92017-07-26 17:37:57 +0300220 @extend .flex;
221 margin-bottom: 7px;
AviZi280f8012017-06-09 02:39:56 +0300222 .section-title {
223 flex: 1;
224 }
225 .overview-buttons-section {
226 margin-top: 20px;
227 display: flex;
228 justify-content: flex-start;
229 .button-vlm-list-view {
230 height: 32px;
231 width: 34px;
232 margin-left:10px;
233 cursor: pointer;
234 }
az2497644017c2017-08-10 17:49:40 +0300235 /**
AviZi280f8012017-06-09 02:39:56 +0300236 .vlm-list-icon {
237 background-size: 32px;
238 background-repeat: no-repeat;
239 background-image: url($vlm-summary-used);
240 &.selected {
241 background-image: url($vlm-summary-used-blue);
242 }
243 }
244 .entities-list-icon {
245 background-size: 32px;
246 background-repeat: no-repeat;
247 background-image: url($vlm-summary-orphans);
248 &.selected {
249 background-image: url($vlm-summary-orphans-blue);
250 }
251 }
az2497644017c2017-08-10 17:49:40 +0300252 **/
AviZi280f8012017-06-09 02:39:56 +0300253 }
254 }
255
256 .overview-list-section {
257 @extend .flex-column;
258 margin-top: 35px;
259 .section-title {
260 @extend .heading-2;
261 padding-top: 20px;
262 margin-bottom: 15px;
263 padding-bottom: 0px;
264 }
265 &.overview-list-orphans {
266 .chevron::before
267 {
268 display: none;
269 }
270 .vlm-list-view {
271 .vlm-list {
Avi Ziv61070c92017-07-26 17:37:57 +0300272 .vlm-list-item.orphan-list-item {
273 @include overview-tile-shadow();
274 margin-left: 0;
az2497644017c2017-08-10 17:49:40 +0300275
Avi Ziv61070c92017-07-26 17:37:57 +0300276 .vlm-list-item-title {
AviZi280f8012017-06-09 02:39:56 +0300277
Avi Ziv61070c92017-07-26 17:37:57 +0300278 .item-name {
279 color: $dark-gray;
280 }
281 }
282 .list-item-icon-col {
283 .overview-list-icon {
284 background-color: $gray;
285 border-color: $gray;
286 }
287 }
288 .list-item-section {
289 &:first-child {
290 display: flex;
291 color: $white;
292 min-width: $arrow-element-width;
293 }
294 &.list-item-icon-col {
295 margin-left: 65px;
296 margin-right: 65px - $list-item-padding;
297 }
298 }
AviZi280f8012017-06-09 02:39:56 +0300299 }
300 }
301 }
302 }
303 .vlm-list-view {
304 flex: 1;
305 .vlm-list {
306 @extend .flex;
307 flex-direction: column;
308 .vlm-list-item {
309 @include border-shadow();
310 min-height: 90px;
311 height: 90px;
312 background-color: $tlv-gray;
313 @extend .flex;
314 border: 1px solid $tlv-light-gray;
315 margin-bottom: 0px;
Avi Ziv61070c92017-07-26 17:37:57 +0300316 .clickable {
317 cursor: pointer;
318 }
az2497644017c2017-08-10 17:49:40 +0300319
AviZi280f8012017-06-09 02:39:56 +0300320 .list-item-section {
Avi Ziv61070c92017-07-26 17:37:57 +0300321 .count-value {
322 @extend .body-3;
323 }
324 &.list-item-icon-col {
325 display: flex;
326 flex-direction: column;
327 justify-content: center;
328 align-items: center;
329 padding: 0;
330 margin-right: 40px - $list-item-padding;
331 margin-left: $icon-margin;
332 .overview-list-icon {
333 @extend .body-2;
334 }
335 }
336 padding: 15px;
337 &.list-item-arrow-col {
338 padding: 0;
339 }
AviZi280f8012017-06-09 02:39:56 +0300340 .children-count {
341 @extend .body-1;
AviZi280f8012017-06-09 02:39:56 +0300342 color: $gray;
343 padding-left: 5px;
344 .count-value {
345 padding: 0 5px;
346 }
347 }
348 .additional-data {
Avi Ziv61070c92017-07-26 17:37:57 +0300349 padding-left: 60px;
350 display: flex;
351 flex-direction: column;
352 justify-content: space-between;
353 *:last-child {
354 margin-top: 20px;
355 }
356 *:only-child {
357 margin-top: 0;
358 }
AviZi280f8012017-06-09 02:39:56 +0300359 .additional-data-name {
Avi Ziv61070c92017-07-26 17:37:57 +0300360 @extend .body-2-semibold;
AviZi280f8012017-06-09 02:39:56 +0300361 }
362 }
363 .additional-data-col-border {
364 border-left: 1px solid $tlv-light-gray;
365 min-height: 100%;
366 height: 100%;
367 }
368 }
369 .list-item-additional-data-col {
Avi Ziv61070c92017-07-26 17:37:57 +0300370 @extend .body-2;
AviZi280f8012017-06-09 02:39:56 +0300371 @extend .flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300372 align-items: stretch;
373 flex: 0.8;
374 margin-left: 30px;
375 padding-top: 17px;
376 padding-bottom: 11px;
AviZi280f8012017-06-09 02:39:56 +0300377 }
378 .arrow-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300379 align-self: center;
az2497644017c2017-08-10 17:49:40 +0300380
AviZi280f8012017-06-09 02:39:56 +0300381 }
382 .vlm-item-info {
383 flex: 1;
384 }
385 .vlm-list-item-title {
Avi Ziv61070c92017-07-26 17:37:57 +0300386 @extend .flex;
387 align-items: baseline;
AviZi280f8012017-06-09 02:39:56 +0300388 .item-name {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300389 @extend .heading-5-semibold;
AviZi280f8012017-06-09 02:39:56 +0300390 flex: 0 1 auto;
Avi Ziv61070c92017-07-26 17:37:57 +0300391 margin-bottom: 4px;
392 text-transform: uppercase;
AviZi280f8012017-06-09 02:39:56 +0300393 }
394 }
395 .vlm-list-item-description {
396 @extend .body-1;
Avi Ziv61070c92017-07-26 17:37:57 +0300397 @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray);
AviZi280f8012017-06-09 02:39:56 +0300398 max-height: 38px;
399 }
400 &.vlm-list-item-la {
401 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300402 .la-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300403 @include create-circle($circle-icon-size,$la-color,'LA');
AviZi280f8012017-06-09 02:39:56 +0300404 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300405 }
406 .vlm-list-item-title {
407 .item-name {
408 color: $la-color;
409 }
410 }
AviZi280f8012017-06-09 02:39:56 +0300411 .list-item-section {
412
413 &:first-child {
414 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300415 color: $la-color;
416 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300417 }
418 }
419 .list-item-arrow-col {
420 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300421 margin-left: $arrow-margin;
422 justify-content: center;
AviZi280f8012017-06-09 02:39:56 +0300423 }
AviZi280f8012017-06-09 02:39:56 +0300424 }
425 &.vlm-list-item-fg {
Avi Ziv61070c92017-07-26 17:37:57 +0300426 margin-left: $list-indentation;
427 margin-top: 10px;
428 .fg-pipeline-separator {
429 color: $dark-gray;
430 padding: 0 5px;
431 }
432 .list-item-icon-col {
433 margin-left: 29px;
434 }
AviZi280f8012017-06-09 02:39:56 +0300435 .fg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300436 @include create-circle($circle-icon-size,$fg-color,'FG');
AviZi280f8012017-06-09 02:39:56 +0300437 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300438 }
az2497644017c2017-08-10 17:49:40 +0300439
Avi Ziv61070c92017-07-26 17:37:57 +0300440 .vlm-list-item-title {
441 .item-name {
442 color: $fg-color;
443 }
444 }
AviZi280f8012017-06-09 02:39:56 +0300445 .list-item-section {
446 &:first-child {
447 display: flex;
Avi Ziv61070c92017-07-26 17:37:57 +0300448 color: $fg-color;
449 min-width: $arrow-element-width;
AviZi280f8012017-06-09 02:39:56 +0300450
451 }
452 }
453 .list-item-arrow-col {
454 flex: 0.01;
Avi Ziv61070c92017-07-26 17:37:57 +0300455 margin-left: $arrow-margin - $list-indentation;
456 padding-left: $list-indentation;
AviZi280f8012017-06-09 02:39:56 +0300457 }
458 }
459 &.vlm-list-item-ep {
Avi Ziv61070c92017-07-26 17:37:57 +0300460 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300461 margin-top: 10px;
AviZi280f8012017-06-09 02:39:56 +0300462 cursor: default;
463 .ep-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300464 @include create-circle($circle-icon-size,$lkg-ep-color,'EP');
AviZi280f8012017-06-09 02:39:56 +0300465 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300466 }
467 .vlm-list-item-title {
468 .item-name {
469 color: $lkg-ep-color;
470 }
471 }
AviZi280f8012017-06-09 02:39:56 +0300472 .list-item-section {
473 &:first-child {
474 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300475 }
476 &.list-item-icon-col {
477 margin-left: 52px;
478 }
AviZi280f8012017-06-09 02:39:56 +0300479 }
az2497644017c2017-08-10 17:49:40 +0300480
AviZi280f8012017-06-09 02:39:56 +0300481 }
482 &.vlm-list-item-lkg {
483 margin-top: 10px;
Avi Ziv61070c92017-07-26 17:37:57 +0300484 margin-left: $list-indentation * 2;
AviZi280f8012017-06-09 02:39:56 +0300485 cursor: default;
486 .lkg-icon {
Avi Ziv61070c92017-07-26 17:37:57 +0300487 @include create-circle($circle-icon-size,$lkg-ep-color,'KG');
AviZi280f8012017-06-09 02:39:56 +0300488 color: $white;
Avi Ziv61070c92017-07-26 17:37:57 +0300489 }
490 .vlm-list-item-title {
491 .item-name {
492 color: $lkg-ep-color;
493 }
494 }
AviZi280f8012017-06-09 02:39:56 +0300495 .list-item-section {
496 &:first-child {
497 display: none;
Avi Ziv61070c92017-07-26 17:37:57 +0300498 }
499 &.list-item-icon-col {
500 margin-left: 52px;
501 }
AviZi280f8012017-06-09 02:39:56 +0300502
503 }
AviZi280f8012017-06-09 02:39:56 +0300504 }
505 }
506
507 }
508 }
509 }
510
511}