@wizishop/img-manager 0.2.96 → 0.2.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/img-manager",
3
- "version": "0.2.96",
3
+ "version": "0.2.97",
4
4
  "description": "The best and the most beautiful image manager.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1298,144 +1298,221 @@ $tag-radius: rem(20px)!default;
1298
1298
  font-size: rem(16);
1299
1299
  color: $main-text;
1300
1300
  }
1301
- }//.wz-img-manager useful to keep the css priority
1302
- .wz-img-manager .canva-btn {
1303
- background-color: $img-main-color;
1304
- border: 2px solid $img-main-color;
1305
- padding: 0;
1306
- height: fit-content;
1307
- color: white;
1308
- padding-left: rem(9);
1309
- transition: .3s ease;
1310
- margin: 0!important;
1311
- &:hover, &:focus {
1312
- border-color: darken($img-main-color, 15%);
1313
- }
1314
- > span {
1315
- &:first-child {
1316
- z-index: 2;
1317
- position: relative;
1318
- transform: translateX(7px);
1301
+ }.wz-img-manager .images-view {
1302
+ text-align: left;
1303
+
1304
+ &.fullSize {
1305
+ & + .images-view__scroll {
1306
+ max-height: 1160px;
1319
1307
  }
1320
1308
  }
1321
- &__logo {
1322
- z-index: 1;
1323
- }
1324
- }
1325
1309
 
1326
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
1327
- background-color: $img-main-color;
1328
- cursor: not-allowed;
1329
- }
1310
+ &__scroll {
1311
+ position: relative;
1312
+ height: 100%;
1313
+ z-index: 1;
1330
1314
 
1331
- .wz-img-manager .canva.dropdown {
1332
- z-index: 9999;
1333
- .dropdown-menu {
1334
- display: none!important;
1335
- margin-top: 10px!important;
1336
- &:before {
1337
- content: '';
1338
- display: block;
1339
- position: absolute;
1340
- bottom: 100%;
1341
- left: 0;
1342
- width: 100%;
1343
- height: 10px;
1344
- }
1345
- }
1315
+ &--full {
1316
+ max-height: calc(100vh - 160px)!important;
1317
+ min-height: calc(100vh - 160px) !important;
1318
+ }
1346
1319
 
1347
- .displayDropDownMenu {
1348
- display: block!important;
1349
- }
1320
+ &--smallDisplay {
1321
+ max-height: 275px!important;
1322
+ @include media('<tablet') {
1323
+ max-height: calc(100vh - 90px)!important;
1324
+ min-height: calc(100vh - 90px) !important;
1325
+ }
1326
+ }
1350
1327
 
1351
- .dropdown-menu.dropDownShadow {
1352
- padding-bottom: 0;
1353
- padding-top: 0;
1354
- margin-top: 1px;
1328
+ &--smallUploadDisplay {
1329
+ max-height: 230px!important;
1330
+ }
1331
+
1332
+ &--window {
1333
+ max-height: unset!important;
1334
+ }
1335
+
1336
+ &--hide {
1337
+ &--mosaic {
1338
+ min-height: 100px !important;
1339
+ &--small {
1340
+ min-height: unset !important;
1341
+ }
1342
+ }
1343
+ &--table {
1344
+ min-height: 170px !important;
1345
+ }
1346
+
1347
+ }
1348
+
1349
+ .ng-scroll-content {
1350
+ min-width: calc(100% - 1rem) !important;
1351
+ width: calc(100% - 1rem) !important;
1352
+ @include media('<tablet') {
1353
+ min-width: 100%!important;
1354
+ }
1355
+ }
1355
1356
  }
1356
1357
 
1357
- .dropdown-menu {
1358
- min-width: 300px;
1359
- width: 300px;
1358
+ &__container {
1359
+ display: flex;
1360
+ justify-content: space-between;
1361
+ margin: 0 0 rem(20);
1360
1362
 
1361
- .dropdown-content {
1362
- padding-top: 0px;
1363
+ > div {
1364
+ display: flex;
1365
+ align-items: center;
1366
+ .mainColor {
1367
+ margin: 0;
1368
+ }
1369
+ }
1370
+
1371
+ &--window {
1372
+ margin: rem(30) 0 rem(20);
1363
1373
  }
1364
1374
 
1365
- .dropdown-item {
1366
- color: $img-grey-color;
1375
+ &--uploadTab {
1376
+ margin: 0 0 rem(20);
1377
+ }
1378
+
1379
+ &__boxAction {
1380
+ width: 525px;
1381
+ overflow: visible;
1367
1382
  display: flex;
1368
- justify-content: space-between;
1383
+ position: relative;
1384
+ justify-content: flex-end;
1385
+ margin-right: 13px;
1386
+ height: 40px;
1369
1387
  align-items: center;
1370
- padding: 12px 20px;
1371
- margin: 0 0 5px;
1372
- &:last-child {
1373
- margin: 0;
1374
- }
1388
+ transform: translate(-41px,-3px);
1375
1389
 
1376
- p {
1377
- margin: 0;
1378
- line-height: rem(16);
1379
- }
1390
+ &__confirmSup {
1391
+ display: flex;
1392
+ justify-content: space-between;
1393
+ align-items: center;
1394
+ border-left: solid 1px #d8d8d8;
1395
+ color: $img-grey-color;
1396
+ padding-left: 1rem;
1397
+ width: 0;
1398
+ position: absolute;
1399
+ opacity: 0;
1400
+ transition: 0s;
1401
+ visibility: hidden;
1402
+ z-index: 2;
1380
1403
 
1381
- p:first-child {
1382
- color: #1D2A3B;
1383
- font-size: rem(14);
1404
+ &--visible {
1405
+ max-width: unset;
1406
+ width: auto;
1407
+ opacity: 1;
1408
+ transition: 0s;
1409
+ visibility: visible;
1410
+
1411
+ p {
1412
+ transition: left .3s ease-in-out;
1413
+ right: 100%;
1414
+ left: auto;
1415
+ white-space: nowrap;
1416
+ margin-right: 30px;
1417
+ }
1418
+ }
1419
+
1420
+ &__cancel {
1421
+ margin-right: 14px;
1422
+ background-color: white;
1423
+ border-color: #dbdbdb;
1424
+ color: $img-main-text;
1425
+ }
1426
+
1427
+ &__text {
1428
+ font-size: 14px;
1429
+ position: absolute;
1430
+ left: -126%;
1431
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1432
+ }
1384
1433
  }
1385
1434
 
1386
- p:last-child {
1387
- color: #526384;
1388
- font-size: rem(14);
1435
+ &__delBtn {
1436
+ i {
1437
+ margin-right: 13px!important;
1438
+ }
1389
1439
  }
1390
- }
1391
1440
 
1392
- .dropdown-item:hover {
1393
- background-color: whitesmoke;
1394
- cursor: pointer;
1395
- color: black;
1441
+ &__import {
1442
+ margin-right: 13px;
1443
+ i {
1444
+ margin-right: 13px!important;
1445
+ }
1446
+ }
1396
1447
  }
1397
1448
 
1398
- .dropdown-item.expectedSizes {
1399
- font-weight: 500;
1400
- }
1449
+ &__buttonBox {
1450
+ margin: 0;
1451
+ width: rem(40);
1452
+ height: rem(40);
1453
+ border: solid $img-light-white-color;
1454
+ border-width: 1px 0 1px 1px;
1401
1455
 
1402
- .dropdownTitle {
1403
- font-size: 14px;
1404
- background-color: $img-main-color;
1405
- padding: rem(9.5) 0;
1406
- text-align: center;
1456
+ border-radius: 3px 0 0 3px;
1457
+ outline: none!important;
1407
1458
 
1408
- p {
1409
- font-size: 14px;
1410
- color: white;
1411
- margin: 0;
1412
- font-weight: 500;
1459
+ > div {
1460
+ margin-top: 0;
1461
+ margin-bottom: 0;
1462
+ height: 40px;
1463
+ &:nth-child(2) {
1464
+ border: solid $img-light-white-color;
1465
+ border-width: 1px 1px 1px 0;
1466
+ transform: translateY(-1px);
1467
+ border-radius: 0 3px 3px 0;
1468
+ }
1469
+ div {
1470
+ height: 38px;
1471
+ margin: 0!important;
1472
+ }
1413
1473
  }
1414
- }
1415
1474
 
1416
- .infoItem {
1417
- padding: 18px 20px 11px 20px;
1418
- line-height: 1.5;
1419
- font-weight: 500;
1475
+ .actifDisplayed {
1476
+ color:$img-main-color;
1477
+ }
1420
1478
 
1421
- p {
1479
+ i {
1422
1480
  margin: 0;
1423
- font-size: rem(16);
1424
- line-height: rem(19);
1425
- font-weight: 500;
1426
1481
  }
1427
1482
  }
1428
1483
 
1429
- .dropdown-item-wrapper {
1430
- border: 1px solid #DEE2ED;
1431
- border-radius: 3px;
1432
- margin: 0 20px 5px 20px;
1484
+ &__cards {
1485
+ display: flex;
1486
+ justify-content: space-between;
1487
+ flex-wrap: wrap;
1488
+ align-items: center;
1489
+ padding-top: 30px;
1490
+ margin-right: calc(0.8rem - 20px);
1491
+ margin-left: 0.3rem;
1492
+ margin-bottom: 30px;
1493
+
1433
1494
  }
1434
1495
  }
1496
+
1497
+ &--pexels {
1498
+ margin-top: -30px;
1499
+ }
1500
+
1501
+ .subHeaderActions .button i {
1502
+ margin-right: 0;
1503
+ }
1435
1504
  }
1436
1505
 
1437
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
1438
- display: none;
1506
+ @media screen and (max-width: 768px) {
1507
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1508
+ max-height: none!important;
1509
+
1510
+ .ng-scroll-content {
1511
+ margin: 0 !important;
1512
+ min-width: 100%!important;
1513
+ width: 100%!important;
1514
+ }
1515
+ }
1439
1516
  }
1440
1517
  $default-color-p-alert: #1e5568;
1441
1518
  $success-color-p-alert: #11552e;
@@ -3165,169 +3242,24 @@ $card-img-size-small: 140px;
3165
3242
  }
3166
3243
  &.deleted {
3167
3244
  transition: transform .3s ease .45s;
3168
- }
3169
- &.selected {
3170
- transition: transform .3s ease .6s;
3171
- }
3172
- }
3173
- }
3174
- }
3175
- }
3176
- }
3177
- }
3178
-
3179
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3180
- width: $card-img-size-small;
3181
- height: $card-img-size-small;
3182
- }
3183
-
3184
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3185
- width: $card-img-size-small;
3186
- }
3187
- .wz-img-manager .wz-table {
3188
- width: 100%;
3189
-
3190
- &__head {
3191
- @include flexbox();
3192
- @include flex-flow(row nowrap);
3193
- width: 100%;
3194
- border-top: 1px solid $textarea-border-color;
3195
- border-bottom: 1px solid $textarea-border-color;
3196
- background-color: $gray-background;
3197
-
3198
- &__cell {
3199
- @include flexbox();
3200
- @include flex(1);
3201
- padding: 15px 20px;
3202
- font-size: 14px;
3203
- line-height: 20px;
3204
- color: $main-text;
3205
- font-weight: 600;
3206
-
3207
- &--checkbox {
3208
- @include flex(none);
3209
- width: 80px;
3210
- padding: 10px 20px 6px 20px;
3211
- > * {
3212
- transform: translateX(15px);
3213
- }
3214
- }
3215
-
3216
- &__search {
3217
- color: $main-text;
3218
- padding-right: 23px;
3219
- transition: background-image 0.3s ease-in-out;
3220
- cursor: text;
3221
-
3222
- &:hover {
3223
- color: $main-text;
3224
- }
3225
-
3226
- &--idle {
3227
- background: transparent
3228
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3229
- center right / 14px 14px no-repeat;
3230
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3231
- cursor: pointer;
3232
-
3233
- &:hover {
3234
- transition: color 0.3s ease-in-out;
3235
- }
3236
- }
3237
-
3238
- &--up {
3239
- background: transparent
3240
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3241
- center right / 14px 14px no-repeat;
3242
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3243
- cursor: pointer;
3244
-
3245
- &:hover {
3246
- transition: color 0.3s ease-in-out;
3247
- }
3248
- }
3249
-
3250
- &--down {
3251
- background: transparent
3252
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3253
- center right / 14px 14px no-repeat;
3254
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3255
- cursor: pointer;
3256
-
3257
- &:hover {
3258
- transition: color 0.3s ease-in-out;
3245
+ }
3246
+ &.selected {
3247
+ transition: transform .3s ease .6s;
3248
+ }
3249
+ }
3250
+ }
3259
3251
  }
3260
3252
  }
3261
- }
3262
-
3263
- &--center--left {
3264
- @include align-items(center);
3265
- @include justify-content(left);
3266
- }
3267
- &--center--center {
3268
- @include align-items(center);
3269
- @include justify-content(center);
3270
- }
3271
- &--center--right {
3272
- @include align-items(center);
3273
- @include justify-content(right);
3274
- }
3275
- }
3276
- }
3277
-
3278
- // TODO delete __search
3279
- &__search {
3280
- height: 100px;
3281
- margin-top: 10px;
3282
- }
3283
-
3284
- &__body {
3285
- width: 100%;
3286
- margin-top: -10px;
3287
-
3288
- &__loader {
3289
- position: relative;
3290
- min-height: 200px;
3291
3253
  }
3254
+ }
3292
3255
 
