Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 1 | $list-indentation: 20px; |
| 2 | $arrow-margin: 30px; |
| 3 | $icon-margin: 30px; |
| 4 | $arrow-element-width: 30px; |
| 5 | $list-item-padding: 15px; |
| 6 | |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 7 | $la-color: $dark-blue; |
| 8 | $fg-color: $blue; |
| 9 | $lkg-ep-color: $light-blue; |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 10 | @mixin overview-tile-shadow() { |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 11 | @include box-shadow(0.5px 0.8px 4px 0 rgba(24, 24, 25, 0.05)); |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 12 | } |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 13 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 14 | .license-model-overview { |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 15 | .overview-top-section { |
| 16 | .overview-title { |
| 17 | @extend .heading-1; |
| 18 | @extend .text-uppercase !optional; |
| 19 | margin-bottom: 20px; |
| 20 | color: $blue; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 21 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 22 | .license-model-overview-top { |
| 23 | display: flex; |
| 24 | justify-content: flex-start; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 25 | flex-direction: row; |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 26 | padding-bottom: 10px; |
| 27 | min-height: 155px; |
| 28 | .separator { |
| 29 | width: 1px; |
| 30 | border-right: 1px solid $tlv-light-gray; |
| 31 | margin-left: 20px; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 32 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 33 | .vendor-data-view { |
| 34 | @extend .flex-column; |
| 35 | background-color: $tlv-gray; |
| 36 | padding: 13px 30px; |
| 37 | border: 1px solid $tlv-light-gray; |
| 38 | @include overview-tile-shadow(); |
| 39 | .vendor-title { |
| 40 | margin-top: 5px; |
| 41 | } |
| 42 | .vendor-name { |
| 43 | @extend .heading-4-semibold; |
| 44 | text-transform: none; |
| 45 | padding-bottom: 10px; |
| 46 | border-bottom: 1px solid $tlv-light-gray; |
| 47 | } |
| 48 | .vendor-description, |
| 49 | .vendor-description-readonly { |
| 50 | @extend .flex; |
| 51 | @extend .body-1; |
| 52 | justify-content: space-between; |
| 53 | overflow: hidden; |
| 54 | position: relative; |
| 55 | flex: initial; |
| 56 | } |
| 57 | |
| 58 | &:not(.read-only) .vendor-description { |
| 59 | border: 1px solid transparent; |
| 60 | width: 100%; |
| 61 | padding: 2px 0 2px 6px; |
| 62 | margin-top: 10px; |
| 63 | position: relative; |
| 64 | .svg-icon-wrapper { |
| 65 | position: absolute; |
| 66 | right: 0; |
| 67 | top: 0; |
| 68 | opacity: 0; |
| 69 | } |
| 70 | $hover-padding-right: 16px; |
| 71 | @include percent-plus-value($property: width, $percent: 100%, $value: -$hover-padding-right); // compensate for padding added on hover |
| 72 | &:hover { |
| 73 | padding-right: $hover-padding-right; |
| 74 | border: 1px solid $light-gray; |
| 75 | cursor: pointer; |
| 76 | |
| 77 | background-color: $white; |
| 78 | .svg-icon-wrapper { |
| 79 | opacity: 1; |
| 80 | z-index: 10; |
| 81 | } |
| 82 | .description-data:after { |
| 83 | background: white; |
| 84 | } |
| 85 | .description-data { |
| 86 | width: 100%; |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | .vendor-description-readonly { |
| 92 | margin-top: 16px; |
| 93 | } |
| 94 | |
| 95 | .description-data { |
| 96 | @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray); |
| 97 | flex: initial; |
| 98 | } |
| 99 | |
| 100 | .vendor-description-edit { |
| 101 | @extend .flex; |
| 102 | flex-direction: column; |
| 103 | border: none; |
| 104 | margin-top: 10px; |
| 105 | position: relative; |
| 106 | left: -6px; |
| 107 | width: 101%; |
| 108 | textarea { |
| 109 | padding-left: 6px; |
| 110 | resize: vertical; |
| 111 | } |
| 112 | .buttons-row { |
| 113 | @extend .flex; |
| 114 | justify-content: flex-end; |
| 115 | flex-direction: row; |
| 116 | margin-top: -25px; |
| 117 | .buttons-wrapper { |
| 118 | @extend .flex; |
| 119 | @extend .body-3; |
| 120 | border: 1px solid $light-gray; |
| 121 | width: 95px; |
| 122 | height: 19px; |
| 123 | background-color: $tlv-light-gray; |
| 124 | border-radius: 2px; |
| 125 | position: relative; |
| 126 | flex: 0 1 auto; |
| 127 | text-align: center; |
| 128 | .description-button { |
| 129 | cursor: pointer; |
| 130 | flex: 1; |
| 131 | &:hover { |
| 132 | background-color: $white; |
| 133 | } |
| 134 | } |
| 135 | .description-save { |
| 136 | cursor: pointer; |
| 137 | flex: 1; |
| 138 | color: $blue; |
| 139 | &:hover { |
| 140 | background-color: $white; |
| 141 | } |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | .description-edit-textarea { |
| 146 | height: 67px; |
| 147 | border: 1px solid $tlv-light-gray; |
| 148 | resize: none; |
| 149 | position: relative; |
| 150 | left: -12px; |
| 151 | } |
| 152 | .validation-error-message.tooltip { |
| 153 | z-index: 1000; |
| 154 | .tooltip-inner { |
| 155 | background-color: $red; |
| 156 | } |
| 157 | } |
| 158 | } |
miriame | 6ef2c12 | 2017-10-29 13:59:52 +0200 | [diff] [blame] | 159 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 160 | .summary-count-list { |
| 161 | @extend .flex-column; |
| 162 | flex: 0.6; |
| 163 | margin-left: 20px; |
| 164 | justify-content: space-between; |
| 165 | border: 1px solid $tlv-light-gray; |
| 166 | @include overview-tile-shadow(); |
| 167 | background-color: $tlv-gray; |
| 168 | .summary-count-item { |
| 169 | @extend .flex; |
| 170 | @extend .heading-5-semibold; |
| 171 | align-items: center; |
| 172 | padding-left: 45px; |
| 173 | padding-right: 45px; |
| 174 | border-bottom: 1px solid $tlv-light-gray; |
| 175 | &:last-child { |
| 176 | border-bottom: none; |
| 177 | } |
| 178 | .item-count { |
| 179 | flex-grow: 2; |
| 180 | margin-left: 5px; |
| 181 | } |
| 182 | .summary-name-and-count { |
| 183 | width: 100%; |
| 184 | } |
| 185 | .svg-icon-wrapper { |
| 186 | .svg-icon { |
| 187 | &.__plusCircle { |
| 188 | margin-top: 3px; |
| 189 | margin-left: auto; |
| 190 | fill: $dark-gray; |
| 191 | &:hover { |
| 192 | fill: $blue; |
| 193 | } |
| 194 | } |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | .summary-name-and-count { |
| 199 | &:hover { |
| 200 | cursor: pointer; |
| 201 | color: $blue; |
| 202 | } |
| 203 | } |
| 204 | } |
| 205 | } |
| 206 | .plus-icon { |
| 207 | font-size: $icon-font-size; |
| 208 | border-radius: 50%; |
| 209 | border: 1px solid $black; |
| 210 | color: $black; |
| 211 | height: 16px; |
| 212 | width: 16px; |
| 213 | padding: 2px 2px 2px 3px; |
| 214 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 215 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 216 | } |
| 217 | .vlm-list-tab-panel { |
| 218 | @extend .flex; |
| 219 | margin-bottom: 7px; |
| 220 | .section-title { |
| 221 | flex: 1; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 222 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 223 | .overview-buttons-section { |
| 224 | margin-top: 20px; |
| 225 | display: flex; |
| 226 | justify-content: flex-start; |
| 227 | .button-vlm-list-view { |
| 228 | height: 32px; |
| 229 | width: 34px; |
| 230 | margin-left: 10px; |
| 231 | cursor: pointer; |
| 232 | } |
| 233 | /** |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 234 | .vlm-list-icon { |
| 235 | background-size: 32px; |
| 236 | background-repeat: no-repeat; |
| 237 | background-image: url($vlm-summary-used); |
| 238 | &.selected { |
| 239 | background-image: url($vlm-summary-used-blue); |
| 240 | } |
| 241 | } |
| 242 | .entities-list-icon { |
| 243 | background-size: 32px; |
| 244 | background-repeat: no-repeat; |
| 245 | background-image: url($vlm-summary-orphans); |
| 246 | &.selected { |
| 247 | background-image: url($vlm-summary-orphans-blue); |
| 248 | } |
| 249 | } |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 250 | **/ |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 251 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 252 | } |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 253 | |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 254 | .overview-list-section { |
| 255 | @extend .flex-column; |
| 256 | margin-top: 35px; |
| 257 | .section-title { |
| 258 | @extend .heading-2; |
| 259 | padding-top: 20px; |
| 260 | margin-bottom: 15px; |
| 261 | padding-bottom: 0px; |
| 262 | } |
| 263 | &.overview-list-orphans { |
| 264 | .chevron::before { |
| 265 | display: none; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 266 | } |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 267 | .vlm-list-view { |
| 268 | .vlm-list { |
| 269 | .vlm-list-item.orphan-list-item { |
| 270 | @include overview-tile-shadow(); |
| 271 | margin-left: 0; |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 272 | |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 273 | .vlm-list-item-title { |
| 274 | .item-name { |
| 275 | color: $dark-gray; |
| 276 | } |
| 277 | } |
| 278 | .list-item-icon-col { |
| 279 | .overview-list-icon { |
| 280 | background-color: $gray; |
| 281 | border-color: $gray; |
| 282 | } |
| 283 | } |
| 284 | .list-item-section { |
| 285 | &:first-child { |
| 286 | display: flex; |
| 287 | color: $white; |
| 288 | min-width: $arrow-element-width; |
| 289 | } |
| 290 | &.list-item-icon-col { |
| 291 | margin-left: 65px; |
| 292 | margin-right: 65px - $list-item-padding; |
| 293 | } |
| 294 | } |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | .vlm-list-view { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 300 | flex: 1; |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 301 | .vlm-list { |
| 302 | @extend .flex; |
| 303 | flex-direction: column; |
| 304 | .vlm-list-item { |
| 305 | @include border-shadow(); |
| 306 | min-height: 90px; |
| 307 | height: 90px; |
| 308 | background-color: $tlv-gray; |
| 309 | @extend .flex; |
| 310 | border: 1px solid $tlv-light-gray; |
| 311 | margin-bottom: 0px; |
| 312 | .clickable { |
| 313 | cursor: pointer; |
| 314 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 315 | |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 316 | .list-item-section { |
| 317 | .count-value { |
| 318 | @extend .body-3; |
| 319 | } |
| 320 | &.list-item-icon-col { |
| 321 | display: flex; |
| 322 | flex-direction: column; |
| 323 | justify-content: center; |
| 324 | align-items: center; |
| 325 | padding: 0; |
| 326 | margin-right: 40px - $list-item-padding; |
| 327 | margin-left: $icon-margin; |
| 328 | .overview-list-icon { |
| 329 | @extend .body-2; |
| 330 | } |
| 331 | } |
| 332 | padding: 15px; |
| 333 | &.list-item-arrow-col { |
| 334 | padding: 0; |
| 335 | } |
| 336 | .children-count { |
| 337 | @extend .body-1; |
| 338 | color: $gray; |
| 339 | padding-left: 5px; |
| 340 | .count-value { |
| 341 | padding: 0 5px; |
| 342 | } |
| 343 | } |
| 344 | .additional-data { |
| 345 | padding-left: 60px; |
| 346 | display: flex; |
| 347 | flex-direction: column; |
| 348 | justify-content: space-between; |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 349 | *:only-child { |
| 350 | margin-top: 0; |
| 351 | } |
| 352 | .additional-data-name { |
| 353 | @extend .body-2-semibold; |
| 354 | } |
| 355 | } |
| 356 | .additional-data-col-border { |
| 357 | border-left: 1px solid $tlv-light-gray; |
| 358 | min-height: 100%; |
| 359 | height: 100%; |
| 360 | } |
| 361 | } |
| 362 | .list-item-additional-data-col { |
| 363 | @extend .body-2; |
| 364 | @extend .flex; |
| 365 | align-items: stretch; |
| 366 | flex: 0.8; |
| 367 | margin-left: 30px; |
| 368 | padding-top: 17px; |
| 369 | padding-bottom: 11px; |
| 370 | } |
| 371 | .arrow-icon { |
| 372 | align-self: center; |
| 373 | } |
| 374 | .vlm-item-info { |
| 375 | flex: 1; |
| 376 | } |
| 377 | .vlm-list-item-title { |
| 378 | @extend .flex; |
| 379 | align-items: baseline; |
| 380 | .item-name { |
| 381 | @extend .heading-5-semibold; |
| 382 | flex: 0 1 auto; |
| 383 | margin-bottom: 4px; |
| 384 | text-transform: uppercase; |
| 385 | } |
| 386 | } |
| 387 | .vlm-list-item-description { |
| 388 | @extend .body-1; |
| 389 | @include multiline-ellipsis($lineCount: 3, $bgColor: $tlv-gray); |
| 390 | max-height: 38px; |
| 391 | } |
| 392 | &.vlm-list-item-la { |
| 393 | margin-top: 10px; |
| 394 | .la-icon { |
| 395 | @include create-circle($circle-icon-size, $la-color); |
| 396 | color: $white; |
| 397 | } |
| 398 | .vlm-list-item-title { |
| 399 | .item-name { |
| 400 | color: $la-color; |
| 401 | } |
| 402 | } |
| 403 | .list-item-section { |
| 404 | &:first-child { |
| 405 | display: flex; |
| 406 | color: $la-color; |
| 407 | min-width: $arrow-element-width; |
| 408 | } |
| 409 | } |
| 410 | .list-item-arrow-col { |
| 411 | flex: 0.01; |
| 412 | margin-left: $arrow-margin; |
| 413 | justify-content: center; |
| 414 | } |
| 415 | } |
| 416 | &.vlm-list-item-fg { |
| 417 | margin-left: $list-indentation; |
| 418 | margin-top: 10px; |
| 419 | .fg-pipeline-separator { |
| 420 | color: $dark-gray; |
| 421 | padding: 0 5px; |
| 422 | } |
| 423 | .list-item-icon-col { |
| 424 | margin-left: 29px; |
| 425 | } |
| 426 | .fg-icon { |
| 427 | @include create-circle($circle-icon-size, $fg-color); |
| 428 | color: $white; |
| 429 | } |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 430 | |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 431 | .vlm-list-item-title { |
| 432 | .item-name { |
| 433 | color: $fg-color; |
| 434 | } |
| 435 | } |
| 436 | .list-item-section { |
| 437 | &:first-child { |
| 438 | display: flex; |
| 439 | color: $fg-color; |
| 440 | min-width: $arrow-element-width; |
| 441 | } |
| 442 | } |
| 443 | .list-item-arrow-col { |
| 444 | flex: 0.01; |
| 445 | margin-left: $arrow-margin - $list-indentation; |
| 446 | padding-left: $list-indentation; |
| 447 | } |
| 448 | } |
| 449 | &.vlm-list-item-ep { |
| 450 | margin-left: $list-indentation * 2; |
| 451 | margin-top: 10px; |
| 452 | cursor: default; |
| 453 | .ep-icon { |
| 454 | @include create-circle($circle-icon-size, $lkg-ep-color); |
| 455 | color: $white; |
| 456 | } |
| 457 | .vlm-list-item-title { |
| 458 | .item-name { |
| 459 | color: $lkg-ep-color; |
| 460 | } |
| 461 | } |
| 462 | .list-item-section { |
| 463 | &:first-child { |
| 464 | display: none; |
| 465 | } |
| 466 | &.list-item-icon-col { |
| 467 | margin-left: 52px; |
| 468 | } |
| 469 | } |
| 470 | } |
| 471 | &.vlm-list-item-lkg { |
| 472 | margin-top: 10px; |
| 473 | margin-left: $list-indentation * 2; |
| 474 | cursor: default; |
| 475 | .lkg-icon { |
| 476 | @include create-circle($circle-icon-size, $lkg-ep-color); |
| 477 | color: $white; |
| 478 | } |
| 479 | .vlm-list-item-title { |
| 480 | .item-name { |
| 481 | color: $lkg-ep-color; |
| 482 | } |
| 483 | } |
| 484 | .list-item-section { |
| 485 | &:first-child { |
| 486 | display: none; |
| 487 | } |
| 488 | &.list-item-icon-col { |
| 489 | margin-left: 52px; |
| 490 | } |
| 491 | } |
| 492 | } |
| 493 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 494 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 495 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 496 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 497 | } |