@wizishop/img-manager 0.2.85 → 0.2.86

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.
Files changed (38) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/fr.json +1 -1
  3. package/bundles/wizishop-img-manager.umd.js +258 -27
  4. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js +2 -2
  6. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  7. package/esm2015/lib/components/img-tabs/img-tabs.component.js +31 -6
  8. package/esm2015/lib/components/shared/select/call-to-action.model.js +1 -0
  9. package/esm2015/lib/components/shared/select/select-items.dto.js +1 -0
  10. package/esm2015/lib/components/shared/select/select.component.js +133 -0
  11. package/esm2015/lib/directives/zindex-toggle.directive.js +49 -0
  12. package/esm2015/lib/pipes/select/select-filters.pipe.js +17 -0
  13. package/esm2015/lib/wz-img-manager.module.js +11 -3
  14. package/esm2015/wizishop-img-manager.js +20 -17
  15. package/esm5/lib/components/img-tabs/img-tabs.component.js +31 -6
  16. package/esm5/lib/components/shared/select/call-to-action.model.js +1 -0
  17. package/esm5/lib/components/shared/select/select-items.dto.js +1 -0
  18. package/esm5/lib/components/shared/select/select.component.js +136 -0
  19. package/esm5/lib/directives/zindex-toggle.directive.js +54 -0
  20. package/esm5/lib/pipes/select/select-filters.pipe.js +20 -0
  21. package/esm5/lib/wz-img-manager.module.js +11 -3
  22. package/esm5/wizishop-img-manager.js +20 -17
  23. package/fesm2015/wizishop-img-manager.js +226 -8
  24. package/fesm2015/wizishop-img-manager.js.map +1 -1
  25. package/fesm5/wizishop-img-manager.js +237 -8
  26. package/fesm5/wizishop-img-manager.js.map +1 -1
  27. package/lib/components/img-tabs/img-tabs.component.d.ts +4 -3
  28. package/lib/components/shared/select/call-to-action.model.d.ts +6 -0
  29. package/lib/components/shared/select/select-items.dto.d.ts +8 -0
  30. package/lib/components/shared/select/select.component.d.ts +38 -0
  31. package/lib/directives/zindex-toggle.directive.d.ts +13 -0
  32. package/lib/pipes/select/select-filters.pipe.d.ts +5 -0
  33. package/package.json +2 -1
  34. package/wizishop-img-manager-0.2.86.tgz +0 -0
  35. package/wizishop-img-manager.d.ts +19 -16
  36. package/wizishop-img-manager.metadata.json +1 -1
  37. package/wz-img-manager.scss +1144 -865
  38. package/wizishop-img-manager-0.2.85.tgz +0 -0
@@ -65,6 +65,11 @@ $input-radio-color-label: #6b7881!default;
65
65
  $input-radio-color-active-label: #1e2e43!default;
66
66
  $border-color: #dee2ed!default;
67
67
  $img-white: #fff!default;
68
+ $select-icon-background: #edeff2!default;
69
+ $color-CTA-select: #52aecd1a!default;
70
+ $border-CTA-select: #52aecd66!default;
71
+ $color-text-grey: #6b7881!default;
72
+ $select-box-shadow: #0000000d!default;
68
73
  @function rem($pxval) {
69
74
  @if not unitless($pxval) {
70
75
  $pxval: strip-unit($pxval);
@@ -987,104 +992,83 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
987
992
  overflow: scroll;
988
993
  }
989
994
  }