3293
- &__line {
3294
- @include flexbox();
3295
- @include flex-flow(row nowrap);
3296
- width: 100%;
3297
- border-bottom: 1px solid $textarea-border-color;
3298
-
3299
- &__cell {
3300
- @include flexbox();
3301
- @include flex(1);
3302
- padding: 20px 20px 20px 20px;
3303
- font-size: 14px;
3304
- line-height: 25px;
3305
- color: $secondary-color;
3306
-
3307
- &--checkbox {
3308
- @include flexbox();
3309
- @include flex(none);
3310
- @include justify-content(center);
3311
- @include align-items(center);
3312
- width: 80px;
3313
- padding: 8px 20px;
3314
- }
3256
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3257
+ width: $card-img-size-small;
3258
+ height: $card-img-size-small;
3259
+ }
3315
3260
 
3316
- &--center--left {
3317
- @include align-items(center);
3318
- @include justify-content(left);
3319
- }
3320
- &--center--center {
3321
- @include align-items(center);
3322
- @include justify-content(center);
3323
- }
3324
- &--center--right {
3325
- @include align-items(center);
3326
- @include justify-content(right);
3327
- }
3328
- }
3329
- }
3330
- }
3261
+ .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3262
+ width: $card-img-size-small;
3331
3263
  }
3332
3264
 
3333
3265
 
@@ -3622,6 +3554,151 @@ $card-img-size-small: 140px;
3622
3554
  }
3623
3555
  }
3624
3556
  }
3557
+ .wz-img-manager .wz-table {
3558
+ width: 100%;
3559
+
3560
+ &__head {
3561
+ @include flexbox();
3562
+ @include flex-flow(row nowrap);
3563
+ width: 100%;
3564
+ border-top: 1px solid $textarea-border-color;
3565
+ border-bottom: 1px solid $textarea-border-color;
3566
+ background-color: $gray-background;
3567
+
3568
+ &__cell {
3569
+ @include flexbox();
3570
+ @include flex(1);
3571
+ padding: 15px 20px;
3572
+ font-size: 14px;
3573
+ line-height: 20px;
3574
+ color: $main-text;
3575
+ font-weight: 600;
3576
+
3577
+ &--checkbox {
3578
+ @include flex(none);
3579
+ width: 80px;
3580
+ padding: 10px 20px 6px 20px;
3581
+ > * {
3582
+ transform: translateX(15px);
3583
+ }
3584
+ }
3585
+
3586
+ &__search {
3587
+ color: $main-text;
3588
+ padding-right: 23px;
3589
+ transition: background-image 0.3s ease-in-out;
3590
+ cursor: text;
3591
+
3592
+ &:hover {
3593
+ color: $main-text;
3594
+ }
3595
+
3596
+ &--idle {
3597
+ background: transparent
3598
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3599
+ center right / 14px 14px no-repeat;
3600
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3601
+ cursor: pointer;
3602
+
3603
+ &:hover {
3604
+ transition: color 0.3s ease-in-out;
3605
+ }
3606
+ }
3607
+
3608
+ &--up {
3609
+ background: transparent
3610
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3611
+ center right / 14px 14px no-repeat;
3612
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3613
+ cursor: pointer;
3614
+
3615
+ &:hover {
3616
+ transition: color 0.3s ease-in-out;
3617
+ }
3618
+ }
3619
+
3620
+ &--down {
3621
+ background: transparent
3622
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3623
+ center right / 14px 14px no-repeat;
3624
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3625
+ cursor: pointer;
3626
+
3627
+ &:hover {
3628
+ transition: color 0.3s ease-in-out;
3629
+ }
3630
+ }
3631
+ }
3632
+
3633
+ &--center--left {
3634
+ @include align-items(center);
3635
+ @include justify-content(left);
3636
+ }
3637
+ &--center--center {
3638
+ @include align-items(center);
3639
+ @include justify-content(center);
3640
+ }
3641
+ &--center--right {
3642
+ @include align-items(center);
3643
+ @include justify-content(right);
3644
+ }
3645
+ }
3646
+ }
3647
+
3648
+ // TODO delete __search
3649
+ &__search {
3650
+ height: 100px;
3651
+ margin-top: 10px;
3652
+ }
3653
+
3654
+ &__body {
3655
+ width: 100%;
3656
+ margin-top: -10px;
3657
+
3658
+ &__loader {
3659
+ position: relative;
3660
+ min-height: 200px;
3661
+ }
3662
+
3663
+ &__line {
3664
+ @include flexbox();
3665
+ @include flex-flow(row nowrap);
3666
+ width: 100%;
3667
+ border-bottom: 1px solid $textarea-border-color;
3668
+
3669
+ &__cell {
3670
+ @include flexbox();
3671
+ @include flex(1);
3672
+ padding: 20px 20px 20px 20px;
3673
+ font-size: 14px;
3674
+ line-height: 25px;
3675
+ color: $secondary-color;
3676
+
3677
+ &--checkbox {
3678
+ @include flexbox();
3679
+ @include flex(none);
3680
+ @include justify-content(center);
3681
+ @include align-items(center);
3682
+ width: 80px;
3683
+ padding: 8px 20px;
3684
+ }
3685
+
3686
+ &--center--left {
3687
+ @include align-items(center);
3688
+ @include justify-content(left);
3689
+ }
3690
+ &--center--center {
3691
+ @include align-items(center);
3692
+ @include justify-content(center);
3693
+ }
3694
+ &--center--right {
3695
+ @include align-items(center);
3696
+ @include justify-content(right);
3697
+ }
3698
+ }
3699
+ }
3700
+ }
3701
+ }
3625
3702
  .wz-img-manager .wz-pagination {
3626
3703
  width: 100%;
3627
3704
  padding: 0;
@@ -3892,221 +3969,144 @@ $card-img-size-small: 140px;
3892
3969
  }