990
- .img-upload {
991
- position: relative;
992
- background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
993
- border-radius: 3px;
994
- &:before {
995
- content: '';
996
- display: block;
997
- padding-top: 110.82%;
995
+ //.wz-img-manager useful to keep the css priority
996
+ .wz-img-manager .wz-loader {
997
+ &.is-small {
998
+ right: 0;
999
+ left: 0;
1000
+ top: 0;
1001
+ transform: scale(0.6);
998
1002
  }
999
- &--small {
1000
- &:before {
1001
- padding-top: 202px;
1003
+ margin-bottom: rem(80);
1004
+
1005
+ @keyframes rotate {
1006
+ 0% {
1007
+ transform: rotate(0deg);
1002
1008
  }
1003
- .img-upload {
1004
- &__container {
1005
- .blueColor {
1006
- img {
1007
- min-width: rem(30);
1008
- }
1009
- }
1010
- &__or {
1011
- margin: rem(10) 0;
1012
- }
1013
- &__text {
1014
- padding: rem(8) rem(20);
1015
- }
1016
- }
1009
+ 50% {
1010
+ transform: rotate(180deg);
1011
+ }
1012
+ 100% {
1013
+ transform: rotate(360deg);
1017
1014
  }
1018
1015
  }
1019
- &__container {
1020
- position: absolute;
1021
- top: 0;
1022
- left: 0;
1023
- width: 100%;
1024
- height: 100%;
1025
- display: flex;
1026
- flex-wrap: wrap;
1027
- flex-direction: column;
1028
- justify-content: center;
1029
- align-items: center;
1030
- &__loader {
1031
- position: absolute;
1032
- top: 50%;
1033
- left: 50%;
1034
- transform: translate(-50%,-50%);
1035
- max-width: 300px;
1036
- max-height: 300px;
1037
- display: flex;
1038
- flex-wrap: wrap;
1039
- flex-direction: column;
1040
- justify-content: center;
1041
- align-items: center;
1016
+
1017
+ @keyframes rotate2 {
1018
+ 0% {
1019
+ transform: rotate(0deg);
1020
+ border-top-color: $img-color-loader;
1042
1021
  }
1043
- .blueColor {
1044
- img {
1045
- min-width: rem(65);
1046
- display: block;
1047
- max-width: rem(65);
1048
- margin: 0 auto rem(15);
1049
- transform: translate(10px);
1050
- }
1051
- p {
1052
- color: $border-upload-color;
1053
- font-size: rem(16);
1054
- line-height: rem(19);
1055
- font-weight: 500;
1056
- margin: 0 auto rem(20);
1057
- }
1022
+ 50% {
1023
+ transform: rotate(180deg);
1024
+ border-top-color: $img-color-loader2;
1058
1025
  }
1059
- &__or {
1060
- font-size: rem(14);
1061
- line-height: rem(16);
1062
- margin: 0 0 rem(20) !important;
1026
+ 100% {
1027
+ transform: rotate(360deg);
1028
+ border-top-color: $img-color-loader;
1063
1029
  }
1064
- &__text {
1065
- display: flex;
1066
- align-items: center;
1067
- justify-content: center;
1068
- width: auto;
1069
- border-radius: 3px;
1070
- padding: rem(12) rem(20);
1071
- color: $white;
1072
- font-size: rem(14);
1073
- line-height: rem(16);
1074
- white-space: nowrap;
1075
- background-color: $img-green-color;
1076
- transition: .3s ease;
1077
- font-weight: 500;
1078
- cursor: pointer;
1079
- i {
1080
- margin: 0 rem(6) 0 0;
1081
- font-weight: 500;
1082
- }
1083
- &:hover, &:focus {
1084
- background-color: darken($img-green-color, 15%);
1085
- }
1030
+ }
1031
+
1032
+ @mixin loaderDivMixin {
1033
+ border-radius: 50%;
1034
+ padding: rem(8);
1035
+ border: rem(2) solid transparent;
1036
+ animation: rotate linear 3.5s infinite;
1037
+ }
1038
+
1039
+ .loader {
1040
+ position: relative;
1041
+ margin: rem(75) auto;
1042
+ width: rem(150);
1043
+ height: rem(150);
1044
+ display: block;
1045
+ overflow: hidden;
1046
+ div {
1047
+ height: 100%;
1086
1048
  }
1087
1049
  }
1050
+
1051
+ /* loader 1 */
1052
+ .loader1,
1053
+ .loader1 div {
1054
+ @include loaderDivMixin;
1055
+ border-top-color: $img-color-loader;
1056
+ border-bottom-color: $img-color-loader2;
1057
+ }
1058
+
1059
+ div:hover {
1060
+ animation-play-state: paused;
1061
+ }
1062
+
1063
+ .loader,
1064
+ .loader * {
1065
+ will-change: transform;
1066
+ }
1067
+
1068
+ p {
1069
+ margin-top: -50px;
1070
+ font-weight: 500;
1071
+ }
1088
1072
  }
1089
1073
  .img-editor__infoSection__propertySEO__tooltips {
1090
1074
  i {
@@ -1342,63 +1326,205 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1342
1326
  z-index: 2;
1343
1327
  }
1344
1328
  }
1345
- $green: $really-bad-bad-bad-green !default;
1346
- $primary: $primary-button !default;
1347
- $light: $img-placeholder !default;
1348
- $info: $wizishop-blue !default;
1349
- $danger: $img-red-color !default;
1350
- $dark: $img-dark !default;
1329
+ .wz-img-manager {
1351
1330
 
1352
- $button-padding-vertical: rem(7) !default;
1353
- $radius: rem(3) !default;
1331
+ &__selectionHandler {
1332
+ margin-top: -50px;
1333
+ }
1354
1334
 
1355
- $button-color: white!default;
1356
- $button-hover-color: white !default;
1357
- $button-focus-color: white !default;
1358
- $button-active-color: white !default;
1359
- $button-background-color: $primary !default;
1360
- $button-disabled-background-color: $primary !default;
1361
- $button-border-color: $primary-button-hover !default;
1362
- $button-hover-border-color: $primary-button-hover !default;
1363
- $button-active-border-color: $primary-button-hover !default;
1364
- $button-focus-border-color: $primary-button-hover !default;
1365
- $button-disabled-border-color: $primary-button-hover !default;
1335
+ &__module {
1336
+ position: fixed;
1337
+ bottom: 0;
1338
+ left: 0;
1339
+ width: 100%;
1340
+ height: 0;
1341
+ transition: height .3s ease;
1342
+ z-index: 2147483647; // snackbar 10
1343
+ transform: translateZ(0);
1366
1344
 
1367
- $tag-radius: rem(20px)!default;
1368
- //.wz-img-manager useful to keep the css priority
1369
- .wz-img-manager .table-view {
1345
+ &:before {
1346
+ content: '';
1347
+ display: block;
1348
+ position: absolute;
1349
+ top: 0;
1350
+ left: 0;
1351
+ width: 100%;
1352
+ height: 3px;
1353
+ background-color: $img-main-color;
1354
+ z-index: 999;
1355
+ }
1370
1356
 
1357
+ &--closed {
1358
+ height: 0;
1359
+ }
1371
1360
 
1372
- &__row {
1373
- td {
1374
- vertical-align: middle;
1375
- }
1376
- &__container {
1377
- display: flex;
1378
- align-items: center;
1379
- width: 100%;
1361
+ // .wz-img-manager__module--small
1362
+ &--small {
1363
+ height: 320px;
1364
+ @include media('<tablet') {
1365
+ height: calc(100vh - 35px);
1366
+ }
1367
+ }
1380
1368
 
1381
- &__imgContainer {
1382
- margin-right: 20px;
1383
- position: relative;
1384
- display: block;
1385
- min-width: 60px;
1386
- cursor: pointer;
1369
+ // .wz-img-manager__module--full
1370
+ &--full {
1371
+ height: calc(100vh - 50px);
1372
+ @include media('<tablet') {
1373
+ height: calc(100vh - 35px);
1374
+ }
1375
+ }
1387
1376
 
1388
- &::before {
1389
- content: '';
1390
- display: block;
1391
- padding-top: 100%;
1392
- }
1377
+ // .wz-img-manager__module--window
1378
+ &--window {
1379
+ position: relative;
1380
+ width: auto;
1381
+ bottom: unset;
1382
+ left: unset;
1383
+ z-index: 29!important;
1384
+ height: auto!important;
1385
+ padding-bottom: 6.25rem;
1393
1386
 
1394
- &__img {
1395
- margin: 0!important;
1396
- position: absolute;
1397
- top: 50%;
1398
- left: 50%;
1399
- max-width: 100%;
1400
- max-height:100%;
1401
- width: auto;
1387
+ &:before {
1388
+ content: none;
1389
+ height: 0px;
1390
+ }
1391
+
1392
+ // .wz-img-manager__module--edit
1393
+ &--edit {
1394
+ .wrapper-tabs {
1395
+ display: none;
1396
+ }
1397
+ }
1398
+ }
1399
+
1400
+ // .wz-img-manager__module__header
1401
+ &__header {
1402
+ position: absolute;
1403
+ bottom: 100%;
1404
+ right: 30px;
1405
+ width: 101px;
1406
+
1407
+ @include media('<tablet') {
1408
+ width: 45px;
1409
+ right: 0;
1410
+ }
1411
+
1412
+ // .wz-img-manager__module__header button
1413
+ button {
1414
+ width: 45px;
1415
+ height: 35px;
1416
+ background-color: $img-main-color;
1417
+ transition: background-color .3s ease;
1418
+ border: none;
1419
+ box-shadow: none;
1420
+ cursor: pointer;
1421
+ outline: none!important;
1422
+
1423
+ &:first-child {
1424
+ @include media('<tablet') {
1425
+ display: none;
1426
+ }
1427
+ }
1428
+
1429
+ span {
1430
+ display: none;
1431
+ }
1432
+
1433
+ i {
1434
+ color: #fff;
1435
+ font-size: 20px;
1436
+ &:before {
1437
+ font-size: rem(20) !important;
1438
+ }
1439
+ }
1440
+
1441
+ &:hover, &:focus {
1442
+ background-color: darken($img-main-color, 15%);
1443
+ }
1444
+
1445
+ // .wz-img-manager__module__header button:first-child
1446
+ &:first-child {
1447
+ border-radius: 3px 0 0 0;
1448
+ }
1449
+
1450
+ // .wz-img-manager__module__header button:last-child
1451
+ &:last-child {
1452
+ margin: 0 0 0 1px;
1453
+ border-radius: 0 3px 0 0;
1454
+ @include media('<tablet') {
1455
+ margin: 0;
1456
+ border-radius: 0;
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+ }
1462
+ }
1463
+
1464
+ .wz-img-manager__module .wz-block {
1465
+ background-color: #fff;
1466
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1467
+ padding: 0 0.575rem 0 1.075rem;
1468
+
1469
+ @include media('<tablet') {
1470
+ padding: 0 20px;
1471
+ }
1472
+
1473
+ &--window {
1474
+ padding: rem(30);
1475
+ overflow: hidden;
1476
+ max-width: 1450px;
1477
+ margin: 0 auto;
1478
+ }
1479
+ }
1480
+
1481
+ .wz-img-manager__module .wz-block:hover {
1482
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1483
+ }
1484
+
1485
+ .nwb-snack-bar .notification {
1486
+ z-index: 10002!important;
1487
+ }
1488
+
1489
+ .nwb-snack-bar .column {
1490
+ box-sizing: border-box;
1491
+ }
1492
+
1493
+
1494
+ //.wz-img-manager useful to keep the css priority
1495
+ .wz-img-manager .table-view {
1496
+
1497
+
1498
+ &__row {
1499
+ td {
1500
+ vertical-align: middle;
1501
+ }
1502
+ &__container {
1503
+ display: flex;
1504
+ align-items: center;
1505
+ width: 100%;
1506
+
1507
+ &__imgContainer {
1508
+ margin-right: 20px;
1509
+ position: relative;
1510
+ display: block;
1511
+ min-width: 60px;
1512
+ cursor: pointer;
1513
+
1514
+ &::before {
1515
+ content: '';
1516
+ display: block;
1517
+ padding-top: 100%;
1518
+ }
1519
+
1520
+ &__img {
1521
+ margin: 0!important;
1522
+ position: absolute;
1523
+ top: 50%;
1524
+ left: 50%;
1525
+ max-width: 100%;
1526
+ max-height:100%;
1527
+ width: auto;
1402
1528
  height: auto;
1403
1529
  transform: translate(-50%, -50%);
1404
1530
  object-fit: contain;
@@ -2128,203 +2254,105 @@ $green-color: #2ecc71;
2128
2254
  }
2129
2255
  }
2130
2256
  }
2131
- .wz-img-manager {
2132
-
2133
- &__selectionHandler {
2134
- margin-top: -50px;
2257
+ .img-upload {
2258
+ position: relative;
2259
+ background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
2260
+ border-radius: 3px;
2261
+ &:before {
2262
+ content: '';
2263
+ display: block;
2264
+ padding-top: 110.82%;
2135
2265
  }
2136
-
2137
- &__module {
2138
- position: fixed;
2139
- bottom: 0;
2266
+ &--small {
2267
+ &:before {
2268
+ padding-top: 202px;
2269
+ }
2270
+ .img-upload {
2271
+ &__container {
2272
+ .blueColor {
2273
+ img {
2274
+ min-width: rem(30);
2275
+ }
2276
+ }
2277
+ &__or {
2278
+ margin: rem(10) 0;
2279
+ }
2280
+ &__text {
2281
+ padding: rem(8) rem(20);
2282
+ }
2283
+ }
2284
+ }
2285
+ }
2286
+ &__container {
2287
+ position: absolute;
2288
+ top: 0;
2140
2289
  left: 0;
2141
2290
  width: 100%;
2142
- height: 0;
2143
- transition: height .3s ease;
2144
- z-index: 2147483647; // snackbar 10
2145
- transform: translateZ(0);
2146
-
2147
- &:before {
2148
- content: '';
2149
- display: block;
2291
+ height: 100%;
2292
+ display: flex;
2293
+ flex-wrap: wrap;
2294
+ flex-direction: column;
2295
+ justify-content: center;
2296
+ align-items: center;
2297
+ &__loader {
2150
2298
  position: absolute;
2151
- top: 0;
2152
- left: 0;
2153
- width: 100%;
2154
- height: 3px;
2155
- background-color: $img-main-color;
2156
- z-index: 999;
2157
- }
2158
-
2159
- &--closed {
2160
- height: 0;
2299
+ top: 50%;
2300
+ left: 50%;
2301
+ transform: translate(-50%,-50%);
2302
+ max-width: 300px;
2303
+ max-height: 300px;
2304
+ display: flex;
2305
+ flex-wrap: wrap;
2306
+ flex-direction: column;
2307
+ justify-content: center;
2308
+ align-items: center;
2161
2309
  }
2162
-
2163
- // .wz-img-manager__module--small
2164
- &--small {
2165
- height: 320px;
2166
- @include media('<tablet') {
2167
- height: calc(100vh - 35px);
2310
+ .blueColor {
2311
+ img {
2312
+ min-width: rem(65);
2313
+ display: block;
2314
+ max-width: rem(65);
2315
+ margin: 0 auto rem(15);
2316
+ transform: translate(10px);
2168
2317
  }
2169
- }
2170
-
2171
- // .wz-img-manager__module--full
2172
- &--full {
2173
- height: calc(100vh - 50px);
2174
- @include media('<tablet') {
2175
- height: calc(100vh - 35px);
2318
+ p {
2319
+ color: $border-upload-color;
2320
+ font-size: rem(16);
2321
+ line-height: rem(19);
2322
+ font-weight: 500;
2323
+ margin: 0 auto rem(20);
2176
2324
  }
2177
2325
  }
2178
-
2179
- // .wz-img-manager__module--window
2180
- &--window {
2181
- position: relative;
2326
+ &__or {
2327
+ font-size: rem(14);
2328
+ line-height: rem(16);
2329
+ margin: 0 0 rem(20) !important;
2330
+ }
2331
+ &__text {
2332
+ display: flex;
2333
+ align-items: center;
2334
+ justify-content: center;
2182
2335
  width: auto;
2183
- bottom: unset;
2184
- left: unset;
2185
- z-index: 29!important;
2186
- height: auto!important;
2187
- padding-bottom: 6.25rem;
2188
-
2189
- &:before {
2190
- content: none;
2191
- height: 0px;
2192
- }
2193
-
2194
- // .wz-img-manager__module--edit
2195
- &--edit {
2196
- .wrapper-tabs {
2197
- display: none;
2198
- }
2199
- }
2200
- }
2201
-
2202
- // .wz-img-manager__module__header
2203
- &__header {
2204
- position: absolute;
2205
- bottom: 100%;
2206
- right: 30px;
2207
- width: 101px;
2208
-
2209
- @include media('<tablet') {
2210
- width: 45px;
2211
- right: 0;
2336
+ border-radius: 3px;
2337
+ padding: rem(12) rem(20);
2338
+ color: $white;
2339
+ font-size: rem(14);
2340
+ line-height: rem(16);
2341
+ white-space: nowrap;
2342
+ background-color: $img-green-color;
2343
+ transition: .3s ease;
2344
+ font-weight: 500;
2345
+ cursor: pointer;
2346
+ i {
2347
+ margin: 0 rem(6) 0 0;
2348
+ font-weight: 500;
2212
2349
  }
2213
-
2214
- // .wz-img-manager__module__header button
2215
- button {
2216
- width: 45px;
2217
- height: 35px;
2218
- background-color: $img-main-color;
2219
- transition: background-color .3s ease;
2220
- border: none;
2221
- box-shadow: none;
2222
- cursor: pointer;
2223
- outline: none!important;
2224
-
2225
- &:first-child {
2226
- @include media('<tablet') {
2227
- display: none;
2228
- }
2229
- }
2230
-
2231
- span {
2232
- display: none;
2233
- }
2234
-
2235
- i {
2236
- color: #fff;
2237
- font-size: 20px;
2238
- &:before {
2239
- font-size: rem(20) !important;
2240
- }
2241
- }
2242
-
2243
- &:hover, &:focus {
2244
- background-color: darken($img-main-color, 15%);
2245
- }
2246
-
2247
- // .wz-img-manager__module__header button:first-child
2248
- &:first-child {
2249
- border-radius: 3px 0 0 0;
2250
- }
2251
-
2252
- // .wz-img-manager__module__header button:last-child
2253
- &:last-child {
2254
- margin: 0 0 0 1px;
2255
- border-radius: 0 3px 0 0;
2256
- @include media('<tablet') {
2257
- margin: 0;
2258
- border-radius: 0;
2259
- }
2260
- }
2350
+ &:hover, &:focus {
2351
+ background-color: darken($img-green-color, 15%);
2261
2352
  }
2262
2353
  }
2263
2354
  }
2264
2355
  }
2265
-
2266
- .wz-img-manager__module .wz-block {
2267
- background-color: #fff;
2268
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2269
- padding: 0 0.575rem 0 1.075rem;
2270
-
2271
- @include media('<tablet') {
2272
- padding: 0 20px;
2273
- }
2274
-
2275
- &--window {
2276
- padding: rem(30);
2277
- overflow: hidden;
2278
- max-width: 1450px;
2279
- margin: 0 auto;
2280
- }
2281
- }
2282
-
2283
- .wz-img-manager__module .wz-block:hover {
2284
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2285
- }
2286
-
2287
- .nwb-snack-bar .notification {
2288
- z-index: 10002!important;
2289
- }
2290
-
2291
- .nwb-snack-bar .column {
2292
- box-sizing: border-box;
2293
- }
2294
-
2295
- .wrapper-tabs {
2296
- .tabs {
2297
- @include media('<tablet') {
2298
- display: none!important;
2299
- }
2300
- }
2301
- .select-mobile-page {
2302
- @include media('>=tablet') {
2303
- display: none;
2304
- }
2305
- select {
2306
- margin: 20px 0;
2307
- width: 100%;
2308
- min-height: 40px;
2309
- background-color: $img-white;
2310
- border: 1px solid $img-input-border;
2311
- border-radius: 3px;
2312
- box-shadow: none;
2313
- font-size: rem(12);
2314
- color: $img-second-color;
2315
- padding: 0 30px 0 20px;
2316
- -webkit-appearance: none;
2317
- -moz-appearance: none;
2318
- text-indent: 1px;
2319
- text-overflow: '';
2320
- background: no-repeat center right 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
2321
- background-size: 10px;
2322
- }
2323
- select::-ms-expand {
2324
- display: none;
2325
- }
2326
- }
2327
- }
2328
2356
  .wz-img-manager .dropdownWizi {
2329
2357
  padding: 10px;
2330
2358
 
@@ -2639,62 +2667,335 @@ $green-color: #2ecc71;
2639
2667
  cursor: pointer;
2640
2668
  }
2641
2669
  }
2670
+ .wz-img-manager .input-search.field {
2671
+ padding: 10px 20px;
2672
+ background-color: $gray-background;
2673
+ @include media('<tablet') {
2674
+ padding: 0!important;
2675
+ background-color: $white;
2676
+ }
2677
+ &.small-padding {
2678
+ padding: 10px 20px;
2679
+ }
2680
+ .input,
2681
+ .input:focus,
2682
+ .input.is-focused,
2683
+ .input:active,
2684
+ .input.is-active {
2685
+ font-size: rem(14);
2686
+ color: $main-text;
2687
+ border: rem(1) solid $input-border-search;
2688
+ box-shadow: none;
2689
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
2690
+ border-radius: rem(3);
2691
+ margin: 0;
2692
+ height: auto;
2693
+ min-height: unset;
2694
+
2695
+ &::placeholder {
2696
+ color: $placeholder-color;
2697
+ font-weight: normal;
2698
+ }
2699
+ }
2700
+
2701
+ .input:focus,
2702
+ .input.is-focused,
2703
+ .input:active,
2704
+ .input.is-active {
2705
+ border-color: $wizishop-blue;
2706
+ }
2707
+
2708
+ .icon {
2709
+ position: absolute;
2710
+ top: 50%;
2711
+ left: 20px;
2712
+ font-size: rem(18);
2713
+ transform: translateY(-50%);
2714
+ pointer-events: none;
2715
+ font-weight: 400;
2716
+ color: $placeholder-color;
2717
+ margin: 0;
2718
+ width: rem(18);
2719
+ height: rem(18);
2720
+ }
2721
+ }
2722
+
2723
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
2724
+ padding: 0;
2725
+ background-color: transparent;
2726
+ }
2642
2727
  image-cropper {
2643
2728
  max-height: 60vh;
2644
- }$card-img-size: 100%;
2645
- $card-img-size-small: 140px;
2729
+ }.wz-img-manager .images-view {
2730
+ text-align: left;
2646
2731
 
2647
- //.wz-img-manager useful to keep the css priority
2648
- .wz-img-manager .addCssPriority .img-card {
2649
- display: flex;
2650
- flex-wrap: wrap;
2651
- justify-content: center;
2652
- padding: 0 0 rem(5);
2653
- width: 100%;
2654
- overflow: hidden;
2732
+ &.fullSize {
2733
+ & + .images-view__scroll {
2734
+ max-height: 1160px;
2735
+ }
2736
+ }
2655
2737
 
2656
- &__container {
2657
- width: 100%!important;
2658
- height: auto!important;
2659
- display: flex;
2660
- border-radius: 3px;
2661
- border: 1px solid $img-light-white-color;
2662
- cursor: pointer;
2663
- overflow: hidden;
2664
- transition: .3s ease;
2738
+ &__scroll {
2665
2739
  position: relative;
2666
- margin: 0 0 rem(10);
2667
- &:before {
2668
- content: '';
2669
- display: block;
2670
- padding-top: 100%;
2671
- }
2740
+ height: 100%;
2741
+ z-index: 1;
2672
2742
 
2673
- &.imgSelected {
2743
+ &--full {
2744
+ max-height: calc(100vh - 160px)!important;
2745
+ min-height: calc(100vh - 160px) !important;
2746
+ }
2674
2747
 
2675
- &:after {
2676
- z-index: 1000;
2677
- content: '';
2678
- display: block;
2679
- position: absolute;
2680
- width: 100%;
2681
- height: 4px;
2682
- background-color: $img-main-color;
2683
- bottom: 0;
2684
- left: 0;
2685
- transform: translateZ(0);
2748
+ &--smallDisplay {
2749
+ max-height: 275px!important;
2750
+ @include media('<tablet') {
2751
+ max-height: calc(100vh - 90px)!important;
2752
+ min-height: calc(100vh - 90px) !important;
2686
2753
  }
2687
2754
  }
2688
2755
 
2689
- &__valid {
2690
- display: flex;
2691
- position: absolute;
2692
- top: 100%;
2693
- left: 50%;
2694
- transform: translate(-50%,0);
2695
- justify-content: center;
2696
- align-items: center;
2697
- width: auto;
2756
+ &--smallUploadDisplay {
2757
+ max-height: 230px!important;
2758
+ }
2759
+
2760
+ &--window {
2761
+ max-height: unset!important;
2762
+ }
2763
+
2764
+ &--hide {
2765
+ &--mosaic {
2766
+ min-height: 100px !important;
2767
+ &--small {
2768
+ min-height: unset !important;
2769
+ }
2770
+ }
2771
+ &--table {
2772
+ min-height: 170px !important;
2773
+ }
2774
+
2775
+ }
2776
+
2777
+ .ng-scroll-content {
2778
+ min-width: calc(100% - 1rem) !important;
2779
+ width: calc(100% - 1rem) !important;
2780
+ @include media('<tablet') {
2781
+ min-width: 100%!important;
2782
+ }
2783
+ }
2784
+ }
2785
+
2786
+ &__container {
2787
+ display: flex;
2788
+ justify-content: space-between;
2789
+ margin: 0 0 rem(20);
2790
+
2791
+ > div {
2792
+ display: flex;
2793
+ align-items: center;
2794
+ .mainColor {
2795
+ margin: 0;
2796
+ }
2797
+ }
2798
+
2799
+ &--window {
2800
+ margin: rem(30) 0 rem(20);
2801
+ }
2802
+
2803
+ &--uploadTab {
2804
+ margin: 0 0 rem(20);
2805
+ }
2806
+
2807
+ &__boxAction {
2808
+ width: 525px;
2809
+ overflow: visible;
2810
+ display: flex;
2811
+ position: relative;
2812
+ justify-content: flex-end;
2813
+ margin-right: 13px;
2814
+ height: 40px;
2815
+ align-items: center;
2816
+ transform: translate(-41px,-3px);
2817
+
2818
+ &__confirmSup {
2819
+ display: flex;
2820
+ justify-content: space-between;
2821
+ align-items: center;
2822
+ border-left: solid 1px #d8d8d8;
2823
+ color: $img-grey-color;
2824
+ padding-left: 1rem;
2825
+ width: 0;
2826
+ position: absolute;
2827
+ opacity: 0;
2828
+ transition: 0s;
2829
+ visibility: hidden;
2830
+ z-index: 2;
2831
+
2832
+ &--visible {
2833
+ max-width: unset;
2834
+ width: auto;
2835
+ opacity: 1;
2836
+ transition: 0s;
2837
+ visibility: visible;
2838
+
2839
+ p {
2840
+ transition: left .3s ease-in-out;
2841
+ right: 100%;
2842
+ left: auto;
2843
+ white-space: nowrap;
2844
+ margin-right: 30px;
2845
+ }
2846
+ }
2847
+
2848
+ &__cancel {
2849
+ margin-right: 14px;
2850
+ background-color: white;
2851
+ border-color: #dbdbdb;
2852
+ color: $img-main-text;
2853
+ }
2854
+
2855
+ &__text {
2856
+ font-size: 14px;
2857
+ position: absolute;
2858
+ left: -126%;
2859
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
2860
+ }
2861
+ }
2862
+
2863
+ &__delBtn {
2864
+ i {
2865
+ margin-right: 13px!important;
2866
+ }
2867
+ }
2868
+
2869
+ &__import {
2870
+ margin-right: 13px;
2871
+ i {
2872
+ margin-right: 13px!important;
2873
+ }
2874
+ }
2875
+ }
2876
+
2877
+ &__buttonBox {
2878
+ margin: 0;
2879
+ width: rem(40);
2880
+ height: rem(40);
2881
+ border: solid $img-light-white-color;
2882
+ border-width: 1px 0 1px 1px;
2883
+
2884
+ border-radius: 3px 0 0 3px;
2885
+ outline: none!important;
2886
+
2887
+ > div {
2888
+ margin-top: 0;
2889
+ margin-bottom: 0;
2890
+ height: 40px;
2891
+ &:nth-child(2) {
2892
+ border: solid $img-light-white-color;
2893
+ border-width: 1px 1px 1px 0;
2894
+ transform: translateY(-1px);
2895
+ border-radius: 0 3px 3px 0;
2896
+ }
2897
+ div {
2898
+ height: 38px;
2899
+ margin: 0!important;
2900
+ }
2901
+ }
2902
+
2903
+ .actifDisplayed {
2904
+ color:$img-main-color;
2905
+ }
2906
+
2907
+ i {
2908
+ margin: 0;
2909
+ }
2910
+ }
2911
+
2912
+ &__cards {
2913
+ display: flex;
2914
+ justify-content: space-between;
2915
+ flex-wrap: wrap;
2916
+ align-items: center;
2917
+ padding-top: 30px;
2918
+ margin-right: calc(0.8rem - 20px);
2919
+ margin-left: 0.3rem;
2920
+ margin-bottom: 30px;
2921
+
2922
+ }
2923
+ }
2924
+
2925
+ &--pexels {
2926
+ margin-top: -30px;
2927
+ }
2928
+
2929
+ .subHeaderActions .button i {
2930
+ margin-right: 0;
2931
+ }
2932
+ }
2933
+
2934
+ @media screen and (max-width: 768px) {
2935
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
2936
+ max-height: none!important;
2937
+
2938
+ .ng-scroll-content {
2939
+ margin: 0 !important;
2940
+ min-width: 100%!important;
2941
+ width: 100%!important;
2942
+ }
2943
+ }
2944
+ }
2945
+ $card-img-size: 100%;
2946
+ $card-img-size-small: 140px;
2947
+
2948
+ //.wz-img-manager useful to keep the css priority
2949
+ .wz-img-manager .addCssPriority .img-card {
2950
+ display: flex;
2951
+ flex-wrap: wrap;
2952
+ justify-content: center;
2953
+ padding: 0 0 rem(5);
2954
+ width: 100%;
2955
+ overflow: hidden;
2956
+
2957
+ &__container {
2958
+ width: 100%!important;
2959
+ height: auto!important;
2960
+ display: flex;
2961
+ border-radius: 3px;
2962
+ border: 1px solid $img-light-white-color;
2963
+ cursor: pointer;
2964
+ overflow: hidden;
2965
+ transition: .3s ease;
2966
+ position: relative;
2967
+ margin: 0 0 rem(10);
2968
+ &:before {
2969
+ content: '';
2970
+ display: block;
2971
+ padding-top: 100%;
2972
+ }
2973
+
2974
+ &.imgSelected {
2975
+
2976
+ &:after {
2977
+ z-index: 1000;
2978
+ content: '';
2979
+ display: block;
2980
+ position: absolute;
2981
+ width: 100%;
2982
+ height: 4px;
2983
+ background-color: $img-main-color;
2984
+ bottom: 0;
2985
+ left: 0;
2986
+ transform: translateZ(0);
2987
+ }
2988
+ }
2989
+
2990
+ &__valid {
2991
+ display: flex;
2992
+ position: absolute;
2993
+ top: 100%;
2994
+ left: 50%;
2995
+ transform: translate(-50%,0);
2996
+ justify-content: center;
2997
+ align-items: center;
2998
+ width: auto;
2698
2999
  background-color: $img-green-color;
2699
3000
  border-radius: 3px;
2700
3001
  padding: 5px;
@@ -3215,22 +3516,315 @@ $card-img-size-small: 140px;
3215
3516
  }
3216
3517
  }
3217
3518
  }
3218
- .wz-img-manager .wz-pagination {
3219
- width: 100%;
3220
- padding: 0;
3221
-
3222
- &__wrapper {
3223
- @include flexbox();
3224
- @include justify-content(flex-end);
3225
- padding: 0 17px 0 0;
3226
3519
 
3227
- @include media('<tablet') {
3228
- padding: 0;
3229
- justify-content: space-between;
3230
- }
3231
3520
 
3232
- &__page {
3233
- margin-right: 30px;
3521
+ .wac {
3522
+ &-select {
3523
+ width: 100%;
3524
+ position: relative;
3525
+ height: 40px;
3526
+ border: 1px solid $border-form;
3527
+ margin: 0;
3528
+ border-radius: 3px;
3529
+ z-index: 2;
3530
+ background-color: $white;
3531
+ max-width: 100%;
3532
+ &:hover,
3533
+ &:focus {
3534
+ z-index: 4;
3535
+ }
3536
+ &__label {
3537
+ padding: 0;
3538
+ font-size: rem(14);
3539
+ line-height: rem(16);
3540
+ margin: 0 0 rem(12);
3541
+ font-weight: 500;
3542
+ }
3543
+ &__current {
3544
+ display: flex;
3545
+ width: 100%;
3546
+ height: 38px;
3547
+ justify-content: space-between;
3548
+ align-items: center;
3549
+ align-content: center;
3550
+ padding: 0 0 0 20px;
3551
+ color: $color-text-grey;
3552
+ font-size: rem(14);
3553
+ line-height: rem(16);
3554
+ cursor: pointer;
3555
+ white-space: nowrap;
3556
+ text-overflow: ellipsis;
3557
+ max-width: 100%;
3558
+ overflow: hidden;
3559
+ &--withSearch {
3560
+ padding: 0;
3561
+ span {
3562
+ &:not(.icon):not(:last-child) {
3563
+ display: block;
3564
+ width: 100%;
3565
+ height: rem(38);
3566
+ line-height: rem(38);
3567
+ padding: 0 20px;
3568
+ }
3569
+ &.icon {
3570
+ & + span {
3571
+ padding: 0;
3572
+ }
3573
+ }
3574
+ &:last-child {
3575
+ margin: 0;
3576
+ }
3577
+ }
3578
+ &.open-search {
3579
+ span {
3580
+ &:not(.icon):not(:last-child) {
3581
+ display: none;
3582
+ }
3583
+ &.icon {
3584
+ display: none;
3585
+ }
3586
+ }
3587
+ }
3588
+ }
3589
+ span.icon {
3590
+ max-width: 24px;
3591
+ margin: 0 10px 0 0;
3592
+ i {
3593
+ font-size: rem(17);
3594
+ }
3595
+ img {
3596
+ display: block;
3597
+ max-width: rem(24);
3598
+ }
3599
+ &:empty {
3600
+ display: none;
3601
+ }
3602
+ }
3603
+ > span:not([class]):not(:last-child) {
3604
+ width: 100%;
3605
+ text-align: left;
3606
+ max-width: calc(100% - 58px);
3607
+ overflow: hidden;
3608
+ text-overflow: ellipsis;
3609
+ }
3610
+ span:last-child {
3611
+ width: 38px;
3612
+ min-width: 38px;
3613
+ height: 38px;
3614
+ margin: 0 0 0 20px;
3615
+ display: flex;
3616
+ justify-content: center;
3617
+ align-items: center;
3618
+ align-content: center;
3619
+ background-color: $select-icon-background;
3620
+ border-radius: 0 3px 3px 0;
3621
+ z-index: 3;
3622
+ i {
3623
+ font-size: rem(12);
3624
+ color: $second-color;
3625
+ }
3626
+ }
3627
+ &__search {
3628
+ position: relative;
3629
+ top: 0;
3630
+ left: 0;
3631
+ width: 100%;
3632
+ height: rem(38);
3633
+ display: flex;
3634
+ align-items: center;
3635
+ align-content: center;
3636
+ z-index: 2;
3637
+ padding: 0 0 0 rem(20);
3638
+ input {
3639
+ border: none;
3640
+ width: 100%;
3641
+ box-shadow: none;
3642
+ margin: 0 0 0 rem(10);
3643
+ padding: 0;
3644
+ height: rem(38);
3645
+ line-height: rem(38);
3646
+ &:focus {
3647
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3648
+ opacity: 0;
3649
+ }
3650
+ &::-moz-placeholder { /* Firefox 19+ */
3651
+ opacity: 0;
3652
+ }
3653
+ &:-ms-input-placeholder { /* IE 10+ */
3654
+ opacity: 0;
3655
+ }
3656
+ &:-moz-placeholder { /* Firefox 18- */
3657
+ opacity: 0;
3658
+ }
3659
+
3660
+ }
3661
+ }
3662
+ }
3663
+ }
3664
+ .select-disabled {
3665
+ background-color: #f5f8fa;
3666
+ cursor: not-allowed;
3667
+ }
3668
+ &__content {
3669
+ position: absolute;
3670
+ top: 100%;
3671
+ margin-top: rem(14);
3672
+ left: -1px;
3673
+ width: auto;
3674
+ min-width: calc(100% - 38px);
3675
+ max-width: calc(100% + 2px);
3676
+ border: 1px solid $border-light;
3677
+ border-radius: 3px;
3678
+ display: flex;
3679
+ flex-direction: column;
3680
+ justify-content: flex-start;
3681
+ align-items: flex-start;
3682
+ background-color: $white;
3683
+ max-height: 260px;
3684
+ height: auto;
3685
+ visibility: visible;
3686
+ opacity: 1;
3687
+ box-shadow: 3px 3px 20px $select-box-shadow;
3688
+ padding: 10px;
3689
+ &.hidden {
3690
+ visibility: hidden;
3691
+ opacity: 0;
3692
+ & > * {
3693
+ opacity: 0;
3694
+ transition: 0s;
3695
+ }
3696
+ }
3697
+ .ps {
3698
+ max-height: 240px;
3699
+ }
3700
+ &.open,
3701
+ &.open.hidden {
3702
+ position: relative;
3703
+ left: auto;
3704
+ top: 0;
3705
+ transform: translateX(-1px);
3706
+ visibility: visible;
3707
+ opacity: 1;
3708
+ & > * {
3709
+ opacity: 1;
3710
+ transition: 0s;
3711
+ }
3712
+ }
3713
+ &__cta {
3714
+ background-color: $color-CTA-select;
3715
+ border: 1px solid $border-CTA-select;
3716
+ color: $main-text;
3717
+ font-size: rem(14);
3718
+ min-height: rem(40);
3719
+ display: flex;
3720
+ align-items: center;
3721
+ align-content: center;
3722
+ width: 100%;
3723
+ border-radius: 3px;
3724
+ cursor: pointer;
3725
+ transition: 0.3s ease;
3726
+ margin: 0 0 rem(10);
3727
+ padding: 0 20px;
3728
+ > div {
3729
+ display: flex;
3730
+ align-items: center;
3731
+ align-content: center;
3732
+ justify-content: flex-start;
3733
+ width: 100%;
3734
+ i {
3735
+ color: $wizishop-blue;
3736
+ margin: 0 8px 0 0;
3737
+ }
3738
+ strong {
3739
+ display: inline-block;
3740
+ margin: 0 20px 0 0;
3741
+ }
3742
+ }
3743
+ &:hover,
3744
+ &:focus {
3745
+ background-color: darken($color-CTA-select, 10%);
3746
+ }
3747
+ }
3748
+ &__item {
3749
+ width: 100%;
3750
+ font-size: rem(14);
3751
+ line-height: rem(30);
3752
+ cursor: pointer;
3753
+ transition: 0.3s ease;
3754
+ position: relative;
3755
+ display: flex;
3756
+ justify-content: flex-start;
3757
+ align-content: center;
3758
+ align-items: center;
3759
+ color: $second-color;
3760
+ > div {
3761
+ width: 100%;
3762
+ display: flex;
3763
+ align-items: center;
3764
+ align-content: center;
3765
+ }
3766
+ .icon {
3767
+ width: 24px;
3768
+ margin: 0 10px 0 0;
3769
+ height: auto;
3770
+ max-height: 24px;
3771
+ }
3772
+ &:not(:last-child) {
3773
+ margin: 0 0 rem(10);
3774
+ }
3775
+ &:empty {
3776
+ display: none;
3777
+ }
3778
+ &:first-child {
3779
+ border-width: 1px 0 1px;
3780
+ }
3781
+ &:hover,
3782
+ &:focus {
3783
+ background-color: $gray-background;
3784
+ color: $main-text;
3785
+ }
3786
+ > div {
3787
+ padding: 0 10px;
3788
+ &.selected {
3789
+ background-color: $gray-background;
3790
+ color: $main-text;
3791
+ }
3792
+ }
3793
+ }
3794
+ &__empty {
3795
+ display: flex;
3796
+ width: 100%;
3797
+ justify-content: center;
3798
+ align-items: center;
3799
+ padding: 10px;
3800
+ span {
3801
+ font-size: rem(16);
3802
+ font-weight: 400;
3803
+ text-align: center;
3804
+ color: $second-color;
3805
+ display: inline-block;
3806
+ line-height: rem(25);
3807
+ }
3808
+ }
3809
+ }
3810
+ }
3811
+ }
3812
+ .wz-img-manager .wz-pagination {
3813
+ width: 100%;
3814
+ padding: 0;
3815
+
3816
+ &__wrapper {
3817
+ @include flexbox();
3818
+ @include justify-content(flex-end);
3819
+ padding: 0 17px 0 0;
3820
+
3821
+ @include media('<tablet') {
3822
+ padding: 0;
3823
+ justify-content: space-between;
3824
+ }
3825
+
3826
+ &__page {
3827
+ margin-right: 30px;
3234
3828
  padding: 4px 0 5px 0;
3235
3829
 
3236
3830
  @include media('<tablet') {
@@ -3327,64 +3921,165 @@ $card-img-size-small: 140px;
3327
3921
  }
3328
3922
  }
3329
3923
  }
3330
- .wz-img-manager .input-search.field {
3331
- padding: 10px 20px;
3332
- background-color: $gray-background;
3333
- @include media('<tablet') {
3334
- padding: 0!important;
3335
- background-color: $white;
3336
- }
3337
- &.small-padding {
3338
- padding: 10px 20px;
3339
- }
3340
- .input,
3341
- .input:focus,
3342
- .input.is-focused,
3343
- .input:active,
3344
- .input.is-active {
3345
- font-size: rem(14);
3346
- color: $main-text;
3347
- border: rem(1) solid $input-border-search;
3348
- box-shadow: none;
3349
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
3350
- border-radius: rem(3);
3351
- margin: 0;
3352
- height: auto;
3353
- min-height: unset;
3924
+ //.wz-img-manager useful to keep the css priority
3925
+ .wz-img-manager .img-tabs {
3926
+ background-color: white;
3927
+ padding-left: 0;
3928
+ padding-right: 0;
3929
+ padding-top: 0;
3354
3930
 
3355
- &::placeholder {
3356
- color: $placeholder-color;
3357
- font-weight: normal;
3931
+ .tabs {
3932
+ margin: 0;
3933
+ display: flex;
3934
+ align-items: center;
3935
+ overflow: visible!important;
3936
+
3937
+ &--notWindow {
3938
+ padding: rem(20) rem(30) rem(20);
3939
+ margin-left: -1.075rem;
3940
+ margin-right: -0.575rem;
3941
+ margin-bottom: 0;
3942
+ }
3943
+
3944
+ ul {
3945
+ width: auto;
3946
+ border: none;
3947
+ li {
3948
+ a {
3949
+ padding: 0 0 rem(10);
3950
+ margin: 0 rem(30) 0 0;
3951
+ position: relative;
3952
+ line-height: rem(16);
3953
+ border: none;
3954
+ color: $secondary-color;
3955
+ transition: color .3s ease;
3956
+ font-size: rem(14);
3957
+ font-weight: 400;
3958
+ }
3959
+ &.is-active {
3960
+ a {
3961
+ color: $main-text;
3962
+ &:after {
3963
+ content: '';
3964
+ display: block;
3965
+ position: absolute;
3966
+ width: 100%;
3967
+ height: 2px;
3968
+ background-color: $img-main-color;
3969
+ bottom: 0;
3970
+ left: 0;
3971
+ }
3972
+ }
3973
+ }
3974
+ }
3358
3975
  }
3359
3976
  }
3360
3977
 
3361
- .input:focus,
3362
- .input.is-focused,
3363
- .input:active,
3364
- .input.is-active {
3365
- border-color: $wizishop-blue;
3978
+ &__canva {
3979
+ margin: 0 0 0 rem(30);
3980
+ @include media('<tablet') {
3981
+ display: none;
3982
+ }
3366
3983
  }
3367
3984
 
3368
- .icon {
3369
- position: absolute;
3370
- top: 50%;
3371
- left: 20px;
3372
- font-size: rem(18);
3373
- transform: translateY(-50%);
3374
- pointer-events: none;
3375
- font-weight: 400;
3376
- color: $placeholder-color;
3377
- margin: 0;
3378
- width: rem(18);
3379
- height: rem(18);
3985
+ &__tabsEdit {
3986
+ > .column {
3987
+ padding: 0!important;
3988
+ }
3989
+ }
3990
+
3991
+ &__tabsFirst {
3992
+ height: 100vh;
3993
+
3994
+ &--window {
3995
+ height: auto;
3996
+ display: flex;
3997
+ justify-content: flex-start;
3998
+ }
3999
+
4000
+ &__upload {
4001
+ margin: rem(28) 0 0 0;
4002
+ padding: 0;
4003
+ max-width: 33.3%;
4004
+ @include media('<tablet') {
4005
+ max-width: 100%;
4006
+ margin: 0;
4007
+ }
4008
+ }
4009
+
4010
+ &__list {
4011
+ padding: 0;
4012
+ margin: rem(28) 0 0 rem(60);
4013
+ &--upload {
4014
+ margin: rem(28) 0 0 rem(48);
4015
+ }
4016
+ //height: calc(100vh - 70px);
4017
+ //height: 100vh;
4018
+ @include media('<tablet') {
4019
+ width: 100%;
4020
+ margin: 40px 0 0 0;
4021
+ }
4022
+ }
4023
+ }
4024
+
4025
+ @media screen and (max-width: 768px) {
4026
+ .img-tabs__tabsFirst__upload {
4027
+ margin-right: 0;
4028
+ margin-bottom: 0;
4029
+ margin-top: 20px!important;
4030
+ }
4031
+ }
4032
+
4033
+ &__tabsSecond {
4034
+ min-height: 100vh !important;
4035
+ margin-left: 0px;
4036
+ margin-right: 0px;
4037
+ margin-bottom: 0px;
4038
+
4039
+ .column {
4040
+ padding: 0.75rem 0 0.75rem 0;
4041
+ }
4042
+ }
4043
+
4044
+ &__tabsThird {
4045
+ min-height: 100vh !important;
4046
+ margin-left: 0px;
4047
+ margin-right: 0px;
4048
+ margin-bottom: 0px;
4049
+
4050
+ .column {
4051
+ padding: 0.75rem 0 0.75rem 0;
4052
+ }
3380
4053
  }
3381
4054
  }
3382
4055
 
3383
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3384
- padding: 0;
3385
- background-color: transparent;
4056
+ @media screen and (max-width: 768px) {
4057
+ .img-tabs__tabsFirst {
4058
+ margin-top: 0;
4059
+ }
4060
+
4061
+ .img-tabs__tabsFirst--small {
4062
+ height: 270px;
4063
+ }
3386
4064
  }
3387
- //.wz-img-manager useful to keep the css priority
4065
+
4066
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
4067
+ margin: 0;
4068
+ }
4069
+
4070
+ .wrapper-tabs {
4071
+ .tabs {
4072
+ @include media('<tablet') {
4073
+ display: none!important;
4074
+ }
4075
+ }
4076
+ .select-mobile-page {
4077
+ @include media('>=tablet') {
4078
+ display: none;
4079
+ }
4080
+ padding: 20px 0;
4081
+ }
4082
+ }//.wz-img-manager useful to keep the css priority
3388
4083
  .wz-img-manager .canva-btn {
3389
4084
  background-color: $img-main-color;
3390
4085
  border: 2px solid $img-main-color;
@@ -3670,442 +4365,26 @@ $card-img-size-small: 140px;
3670
4365
  }
3671
4366
  }
3672
4367
  }
3673
- //.wz-img-manager useful to keep the css priority
3674
- .wz-img-manager .wz-loader {
3675
- &.is-small {
3676
- right: 0;
3677
- left: 0;
3678
- top: 0;
3679
- transform: scale(0.6);
3680
- }
3681
- margin-bottom: rem(80);
3682
-
3683
- @keyframes rotate {
3684
- 0% {
3685
- transform: rotate(0deg);
3686
- }
3687
- 50% {
3688
- transform: rotate(180deg);
3689
- }
3690
- 100% {
3691
- transform: rotate(360deg);
3692
- }
3693
- }
3694
-
3695
- @keyframes rotate2 {
3696
- 0% {
3697
- transform: rotate(0deg);
3698
- border-top-color: $img-color-loader;
3699
- }
3700
- 50% {
3701
- transform: rotate(180deg);
3702
- border-top-color: $img-color-loader2;
3703
- }
3704
- 100% {
3705
- transform: rotate(360deg);
3706
- border-top-color: $img-color-loader;
3707
- }
3708
- }
3709
-
3710
- @mixin loaderDivMixin {
3711
- border-radius: 50%;
3712
- padding: rem(8);
3713
- border: rem(2) solid transparent;
3714
- animation: rotate linear 3.5s infinite;
3715
- }
3716
-
3717
- .loader {
3718
- position: relative;
3719
- margin: rem(75) auto;
3720
- width: rem(150);
3721
- height: rem(150);
3722
- display: block;
3723
- overflow: hidden;
3724
- div {
3725
- height: 100%;
3726
- }
3727
- }
3728
-
3729
- /* loader 1 */
3730
- .loader1,
3731
- .loader1 div {
3732
- @include loaderDivMixin;
3733
- border-top-color: $img-color-loader;
3734
- border-bottom-color: $img-color-loader2;
3735
- }
3736
-
3737
- div:hover {
3738
- animation-play-state: paused;
3739
- }
3740
-
3741
- .loader,
3742
- .loader * {
3743
- will-change: transform;
3744
- }
3745
-
3746
- p {
3747
- margin-top: -50px;
3748
- font-weight: 500;
3749
- }
3750
- }
3751
- //.wz-img-manager useful to keep the css priority
3752
- .wz-img-manager .img-tabs {
3753
- background-color: white;
3754
- padding-left: 0;
3755
- padding-right: 0;
3756
- padding-top: 0;
4368
+ $green: $really-bad-bad-bad-green !default;
4369
+ $primary: $primary-button !default;
4370
+ $light: $img-placeholder !default;
4371
+ $info: $wizishop-blue !default;
4372
+ $danger: $img-red-color !default;
4373
+ $dark: $img-dark !default;
3757
4374
 
3758
- .tabs {
3759
- margin: 0;
3760
- display: flex;
3761
- align-items: center;
3762
- overflow: visible!important;
4375
+ $button-padding-vertical: rem(7) !default;
4376
+ $radius: rem(3) !default;
3763
4377
 
3764
- &--notWindow {
3765
- padding: rem(20) rem(30) rem(20);
3766
- margin-left: -1.075rem;
3767
- margin-right: -0.575rem;
3768
- margin-bottom: 0;
3769
- }
4378
+ $button-color: white!default;
4379
+ $button-hover-color: white !default;
4380
+ $button-focus-color: white !default;
4381
+ $button-active-color: white !default;
4382
+ $button-background-color: $primary !default;
4383
+ $button-disabled-background-color: $primary !default;
4384
+ $button-border-color: $primary-button-hover !default;
4385
+ $button-hover-border-color: $primary-button-hover !default;
4386
+ $button-active-border-color: $primary-button-hover !default;
4387
+ $button-focus-border-color: $primary-button-hover !default;
4388
+ $button-disabled-border-color: $primary-button-hover !default;
3770
4389
 
3771
- ul {
3772
- width: auto;
3773
- border: none;
3774
- li {
3775
- a {
3776
- padding: 0 0 rem(10);
3777
- margin: 0 rem(30) 0 0;
3778
- position: relative;
3779
- line-height: rem(16);
3780
- border: none;
3781
- color: $secondary-color;
3782
- transition: color .3s ease;
3783
- font-size: rem(14);
3784
- font-weight: 400;
3785
- }
3786
- &.is-active {
3787
- a {
3788
- color: $main-text;
3789
- &:after {
3790
- content: '';
3791
- display: block;
3792
- position: absolute;
3793
- width: 100%;
3794
- height: 2px;
3795
- background-color: $img-main-color;
3796
- bottom: 0;
3797
- left: 0;
3798
- }
3799
- }
3800
- }
3801
- }
3802
- }
3803
- }
3804
-
3805
- &__canva {
3806
- margin: 0 0 0 rem(30);
3807
- @include media('<tablet') {
3808
- display: none;
3809
- }
3810
- }
3811
-
3812
- &__tabsEdit {
3813
- > .column {
3814
- padding: 0!important;
3815
- }
3816
- }
3817
-
3818
- &__tabsFirst {
3819
- height: 100vh;
3820
-
3821
- &--window {
3822
- height: auto;
3823
- display: flex;
3824
- justify-content: flex-start;
3825
- }
3826
-
3827
- &__upload {
3828
- margin: rem(28) 0 0 0;
3829
- padding: 0;
3830
- max-width: 33.3%;
3831
- @include media('<tablet') {
3832
- max-width: 100%;
3833
- margin: 0;
3834
- }
3835
- }
3836
-
3837
- &__list {
3838
- padding: 0;
3839
- margin: rem(28) 0 0 rem(60);
3840
- &--upload {
3841
- margin: rem(28) 0 0 rem(48);
3842
- }
3843
- //height: calc(100vh - 70px);
3844
- //height: 100vh;
3845
- @include media('<tablet') {
3846
- width: 100%;
3847
- margin: 40px 0 0 0;
3848
- }
3849
- }
3850
- }
3851
-
3852
- @media screen and (max-width: 768px) {
3853
- .img-tabs__tabsFirst__upload {
3854
- margin-right: 0;
3855
- margin-bottom: 0;
3856
- margin-top: 20px!important;
3857
- }
3858
- }
3859
-
3860
- &__tabsSecond {
3861
- min-height: 100vh !important;
3862
- margin-left: 0px;
3863
- margin-right: 0px;
3864
- margin-bottom: 0px;
3865
-
3866
- .column {
3867
- padding: 0.75rem 0 0.75rem 0;
3868
- }
3869
- }
3870
-
3871
- &__tabsThird {
3872
- min-height: 100vh !important;
3873
- margin-left: 0px;
3874
- margin-right: 0px;
3875
- margin-bottom: 0px;
3876
-
3877
- .column {
3878
- padding: 0.75rem 0 0.75rem 0;
3879
- }
3880
- }
3881
- }
3882
-
3883
- @media screen and (max-width: 768px) {
3884
- .img-tabs__tabsFirst {
3885
- margin-top: 0;
3886
- }
3887
-
3888
- .img-tabs__tabsFirst--small {
3889
- height: 270px;
3890
- }
3891
- }
3892
-
3893
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3894
- margin: 0;
3895
- }
3896
- .wz-img-manager .images-view {
3897
- text-align: left;
3898
-
3899
- &.fullSize {
3900
- & + .images-view__scroll {
3901
- max-height: 1160px;
3902
- }
3903
- }
3904
-
3905
- &__scroll {
3906
- position: relative;
3907
- height: 100%;
3908
- z-index: 1;
3909
-
3910
- &--full {
3911
- max-height: calc(100vh - 160px)!important;
3912
- min-height: calc(100vh - 160px) !important;
3913
- }
3914
-
3915
- &--smallDisplay {
3916
- max-height: 275px!important;
3917
- @include media('<tablet') {
3918
- max-height: calc(100vh - 90px)!important;
3919
- min-height: calc(100vh - 90px) !important;
3920
- }
3921
- }
3922
-
3923
- &--smallUploadDisplay {
3924
- max-height: 230px!important;
3925
- }
3926
-
3927
- &--window {
3928
- max-height: unset!important;
3929
- }
3930
-
3931
- &--hide {
3932
- &--mosaic {
3933
- min-height: 100px !important;
3934
- &--small {
3935
- min-height: unset !important;
3936
- }
3937
- }
3938
- &--table {
3939
- min-height: 170px !important;
3940
- }
3941
-
3942
- }
3943
-
3944
- .ng-scroll-content {
3945
- min-width: calc(100% - 1rem) !important;
3946
- width: calc(100% - 1rem) !important;
3947
- @include media('<tablet') {
3948
- min-width: 100%!important;
3949
- }
3950
- }
3951
- }
3952
-
3953
- &__container {
3954
- display: flex;
3955
- justify-content: space-between;
3956
- margin: 0 0 rem(20);
3957
-
3958
- > div {
3959
- display: flex;
3960
- align-items: center;
3961
- .mainColor {
3962
- margin: 0;
3963
- }
3964
- }
3965
-
3966
- &--window {
3967
- margin: rem(30) 0 rem(20);
3968
- }
3969
-
3970
- &--uploadTab {
3971
- margin: 0 0 rem(20);
3972
- }
3973
-
3974
- &__boxAction {
3975
- width: 525px;
3976
- overflow: visible;
3977
- display: flex;
3978
- position: relative;
3979
- justify-content: flex-end;
3980
- margin-right: 13px;
3981
- height: 40px;
3982
- align-items: center;
3983
- transform: translate(-41px,-3px);
3984
-
3985
- &__confirmSup {
3986
- display: flex;
3987
- justify-content: space-between;
3988
- align-items: center;
3989
- border-left: solid 1px #d8d8d8;
3990
- color: $img-grey-color;
3991
- padding-left: 1rem;
3992
- width: 0;
3993
- position: absolute;
3994
- opacity: 0;
3995
- transition: 0s;
3996
- visibility: hidden;
3997
- z-index: 2;
3998
-
3999
- &--visible {
4000
- max-width: unset;
4001
- width: auto;
4002
- opacity: 1;
4003
- transition: 0s;
4004
- visibility: visible;
4005
-
4006
- p {
4007
- transition: left .3s ease-in-out;
4008
- right: 100%;
4009
- left: auto;
4010
- white-space: nowrap;
4011
- margin-right: 30px;
4012
- }
4013
- }
4014
-
4015
- &__cancel {
4016
- margin-right: 14px;
4017
- background-color: white;
4018
- border-color: #dbdbdb;
4019
- color: $img-main-text;
4020
- }
4021
-
4022
- &__text {
4023
- font-size: 14px;
4024
- position: absolute;
4025
- left: -126%;
4026
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
4027
- }
4028
- }
4029
-
4030
- &__delBtn {
4031
- i {
4032
- margin-right: 13px!important;
4033
- }
4034
- }
4035
-
4036
- &__import {
4037
- margin-right: 13px;
4038
- i {
4039
- margin-right: 13px!important;
4040
- }
4041
- }
4042
- }
4043
-
4044
- &__buttonBox {
4045
- margin: 0;
4046
- width: rem(40);
4047
- height: rem(40);
4048
- border: solid $img-light-white-color;
4049
- border-width: 1px 0 1px 1px;
4050
-
4051
- border-radius: 3px 0 0 3px;
4052
- outline: none!important;
4053
-
4054
- > div {
4055
- margin-top: 0;
4056
- margin-bottom: 0;
4057
- height: 40px;
4058
- &:nth-child(2) {
4059
- border: solid $img-light-white-color;
4060
- border-width: 1px 1px 1px 0;
4061
- transform: translateY(-1px);
4062
- border-radius: 0 3px 3px 0;
4063
- }
4064
- div {
4065
- height: 38px;
4066
- margin: 0!important;
4067
- }
4068
- }
4069
-
4070
- .actifDisplayed {
4071
- color:$img-main-color;
4072
- }
4073
-
4074
- i {
4075
- margin: 0;
4076
- }
4077
- }
4078
-
4079
- &__cards {
4080
- display: flex;
4081
- justify-content: space-between;
4082
- flex-wrap: wrap;
4083
- align-items: center;
4084
- padding-top: 30px;
4085
- margin-right: calc(0.8rem - 20px);
4086
- margin-left: 0.3rem;
4087
- margin-bottom: 30px;
4088
-
4089
- }
4090
- }
4091
-
4092
- &--pexels {
4093
- margin-top: -30px;
4094
- }
4095
-
4096
- .subHeaderActions .button i {
4097
- margin-right: 0;
4098
- }
4099
- }
4100
-
4101
- @media screen and (max-width: 768px) {
4102
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
4103
- max-height: none!important;
4104
-
4105
- .ng-scroll-content {
4106
- margin: 0 !important;
4107
- min-width: 100%!important;
4108
- width: 100%!important;
4109
- }
4110
- }
4111
- }
4390
+ $tag-radius: rem(20px)!default;