3893
3970
  padding: 20px 0;
3894
3971
  }
3895
- }.wz-img-manager .images-view {
3896
- text-align: left;
3972
+ }//.wz-img-manager useful to keep the css priority
3973
+ .wz-img-manager .canva-btn {
3974
+ background-color: $img-main-color;
3975
+ border: 2px solid $img-main-color;
3976
+ padding: 0;
3977
+ height: fit-content;
3978
+ color: white;
3979
+ padding-left: rem(9);
3980
+ transition: .3s ease;
3981
+ margin: 0!important;
3982
+ &:hover, &:focus {
3983
+ border-color: darken($img-main-color, 15%);
3984
+ }
3985
+ > span {
3986
+ &:first-child {
3987
+ z-index: 2;
3988
+ position: relative;
3989
+ transform: translateX(7px);
3990
+ }
3991
+ }
3992
+ &__logo {
3993
+ z-index: 1;
3994
+ }
3995
+ }
3996
+
3997
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
3998
+ background-color: $img-main-color;
3999
+ cursor: not-allowed;
4000
+ }
3897
4001
 
3898
- &.fullSize {
3899
- & + .images-view__scroll {
3900
- max-height: 1160px;
4002
+ .wz-img-manager .canva.dropdown {
4003
+ z-index: 9999;
4004
+ .dropdown-menu {
4005
+ display: none!important;
4006
+ margin-top: 10px!important;
4007
+ &:before {
4008
+ content: '';
4009
+ display: block;
4010
+ position: absolute;
4011
+ bottom: 100%;
4012
+ left: 0;
4013
+ width: 100%;
4014
+ height: 10px;
3901
4015
  }
3902
4016
  }
3903
4017
 
3904
- &__scroll {
3905
- position: relative;
3906
- height: 100%;
3907
- z-index: 1;
3908
-
3909
- &--full {
3910
- max-height: calc(100vh - 160px)!important;
3911
- min-height: calc(100vh - 160px) !important;
3912
- }
3913
-
3914
- &--smallDisplay {
3915
- max-height: 275px!important;
3916
- @include media('<tablet') {
3917
- max-height: calc(100vh - 90px)!important;
3918
- min-height: calc(100vh - 90px) !important;
3919
- }
3920
- }
3921
-
3922
- &--smallUploadDisplay {
3923
- max-height: 230px!important;
3924
- }
3925
-
3926
- &--window {
3927
- max-height: unset!important;
3928
- }
3929
-
3930
- &--hide {
3931
- &--mosaic {
3932
- min-height: 100px !important;
3933
- &--small {
3934
- min-height: unset !important;
3935
- }
3936
- }
3937
- &--table {
3938
- min-height: 170px !important;
3939
- }
3940
-
3941
- }
3942
-
3943
- .ng-scroll-content {
3944
- min-width: calc(100% - 1rem) !important;
3945
- width: calc(100% - 1rem) !important;
3946
- @include media('<tablet') {
3947
- min-width: 100%!important;
3948
- }
3949
- }
4018
+ .displayDropDownMenu {
4019
+ display: block!important;
3950
4020
  }
3951
4021
 
3952
- &__container {
3953
- display: flex;
3954
- justify-content: space-between;
3955
- margin: 0 0 rem(20);
3956
-
3957
- > div {
3958
- display: flex;
3959
- align-items: center;
3960
- .mainColor {
3961
- margin: 0;
3962
- }
3963
- }
4022
+ .dropdown-menu.dropDownShadow {
4023
+ padding-bottom: 0;
4024
+ padding-top: 0;
4025
+ margin-top: 1px;
4026
+ }
3964
4027
 
3965
- &--window {
3966
- margin: rem(30) 0 rem(20);
3967
- }
4028
+ .dropdown-menu {
4029
+ min-width: 300px;
4030
+ width: 300px;
3968
4031
 
3969
- &--uploadTab {
3970
- margin: 0 0 rem(20);
4032
+ .dropdown-content {
4033
+ padding-top: 0px;
3971
4034
  }
3972
4035
 
3973
- &__boxAction {
3974
- width: 525px;
3975
- overflow: visible;
4036
+ .dropdown-item {
4037
+ color: $img-grey-color;
3976
4038
  display: flex;
3977
- position: relative;
3978
- justify-content: flex-end;
3979
- margin-right: 13px;
3980
- height: 40px;
4039
+ justify-content: space-between;
3981
4040
  align-items: center;
3982
- transform: translate(-41px,-3px);
3983
-
3984
- &__confirmSup {
3985
- display: flex;
3986
- justify-content: space-between;
3987
- align-items: center;
3988
- border-left: solid 1px #d8d8d8;
3989
- color: $img-grey-color;
3990
- padding-left: 1rem;
3991
- width: 0;
3992
- position: absolute;
3993
- opacity: 0;
3994
- transition: 0s;
3995
- visibility: hidden;
3996
- z-index: 2;
3997
-
3998
- &--visible {
3999
- max-width: unset;
4000
- width: auto;
4001
- opacity: 1;
4002
- transition: 0s;
4003
- visibility: visible;
4004
-
4005
- p {
4006
- transition: left .3s ease-in-out;
4007
- right: 100%;
4008
- left: auto;
4009
- white-space: nowrap;
4010
- margin-right: 30px;
4011
- }
4012
- }
4013
-
4014
- &__cancel {
4015
- margin-right: 14px;
4016
- background-color: white;
4017
- border-color: #dbdbdb;
4018
- color: $img-main-text;
4019
- }
4041
+ padding: 12px 20px;
4042
+ margin: 0 0 5px;
4043
+ &:last-child {
4044
+ margin: 0;
4045
+ }
4020
4046
 
4021
- &__text {
4022
- font-size: 14px;
4023
- position: absolute;
4024
- left: -126%;
4025
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
4026
- }
4047
+ p {
4048
+ margin: 0;
4049
+ line-height: rem(16);
4027
4050
  }
4028
4051
 
4029
- &__delBtn {
4030
- i {
4031
- margin-right: 13px!important;
4032
- }
4052
+ p:first-child {
4053
+ color: #1D2A3B;
4054
+ font-size: rem(14);
4033
4055
  }
4034
4056
 
4035
- &__import {
4036
- margin-right: 13px;
4037
- i {
4038
- margin-right: 13px!important;
4039
- }
4057
+ p:last-child {
4058
+ color: #526384;
4059
+ font-size: rem(14);
4040
4060
  }
4041
4061
  }
4042
4062
 
4043
- &__buttonBox {
4044
- margin: 0;
4045
- width: rem(40);
4046
- height: rem(40);
4047
- border: solid $img-light-white-color;
4048
- border-width: 1px 0 1px 1px;
4049
-
4050
- border-radius: 3px 0 0 3px;
4051
- outline: none!important;
4063
+ .dropdown-item:hover {
4064
+ background-color: whitesmoke;
4065
+ cursor: pointer;
4066
+ color: black;
4067
+ }
4052
4068
 
4053
- > div {
4054
- margin-top: 0;
4055
- margin-bottom: 0;
4056
- height: 40px;
4057
- &:nth-child(2) {
4058
- border: solid $img-light-white-color;
4059
- border-width: 1px 1px 1px 0;
4060
- transform: translateY(-1px);
4061
- border-radius: 0 3px 3px 0;
4062
- }
4063
- div {
4064
- height: 38px;
4065
- margin: 0!important;
4066
- }
4067
- }
4069
+ .dropdown-item.expectedSizes {
4070
+ font-weight: 500;
4071
+ }
4068
4072
 
4069
- .actifDisplayed {
4070
- color:$img-main-color;
4071
- }
4073
+ .dropdownTitle {
4074
+ font-size: 14px;
4075
+ background-color: $img-main-color;
4076
+ padding: rem(9.5) 0;
4077
+ text-align: center;
4072
4078
 
4073
- i {
4079
+ p {
4080
+ font-size: 14px;
4081
+ color: white;
4074
4082
  margin: 0;
4083
+ font-weight: 500;
4075
4084
  }
4076
4085
  }
4077
4086
 
4078
- &__cards {
4079
- display: flex;
4080
- justify-content: space-between;
4081
- flex-wrap: wrap;
4082
- align-items: center;
4083
- padding-top: 30px;
4084
- margin-right: calc(0.8rem - 20px);
4085
- margin-left: 0.3rem;
4086
- margin-bottom: 30px;
4087
+ .infoItem {
4088
+ padding: 18px 20px 11px 20px;
4089
+ line-height: 1.5;
4090
+ font-weight: 500;
4087
4091
 
4092
+ p {
4093
+ margin: 0;
4094
+ font-size: rem(16);
4095
+ line-height: rem(19);
4096
+ font-weight: 500;
4097
+ }
4088
4098
  }
4089
- }
4090
-
4091
- &--pexels {
4092
- margin-top: -30px;
4093
- }
4094
4099
 
4095
- .subHeaderActions .button i {
4096
- margin-right: 0;
4100
+ .dropdown-item-wrapper {
4101
+ border: 1px solid #DEE2ED;
4102
+ border-radius: 3px;
4103
+ margin: 0 20px 5px 20px;
4104
+ }
4097
4105
  }
4098
4106
  }
4099
4107
 
4100
- @media screen and (max-width: 768px) {
4101
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
4102
- max-height: none!important;
4103
-
4104
- .ng-scroll-content {
4105
- margin: 0 !important;
4106
- min-width: 100%!important;
4107
- width: 100%!important;
4108
- }
4109
- }
4108
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
4109
+ display: none;
4110
4110
  }
4111
4111
  //.wz-img-manager useful to keep the css priority
4112
4112
  .wz-img-manager .upload-list {
@@ -4291,7 +4291,7 @@ $card-img-size-small: 140px;
4291
4291
  &--small {
4292
4292
  height: 320px;
4293
4293
  @include media('<tablet') {
4294
- height: 100vh!important;
4294
+ height: 100%!important;
4295
4295
  }
4296
4296
  }
4297
4297
 
@@ -4299,7 +4299,7 @@ $card-img-size-small: 140px;
4299
4299
  &--full {
4300
4300
  height: calc(100vh - 50px);
4301
4301
  @include media('<tablet') {
4302
- height: 100vh!important;
4302
+ height: 100%!important;
4303
4303
  }
4304
4304
  }
4305
4305