@wizishop/img-manager 18.2.3-beta → 19.0.0-beta.2

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 (109) hide show
  1. package/README.md +393 -393
  2. package/assets/i18n/en.json +1 -1
  3. package/assets/i18n/es.json +1 -1
  4. package/assets/i18n/fr.json +1 -1
  5. package/assets/i18n/it.json +1 -1
  6. package/fesm2022/wizishop-img-manager.mjs +1150 -953
  7. package/fesm2022/wizishop-img-manager.mjs.map +1 -1
  8. package/lib/components/images-view/images-actions-handler.d.ts +3 -2
  9. package/lib/components/images-view/images-view.component.d.ts +11 -5
  10. package/lib/components/images-view/table-view/table-view.component.d.ts +1 -0
  11. package/lib/components/img-editor/img-editor.component.d.ts +8 -1
  12. package/lib/components/img-editor/info-video/info-video.component.d.ts +20 -0
  13. package/lib/components/img-editor/show-iframe/show-iframe.component.d.ts +16 -0
  14. package/lib/components/img-selection/img-selection.component.d.ts +4 -3
  15. package/lib/components/img-tabs/img-tabs.component.d.ts +1 -0
  16. package/lib/dto/img-manager.dto.d.ts +9 -0
  17. package/lib/services/api.service.d.ts +1 -0
  18. package/lib/services/img-event.service.d.ts +3 -0
  19. package/lib/services/img-manager.service.d.ts +11 -14
  20. package/lib/services/rename-picture.service.d.ts +1 -0
  21. package/lib/services/table/filters-table.service.d.ts +1 -0
  22. package/lib/services/video-info.service.d.ts +23 -0
  23. package/lib/wz-img-manager.component.d.ts +2 -2
  24. package/lib/wz-img-manager.module.d.ts +46 -44
  25. package/package.json +15 -24
  26. package/wizishop-img-manager-19.0.0-beta.2.tgz +0 -0
  27. package/wz-img-manager.scss +2422 -2112
  28. package/esm2022/lib/animations/easeInOut/ease-in-out.animation.mjs +0 -12
  29. package/esm2022/lib/animations/insertRemove/insert-remove.animation.mjs +0 -9
  30. package/esm2022/lib/animations/listAnnimation/list.animation.mjs +0 -16
  31. package/esm2022/lib/components/canva-btn/canva-btn.component.mjs +0 -73
  32. package/esm2022/lib/components/images-view/images-actions-handler.mjs +0 -168
  33. package/esm2022/lib/components/images-view/images-view.component.mjs +0 -391
  34. package/esm2022/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +0 -70
  35. package/esm2022/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +0 -73
  36. package/esm2022/lib/components/images-view/table-view/table-view.component.mjs +0 -48
  37. package/esm2022/lib/components/img-editor/cropper/cropper.component.mjs +0 -313
  38. package/esm2022/lib/components/img-editor/img-editor.component.mjs +0 -129
  39. package/esm2022/lib/components/img-editor/info-section/info-section.component.mjs +0 -58
  40. package/esm2022/lib/components/img-selection/img-selection.component.mjs +0 -58
  41. package/esm2022/lib/components/img-tabs/img-tabs.component.mjs +0 -128
  42. package/esm2022/lib/components/img-upload/img-upload.component.mjs +0 -133
  43. package/esm2022/lib/components/loader/loader.component.mjs +0 -21
  44. package/esm2022/lib/components/pexels-lib/pexels-lib.component.mjs +0 -211
  45. package/esm2022/lib/components/shared/alert/alert.component.mjs +0 -26
  46. package/esm2022/lib/components/shared/checkbox/checkbox.component.mjs +0 -56
  47. package/esm2022/lib/components/shared/dropdown/dropdown.component.mjs +0 -21
  48. package/esm2022/lib/components/shared/input-search/input-search.component.mjs +0 -53
  49. package/esm2022/lib/components/shared/pagination/page-selector/page-selector.component.mjs +0 -50
  50. package/esm2022/lib/components/shared/pagination/pagination.component.mjs +0 -49
  51. package/esm2022/lib/components/shared/select/call-to-action.model.mjs +0 -2
  52. package/esm2022/lib/components/shared/select/select-items.dto.mjs +0 -2
  53. package/esm2022/lib/components/shared/select/select.component.mjs +0 -117
  54. package/esm2022/lib/components/shared/table/table.component.mjs +0 -124
  55. package/esm2022/lib/components/upload-list/upload-list.component.mjs +0 -85
  56. package/esm2022/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +0 -41
  57. package/esm2022/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +0 -24
  58. package/esm2022/lib/directives/auto-hide.directive.mjs +0 -51
  59. package/esm2022/lib/directives/copy-to-clipboard.directive.mjs +0 -36
  60. package/esm2022/lib/directives/drag-drop.directive.mjs +0 -55
  61. package/esm2022/lib/directives/loading.directive.mjs +0 -43
  62. package/esm2022/lib/directives/table/checkBoxRow.directive.mjs +0 -130
  63. package/esm2022/lib/directives/table/column.directive.mjs +0 -50
  64. package/esm2022/lib/directives/table/columnHeader.directive.mjs +0 -215
  65. package/esm2022/lib/directives/table/raw.directive.mjs +0 -34
  66. package/esm2022/lib/directives/zindex-toggle.directive.mjs +0 -45
  67. package/esm2022/lib/dto/ImgManagerDisplayConfig.dto.mjs +0 -2
  68. package/esm2022/lib/dto/canva-create-design.dto.mjs +0 -9
  69. package/esm2022/lib/dto/canva.dto.mjs +0 -6
  70. package/esm2022/lib/dto/config/apis/api.dto.mjs +0 -11
  71. package/esm2022/lib/dto/config/external/external-config.dto.mjs +0 -5
  72. package/esm2022/lib/dto/config/image-cdn/image-cdn-config.dto.mjs +0 -2
  73. package/esm2022/lib/dto/config/img-manager.mjs +0 -8
  74. package/esm2022/lib/dto/export-dtos.api.mjs +0 -11
  75. package/esm2022/lib/dto/img-editor-config.dto.mjs +0 -2
  76. package/esm2022/lib/dto/img-manager.dto.mjs +0 -2
  77. package/esm2022/lib/dto/pexels-img.dto.mjs +0 -2
  78. package/esm2022/lib/dto/picture-name-update.dto.mjs +0 -2
  79. package/esm2022/lib/dto/stateDisplayed.dto.mjs +0 -2
  80. package/esm2022/lib/dto/tabDisplayed.dto.mjs +0 -2
  81. package/esm2022/lib/dto/wizi-block-media.dto.mjs +0 -7
  82. package/esm2022/lib/pipes/images/img-src.pipe.mjs +0 -29
  83. package/esm2022/lib/pipes/number-to-array.pipe.mjs +0 -16
  84. package/esm2022/lib/pipes/pagination/array-total-pages/array-pages.pipe.mjs +0 -28
  85. package/esm2022/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +0 -53
  86. package/esm2022/lib/pipes/pagination/text/custom-text.pipe.mjs +0 -36
  87. package/esm2022/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +0 -25
  88. package/esm2022/lib/pipes/select/select-filters.pipe.mjs +0 -19
  89. package/esm2022/lib/services/alert.service.mjs +0 -53
  90. package/esm2022/lib/services/api.service.mjs +0 -10
  91. package/esm2022/lib/services/canva.service.mjs +0 -165
  92. package/esm2022/lib/services/config/img-cdn.service.mjs +0 -21
  93. package/esm2022/lib/services/dom.service.mjs +0 -31
  94. package/esm2022/lib/services/icon.service.mjs +0 -18
  95. package/esm2022/lib/services/image-not-found.service.mjs +0 -13
  96. package/esm2022/lib/services/img-event.service.mjs +0 -33
  97. package/esm2022/lib/services/img-manager.service.mjs +0 -134
  98. package/esm2022/lib/services/img-selection.service.mjs +0 -75
  99. package/esm2022/lib/services/pexels.service.mjs +0 -66
  100. package/esm2022/lib/services/rename-picture.service.mjs +0 -66
  101. package/esm2022/lib/services/snackbar.service.mjs +0 -67
  102. package/esm2022/lib/services/table/filters-table.service.mjs +0 -61
  103. package/esm2022/lib/services/upload.service.mjs +0 -20
  104. package/esm2022/lib/services/user-settings.service.mjs +0 -23
  105. package/esm2022/lib/wz-img-manager.component.mjs +0 -209
  106. package/esm2022/lib/wz-img-manager.module.mjs +0 -225
  107. package/esm2022/public-api.mjs +0 -14
  108. package/esm2022/wizishop-img-manager.mjs +0 -5
  109. package/wizishop-img-manager-18.2.3-beta.tgz +0 -0
@@ -1,15 +1,15 @@
1
- $img-em-base: 16px!default;
2
- $img-transition-base-time: 400ms!default;
3
- $card-img-size: 199px!default;
4
- $card-img-size-small: 140px!default;
5
- $border-form: #ccd1e0;
6
-
7
-
8
-
9
- // Options
10
-
11
-
12
-
1
+ $img-em-base: 16px!default;
2
+ $img-transition-base-time: 400ms!default;
3
+ $card-img-size: 199px!default;
4
+ $card-img-size-small: 140px!default;
5
+ $border-form: #ccd1e0;
6
+
7
+
8
+
9
+ // Options
10
+
11
+
12
+
13
13
  $wizishop-blue: #4baed0!default;
14
14
  $img-gray-background: #f5f8fa!default;
15
15
  $img-placeholder: #b5b5b5!default;
@@ -29,6 +29,7 @@ $img-primary-button-desable: #dbdbdb!default;
29
29
 
30
30
  $img-grey-color: #6B7881!default;
31
31
  $img-green-color: #2ecc71!default;
32
+ $img-green-color-secondary: #27ae60!default;
32
33
  $img-yellow-color: #faa945!default;
33
34
  $img-orange-color: #F39C12!default;
34
35
  $img-bleu-action: #3498DB!default;
@@ -67,23 +68,6 @@ $color-CTA-select: #52aecd1a!default;
67
68
  $border-CTA-select: #52aecd66!default;
68
69
  $color-text-grey: #6b7881!default;
69
70
  $select-box-shadow: #0000000d!default;
70
- @use "sass:math";
71
- $em-base: 16px;
72
-
73
- @function strip-unit($value) {
74
- @return math.div($value, $value * 0 + 1);
75
- }
76
-
77
- @function rem($pxval) {
78
- @if not unitless($pxval) {
79
- $pxval: strip-unit($pxval);
80
- }
81
- $base: $em-base;
82
- @if not unitless($base) {
83
- $base: strip-unit($base);
84
- }
85
- @return math.div($pxval, $base) * 1rem;
86
- }
87
71
  $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null, $time: null) {
88
72
  @if ($time == null) {
89
73
  $time: $img-transition-base-time;
@@ -100,14 +84,14 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
100
84
  transition: $type $time $ease-in-out-quart;
101
85
  }
102
86
  .wz-img-manager #{$all-buttons} {
103
- border-radius: rem(2);
87
+ border-radius: 0.125rem;
104
88
  @include simple_transition;
105
89
  }
106
90
 
107
91
  .wz-img-manager .button {
108
92
  font-family: $base-font;
109
- font-size: rem(14) !important;
110
- border-radius: rem(3);
93
+ font-size: 0.875rem !important;
94
+ border-radius: 0.1875rem;
111
95
  }
112
96
 
113
97
  .wz-img-manager .button.success {
@@ -154,7 +138,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
154
138
  .button.pagination-next:not([disabled]),
155
139
  .button.pagination-previous:not([disabled]) {
156
140
  background-color: $img-main-color;
157
- border: rem(1) solid $img-main-color-hover;
141
+ border: 0.0625rem solid $img-main-color-hover;
158
142
  color: $white;
159
143
 
160
144
  &:hover {
@@ -201,7 +185,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
201
185
  }
202
186
  }
203
187
  .dropdown-menu {
204
- padding-top: rem(8);
188
+ padding-top: 0.5rem;
205
189
  opacity: 1;
206
190
  pointer-events: all;
207
191
  }
@@ -209,12 +193,12 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
209
193
 
210
194
  .dropdown-trigger {
211
195
  position: relative;
212
- height: rem(25);
196
+ height: 1.5625rem;
213
197
  cursor: pointer;
214
198
 
215
199
  &:before {
216
200
  content: ' ';
217
- width: rem(200);
201
+ width: 12.5rem;
218
202
  height: 100%;
219
203
  position: absolute;
220
204
  right: 0;
@@ -223,8 +207,8 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
223
207
  span {
224
208
  display: block;
225
209
  position: relative;
226
- height: rem(25);
227
- width: rem(30);
210
+ height: 1.5625rem;
211
+ width: 1.875rem;
228
212
 
229
213
  i {
230
214
  position: absolute;
@@ -233,13 +217,13 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
233
217
  left: 0;
234
218
  @include simple_transition();
235
219
  margin: auto;
236
- width: rem(25);
220
+ width: 1.5625rem;
237
221
  }
238
222
  }
239
223
  }
240
224
 
241
225
  .dropdown-menu {
242
- padding-top: rem(8);
226
+ padding-top: 0.5rem;
243
227
  opacity: 0;
244
228
  @include simple_transition();
245
229
  display: block;
@@ -248,8 +232,8 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
248
232
  }
249
233
 
250
234
  .dropdown-content {
251
- border-top: rem(2) solid $img-main-color;
252
- padding: rem(15);
235
+ border-top: 0.125rem solid $img-main-color;
236
+ padding: 0.9375rem;
253
237
 
254
238
  .dropdown-item {
255
239
  padding: 0.4rem 1rem;
@@ -260,354 +244,370 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
260
244
  }
261
245
 
262
246
  i {
263
- margin-right: rem(5);
264
- }
265
- }
266
- }
267
- }
268
-
269
-
270
-
271
- .wz-img-manager *:focus {
272
- outline: none;
273
- border-color: inherit;
274
- -webkit-box-shadow: none;
275
- box-shadow: none;
276
- }
277
-
278
- .wz-img-manager ::-webkit-input-placeholder {
279
- /* Chrome/Opera/Safari */
280
- color: $img-input-border;
281
- font-weight: bold;
282
- }
283
-
284
- .wz-img-manager ::-moz-placeholder {
285
- /* Firefox 19+ */
286
- color: $img-input-border;
287
- font-weight: bold;
288
- }
289
-
290
- .wz-img-manager :-ms-input-placeholder {
291
- /* IE 10+ */
292
- color: $img-input-border;
293
- font-weight: bold;
294
- }
295
-
296
- .wz-img-manager :-moz-placeholder {
297
- /* Firefox 18- */
298
- color: $img-input-border;
299
- font-weight: bold;
300
- }
301
-
302
- .wz-img-manager .wzImgMngInput {
303
- width: 100%;
304
- padding: 0.9rem;
305
- border: solid transparent 1px;
306
- background-color: transparent;
307
- cursor: pointer;
308
-
309
- &:active,
310
- &:focus {
311
- border: solid $img-main-color 1px;
312
- }
313
-
314
- &:hover {
315
- color: $img-main-color;
316
- }
317
-
318
- &.is-small {
319
- width: 150px;
320
-
321
- + span {
322
- color: $img-secondary-text;
323
- }
324
- }
325
- }
326
-
327
- .wz-img-manager .smallSpinner {
328
- transform: scale(0.7);
329
- }
330
-
331
- .wz-img-manager .dropdown-menu {
332
- padding-bottom: 30px;
333
- }
334
-
335
- .wz-img-manager .btnLoadingAnnimation {
336
- cursor: not-allowed;
337
- transition: 150ms width;
338
- width: 100%;
339
- height: 105%;
340
- position: absolute;
341
- left: -1px;
342
- top: -1px;
343
- background-color: white;
344
- opacity: 0.3;
345
- border-radius: 3px;
346
- z-index: 1;
347
- }
348
-
349
- .wz-img-manager .mainColor {
350
- color: $img-main-text;
351
- font-weight: 500;
352
- font-size: rem(14);
353
- line-height: rem(16);
354
- margin: 0 0 rem(20);
355
- }
356
-
357
- .wz-img-manager .smallScroll {
358
- max-height: calc(100vh - 336px)!important;
359
- min-height: 145px;
360
- }
361
-
362
- .wz-img-manager .canva .smallScroll {
363
- min-height: 238px;
364
- }
365
-
366
- .wz-img-manager .dropDownShadow {
367
- background-color: white;
368
- border-radius: 4px;
369
- box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
370
- }
371
-
372
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label::before,
373
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label:before {
374
- border-color: $img-main-color!important;
375
- }
376
-
377
- .wz-img-manager .is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after {
378
- border-color: $img-main-color;
379
- }
380
-
381
- .wz-img-manager__module__content .wrapper-tabs ul {
382
- @include media('<tablet') {
383
- max-width: 100%;
384
- overflow-x: scroll;
385
- }
386
- }
387
-
388
- .ovh-canva {
389
- overflow: hidden!important;
390
- max-height: 100vh!important;
391
- min-height: 100vh!important;
392
- height: 100vh!important;
393
-
394
- .wz-img-manager__module { // Canva z-index : 2147483640
395
- z-index: 2147483639!important;
396
- }
397
- }
398
-
399
- .nwb-alert .alert{
400
- z-index: 2147483647;
401
- }
402
-
403
- .wz-img-manager__module--edit {
404
- .wrapper-tabs {
405
- display: none;
406
- }
407
- }
408
-
409
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
410
- padding: 0;
411
- }
412
-
413
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
414
- padding-right: 20px;
415
- @include media('<tablet') {
416
- padding: 0;
417
- }
418
- }
419
-
420
- .tabs--notWindow ul {
421
- transform: translateY(5px);
422
- }
423
-
424
- .wz-img-manager__module .wz-block--window {
425
- overflow: visible;
426
- .img-editor__scroll {
427
- .ng-scroll-viewport {
428
- contain: unset;
429
- &-wrapper {
430
- overflow: visible;
431
- }
432
- }
433
- }
434
- .img-editor__infoSection {
435
- &__divider {
436
- &:not(:nth-child(5)) {
437
- display: none;
438
- }
439
- }
440
- &__actions {
441
- position: absolute;
442
- top: -86px;
443
- right: -36px;
444
- }
445
- }
446
- }
447
- .images-view__container__buttonBox {
448
- p {
449
- height: 42px;
450
- }
451
- transform: translateY(-2px) translateX(-40px);
452
- height: 42px;
453
- button {
454
- padding: 9.5px 17px !important;
455
- }
456
- }
457
-
458
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
459
- max-height: 100%;
460
- .images-view__container__buttonBox {
461
- transform: translateY(-2px) translateX(-60px);
462
- }
463
- }
464
- .img-editor__container__toolsContainer__tool {
465
- p {
466
- margin: 0 !important;
467
- }
468
- }
469
- .images-view__scroll {
470
- .ng-scroll-content {
471
- width: 100% !important;
472
- }
473
- }
474
- .wz-img-manager .img-editor__infoSection__propertyEditable__span {
475
- color: $wizishop-blue;
476
- & + i {
477
- color: $wizishop-blue;
478
- }
479
- }
480
-
481
- .wz-img-manager .small .wz-pagination__wrapper {
482
- margin: 0 0 rem(105);
483
- }
484
-
485
- .wz-block--window {
486
- .img-tabs__tabsThird {
487
- .ng-scroll-content {
488
- padding-right: 20px!important;
489
- }
490
- }
491
- }
492
-
493
- .wz-table__body + wz-pagination .wz-pagination {
494
- margin-top: 30px;
495
- }
496
-
497
- .wz-img-manager__module--full, .wz-img-manager__module--small {
498
- .mosaic {
499
- &__pagination {
500
- margin-bottom: 0;
501
- transform: translateX(-20px);
502
- @include media('<tablet') {
503
- transform: none;
504
- }
505
- }
506
- }
507
- }
508
-
509
- .wz-img-manager__module--full {
510
- .images-view__container__buttonBox {
511
- transform: translateX(-20px);
512
- > .mainColor {
513
- transform: translateX(20px);
514
- }
515
- }
516
- &.wz-img-manager__module--edit {
517
- .img-editor__container {
518
- align-items: flex-start;
519
- }
520
- .wz-img-manager__module__content, .img-tabs {
521
- position: absolute;
522
- width: 100%;
523
- height: 100%;
524
- }
525
- .img-tabs {
526
- display: flex;
527
- flex-direction: column;
528
- }
529
- .columns.img-tabs__tabsEdit.ng-star-inserted {
530
- position: absolute;
531
- width: 100%;
532
- height: 100%;
533
- margin: 0!important;
534
- left: -17px;
535
- }
536
- .img-editor {
537
- min-height: calc(100vh - 50px);
538
- }
539
- .ng-scroll-content {
540
- > .columns {
541
- margin: 0 5px;
542
- padding-left: 25px;
543
- min-height: calc(100vh - 50px);
544
- }
545
- }
546
- .img-editor__scroll--full {
547
- min-height: calc(100vh + -50px) !important;
548
- }
549
- }
550
- }
551
-
552
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
553
- .img-editor__container {
554
- transform: translateY(3px);
555
- }
556
- .img-editor__infoSection {
557
- &__propertyEditable {
558
- &:first-child {
559
- margin-top: 30px;
560
- }
561
- }
562
- &__actions {
563
- margin-top: 30px;
564
- > div {
565
- display: flex;
566
- }
567
- }
568
- }
569
- .mosaic__search, .wz-table {
570
- padding-right: 20px;
571
- }
572
- }
573
-
574
- .wz-img-manager__module--full {
575
- .wz-pagination__wrapper {
576
- margin-bottom: 40px;
577
- }
578
- }
579
-
580
- .fullSize .images-view__container:not(.images-view__container--window) .images-view__container__boxAction {
581
- margin-right: 33px;
582
- }
583
-
584
- .img-tabs__tabsFirst__list {
585
- .mosaic__container__cards {
586
- @include media('<tablet') {
587
- width: calc(100% - 10px) !important;
588
- transform: translateX(5px);
589
- & > * {
590
- width: calc(50% - 20px) !important;
591
- margin: 0 10px 20px !important;
592
- &:nth-child(1), &:nth-child(2) {
593
- display: block!important;
594
- }
595
- }
596
- }
597
- }
598
- }
599
-
600
- .ng-scrollbar-wrapper {
601
- @include media('<tablet') {
602
- --vertical-scrollbar-size: 0!important;
603
- }
604
- }
605
-
606
- .ng-scroll-viewport {
607
- @include media('<tablet') {
608
- overflow: scroll;
609
- }
610
- }
247
+ margin-right: 0.3125rem;
248
+ }
249
+ }
250
+ }
251
+ }
252
+
253
+
254
+
255
+ .wz-img-manager *:focus {
256
+ outline: none;
257
+ border-color: inherit;
258
+ -webkit-box-shadow: none;
259
+ box-shadow: none;
260
+ }
261
+
262
+ .wz-img-manager ::-webkit-input-placeholder {
263
+ /* Chrome/Opera/Safari */
264
+ color: $img-input-border;
265
+ font-weight: bold;
266
+ }
267
+
268
+ .wz-img-manager ::-moz-placeholder {
269
+ /* Firefox 19+ */
270
+ color: $img-input-border;
271
+ font-weight: bold;
272
+ }
273
+
274
+ .wz-img-manager :-ms-input-placeholder {
275
+ /* IE 10+ */
276
+ color: $img-input-border;
277
+ font-weight: bold;
278
+ }
279
+
280
+ .wz-img-manager :-moz-placeholder {
281
+ /* Firefox 18- */
282
+ color: $img-input-border;
283
+ font-weight: bold;
284
+ }
285
+
286
+ .wz-img-manager .wzImgMngInput {
287
+ width: 100%;
288
+ padding: 0.9rem;
289
+ border: solid transparent 1px;
290
+ background-color: transparent;
291
+ cursor: pointer;
292
+
293
+ &:active,
294
+ &:focus {
295
+ border: solid $img-main-color 1px;
296
+ }
297
+
298
+ &:hover {
299
+ color: $img-main-color;
300
+ }
301
+
302
+ &.is-small {
303
+ width: 150px;
304
+
305
+ + span {
306
+ color: $img-secondary-text;
307
+ }
308
+ }
309
+ }
310
+
311
+ .wz-img-manager .smallSpinner {
312
+ transform: scale(0.7);
313
+ }
314
+
315
+ .wz-img-manager .dropdown-menu {
316
+ padding-bottom: 30px;
317
+ }
318
+
319
+ .wz-img-manager .btnLoadingAnnimation {
320
+ cursor: not-allowed;
321
+ transition: 150ms width;
322
+ width: 100%;
323
+ height: 105%;
324
+ position: absolute;
325
+ left: -1px;
326
+ top: -1px;
327
+ background-color: white;
328
+ opacity: 0.3;
329
+ border-radius: 3px;
330
+ z-index: 1;
331
+ }
332
+
333
+ .wz-img-manager .mainColor {
334
+ color: $img-main-text;
335
+ font-weight: 500;
336
+ font-size: 0.875rem;
337
+ line-height: 1rem;
338
+ margin: 0 0 1.25rem;
339
+ }
340
+
341
+ .wz-img-manager .smallScroll {
342
+ max-height: calc(100vh - 336px)!important;
343
+ min-height: 145px;
344
+ }
345
+
346
+ .wz-img-manager .canva .smallScroll {
347
+ min-height: 238px;
348
+ }
349
+
350
+ .wz-img-manager .dropDownShadow {
351
+ background-color: white;
352
+ border-radius: 4px;
353
+ box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
354
+ }
355
+
356
+ .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label::before,
357
+ .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label:before {
358
+ border-color: $img-main-color!important;
359
+ }
360
+
361
+ .wz-img-manager .is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after {
362
+ border-color: $img-main-color;
363
+ }
364
+
365
+ .wz-img-manager__module__content .wrapper-tabs ul {
366
+ @include media('<tablet') {
367
+ max-width: 100%;
368
+ overflow-x: scroll;
369
+ }
370
+ }
371
+
372
+ .ovh-canva {
373
+ overflow: hidden!important;
374
+ max-height: 100vh!important;
375
+ min-height: 100vh!important;
376
+ height: 100vh!important;
377
+
378
+ .wz-img-manager__module { // Canva z-index : 2147483640
379
+ z-index: 2147483639!important;
380
+ }
381
+ }
382
+
383
+ .nwb-alert .alert{
384
+ z-index: 2147483647;
385
+ }
386
+
387
+ .wz-img-manager__module--edit {
388
+ .wrapper-tabs {
389
+ display: none;
390
+ }
391
+ }
392
+
393
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
394
+ padding: 0;
395
+ }
396
+
397
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
398
+ padding-right: 20px;
399
+ @include media('<tablet') {
400
+ padding: 0;
401
+ }
402
+ }
403
+
404
+ .tabs--notWindow ul {
405
+ transform: translateY(5px);
406
+ }
407
+
408
+ .wz-img-manager__module .wz-block--window {
409
+ overflow: visible;
410
+ .img-editor__scroll {
411
+ .ng-scroll-viewport {
412
+ contain: unset;
413
+ &-wrapper {
414
+ overflow: visible;
415
+ }
416
+ }
417
+ }
418
+ .img-editor__infoSection {
419
+ &__divider {
420
+ &:not(:nth-child(5)) {
421
+ display: none;
422
+ }
423
+ }
424
+ &__actions {
425
+ position: absolute;
426
+ top: -86px;
427
+ right: -36px;
428
+ }
429
+ }
430
+ }
431
+ .images-view__container__buttonBox {
432
+ p {
433
+ height: 42px;
434
+ }
435
+ transform: translateY(-2px) translateX(-40px);
436
+ height: 42px;
437
+ button {
438
+ padding: 9.5px 17px !important;
439
+ }
440
+ }
441
+
442
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
443
+ max-height: 100%;
444
+ .images-view__container__buttonBox {
445
+ transform: translateY(-2px) translateX(-60px);
446
+ }
447
+ }
448
+ .img-editor__container__toolsContainer__tool {
449
+ p {
450
+ margin: 0 !important;
451
+ }
452
+ }
453
+ .images-view__scroll {
454
+ .ng-scroll-content {
455
+ width: 100% !important;
456
+ }
457
+ }
458
+ .wz-img-manager .img-editor__infoSection__propertyEditable__span {
459
+ color: $wizishop-blue;
460
+ & + i {
461
+ color: $wizishop-blue;
462
+ }
463
+ }
464
+
465
+ .wz-img-manager .small .wz-pagination__wrapper {
466
+ margin: 0 0 6.5625rem;
467
+ }
468
+
469
+ .wz-block--window {
470
+ .img-tabs__tabsThird {
471
+ .ng-scroll-content {
472
+ padding-right: 20px!important;
473
+ }
474
+ }
475
+ }
476
+
477
+ .wz-table__body + wz-pagination .wz-pagination {
478
+ margin-top: 30px;
479
+ }
480
+
481
+ .wz-img-manager__module--full, .wz-img-manager__module--small {
482
+ .mosaic {
483
+ &__pagination {
484
+ margin-bottom: 0;
485
+ transform: translateX(-20px);
486
+ @include media('<tablet') {
487
+ transform: none;
488
+ }
489
+ }
490
+ }
491
+ }
492
+
493
+ .wz-img-manager__module--full {
494
+ .images-view__container__buttonBox {
495
+ transform: translateX(-20px);
496
+ > .mainColor {
497
+ transform: translateX(20px);
498
+ }
499
+ }
500
+ &.wz-img-manager__module--edit {
501
+ .img-editor__container {
502
+ align-items: flex-start;
503
+ }
504
+ .wz-img-manager__module__content, .img-tabs {
505
+ position: absolute;
506
+ width: 100%;
507
+ height: 100%;
508
+ }
509
+ .img-tabs {
510
+ display: flex;
511
+ flex-direction: column;
512
+ }
513
+ .columns.img-tabs__tabsEdit.ng-star-inserted {
514
+ position: absolute;
515
+ width: 100%;
516
+ height: 100%;
517
+ margin: 0!important;
518
+ left: -17px;
519
+ }
520
+ .img-editor {
521
+ min-height: calc(100vh - 50px);
522
+ }
523
+ .ng-scroll-content {
524
+ > .columns {
525
+ margin: 0 5px;
526
+ padding-left: 25px;
527
+ min-height: calc(100vh - 50px);
528
+ }
529
+ }
530
+ .img-editor__scroll--full {
531
+ min-height: calc(100vh + -50px) !important;
532
+ }
533
+ }
534
+ }
535
+
536
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
537
+ .img-editor__container {
538
+ transform: translateY(3px);
539
+ }
540
+ .img-editor__infoSection {
541
+ &__propertyEditable {
542
+ &:first-child {
543
+ margin-top: 30px;
544
+ }
545
+ }
546
+ &__actions {
547
+ margin-top: 30px;
548
+ > div {
549
+ display: flex;
550
+ }
551
+ }
552
+ }
553
+ .mosaic__search, .wz-table {
554
+ padding-right: 20px;
555
+ }
556
+ }
557
+
558
+ .wz-img-manager__module--full {
559
+ .wz-pagination__wrapper {
560
+ margin-bottom: 40px;
561
+ }
562
+ }
563
+
564
+ .fullSize .images-view__container:not(.images-view__container--window) .images-view__container__boxAction {
565
+ margin-right: 33px;
566
+ }
567
+
568
+ .img-tabs__tabsFirst__list {
569
+ .mosaic__container__cards {
570
+ @include media('<tablet') {
571
+ width: calc(100% - 10px) !important;
572
+ transform: translateX(5px);
573
+ & > * {
574
+ width: calc(50% - 20px) !important;
575
+ margin: 0 10px 20px !important;
576
+ &:nth-child(1), &:nth-child(2) {
577
+ display: block!important;
578
+ }
579
+ }
580
+ }
581
+ }
582
+ }
583
+
584
+ .ng-scrollbar-wrapper {
585
+ @include media('<tablet') {
586
+ --vertical-scrollbar-size: 0!important;
587
+ }
588
+ }
589
+
590
+ .ng-scroll-viewport {
591
+ @include media('<tablet') {
592
+ overflow: scroll;
593
+ }
594
+ }
595
+
596
+ .img-tabs {
597
+ &.small {
598
+ @include media('>=desktop') {
599
+ .img-tabs__tabsFirst__upload + .img-tabs__tabsFirst__list {
600
+ .img-card {
601
+ &:hover, &:focus {
602
+ .img-card__container__video {
603
+ display: none;
604
+ }
605
+ }
606
+ }
607
+ }
608
+ }
609
+ }
610
+ }
611
611
  .wz-img-manager {
612
612
 
613
613
  &__selectionHandler {
@@ -725,7 +725,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
725
725
  color: #fff;
726
726
  font-size: 20px;
727
727
  &:before {
728
- font-size: rem(20) !important;
728
+ font-size: 1.25rem !important;
729
729
  }
730
730
  }
731
731
 
@@ -762,7 +762,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
762
762
  }
763
763
 
764
764
  &--window {
765
- padding: rem(30);
765
+ padding: 1.875rem;
766
766
  overflow: hidden;
767
767
  max-width: 1450px;
768
768
  margin: 0 auto;
@@ -787,8 +787,8 @@ $info: $wizishop-blue !default;
787
787
  $danger: $img-red-color !default;
788
788
  $dark: $img-dark !default;
789
789
 
790
- $button-padding-vertical: rem(7) !default;
791
- $radius: rem(3) !default;
790
+ $button-padding-vertical: 0.4375rem !default;
791
+ $radius: 0.1875rem !default;
792
792
 
793
793
  $button-color: white!default;
794
794
  $button-hover-color: white !default;
@@ -810,7 +810,7 @@ $tag-radius: rem(20px)!default;
810
810
  padding: 0;
811
811
  height: fit-content;
812
812
  color: white;
813
- padding-left: rem(9);
813
+ padding-left: 0.5625rem;
814
814
  transition: .3s ease;
815
815
  margin: 0!important;
816
816
  &:hover, &:focus {
@@ -880,17 +880,17 @@ $tag-radius: rem(20px)!default;
880
880
 
881
881
  p {
882
882
  margin: 0;
883
- line-height: rem(16);
883
+ line-height: 1rem;
884
884
  }
885
885
 
886
886
  p:first-child {
887
887
  color: #1D2A3B;
888
- font-size: rem(14);
888
+ font-size: 0.875rem;
889
889
  }
890
890
 
891
891
  p:last-child {
892
892
  color: #526384;
893
- font-size: rem(14);
893
+ font-size: 0.875rem;
894
894
  }
895
895
  }
896
896
 
@@ -907,7 +907,7 @@ $tag-radius: rem(20px)!default;
907
907
  .dropdownTitle {
908
908
  font-size: 14px;
909
909
  background-color: $img-main-color;
910
- padding: rem(9.5) 0;
910
+ padding: 0.5938rem 0;
911
911
  text-align: center;
912
912
 
913
913
  p {
@@ -925,8 +925,8 @@ $tag-radius: rem(20px)!default;
925
925
 
926
926
  p {
927
927
  margin: 0;
928
- font-size: rem(16);
929
- line-height: rem(19);
928
+ font-size: 1rem;
929
+ line-height: 1.1875rem;
930
930
  font-weight: 500;
931
931
  }
932
932
  }
@@ -942,621 +942,697 @@ $tag-radius: rem(20px)!default;
942
942
  .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
943
943
  display: none;
944
944
  }
945
- .wz-img-manager .images-view {
946
- text-align: left;
947
-
948
- &.fullSize {
949
- & + .images-view__scroll {
950
- max-height: 830px!important;
951
- }
952
- }
953
-
954
- &__scroll {
955
- position: relative;
956
- height: 100%;
957
- z-index: 1;
958
-
959
- &--full {
960
- max-height: calc(100vh - 160px);
961
- height: calc(100vh - 160px);
962
- min-height: calc(100vh - 160px) ;
963
- }
964
-
965
- &--smallDisplay {
966
- max-height: 275px!important;
967
- height: 275px!important;
968
- @include media('<tablet') {
969
- max-height: calc(100vh - 90px)!important;
970
- height: calc(100vh - 90px)!important;
971
- min-height: calc(100vh - 90px) !important;
972
- }
973
- }
974
-
975
- &--smallUploadDisplay {
976
- max-height: 230px!important;
977
- }
978
-
979
- &--window {
980
- max-height: unset!important;
981
- }
982
-
983
- &--hide {
984
- &--mosaic {
985
- min-height: 100px !important;
986
- height: 0px;
987
- }
988
- &--table {
989
- min-height: 170px !important;
990
- height: 0px;
991
- }
992
- }
993
-
994
- .ng-scroll-content {
995
- min-width: calc(100% - 1rem) !important;
996
- width: calc(100% - 1rem) !important;
997
- @include media('<tablet') {
998
- min-width: 100%!important;
999
- }
1000
- }
1001
- }
1002
-
1003
- &__container {
1004
- display: flex;
1005
- justify-content: space-between;
1006
- margin: 0 0 rem(20);
1007
-
1008
- > div {
1009
- display: flex;
1010
- align-items: center;
1011
- .mainColor {
1012
- margin: 0;
1013
- }
1014
- }
1015
-
1016
- &--window {
1017
- margin: rem(30) 0 rem(20);
1018
- }
1019
-
1020
- &--uploadTab {
1021
- margin: 0 0 rem(20);
1022
- }
1023
-
1024
- &__boxAction {
1025
- width: 525px;
1026
- overflow: visible;
1027
- display: flex;
1028
- position: relative;
1029
- justify-content: flex-end;
1030
- margin-right: 13px;
1031
- height: 40px;
1032
- align-items: center;
1033
- transform: translate(-41px,-3px);
1034
-
1035
- &__confirmSup {
1036
- display: flex;
1037
- justify-content: space-between;
1038
- align-items: center;
1039
- border-left: solid 1px #d8d8d8;
1040
- color: $img-grey-color;
1041
- padding-left: 1rem;
1042
- width: 0;
1043
- position: absolute;
1044
- opacity: 0;
1045
- transition: 0s;
1046
- visibility: hidden;
1047
- z-index: 2;
1048
-
1049
- &--visible {
1050
- max-width: unset;
1051
- width: auto;
1052
- opacity: 1;
1053
- transition: 0s;
1054
- visibility: visible;
1055
-
1056
- p {
1057
- transition: left .3s ease-in-out;
1058
- right: 100%;
1059
- left: auto;
1060
- white-space: nowrap;
1061
- margin-right: 30px;
1062
- }
1063
- }
1064
-
1065
- &__cancel {
1066
- margin-right: 14px;
1067
- background-color: white;
1068
- border-color: #dbdbdb;
1069
- color: $img-main-text;
1070
- }
1071
-
1072
- &__text {
1073
- font-size: 14px;
1074
- position: absolute;
1075
- left: -126%;
1076
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1077
- }
1078
- }
1079
-
1080
- &__delBtn {
1081
- i {
1082
- margin-right: 13px!important;
1083
- }
1084
- }
1085
-
1086
- &__import {
1087
- margin-right: 13px;
1088
- i {
1089
- margin-right: 13px!important;
1090
- }
1091
- }
1092
- }
1093
-
1094
- &__buttonBox {
1095
- margin: 0;
1096
- width: rem(40);
1097
- height: rem(40);
1098
- border: solid $img-light-white-color;
1099
- border-width: 1px 0 1px 1px;
1100
-
1101
- border-radius: 3px 0 0 3px;
1102
- outline: none!important;
1103
-
1104
- > div {
1105
- margin-top: 0;
1106
- margin-bottom: 0;
1107
- height: 40px;
1108
- &:nth-child(2) {
1109
- border: solid $img-light-white-color;
1110
- border-width: 1px 1px 1px 0;
1111
- transform: translateY(-1px);
1112
- border-radius: 0 3px 3px 0;
1113
- }
1114
- div {
1115
- height: 38px;
1116
- margin: 0!important;
1117
- }
1118
- }
1119
-
1120
- .actifDisplayed {
1121
- color:$img-main-color;
1122
- }
1123
-
1124
- i {
1125
- margin: 0;
1126
- }
1127
- }
1128
-
1129
- &__cards {
1130
- display: flex;
1131
- justify-content: space-between;
1132
- flex-wrap: wrap;
1133
- align-items: center;
1134
- padding-top: 30px;
1135
- margin-right: calc(0.8rem - 20px);
1136
- margin-left: 0.3rem;
1137
- margin-bottom: 30px;
1138
-
1139
- }
1140
-
1141
- &__total {
1142
- &--hide {
1143
- visibility: hidden;
1144
- }
1145
- }
1146
- }
1147
-
1148
- &--pexels {
1149
- margin-top: -30px;
1150
- }
1151
-
1152
- .subHeaderActions .button i {
1153
- margin-right: 0;
1154
- }
1155
- }
1156
-
1157
- @media screen and (max-width: 768px) {
1158
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1159
- max-height: none!important;
1160
- min-height: calc(100vh - 440px);
1161
-
1162
- .ng-scroll-content {
1163
- margin: 0 !important;
1164
- min-width: 100%!important;
1165
- width: 100%!important;
1166
- }
1167
- }
1168
- }
1169
- .wz-img-manager .img-editor {
1170
- &__scroll {
1171
- position: relative;
1172
- height: 100%;
1173
-
1174
- &--full {
1175
- max-height: calc(100vh - 90px)!important;
1176
- height: calc(100vh - 90px)!important;
1177
- min-height: calc(100vh - 90px) !important;
1178
- }
1179
-
1180
- &--smallDisplay {
1181
- max-height: 275px!important;
1182
- height: 275px!important;
1183
- @include media('<tablet') {
1184
- max-height: calc(100vh - 90px)!important;
1185
- height: calc(100vh - 90px)!important;
1186
- min-height: calc(100vh - 90px) !important;
1187
- }
1188
- }
1189
-
1190
- &--window {
1191
- max-height: none;
1192
- }
1193
-
1194
- .ng-scroll-content {
1195
- margin-left: 0 !important;
1196
- margin-right: 0 !important;
1197
- min-width: calc(100% - 1rem) !important;
1198
- width: calc(100% - 1rem) !important;
1199
- }
1200
- }
1201
-
1202
- .columns {
1203
- margin-right: 0.8rem;
1204
- margin-left: rem(12);
1205
- margin-top: 12px;
1206
- margin-bottom: 0;
1207
- width: calc(100% + 11px);
1208
-
1209
- .column {
1210
- padding-top: 0;
1211
- padding-bottom: 0px;
1212
- }
1213
- }
1214
-
1215
- &__head-container {
1216
- display: flex;
1217
- justify-content: flex-end;
1218
- align-items: center;
1219
- margin: 30px 30px 20px 0;
1220
-
1221
- &__btnGroup {
1222
- margin-right: 13px;
1223
- opacity: 0;
1224
- visibility: hidden;
1225
- transition: opacity .3s ease-in-out;
1226
-
1227
- &__visible {
1228
- opacity: 1;
1229
- visibility: visible;
1230
- }
1231
-
1232
- &__removeBtn {
1233
- margin-right: 13px;
1234
- }
1235
- }
1236
-
1237
- &__close {
1238
- cursor: pointer;
1239
- font-size: 14px;
1240
- color: $img-grey-color;
1241
- line-height: 40px;
1242
- }
1243
- }
1244
-
1245
- &__container {
1246
- padding: 0.75rem!important;
1247
- display:flex;
1248
- justify-content: center;
1249
- align-items: stretch;
1250
- background-color: $img-gray-background;
1251
- margin: 0;
1252
- transform: translateY(-16px);
1253
-
1254
- &__toolsContainer {
1255
- display: flex;
1256
- justify-content: center;
1257
- align-items: center;
1258
- margin-bottom: 50px;
1259
-
1260
- &__tool {
1261
- color: $img-second-color;
1262
- margin-right: 30px;
1263
- text-align: center;
1264
- cursor: pointer;
1265
-
1266
- p {
1267
- margin: 0!important;
1268
- color: $img-main-text;
1269
- font-size: rem(12);
1270
- line-height: rem(14);
1271
- }
1272
-
1273
- i {
1274
- font-size: rem(18);
1275
- margin: 0 0 10px;
1276
- }
1277
-
1278
- &--button {
1279
- background-color: $img-green-color;
1280
- color: $img-white!important;
1281
- padding: 10px;
1282
- border-radius: 3px;
1283
- transition: .3s ease;
1284
- white-space: nowrap;
1285
- display: flex;
1286
- justify-content: center;
1287
- align-items: center;
1288
- position: absolute;
1289
- top: 80px;
1290
- left: 50%;
1291
- transform: translateX(-50%);
1292
- height: 35px;
1293
- margin: 0;
1294
- &:hover, &:focus {
1295
- background-color: darken($img-green-color, 15%);
1296
- color: $img-white!important;
1297
- }
1298
- p {
1299
- color: $white!important;
1300
- }
1301
- i {
1302
- margin: 0 5px 0 0;
1303
- }
1304
- }
1305
- &:hover {
1306
- color: $img-main-color;
1307
- }
1308
-
1309
- > * {
1310
- -webkit-touch-callout: none; /* iOS Safari */
1311
- -webkit-user-select: none; /* Safari */
1312
- -khtml-user-select: none; /* Konqueror HTML */
1313
- -moz-user-select: none; /* Old versions of Firefox */
1314
- -ms-user-select: none; /* Internet Explorer/Edge */
1315
- user-select: none; /* Non-prefixed version, currently
1316
- supported by Chrome, Edge, Opera and Firefox */
1317
- }
1318
- }
1319
-
1320
- &__RotationDropdown {
1321
- min-width: 16rem;
1322
- }
1323
- }
1324
-
1325
- &__name {
1326
- font-size: 16px;
1327
- max-width: 50%;
1328
- color: $img-grey-color;
1329
- text-align: center;
1330
- white-space: nowrap;
1331
- overflow: hidden;
1332
- text-overflow: ellipsis;
1333
- }
1334
-
1335
- .button {
1336
- min-height: 35px;
1337
- background-color: $img-primary-button;
1338
- border-color: $img-primary-button-hover;
1339
- color: #ffffff;
1340
- }
1341
- }
1342
-
1343
- &__image-cropper {
1344
- --cropper-overlay-color: #f5f8fa;
1345
- //--cropper-outline-color: #a5a5a573;
1346
- padding-bottom: 30px;
1347
- }
1348
-
1349
- &__infoSection {
1350
- font-size: 14px;
1351
- max-width: 360px;
1352
- padding: 0;
1353
- margin: 0 rem(30) 0 0;
1354
-
1355
- &__propertyEditable {
1356
- margin-bottom: 31px;
1357
- p {
1358
- margin-bottom: 12px;
1359
- font-size: 14px;
1360
- }
1361
- input, button {
1362
- width: 100%;
1363
- height: 40px;
1364
- border: 1px solid #DEE2ED;
1365
- border-radius: 3px;
1366
- color: $img-main-text;
1367
- padding-left: 20px;
1368
- padding-right: 20px;
1369
- display: flex;
1370
- justify-content: space-between;
1371
- font-size: 14px;
1372
-
1373
- &:hover {
1374
- color: $img-main-color;
1375
- border-color: $img-main-color;
1376
- }
1377
- }
1378
-
1379
- button {
1380
- align-items: center;
1381
- background-color: transparent;
1382
- cursor: pointer;
1383
- }
1384
-
1385
- &__span, &__input {
1386
- text-overflow: ellipsis;
1387
- overflow: hidden;
1388
- white-space: nowrap;
1389
- }
1390
-
1391
- &__span {
1392
- color: $img-bleu-color;
1393
- & + i {
1394
- color: $img-bleu-color;
1395
- font-weight: 600;
1396
- }
1397
- }
1398
-
1399
- &__tooltips {
1400
- margin-left: 10px;
1401
- }
1402
- }
1403
-
1404
- &__property {
1405
- &:nth-child(3), &:nth-child(4) {
1406
- margin: 0;
1407
- }
1408
- p {
1409
- font-size: 14px;
1410
- display: inline-block;
1411
- }
1412
-
1413
- .mainColor {
1414
- margin: 0!important;
1415
- }
1416
-
1417
- p:last-child {
1418
- margin: 0 0 0 10px;
1419
- color: #526384;
1420
- }
1421
- }
1422
-
1423
- &__titleSEO {
1424
- margin: 0 0 20px;
1425
-
1426
- .mainColor {
1427
- font-size: rem(18);
1428
- font-weight: 500;
1429
- }
1430
- }
1431
-
1432
- &__propertySEO {
1433
- margin-bottom: 12px;
1434
- p {
1435
- font-size: 14px;
1436
- display: inline-block;
1437
- margin: 0;
1438
- }
1439
-
1440
- .mainColor {
1441
- & ~ p {
1442
- margin-left: 10px;
1443
- color: $img-green-color;
1444
- }
1445
- }
1446
- }
1447
-
1448
- &__divider {
1449
- display: block;
1450
- width: 100%;
1451
- border-bottom: 2px dashed #EFF1F6;
1452
- margin: 30px 0;
1453
- }
1454
-
1455
- &__actions {
1456
- height: 35px;
1457
- position: absolute!important;
1458
- top: -68px!important;
1459
- right: 109px!important;
1460
- z-index: 99;
1461
-
1462
- &__cancel {
1463
- margin-right: 19px;
1464
- background-color: white;
1465
- border-color: #dbdbdb;
1466
- color: $img-main-text;
1467
- }
1468
-
1469
- &__save {
1470
- padding: 8px 18px;
1471
- margin: 0!important;
1472
- &--disable {
1473
- cursor: not-allowed;
1474
- }
1475
- }
1476
- }
1477
- }
1478
-
1479
- .dropdown-menu {
1480
- left: -50%;
1481
- }
1482
- }
1483
-
1484
- .wz-img-manager .marginBottom {
1485
- margin-bottom: 20px;
1486
- }
1487
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1488
- .wz-img-manager .img-selection {
1489
- background-color: white;
1490
- margin-left: 1.875rem;
1491
- margin-right: 1.875rem;
1492
- transition: height .3s ease;
1493
- //height: 0;
1494
- display: flex;
1495
- align-items: center;
945
+ .wz-img-manager .images-view {
946
+ text-align: left;
1496
947
 
1497
- &--visible {
1498
- height: 250px;
1499
- margin: 0 0 40px;
948
+ &.fullSize {
949
+ & + .images-view__scroll {
950
+ max-height: 830px!important;
951
+ }
1500
952
  }
1501
- }
1502
953
 
1503
- .drag__img {
1504
- max-width: 100px;
1505
- max-height: 100px;
1506
- border: 1px solid #dce0e3;
1507
- background-color: white;
1508
- }
954
+ &__scroll {
955
+ position: relative;
956
+ height: 100%;
957
+ z-index: 1;
1509
958
 
1510
- .img_box {
1511
- overflow: hidden;
1512
- &:hover, &:focus {
1513
- .drag__tooltips {
1514
- opacity: 1;
1515
- visibility: visible;
1516
- transform: translateY(100%);
1517
- transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1518
- }
1519
- }
1520
- .delete-btn {
1521
- position: absolute;
1522
- top: 100%;
1523
- left: 50%;
1524
- transform: translateX(-50%) translateY(100%);
1525
- opacity: 0;
1526
- visibility: hidden;
1527
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1528
- background-color: $img-red-color;
1529
- color: $white;
1530
- font-size: rem(13);
1531
- height: rem(30);
1532
- padding: 0 15px;
1533
- line-height: rem(30);
1534
- border-radius: 3px;
1535
- font-weight: 600;
1536
- }
1537
- &:hover, &:focus {
1538
- .delete-btn {
1539
- opacity: 1;
1540
- visibility: visible;
1541
- transform: translateX(-50%) translateY(-40px);
1542
- transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1543
- &:hover, &:focus {
1544
- background-color: darken($img-red-color, 15%);
1545
- }
1546
- }
1547
- }
1548
- }
959
+ &--full {
960
+ max-height: calc(100vh - 160px);
961
+ height: calc(100vh - 160px);
962
+ min-height: calc(100vh - 160px) ;
963
+ }
1549
964
 
1550
- .drag__tooltips {
1551
- opacity: 0;
1552
- visibility: hidden;
1553
- width: 100%;
1554
- padding: 10px;
1555
- border-radius: 3px;
1556
- position: absolute;
1557
- bottom: 100%;
965
+ &--smallDisplay {
966
+ max-height: 275px!important;
967
+ height: 275px!important;
968
+ @include media('<tablet') {
969
+ max-height: calc(100vh - 90px)!important;
970
+ height: calc(100vh - 90px)!important;
971
+ min-height: calc(100vh - 90px) !important;
972
+ }
973
+ }
974
+
975
+ &--smallUploadDisplay {
976
+ max-height: 230px!important;
977
+ }
978
+
979
+ &--window {
980
+ max-height: unset!important;
981
+ }
982
+
983
+ &--hide {
984
+ &--mosaic {
985
+ min-height: 100px !important;
986
+ height: 0px;
987
+ }
988
+ &--table {
989
+ min-height: 170px !important;
990
+ height: 0px;
991
+ }
992
+ }
993
+
994
+ .ng-scroll-content {
995
+ min-width: calc(100% - 1rem) !important;
996
+ width: calc(100% - 1rem) !important;
997
+ @include media('<tablet') {
998
+ min-width: 100%!important;
999
+ }
1000
+ }
1001
+ }
1002
+
1003
+ &__container {
1004
+ display: flex;
1005
+ justify-content: space-between;
1006
+ margin: 0 0;
1007
+
1008
+ > div {
1009
+ display: flex;
1010
+ align-items: center;
1011
+ .mainColor {
1012
+ margin: 0;
1013
+ }
1014
+ }
1015
+
1016
+ &--window {
1017
+ margin: 1.875rem 0 0;
1018
+ }
1019
+
1020
+ &--uploadTab {
1021
+ margin: 0 0 1.25rem;
1022
+ }
1023
+
1024
+ &__boxAction {
1025
+ width: 525px;
1026
+ overflow: visible;
1027
+ display: flex;
1028
+ position: relative;
1029
+ justify-content: flex-end;
1030
+ margin-right: 13px;
1031
+ height: 40px;
1032
+ align-items: center;
1033
+ transform: translate(-41px,-3px);
1034
+
1035
+ &__confirmSup {
1036
+ display: flex;
1037
+ justify-content: space-between;
1038
+ align-items: center;
1039
+ border-left: solid 1px #d8d8d8;
1040
+ color: $img-grey-color;
1041
+ padding-left: 1rem;
1042
+ width: 0;
1043
+ position: absolute;
1044
+ opacity: 0;
1045
+ transition: 0s;
1046
+ visibility: hidden;
1047
+ z-index: 2;
1048
+
1049
+ &--visible {
1050
+ max-width: unset;
1051
+ width: auto;
1052
+ opacity: 1;
1053
+ transition: 0s;
1054
+ visibility: visible;
1055
+
1056
+ p {
1057
+ transition: left .3s ease-in-out;
1058
+ right: 100%;
1059
+ left: auto;
1060
+ white-space: nowrap;
1061
+ margin-right: 30px;
1062
+ }
1063
+ }
1064
+
1065
+ &__cancel {
1066
+ margin-right: 14px;
1067
+ background-color: white;
1068
+ border-color: #dbdbdb;
1069
+ color: $img-main-text;
1070
+ }
1071
+
1072
+ &__text {
1073
+ font-size: 14px;
1074
+ position: absolute;
1075
+ left: -126%;
1076
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1077
+ }
1078
+ }
1079
+
1080
+ &__delBtn {
1081
+ i {
1082
+ margin-right: 13px!important;
1083
+ }
1084
+ }
1085
+
1086
+ &__import {
1087
+ margin-right: 13px;
1088
+ i {
1089
+ margin-right: 13px!important;
1090
+ }
1091
+ }
1092
+ }
1093
+
1094
+ &__buttonBox {
1095
+ margin: 0;
1096
+ width: 2.5rem;
1097
+ height: 2.5rem;
1098
+ border: solid $img-light-white-color;
1099
+ border-width: 1px 0 1px 1px;
1100
+
1101
+ border-radius: 3px 0 0 3px;
1102
+ outline: none!important;
1103
+
1104
+ > div {
1105
+ margin-top: 0;
1106
+ margin-bottom: 0;
1107
+ height: 40px;
1108
+ &:nth-child(2) {
1109
+ border: solid $img-light-white-color;
1110
+ border-width: 1px 1px 1px 0;
1111
+ transform: translateY(-1px);
1112
+ border-radius: 0 3px 3px 0;
1113
+ }
1114
+ div {
1115
+ height: 38px;
1116
+ margin: 0!important;
1117
+ }
1118
+ }
1119
+
1120
+ .actifDisplayed {
1121
+ color:$img-main-color;
1122
+ }
1123
+
1124
+ i {
1125
+ margin: 0;
1126
+ }
1127
+ }
1128
+
1129
+ &__cards {
1130
+ display: flex;
1131
+ justify-content: space-between;
1132
+ flex-wrap: wrap;
1133
+ align-items: center;
1134
+ padding-top: 30px;
1135
+ margin-right: calc(0.8rem - 20px);
1136
+ margin-left: 0.3rem;
1137
+ margin-bottom: 30px;
1138
+
1139
+ }
1140
+
1141
+ &__total {
1142
+ &--hide {
1143
+ visibility: hidden;
1144
+ }
1145
+ }
1146
+ }
1147
+
1148
+ &--pexels {
1149
+ margin-top: -30px;
1150
+ }
1151
+
1152
+ .subHeaderActions .button i {
1153
+ margin-right: 0;
1154
+ }
1155
+ }
1156
+
1157
+ @media screen and (max-width: 768px) {
1158
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1159
+ max-height: none!important;
1160
+ min-height: calc(100vh - 440px);
1161
+
1162
+ .ng-scroll-content {
1163
+ margin: 0 !important;
1164
+ min-width: 100%!important;
1165
+ width: 100%!important;
1166
+ }
1167
+ }
1168
+ }
1169
+
1170
+ .filter-video {
1171
+ width: 100%;
1172
+ margin: 0 0 20px;
1173
+ label {
1174
+ display: flex;
1175
+ gap: 10px;
1176
+ width: fit-content;
1177
+ align-items: center;
1178
+ }
1179
+ span {
1180
+ font-weight: 500;
1181
+ }
1182
+ select {
1183
+ padding: 0 10px;
1184
+ min-height: 25px;
1185
+ line-height: 25px;
1186
+ border: 1px solid $img-input-border;
1187
+ appearance: none;
1188
+ -webkit-appearance: none;
1189
+ -moz-appearance: none;
1190
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='black' fill='none'/%3E%3C/svg%3E");
1191
+ background-repeat: no-repeat;
1192
+ background-position: right 10px center;
1193
+ }
1194
+ }
1195
+ .wz-img-manager .img-editor {
1196
+ &__scroll {
1197
+ position: relative;
1198
+ height: 100%;
1199
+
1200
+ &--full {
1201
+ max-height: calc(100vh - 90px)!important;
1202
+ height: calc(100vh - 90px)!important;
1203
+ min-height: calc(100vh - 90px) !important;
1204
+ }
1205
+
1206
+ &--smallDisplay {
1207
+ max-height: 275px!important;
1208
+ height: 275px!important;
1209
+ @include media('<tablet') {
1210
+ max-height: calc(100vh - 90px)!important;
1211
+ height: calc(100vh - 90px)!important;
1212
+ min-height: calc(100vh - 90px) !important;
1213
+ }
1214
+ }
1215
+
1216
+ &--window {
1217
+ max-height: none;
1218
+ }
1219
+
1220
+ .ng-scroll-content {
1221
+ margin-left: 0 !important;
1222
+ margin-right: 0 !important;
1223
+ min-width: calc(100% - 1rem) !important;
1224
+ width: calc(100% - 1rem) !important;
1225
+ }
1226
+ }
1227
+
1228
+ .columns {
1229
+ margin-right: 0.8rem;
1230
+ margin-left: 0.75rem;
1231
+ margin-top: 12px;
1232
+ margin-bottom: 0;
1233
+ width: calc(100% + 11px);
1234
+
1235
+ .column {
1236
+ padding-top: 0;
1237
+ padding-bottom: 0px;
1238
+ }
1239
+ }
1240
+
1241
+ &__head-container {
1242
+ display: flex;
1243
+ justify-content: flex-end;
1244
+ align-items: center;
1245
+ margin: 30px 30px 20px 0;
1246
+
1247
+ &__btnGroup {
1248
+ margin-right: 13px;
1249
+ opacity: 0;
1250
+ visibility: hidden;
1251
+ transition: opacity .3s ease-in-out;
1252
+
1253
+ &__visible {
1254
+ opacity: 1;
1255
+ visibility: visible;
1256
+ }
1257
+
1258
+ &__removeBtn {
1259
+ margin-right: 13px;
1260
+ }
1261
+ }
1262
+
1263
+ &__close {
1264
+ cursor: pointer;
1265
+ font-size: 14px;
1266
+ color: $img-grey-color;
1267
+ line-height: 40px;
1268
+ }
1269
+ }
1270
+
1271
+ &__container {
1272
+ padding: 0.75rem!important;
1273
+ display:flex;
1274
+ justify-content: center;
1275
+ align-items: stretch;
1276
+ background-color: $img-gray-background;
1277
+ margin: 0;
1278
+ transform: translateY(-16px);
1279
+
1280
+ &__toolsContainer {
1281
+ display: flex;
1282
+ justify-content: center;
1283
+ align-items: center;
1284
+ margin-bottom: 50px;
1285
+
1286
+ &__tool {
1287
+ color: $img-second-color;
1288
+ margin-right: 30px;
1289
+ text-align: center;
1290
+ cursor: pointer;
1291
+
1292
+ p {
1293
+ margin: 0!important;
1294
+ color: $img-main-text;
1295
+ font-size: 0.75rem;
1296
+ line-height: 0.875rem;
1297
+ }
1298
+
1299
+ i {
1300
+ font-size: 1.125rem;
1301
+ margin: 0 0 10px;
1302
+ }
1303
+
1304
+ &--button {
1305
+ background-color: $img-green-color;
1306
+ color: $img-white!important;
1307
+ padding: 10px;
1308
+ border-radius: 3px;
1309
+ transition: .3s ease;
1310
+ white-space: nowrap;
1311
+ display: flex;
1312
+ justify-content: center;
1313
+ align-items: center;
1314
+ position: absolute;
1315
+ top: 80px;
1316
+ left: 50%;
1317
+ transform: translateX(-50%);
1318
+ height: 35px;
1319
+ margin: 0;
1320
+ &:hover, &:focus {
1321
+ background-color: darken($img-green-color, 15%);
1322
+ color: $img-white!important;
1323
+ }
1324
+ p {
1325
+ color: $white!important;
1326
+ }
1327
+ i {
1328
+ margin: 0 5px 0 0;
1329
+ }
1330
+ }
1331
+ &:hover {
1332
+ color: $img-main-color;
1333
+ }
1334
+
1335
+ > * {
1336
+ -webkit-touch-callout: none; /* iOS Safari */
1337
+ -webkit-user-select: none; /* Safari */
1338
+ -khtml-user-select: none; /* Konqueror HTML */
1339
+ -moz-user-select: none; /* Old versions of Firefox */
1340
+ -ms-user-select: none; /* Internet Explorer/Edge */
1341
+ user-select: none; /* Non-prefixed version, currently
1342
+ supported by Chrome, Edge, Opera and Firefox */
1343
+ }
1344
+ }
1345
+
1346
+ &__RotationDropdown {
1347
+ min-width: 16rem;
1348
+ }
1349
+ }
1350
+
1351
+ &__name {
1352
+ font-size: 16px;
1353
+ max-width: 50%;
1354
+ color: $img-grey-color;
1355
+ text-align: center;
1356
+ white-space: nowrap;
1357
+ overflow: hidden;
1358
+ text-overflow: ellipsis;
1359
+ }
1360
+
1361
+ .button {
1362
+ min-height: 35px;
1363
+ background-color: $img-primary-button;
1364
+ border-color: $img-primary-button-hover;
1365
+ color: #ffffff;
1366
+ }
1367
+ }
1368
+
1369
+ &__image-cropper {
1370
+ --cropper-overlay-color: #f5f8fa;
1371
+ //--cropper-outline-color: #a5a5a573;
1372
+ padding-bottom: 30px;
1373
+ }
1374
+
1375
+ &__infoSection {
1376
+ font-size: 14px;
1377
+ max-width: 360px;
1378
+ padding: 0;
1379
+ margin: 0 1.875rem 0 0;
1380
+
1381
+ &, * {
1382
+ box-sizing: border-box;
1383
+ }
1384
+
1385
+ &__propertyEditable {
1386
+ margin-bottom: 31px;
1387
+ p {
1388
+ margin-bottom: 12px;
1389
+ font-size: 14px;
1390
+ }
1391
+ input, button {
1392
+ width: 100%;
1393
+ height: 40px;
1394
+ border: 1px solid #DEE2ED;
1395
+ border-radius: 3px;
1396
+ color: $img-main-text;
1397
+ padding-left: 20px;
1398
+ padding-right: 20px;
1399
+ display: flex;
1400
+ justify-content: space-between;
1401
+ font-size: 14px;
1402
+
1403
+ &:hover {
1404
+ color: $img-main-color;
1405
+ border-color: $img-main-color;
1406
+ }
1407
+ }
1408
+
1409
+ button {
1410
+ align-items: center;
1411
+ background-color: transparent;
1412
+ cursor: pointer;
1413
+ }
1414
+
1415
+ &__span, &__input {
1416
+ text-overflow: ellipsis;
1417
+ overflow: hidden;
1418
+ white-space: nowrap;
1419
+ }
1420
+
1421
+ &__span {
1422
+ color: $img-bleu-color;
1423
+ & + i {
1424
+ color: $img-bleu-color;
1425
+ font-weight: 600;
1426
+ }
1427
+ }
1428
+
1429
+ &__tooltips {
1430
+ margin-left: 10px;
1431
+ }
1432
+ }
1433
+
1434
+ &__property {
1435
+ &:nth-child(3), &:nth-child(4) {
1436
+ margin: 0;
1437
+ }
1438
+ p {
1439
+ font-size: 14px;
1440
+ display: inline-block;
1441
+ }
1442
+
1443
+ .mainColor {
1444
+ margin: 0!important;
1445
+ }
1446
+
1447
+ p:last-child {
1448
+ margin: 0 0 0 10px;
1449
+ color: #526384;
1450
+ }
1451
+ }
1452
+
1453
+ &__titleSEO {
1454
+ margin: 0 0 20px;
1455
+
1456
+ .mainColor {
1457
+ font-size: 1.125rem;
1458
+ font-weight: 500;
1459
+ }
1460
+ }
1461
+
1462
+ &__propertySEO {
1463
+ margin-bottom: 12px;
1464
+ p {
1465
+ font-size: 14px;
1466
+ display: inline-block;
1467
+ margin: 0;
1468
+ }
1469
+
1470
+ .mainColor {
1471
+ & ~ p {
1472
+ margin-left: 10px;
1473
+ color: $img-green-color;
1474
+ }
1475
+ }
1476
+ }
1477
+
1478
+ &__divider {
1479
+ display: block;
1480
+ width: 100%;
1481
+ border-bottom: 2px dashed #EFF1F6;
1482
+ margin: 30px 0;
1483
+ }
1484
+
1485
+ &__actions {
1486
+ height: 35px;
1487
+ position: absolute!important;
1488
+ top: -68px!important;
1489
+ right: 109px!important;
1490
+ z-index: 99;
1491
+
1492
+ &__cancel {
1493
+ margin-right: 19px;
1494
+ background-color: white;
1495
+ border-color: #dbdbdb;
1496
+ color: $img-main-text;
1497
+ }
1498
+
1499
+ &__save {
1500
+ padding: 8px 18px;
1501
+ margin: 0!important;
1502
+ &--disable {
1503
+ cursor: not-allowed;
1504
+ }
1505
+ }
1506
+ }
1507
+ }
1508
+
1509
+ .dropdown-menu {
1510
+ left: -50%;
1511
+ }
1512
+ }
1513
+
1514
+ .wz-img-manager .marginBottom {
1515
+ margin-bottom: 20px;
1516
+ }
1517
+
1518
+ .img-editorVideo__tabs {
1519
+ display: flex;
1520
+ justify-content: flex-start;
1521
+ align-items: center;
1522
+ gap: 20px;
1523
+ list-style-type: none;
1524
+ width: 100%;
1525
+ margin: 0 0 30px;
1526
+ li {
1527
+ cursor: pointer;
1528
+ padding-bottom: 8px;
1529
+ font-size: 0.875rem;
1530
+ color: $img-second-color;
1531
+ border-bottom: 1px solid transparent;
1532
+ transition: .3s ease;
1533
+ &:hover {
1534
+ color: $main-text;
1535
+ }
1536
+ &.active {
1537
+ color: $main-text;
1538
+ border-bottom: 1px solid $img-main-color;
1539
+ }
1540
+ }
1541
+ }
1542
+ // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1543
+ .wz-img-manager .img-selection {
1544
+ background-color: white;
1545
+ margin-left: 1.875rem;
1546
+ margin-right: 1.875rem;
1547
+ transition: height .3s ease;
1548
+ //height: 0;
1549
+ display: flex;
1550
+ align-items: center;
1551
+
1552
+ &--visible {
1553
+ height: 250px;
1554
+ margin: 0 0 40px;
1555
+ }
1556
+ }
1557
+
1558
+ .drag__img {
1559
+ max-width: 100px;
1560
+ max-height: 100px;
1561
+ border: 1px solid #dce0e3;
1562
+ background-color: white;
1563
+ }
1564
+
1565
+ .img_box {
1566
+ overflow: hidden;
1567
+ &:hover, &:focus {
1568
+ .drag__tooltips {
1569
+ opacity: 1;
1570
+ visibility: visible;
1571
+ transform: translateY(100%);
1572
+ transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1573
+ }
1574
+ }
1575
+ &__video {
1576
+ width: fit-content;
1577
+ height: 30px;
1578
+ display: flex;
1579
+ justify-content: center;
1580
+ align-items: center;
1581
+ position: absolute;
1582
+ top: 10px;
1583
+ left: 10px;
1584
+ background-color: rgba(29, 42, 59, 0.8);
1585
+ gap: 5px;
1586
+ border-radius: 3px;
1587
+ padding: 0 10px;
1588
+ color: white;
1589
+ font-size: 0.75rem;
1590
+ font-weight: 500;
1591
+ i {
1592
+ color: white;
1593
+ font-size: 0.875rem;
1594
+ }
1595
+ }
1596
+ .delete-btn {
1597
+ position: absolute;
1598
+ top: 100%;
1599
+ left: 50%;
1600
+ transform: translateX(-50%) translateY(100%);
1601
+ opacity: 0;
1602
+ visibility: hidden;
1603
+ transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1604
+ background-color: $img-red-color;
1605
+ color: $white;
1606
+ font-size: 0.8125rem;
1607
+ height: 1.875rem;
1608
+ padding: 0 15px;
1609
+ line-height: 1.875rem;
1610
+ border-radius: 3px;
1611
+ font-weight: 600;
1612
+ }
1613
+ &:hover, &:focus {
1614
+ .delete-btn {
1615
+ opacity: 1;
1616
+ visibility: visible;
1617
+ transform: translateX(-50%) translateY(-40px);
1618
+ transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1619
+ &:hover, &:focus {
1620
+ background-color: darken($img-red-color, 15%);
1621
+ }
1622
+ }
1623
+ }
1624
+ }
1625
+
1626
+ .drag__tooltips {
1627
+ opacity: 0;
1628
+ visibility: hidden;
1629
+ width: 100%;
1630
+ padding: 10px;
1631
+ border-radius: 3px;
1632
+ position: absolute;
1633
+ bottom: 100%;
1558
1634
  transform: translateY(0);
1559
- font-size: rem(12);
1635
+ font-size: 0.75rem;
1560
1636
  color: white;
1561
1637
  font-weight: 500;
1562
1638
  text-align: center;
@@ -1630,177 +1706,175 @@ $tag-radius: rem(20px)!default;
1630
1706
  opacity: 0;
1631
1707
  }
1632
1708
 
1633
- .cdk-drag-animating {
1634
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1709
+ .cdk-drag-animating {
1710
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1711
+ }
1712
+
1713
+ .list_img_selection.cdk-drop-list-dragging .img_box:not(.cdk-drag-placeholder) {
1714
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1715
+ }
1716
+
1717
+ .trash {
1718
+ display: none!important;
1719
+ }
1720
+ //.wz-img-manager useful to keep the css priority
1721
+ .wz-img-manager .img-tabs {
1722
+ background-color: white;
1723
+ padding-left: 0;
1724
+ padding-right: 0;
1725
+ padding-top: 0;
1726
+
1727
+ .tabs {
1728
+ margin: 0;
1729
+ display: flex;
1730
+ align-items: center;
1731
+ overflow: visible!important;
1732
+
1733
+ &--notWindow {
1734
+ padding: 1.25rem 1.875rem 1.25rem;
1735
+ margin-left: -1.075rem;
1736
+ margin-right: -0.575rem;
1737
+ margin-bottom: 0;
1738
+ }
1739
+
1740
+ ul {
1741
+ width: auto;
1742
+ border: none;
1743
+ li {
1744
+ a {
1745
+ padding: 0 0 0.625rem;
1746
+ margin: 0 1.875rem 0 0;
1747
+ position: relative;
1748
+ line-height: 1rem;
1749
+ border: none;
1750
+ color: $secondary-color;
1751
+ transition: color .3s ease;
1752
+ font-size: 0.875rem;
1753
+ font-weight: 400;
1754
+ }
1755
+ &.is-active {
1756
+ a {
1757
+ color: $main-text;
1758
+ &:after {
1759
+ content: '';
1760
+ display: block;
1761
+ position: absolute;
1762
+ width: 100%;
1763
+ height: 2px;
1764
+ background-color: $img-main-color;
1765
+ bottom: 0;
1766
+ left: 0;
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ }
1772
+ }
1773
+
1774
+ &__canva {
1775
+ margin: 0 0 0 1.875rem;
1776
+ display: none;
1777
+ }
1778
+
1779
+ &__tabsEdit {
1780
+ margin-top: 30px!important;
1781
+ > .column {
1782
+ padding: 0!important;
1783
+ }
1784
+ }
1785
+
1786
+ &__tabsFirst {
1787
+ height: 100vh;
1788
+
1789
+ &--window {
1790
+ height: auto;
1791
+ display: flex;
1792
+ justify-content: flex-start;
1793
+ }
1794
+
1795
+ &__upload {
1796
+ margin: 1.75rem 0 0 0;
1797
+ padding: 0;
1798
+ max-width: 33.3%;
1799
+ @include media('<tablet') {
1800
+ max-width: 100%;
1801
+ margin: 0;
1802
+ }
1803
+ }
1804
+
1805
+ &__list {
1806
+ padding: 0;
1807
+ margin: 1.75rem 0 0 3.75rem;
1808
+ &--upload {
1809
+ margin: 1.75rem 0 0 3rem;
1810
+ }
1811
+ //height: calc(100vh - 70px);
1812
+ //height: 100vh;
1813
+ @include media('<tablet') {
1814
+ width: 100%;
1815
+ margin: 40px 0 0 0;
1816
+ }
1817
+ }
1818
+ }
1819
+
1820
+ @media screen and (max-width: 768px) {
1821
+ .img-tabs__tabsFirst__upload {
1822
+ margin-right: 0;
1823
+ margin-bottom: 0;
1824
+ margin-top: 20px!important;
1825
+ }
1826
+ }
1827
+
1828
+ &__tabsSecond {
1829
+ min-height: 100vh !important;
1830
+ margin-left: 0px;
1831
+ margin-right: 0px;
1832
+ margin-bottom: 0px;
1833
+
1834
+ .column {
1835
+ padding: 0.75rem 0 0.75rem 0;
1836
+ }
1837
+ }
1838
+
1839
+ &__tabsThird {
1840
+ min-height: 100vh !important;
1841
+ margin-left: 0px;
1842
+ margin-right: 0px;
1843
+ margin-bottom: 0px;
1844
+
1845
+ .column {
1846
+ padding: 0.75rem 0 0.75rem 0;
1847
+ }
1848
+ }
1849
+ }
1850
+
1851
+ @media screen and (max-width: 768px) {
1852
+ .img-tabs__tabsFirst {
1853
+ margin-top: 0;
1854
+ }
1855
+
1856
+ .img-tabs__tabsFirst--small {
1857
+ height: 270px;
1858
+ }
1635
1859
  }
1636
1860
 
1637
- .list_img_selection.cdk-drop-list-dragging .img_box:not(.cdk-drag-placeholder) {
1638
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1861
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1862
+ margin: 0;
1639
1863
  }
1640
1864
 
1641
- .trash {
1642
- display: none!important;
1865
+ .wrapper-tabs {
1866
+ .tabs {
1867
+ @include media('<tablet') {
1868
+ display: none!important;
1869
+ }
1870
+ }
1871
+ .select-mobile-page {
1872
+ @include media('>=tablet') {
1873
+ display: none;
1874
+ }
1875
+ padding: 20px 0;
1876
+ }
1643
1877
  }
1644
- //.wz-img-manager useful to keep the css priority
1645
- .wz-img-manager .img-tabs {
1646
- background-color: white;
1647
- padding-left: 0;
1648
- padding-right: 0;
1649
- padding-top: 0;
1650
-
1651
- .tabs {
1652
- margin: 0;
1653
- display: flex;
1654
- align-items: center;
1655
- overflow: visible!important;
1656
-
1657
- &--notWindow {
1658
- padding: rem(20) rem(30) rem(20);
1659
- margin-left: -1.075rem;
1660
- margin-right: -0.575rem;
1661
- margin-bottom: 0;
1662
- }
1663
-
1664
- ul {
1665
- width: auto;
1666
- border: none;
1667
- li {
1668
- a {
1669
- padding: 0 0 rem(10);
1670
- margin: 0 rem(30) 0 0;
1671
- position: relative;
1672
- line-height: rem(16);
1673
- border: none;
1674
- color: $secondary-color;
1675
- transition: color .3s ease;
1676
- font-size: rem(14);
1677
- font-weight: 400;
1678
- }
1679
- &.is-active {
1680
- a {
1681
- color: $main-text;
1682
- &:after {
1683
- content: '';
1684
- display: block;
1685
- position: absolute;
1686
- width: 100%;
1687
- height: 2px;
1688
- background-color: $img-main-color;
1689
- bottom: 0;
1690
- left: 0;
1691
- }
1692
- }
1693
- }
1694
- }
1695
- }
1696
- }
1697
-
1698
- &__canva {
1699
- margin: 0 0 0 rem(30);
1700
- @include media('<tablet') {
1701
- display: none;
1702
- }
1703
- }
1704
-
1705
- &__tabsEdit {
1706
- margin-top: 30px!important;
1707
- > .column {
1708
- padding: 0!important;
1709
- }
1710
- }
1711
-
1712
- &__tabsFirst {
1713
- height: 100vh;
1714
-
1715
- &--window {
1716
- height: auto;
1717
- display: flex;
1718
- justify-content: flex-start;
1719
- }
1720
-
1721
- &__upload {
1722
- margin: rem(28) 0 0 0;
1723
- padding: 0;
1724
- max-width: 33.3%;
1725
- @include media('<tablet') {
1726
- max-width: 100%;
1727
- margin: 0;
1728
- }
1729
- }
1730
-
1731
- &__list {
1732
- padding: 0;
1733
- margin: rem(28) 0 0 rem(60);
1734
- &--upload {
1735
- margin: rem(28) 0 0 rem(48);
1736
- }
1737
- //height: calc(100vh - 70px);
1738
- //height: 100vh;
1739
- @include media('<tablet') {
1740
- width: 100%;
1741
- margin: 40px 0 0 0;
1742
- }
1743
- }
1744
- }
1745
-
1746
- @media screen and (max-width: 768px) {
1747
- .img-tabs__tabsFirst__upload {
1748
- margin-right: 0;
1749
- margin-bottom: 0;
1750
- margin-top: 20px!important;
1751
- }
1752
- }
1753
-
1754
- &__tabsSecond {
1755
- min-height: 100vh !important;
1756
- margin-left: 0px;
1757
- margin-right: 0px;
1758
- margin-bottom: 0px;
1759
-
1760
- .column {
1761
- padding: 0.75rem 0 0.75rem 0;
1762
- }
1763
- }
1764
-
1765
- &__tabsThird {
1766
- min-height: 100vh !important;
1767
- margin-left: 0px;
1768
- margin-right: 0px;
1769
- margin-bottom: 0px;
1770
-
1771
- .column {
1772
- padding: 0.75rem 0 0.75rem 0;
1773
- }
1774
- }
1775
- }
1776
-
1777
- @media screen and (max-width: 768px) {
1778
- .img-tabs__tabsFirst {
1779
- margin-top: 0;
1780
- }
1781
-
1782
- .img-tabs__tabsFirst--small {
1783
- height: 270px;
1784
- }
1785
- }
1786
-
1787
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1788
- margin: 0;
1789
- }
1790
-
1791
- .wrapper-tabs {
1792
- .tabs {
1793
- @include media('<tablet') {
1794
- display: none!important;
1795
- }
1796
- }
1797
- .select-mobile-page {
1798
- @include media('>=tablet') {
1799
- display: none;
1800
- }
1801
- padding: 20px 0;
1802
- }
1803
- }
1804
1878
  .img-upload {
1805
1879
  position: relative;
1806
1880
  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");
@@ -1818,14 +1892,14 @@ $tag-radius: rem(20px)!default;
1818
1892
  &__container {
1819
1893
  .blueColor {
1820
1894
  img {
1821
- min-width: rem(30);
1895
+ min-width: 1.875rem;
1822
1896
  }
1823
1897
  }
1824
1898
  &__or {
1825
- margin: rem(10) 0;
1899
+ margin: 0.625rem 0;
1826
1900
  }
1827
1901
  &__text {
1828
- padding: rem(8) rem(20);
1902
+ padding: 0.5rem 1.25rem;
1829
1903
  }
1830
1904
  }
1831
1905
  }
@@ -1868,24 +1942,24 @@ $tag-radius: rem(20px)!default;
1868
1942
  }
1869
1943
  .blueColor {
1870
1944
  img {
1871
- min-width: rem(65);
1945
+ min-width: 4.0625rem;
1872
1946
  display: block;
1873
- max-width: rem(65);
1874
- margin: 0 auto rem(15);
1947
+ max-width: 4.0625rem;
1948
+ margin: 0 auto 0.9375rem;
1875
1949
  transform: translate(10px);
1876
1950
  }
1877
1951
  p {
1878
1952
  color: $border-upload-color;
1879
- font-size: rem(16);
1880
- line-height: rem(19);
1953
+ font-size: 1rem;
1954
+ line-height: 1.1875rem;
1881
1955
  font-weight: 500;
1882
- margin: 0 auto rem(20);
1956
+ margin: 0 auto 1.25rem;
1883
1957
  }
1884
1958
  }
1885
1959
  &__or {
1886
- font-size: rem(14);
1887
- line-height: rem(16);
1888
- margin: 0 0 rem(20) !important;
1960
+ font-size: 0.875rem;
1961
+ line-height: 1rem;
1962
+ margin: 0 0 1.25rem !important;
1889
1963
  }
1890
1964
  &__text {
1891
1965
  display: flex;
@@ -1893,17 +1967,17 @@ $tag-radius: rem(20px)!default;
1893
1967
  justify-content: center;
1894
1968
  width: auto;
1895
1969
  border-radius: 3px;
1896
- padding: rem(12) rem(20);
1970
+ padding: 0.75rem 1.25rem;
1897
1971
  color: $white;
1898
- font-size: rem(14);
1899
- line-height: rem(16);
1972
+ font-size: 0.875rem;
1973
+ line-height: 1rem;
1900
1974
  white-space: nowrap;
1901
1975
  background-color: $img-green-color;
1902
1976
  transition: .3s ease;
1903
1977
  font-weight: 500;
1904
1978
  cursor: pointer;
1905
1979
  i {
1906
- margin: 0 rem(6) 0 0;
1980
+ margin: 0 0.375rem 0 0;
1907
1981
  font-weight: 500;
1908
1982
  }
1909
1983
  &:hover, &:focus {
@@ -1920,7 +1994,7 @@ $tag-radius: rem(20px)!default;
1920
1994
  top: 0;
1921
1995
  transform: scale(0.6);
1922
1996
  }
1923
- margin-bottom: rem(80);
1997
+ margin-bottom: 5rem;
1924
1998
 
1925
1999
  @keyframes rotate {
1926
2000
  0% {
@@ -1951,16 +2025,16 @@ $tag-radius: rem(20px)!default;
1951
2025
 
1952
2026
  @mixin loaderDivMixin {
1953
2027
  border-radius: 50%;
1954
- padding: rem(8);
1955
- border: rem(2) solid transparent;
2028
+ padding: 0.5rem;
2029
+ border: 0.125rem solid transparent;
1956
2030
  animation: rotate linear 3.5s infinite;
1957
2031
  }
1958
2032
 
1959
2033
  .loader {
1960
2034
  position: relative;
1961
- margin: rem(75) auto;
1962
- width: rem(150);
1963
- height: rem(150);
2035
+ margin: 4.6875rem auto;
2036
+ width: 9.375rem;
2037
+ height: 9.375rem;
1964
2038
  display: block;
1965
2039
  overflow: hidden;
1966
2040
  div {
@@ -1990,382 +2064,382 @@ $tag-radius: rem(20px)!default;
1990
2064
  font-weight: 500;
1991
2065
  }
1992
2066
  }
1993
- // .pexels-lib
1994
- //.wz-img-manager useful to keep the css priority
1995
- .wz-img-manager .pexels-lib {
1996
- width: 100%;
1997
- height: 100%;
1998
- max-height: 100%;
1999
- position: relative;
2000
-
2001
- &__scroll {
2002
- position: relative;
2003
- max-height: calc(100vh - 50px);
2004
- height: calc(100vh - 160px);
2005
-
2006
- &--smallDisplay {
2007
- max-height: 275px!important;
2008
- @include media('<tablet') {
2009
- max-height: calc(100vh - 90px)!important;
2010
- min-height: calc(100vh - 90px) !important;
2011
- }
2012
- }
2013
-
2014
- &--noResult {
2015
- max-height: 100px!important;
2016
- }
2017
-
2018
- &--hide {
2019
- display: none;
2020
- }
2021
- }
2022
-
2023
- &__search {
2024
- margin: 30px 0;
2025
-
2026
- &--smallDisplay {
2027
- margin-top: 10px;
2028
- }
2029
-
2030
- @include media('<tablet') {
2031
- wz-input-search {
2032
- display: block;
2033
- width: 100%;
2034
- max-width: 100%;
2035
- padding-right: 6px;
2036
- }
2037
- }
2038
- }
2039
-
2040
- // .pexels-lib__wrapper
2041
- &__wrapper {
2042
- margin: 30px 0;
2043
-
2044
- // .pexels-lib__wrapper__result
2045
- &__result {
2046
- width: calc(100% + 10px);
2047
- display: flex;
2048
- flex-direction: row;
2049
- justify-content: space-between;
2050
- margin-left: -5px;
2051
-
2052
- @include media('<tablet') {
2053
- flex-wrap: wrap;
2054
- }
2055
-
2056
- // .pexels-lib__wrapper__result__column
2057
- &__column {
2058
- flex: 1;
2059
- margin: 0 5px;
2060
-
2061
- @include media('<tablet') {
2062
- width: calc(50% - 10px);
2063
- flex: unset;
2064
- }
2065
-
2066
- // .pexels-lib__wrapper__result__column__element
2067
- &__element {
2068
- display: flex;
2069
- position: relative;
2070
-
2071
- // .pexels-lib__wrapper__result__column__element:hover
2072
- &:hover {
2073
- // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2074
- .pexels-lib__wrapper__result__column__element__wrapper {
2075
- opacity: 1;
2076
- transition: opacity .3s ease-in-out;
2077
- }
2078
- }
2079
-
2080
- // .pexels-lib__wrapper__result__column__element:not(:last-child)
2081
- &:not(:last-child) {
2082
- margin-bottom: 10px;
2083
- }
2084
-
2085
- // .pexels-lib__wrapper__result__column__element__img
2086
- &__img {
2087
- width: 100%;
2088
- min-height: auto;
2089
- max-height: 10000px;
2090
- height: auto;
2091
- }
2092
-
2093
- // .pexels-lib__wrapper__result__column__element__wrapper
2094
- &__wrapper {
2095
- position: absolute;
2096
- display: flex;
2097
- justify-content: space-between;
2098
- width: calc(100% - 10px);
2099
- bottom: 5px;
2100
- left: 5px;
2101
- opacity: 0;
2102
- transition: opacity .3s ease-in-out;
2103
- align-items: flex-end;
2104
-
2105
- // .pexels-lib__wrapper__result__column__element__wrapper__infos
2106
- &__infos {
2107
- font-size: 11px;
2108
- color: white;
2109
- border-radius: 3px;
2110
- padding: 5px 10px;
2111
- background-color: rgba(0, 0, 0, .7);
2112
- }
2113
-
2114
- // .pexels-lib__wrapper__result__column__element__wrapper__button
2115
- &__button {
2116
- background: $img-green-color url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='far' data-icon='file-upload' viewBox='0 0 384 512' class='svg-inline--fa fa-file-upload fa-w-12 fa-9x'%3E%3Cpath fill='%23fff' d='M369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95zM182.98 227.79l-72.31 71.77c-7.6 7.54-2.26 20.52 8.45 20.52H168v84c0 6.63 5.37 12 12 12h24c6.63 0 12-5.37 12-12v-84h48.88c10.71 0 16.05-12.97 8.45-20.52l-72.31-71.77c-4.99-4.95-13.05-4.95-18.04 0z'/%3E%3C/svg%3E") 10px center no-repeat;
2117
- border: none;
2118
- color: white;
2119
- padding: 5px 10px 5px 25px;
2120
- border-radius: 3px;
2121
- background-size: 11px 14px;
2122
- font-size: 11px;
2123
- cursor: pointer;
2124
- transition: background-color .3s ease-in-out;
2125
-
2126
- &:hover {
2127
- transition: background-color .3s ease-in-out;
2128
- background-color: darken($img-green-color, 10%);
2129
- }
2130
-
2131
- &__div {
2132
- display: flex;
2133
- justify-content: space-between;
2134
- align-items: center;
2135
- }
2136
-
2137
- &__spinner {
2138
- display: inline-block;
2139
- > * {
2140
- margin-top: 10px;
2141
- margin-right: 5px;
2142
- }
2143
-
2144
- }
2145
- }
2146
-
2147
- &__dropdown {
2148
- .dropdown-content {
2149
- padding: 3px 0;
2150
-
2151
- .dropdown-item {
2152
- display: flex;
2153
- justify-content: space-between;
2154
- align-items: center;
2155
-
2156
- p {
2157
- margin-top: 0;
2158
- margin-bottom: 0;
2159
- }
2160
-
2161
- .iPortrait, .iLandscape {
2162
- visibility: hidden;
2163
- }
2164
-
2165
- &:hover {
2166
- i {
2167
- visibility: unset;
2168
- }
2169
- }
2170
- }
2171
- }
2172
-
2173
- .dropdown-content__wrapper:hover {
2174
- .iOriginal {
2175
- visibility: hidden;
2176
- }
2177
- }
2178
-
2179
- }
2180
- }
2181
- }
2182
- }
2183
-
2184
- // .pexels-lib__wrapper__result-nb
2185
- &-nb {
2186
- font-size: 14px;
2187
- margin-top: 30px;
2188
- margin-bottom: 15px;
2189
- font-weight: 600;
2190
- line-height: 40px;
2191
- @include media('<tablet') {
2192
- margin: 20px auto;
2193
- }
2194
- }
2195
- }
2196
- }
2197
-
2198
- &__alert {
2199
- margin-right: 0.8rem;
2200
- margin-left: 0.3rem;
2201
- margin-top: 10px;
2202
- }
2203
- }
2204
-
2205
- .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2206
- min-width: 0;
2207
- width: 100%;
2208
- .dropdown-item:hover {
2209
- background-color: #fafafa;
2210
- cursor: pointer;
2211
- }
2212
- }
2213
- //.wz-img-manager useful to keep the css priority
2214
- .wz-img-manager .upload-list {
2215
- text-align: left;
2216
- font-size: 14px;
2217
- color: #23272B;
2218
-
2219
- &.smallDisplay {
2220
- .upload-list__box__cards__card {
2221
- width: 125px;
2222
- }
2223
- }
2224
-
2225
- &__scroll {
2226
- position: relative;
2227
- max-height: 1160px!important;
2228
- height: 1160px!important;
2229
-
2230
- &--smallDisplay {
2231
- max-height: 260px!important;
2232
- height: 260px!important;
2233
-
2234
- .upload-list__box {
2235
- margin-bottom: 20px;
2236
- }
2237
- }
2238
-
2239
- &--window {
2240
- max-height: none;
2241
- height: 500px;
2242
- }
2243
-
2244
- .ng-scroll-content {
2245
- margin-left: 0.5rem !important;
2246
- margin-right: 0.5rem !important;
2247
- min-width: calc(100% - 1rem) !important;
2248
- width: calc(100% - 1rem) !important;
2249
- }
2250
- }
2251
-
2252
- &__box {
2253
- margin: 0 0.8rem 30px 0.3rem;
2254
- padding: 30px;
2255
- background-color: $img-gray-background;
2256
- margin-right: 12px;
2257
- margin-left: 5px;
2258
- border-radius: 3px;
2259
-
2260
- &__container {
2261
- display: flex;
2262
- justify-content: space-between;
2263
- align-items: center;
2264
-
2265
- p {
2266
- display: inline;
2267
- }
2268
-
2269
- .dropdown {
2270
- vertical-align: baseline;
2271
- &:hover {
2272
- .dropdown-trigger i {
2273
- color: $img-main-color;
2274
- }
2275
- }
2276
- .dropdown-trigger {
2277
- display: inline;
2278
- i {
2279
- color: $img-secondary-text;
2280
- margin-left: 10px;
2281
- }
2282
- }
2283
-
2284
- .dropdown-menu {
2285
- padding: 0;
2286
- width: 370px;
2287
- left: -190px;
2288
- margin-top: 3px;
2289
-
2290
- .dropdown-item {
2291
- display: flex;
2292
- justify-content: left;
2293
- align-items: center;
2294
-
2295
- p {
2296
- margin: 0;
2297
- }
2298
-
2299
- p:first-child {
2300
- color: $img-main-text;
2301
- font-size: 14px;
2302
- }
2303
-
2304
- p:last-child {
2305
- color: $img-green-color;
2306
- font-size: 14px;
2307
- margin-left: 10px;
2308
- }
2309
- }
2310
- }
2311
- }
2312
- }
2313
-
2314
- &__cards {
2315
- padding-top: 15px;
2316
- margin-left: 5px;
2317
- display: flex;
2318
- justify-content: left;
2319
- flex-wrap: wrap;
2320
- align-items: center;
2321
- margin-right: -9px;
2322
- width: calc(100% + 24px);
2323
- transform: translateX(-12px);
2324
- &__card {
2325
- width: 198px;
2326
- margin: 0 12px 12px;
2327
- & > * {
2328
- width: 100%;
2329
- }
2330
-
2331
- &__btnBox {
2332
- text-align: center;
2333
- margin: rem(10) auto 0;
2334
-
2335
- &__btn {
2336
- height: 30px;
2337
- width: 30px;
2338
- font-size: 14px!important;
2339
-
2340
- cursor: default;
2341
-
2342
- &:focus {
2343
- box-shadow: none;
2344
- }
2345
- }
2346
- }
2347
- }
2348
- }
2349
- }
2350
- }
2351
-
2352
- @media screen and (max-width: 768px) {
2353
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2354
- max-height: none!important;
2355
-
2356
- .ng-scroll-content {
2357
- margin: 0 !important;
2358
- min-width: 100%!important;
2359
- width: 100%!important;
2360
- }
2361
- }
2362
- }
2067
+ // .pexels-lib
2068
+ //.wz-img-manager useful to keep the css priority
2069
+ .wz-img-manager .pexels-lib {
2070
+ width: 100%;
2071
+ height: 100%;
2072
+ max-height: 100%;
2073
+ position: relative;
2074
+
2075
+ &__scroll {
2076
+ position: relative;
2077
+ max-height: calc(100vh - 50px);
2078
+ height: calc(100vh - 160px);
2079
+
2080
+ &--smallDisplay {
2081
+ max-height: 275px!important;
2082
+ @include media('<tablet') {
2083
+ max-height: calc(100vh - 90px)!important;
2084
+ min-height: calc(100vh - 90px) !important;
2085
+ }
2086
+ }
2087
+
2088
+ &--noResult {
2089
+ max-height: 100px!important;
2090
+ }
2091
+
2092
+ &--hide {
2093
+ display: none;
2094
+ }
2095
+ }
2096
+
2097
+ &__search {
2098
+ margin: 30px 0;
2099
+
2100
+ &--smallDisplay {
2101
+ margin-top: 10px;
2102
+ }
2103
+
2104
+ @include media('<tablet') {
2105
+ wz-input-search {
2106
+ display: block;
2107
+ width: 100%;
2108
+ max-width: 100%;
2109
+ padding-right: 6px;
2110
+ }
2111
+ }
2112
+ }
2113
+
2114
+ // .pexels-lib__wrapper
2115
+ &__wrapper {
2116
+ margin: 30px 0;
2117
+
2118
+ // .pexels-lib__wrapper__result
2119
+ &__result {
2120
+ width: calc(100% + 10px);
2121
+ display: flex;
2122
+ flex-direction: row;
2123
+ justify-content: space-between;
2124
+ margin-left: -5px;
2125
+
2126
+ @include media('<tablet') {
2127
+ flex-wrap: wrap;
2128
+ }
2129
+
2130
+ // .pexels-lib__wrapper__result__column
2131
+ &__column {
2132
+ flex: 1;
2133
+ margin: 0 5px;
2134
+
2135
+ @include media('<tablet') {
2136
+ width: calc(50% - 10px);
2137
+ flex: unset;
2138
+ }
2139
+
2140
+ // .pexels-lib__wrapper__result__column__element
2141
+ &__element {
2142
+ display: flex;
2143
+ position: relative;
2144
+
2145
+ // .pexels-lib__wrapper__result__column__element:hover
2146
+ &:hover {
2147
+ // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2148
+ .pexels-lib__wrapper__result__column__element__wrapper {
2149
+ opacity: 1;
2150
+ transition: opacity .3s ease-in-out;
2151
+ }
2152
+ }
2153
+
2154
+ // .pexels-lib__wrapper__result__column__element:not(:last-child)
2155
+ &:not(:last-child) {
2156
+ margin-bottom: 10px;
2157
+ }
2158
+
2159
+ // .pexels-lib__wrapper__result__column__element__img
2160
+ &__img {
2161
+ width: 100%;
2162
+ min-height: auto;
2163
+ max-height: 10000px;
2164
+ height: auto;
2165
+ }
2166
+
2167
+ // .pexels-lib__wrapper__result__column__element__wrapper
2168
+ &__wrapper {
2169
+ position: absolute;
2170
+ display: flex;
2171
+ justify-content: space-between;
2172
+ width: calc(100% - 10px);
2173
+ bottom: 5px;
2174
+ left: 5px;
2175
+ opacity: 0;
2176
+ transition: opacity .3s ease-in-out;
2177
+ align-items: flex-end;
2178
+
2179
+ // .pexels-lib__wrapper__result__column__element__wrapper__infos
2180
+ &__infos {
2181
+ font-size: 11px;
2182
+ color: white;
2183
+ border-radius: 3px;
2184
+ padding: 5px 10px;
2185
+ background-color: rgba(0, 0, 0, .7);
2186
+ }
2187
+
2188
+ // .pexels-lib__wrapper__result__column__element__wrapper__button
2189
+ &__button {
2190
+ background: $img-green-color url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='far' data-icon='file-upload' viewBox='0 0 384 512' class='svg-inline--fa fa-file-upload fa-w-12 fa-9x'%3E%3Cpath fill='%23fff' d='M369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95zM182.98 227.79l-72.31 71.77c-7.6 7.54-2.26 20.52 8.45 20.52H168v84c0 6.63 5.37 12 12 12h24c6.63 0 12-5.37 12-12v-84h48.88c10.71 0 16.05-12.97 8.45-20.52l-72.31-71.77c-4.99-4.95-13.05-4.95-18.04 0z'/%3E%3C/svg%3E") 10px center no-repeat;
2191
+ border: none;
2192
+ color: white;
2193
+ padding: 5px 10px 5px 25px;
2194
+ border-radius: 3px;
2195
+ background-size: 11px 14px;
2196
+ font-size: 11px;
2197
+ cursor: pointer;
2198
+ transition: background-color .3s ease-in-out;
2199
+
2200
+ &:hover {
2201
+ transition: background-color .3s ease-in-out;
2202
+ background-color: darken($img-green-color, 10%);
2203
+ }
2204
+
2205
+ &__div {
2206
+ display: flex;
2207
+ justify-content: space-between;
2208
+ align-items: center;
2209
+ }
2210
+
2211
+ &__spinner {
2212
+ display: inline-block;
2213
+ > * {
2214
+ margin-top: 10px;
2215
+ margin-right: 5px;
2216
+ }
2217
+
2218
+ }
2219
+ }
2220
+
2221
+ &__dropdown {
2222
+ .dropdown-content {
2223
+ padding: 3px 0;
2224
+
2225
+ .dropdown-item {
2226
+ display: flex;
2227
+ justify-content: space-between;
2228
+ align-items: center;
2229
+
2230
+ p {
2231
+ margin-top: 0;
2232
+ margin-bottom: 0;
2233
+ }
2234
+
2235
+ .iPortrait, .iLandscape {
2236
+ visibility: hidden;
2237
+ }
2238
+
2239
+ &:hover {
2240
+ i {
2241
+ visibility: unset;
2242
+ }
2243
+ }
2244
+ }
2245
+ }
2246
+
2247
+ .dropdown-content__wrapper:hover {
2248
+ .iOriginal {
2249
+ visibility: hidden;
2250
+ }
2251
+ }
2252
+
2253
+ }
2254
+ }
2255
+ }
2256
+ }
2257
+
2258
+ // .pexels-lib__wrapper__result-nb
2259
+ &-nb {
2260
+ font-size: 14px;
2261
+ margin-top: 30px;
2262
+ margin-bottom: 15px;
2263
+ font-weight: 600;
2264
+ line-height: 40px;
2265
+ @include media('<tablet') {
2266
+ margin: 20px auto;
2267
+ }
2268
+ }
2269
+ }
2270
+ }
2271
+
2272
+ &__alert {
2273
+ margin-right: 0.8rem;
2274
+ margin-left: 0.3rem;
2275
+ margin-top: 10px;
2276
+ }
2277
+ }
2278
+
2279
+ .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2280
+ min-width: 0;
2281
+ width: 100%;
2282
+ .dropdown-item:hover {
2283
+ background-color: #fafafa;
2284
+ cursor: pointer;
2285
+ }
2286
+ }
2287
+ //.wz-img-manager useful to keep the css priority
2288
+ .wz-img-manager .upload-list {
2289
+ text-align: left;
2290
+ font-size: 14px;
2291
+ color: #23272B;
2292
+
2293
+ &.smallDisplay {
2294
+ .upload-list__box__cards__card {
2295
+ width: 125px;
2296
+ }
2297
+ }
2298
+
2299
+ &__scroll {
2300
+ position: relative;
2301
+ max-height: 1160px!important;
2302
+ height: 1160px!important;
2303
+
2304
+ &--smallDisplay {
2305
+ max-height: 260px!important;
2306
+ height: 260px!important;
2307
+
2308
+ .upload-list__box {
2309
+ margin-bottom: 20px;
2310
+ }
2311
+ }
2312
+
2313
+ &--window {
2314
+ max-height: none;
2315
+ height: 500px;
2316
+ }
2317
+
2318
+ .ng-scroll-content {
2319
+ margin-left: 0.5rem !important;
2320
+ margin-right: 0.5rem !important;
2321
+ min-width: calc(100% - 1rem) !important;
2322
+ width: calc(100% - 1rem) !important;
2323
+ }
2324
+ }
2325
+
2326
+ &__box {
2327
+ margin: 0 0.8rem 30px 0.3rem;
2328
+ padding: 30px;
2329
+ background-color: $img-gray-background;
2330
+ margin-right: 12px;
2331
+ margin-left: 5px;
2332
+ border-radius: 3px;
2333
+
2334
+ &__container {
2335
+ display: flex;
2336
+ justify-content: space-between;
2337
+ align-items: center;
2338
+
2339
+ p {
2340
+ display: inline;
2341
+ }
2342
+
2343
+ .dropdown {
2344
+ vertical-align: baseline;
2345
+ &:hover {
2346
+ .dropdown-trigger i {
2347
+ color: $img-main-color;
2348
+ }
2349
+ }
2350
+ .dropdown-trigger {
2351
+ display: inline;
2352
+ i {
2353
+ color: $img-secondary-text;
2354
+ margin-left: 10px;
2355
+ }
2356
+ }
2357
+
2358
+ .dropdown-menu {
2359
+ padding: 0;
2360
+ width: 370px;
2361
+ left: -190px;
2362
+ margin-top: 3px;
2363
+
2364
+ .dropdown-item {
2365
+ display: flex;
2366
+ justify-content: left;
2367
+ align-items: center;
2368
+
2369
+ p {
2370
+ margin: 0;
2371
+ }
2372
+
2373
+ p:first-child {
2374
+ color: $img-main-text;
2375
+ font-size: 14px;
2376
+ }
2377
+
2378
+ p:last-child {
2379
+ color: $img-green-color;
2380
+ font-size: 14px;
2381
+ margin-left: 10px;
2382
+ }
2383
+ }
2384
+ }
2385
+ }
2386
+ }
2387
+
2388
+ &__cards {
2389
+ padding-top: 15px;
2390
+ margin-left: 5px;
2391
+ display: flex;
2392
+ justify-content: left;
2393
+ flex-wrap: wrap;
2394
+ align-items: center;
2395
+ margin-right: -9px;
2396
+ width: calc(100% + 24px);
2397
+ transform: translateX(-12px);
2398
+ &__card {
2399
+ width: 198px;
2400
+ margin: 0 12px 12px;
2401
+ & > * {
2402
+ width: 100%;
2403
+ }
2404
+
2405
+ &__btnBox {
2406
+ text-align: center;
2407
+ margin: 0.625rem auto 0;
2408
+
2409
+ &__btn {
2410
+ height: 30px;
2411
+ width: 30px;
2412
+ font-size: 14px!important;
2413
+
2414
+ cursor: default;
2415
+
2416
+ &:focus {
2417
+ box-shadow: none;
2418
+ }
2419
+ }
2420
+ }
2421
+ }
2422
+ }
2423
+ }
2424
+ }
2425
+
2426
+ @media screen and (max-width: 768px) {
2427
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2428
+ max-height: none!important;
2429
+
2430
+ .ng-scroll-content {
2431
+ margin: 0 !important;
2432
+ min-width: 100%!important;
2433
+ width: 100%!important;
2434
+ }
2435
+ }
2436
+ }
2363
2437
  .mosaic {
2364
2438
  width: 100%;
2365
2439
  display: flex;
2366
2440
  flex-wrap: wrap;
2367
2441
  position: relative;
2368
- min-height: rem(512);
2442
+ min-height: 32rem;
2369
2443
 
2370
2444
  &--displayPexelsImg {
2371
2445
  min-height: unset;
@@ -2378,10 +2452,10 @@ $tag-radius: rem(20px)!default;
2378
2452
  padding-bottom: 40px;
2379
2453
  > * {
2380
2454
  width: calc(25% - 24px);
2381
- margin: 0 12px rem(24) 12px;
2455
+ margin: 0 12px 1.5rem 12px;
2382
2456
  @include media('>=desktop','<1300px') {
2383
2457
  width: calc(33.33% - 24px);
2384
- margin: 0 12px rem(24) 12px;
2458
+ margin: 0 12px 1.5rem 12px;
2385
2459
  }
2386
2460
  }
2387
2461
  }
@@ -2398,18 +2472,18 @@ $tag-radius: rem(20px)!default;
2398
2472
  padding-bottom: 40px;
2399
2473
  > * {
2400
2474
  width: calc(12.5% - 24px);
2401
- margin: 0 12px rem(24) 12px;
2475
+ margin: 0 12px 1.5rem 12px;
2402
2476
  @include media('>=1400px','<1600px') {
2403
2477
  width: calc(14% - 24px);
2404
- margin: 0 12px rem(24) 12px;
2478
+ margin: 0 12px 1.5rem 12px;
2405
2479
  }
2406
2480
  @include media('>=1200px','<1400px') {
2407
2481
  width: calc(16.66% - 24px);
2408
- margin: 0 12px rem(24) 12px;
2482
+ margin: 0 12px 1.5rem 12px;
2409
2483
  }
2410
2484
  @include media('>=desktop','<1200px') {
2411
2485
  width: calc(20% - 24px);
2412
- margin: 0 12px rem(24) 12px;
2486
+ margin: 0 12px 1.5rem 12px;
2413
2487
  }
2414
2488
  }
2415
2489
  }
@@ -2427,22 +2501,22 @@ $tag-radius: rem(20px)!default;
2427
2501
  .mosaic__container__cards {
2428
2502
  > * {
2429
2503
  width: calc(16.66% - 24px);
2430
- margin: 0 12px rem(24) 12px;
2504
+ margin: 0 12px 1.5rem 12px;
2431
2505
  @include media('>=1400px','<1600px') {
2432
2506
  width: calc(20% - 24px);
2433
- margin: 0 12px rem(24) 12px;
2507
+ margin: 0 12px 1.5rem 12px;
2434
2508
  }
2435
2509
  @include media('>=desktop','<1400px') {
2436
2510
  width: calc(25% - 24px);
2437
- margin: 0 12px rem(24) 12px;
2511
+ margin: 0 12px 1.5rem 12px;
2438
2512
  }
2439
2513
  @include media('>=tablet','<desktop') {
2440
2514
  width: calc(33.33% - 24px);
2441
- margin: 0 12px rem(24) 12px;
2515
+ margin: 0 12px 1.5rem 12px;
2442
2516
  }
2443
2517
  @include media('>=400px','<tablet') {
2444
2518
  width: calc(50% - 24px);
2445
- margin: 0 12px rem(24) 12px;
2519
+ margin: 0 12px 1.5rem 12px;
2446
2520
  }
2447
2521
  @include media('<420px') {
2448
2522
  width: 100%;
@@ -2476,26 +2550,26 @@ $tag-radius: rem(20px)!default;
2476
2550
  &__cards {
2477
2551
  > * {
2478
2552
  width: calc(10% - 24px);
2479
- margin: 0 12px rem(24) 12px;
2553
+ margin: 0 12px 1.5rem 12px;
2480
2554
  @include media('>=1400px','<1600px') {
2481
2555
  width: calc(11.11% - 24px);
2482
- margin: 0 12px rem(24) 12px;
2556
+ margin: 0 12px 1.5rem 12px;
2483
2557
  }
2484
2558
  @include media('>=desktop','<1400px') {
2485
2559
  width: calc(12.5% - 24px);
2486
- margin: 0 12px rem(24) 12px;
2560
+ margin: 0 12px 1.5rem 12px;
2487
2561
  }
2488
2562
  @include media('>=tablet','<desktop') {
2489
2563
  width: calc(20% - 24px);
2490
- margin: 0 12px rem(24) 12px;
2564
+ margin: 0 12px 1.5rem 12px;
2491
2565
  }
2492
2566
  @include media('>=500px','<tablet') {
2493
2567
  width: calc(33.33% - 24px);
2494
- margin: 0 12px rem(24) 12px;
2568
+ margin: 0 12px 1.5rem 12px;
2495
2569
  }
2496
2570
  @include media('<500px') {
2497
2571
  width: calc(50% - 24px);
2498
- margin: 0 12px rem(24) 12px;
2572
+ margin: 0 12px 1.5rem 12px;
2499
2573
  }
2500
2574
  }
2501
2575
  }
@@ -2505,7 +2579,7 @@ $tag-radius: rem(20px)!default;
2505
2579
  }
2506
2580
  &__search {
2507
2581
  width: calc(100% - 24px);
2508
- margin: 0 auto rem(20);
2582
+ margin: 0 auto 1.25rem;
2509
2583
  }
2510
2584
  &__pagination {
2511
2585
  width: 100%;
@@ -2580,6 +2654,28 @@ $tag-radius: rem(20px)!default;
2580
2654
  padding-top: 100%;
2581
2655
  }
2582
2656
 
2657
+ &__container__video {
2658
+ height: 16px;
2659
+ width: 60px;
2660
+ display: flex;
2661
+ justify-content: center;
2662
+ align-items: center;
2663
+ position: absolute;
2664
+ bottom: 0;
2665
+ left: 0;
2666
+ background-color: rgba(29, 42, 59, 0.8);
2667
+ gap: 5px;
2668
+ border-radius: 3px;
2669
+ padding: 0;
2670
+ color: white;
2671
+ font-size: 0.625rem;
2672
+ font-weight: 500;
2673
+ i {
2674
+ color: white;
2675
+ font-size: 0.625rem;
2676
+ }
2677
+ }
2678
+
2583
2679
  &__img {
2584
2680
  margin: 0!important;
2585
2681
  position: absolute;
@@ -2681,77 +2777,183 @@ $tag-radius: rem(20px)!default;
2681
2777
  .grey {
2682
2778
  color: $img-grey-color;
2683
2779
  }
2780
+
2781
+ .buttonCopy {
2782
+ background-color: $img-green-color; // Vert léger
2783
+ border: 1px solid $img-green-color; // Bordure verte légère
2784
+ border-radius: 4px;
2785
+ padding: 8px 12px;
2786
+ cursor: pointer;
2787
+ transition: all 0.2s ease;
2788
+
2789
+ i {
2790
+ color: $img-white; // Icône verte
2791
+ transition: color 0.2s ease;
2792
+ }
2793
+
2794
+ &:hover {
2795
+ background-color: $img-green-color-secondary; // Vert plus foncé au survol
2796
+ border-color: $img-green-color-secondary;
2797
+
2798
+ i {
2799
+ color: $img-white; // Icône verte plus foncée au survol
2800
+ }
2801
+ }
2802
+
2803
+ &:active {
2804
+ background-color: #b1dfbb;
2805
+ transform: scale(0.98);
2806
+ }
2807
+ }
2808
+
2809
+ .wrap-name-info {
2810
+ width: 100%;
2811
+ > p {
2812
+ padding: 0 0 0 15px;
2813
+ display: flex;
2814
+ align-items: center;
2815
+ gap: 10px;
2816
+ color: $wizishop-blue;
2817
+ font-size: 0.875rem;
2818
+ i {
2819
+ color: $wizishop-blue;
2820
+ }
2821
+ }
2822
+ }
2684
2823
  image-cropper {
2685
2824
  max-height: 60vh;
2686
2825
  }.img-editor__infoSection__propertySEO__tooltips {
2687
2826
  i {
2688
- font-size: rem(16);
2827
+ font-size: 1rem;
2689
2828
  color: $main-text;
2690
2829
  }
2691
- }$default-color-p-alert: #1e5568;
2692
- $success-color-p-alert: #11552e;
2693
- $warning-color-p-alert: #3a0505;
2694
- $primary-button: #e95656;
2695
- $link-color: #52aecd;
2696
- $green-color: #2ecc71;
2697
-
2698
- .wz-alert {
2830
+ }.info-video {
2699
2831
  width: 100%;
2700
- background-color: scale-color($link-color, $alpha: -85%);
2701
- color: $link-color;
2702
- border-radius: 3px;
2703
- display: flex;
2704
- flex-wrap: nowrap;
2705
- justify-content: space-between;
2706
- padding: 20px;
2707
- &.success {
2708
- background-color: scale-color($green-color, $alpha: -85%);
2709
- p {
2710
- color: $success-color-p-alert;
2711
- > * {
2712
- color: $success-color-p-alert;
2832
+ &, * {
2833
+ box-sizing: border-box;
2834
+ }
2835
+ &__wrapper {
2836
+ width: 100%;
2837
+ display: flex;
2838
+ flex-direction: column;
2839
+ justify-content: flex-start;
2840
+ align-items: flex-start;
2841
+ gap: 30px;
2842
+ &__top {
2843
+ width: 100%;
2844
+ display: flex;
2845
+ flex-direction: column;
2846
+ justify-content: flex-start;
2847
+ align-items: flex-start;
2848
+ gap: 12px;
2849
+ > label {
2850
+ font-size: 0.875rem;
2851
+ font-weight: 500;
2852
+ color: $main-text;
2853
+ i {
2854
+ font-size: 0.875rem;
2855
+ font-weight: 400;
2856
+ color: $img-second-color;
2857
+ margin: 0 0 0 5px;
2858
+ }
2859
+ }
2860
+ > span {
2861
+ font-size: 0.75rem;
2862
+ color: $img-second-color;
2863
+ margin-top: -2px;
2864
+ }
2865
+ > input {
2866
+ width: 100%;
2867
+ height: 2.5rem;
2868
+ border: 1px solid $img-input-border;
2869
+ border-radius: 0.1875rem;
2870
+ color: $img-main-text;
2871
+ padding: 0 1.25rem;
2872
+ font-size: 0.875rem;
2873
+ &:hover, &:focus {
2874
+ color: $main-text;
2875
+ border-color: $main-text;
2876
+ }
2713
2877
  }
2714
2878
  }
2715
- i {
2716
- color: $green-color;
2717
- }
2718
- }
2719
- &.warning {
2720
- background-color: scale-color($primary-button, $alpha: -85%);
2721
- p {
2722
- color: $warning-color-p-alert;
2723
- > * {
2724
- color: $warning-color-p-alert;
2879
+ &__bottom {
2880
+ width: 100%;
2881
+ display: flex;
2882
+ flex-direction: column;
2883
+ justify-content: flex-start;
2884
+ align-items: flex-start;
2885
+ gap: 15px;
2886
+ &.has-border {
2887
+ padding-bottom: 32px;
2888
+ border-bottom: 2px solid $img-input-border;
2889
+ }
2890
+ > strong {
2891
+ font-size: 1rem;
2892
+ font-weight: 600;
2893
+ color: $main-text;
2894
+ }
2895
+ > p {
2896
+ font-size: 0.875rem;
2897
+ font-weight: 400;
2898
+ color: $main-text;
2899
+ display: flex;
2900
+ align-items: center;
2901
+ width: 100%;
2902
+ > span {
2903
+ white-space: nowrap;
2904
+ &:first-child {
2905
+ width: 100%;
2906
+ }
2907
+ &:last-child {
2908
+ width: auto;
2909
+ }
2910
+ }
2725
2911
  }
2726
2912
  }
2727
- i {
2728
- color: $primary-button;
2913
+ & > a {
2914
+ color: $img-bright-red-color;
2915
+ text-decoration: underline;
2916
+ transition: .3s ease;
2917
+ cursor: pointer;
2918
+ font-size: 0.875rem;
2919
+ font-weight: 400;
2920
+ &:hover, &:focus {
2921
+ color: darken($img-bright-red-color, 10%);
2922
+ text-decoration: none;
2923
+ }
2729
2924
  }
2730
2925
  }
2731
- p {
2926
+ }
2927
+ .show-iframe {
2928
+ box-sizing: border-box;
2929
+ padding: 20px;
2930
+ &__none {
2732
2931
  width: 100%;
2733
- font-size: rem(14);
2734
- line-height: rem(25);
2735
- margin: 0;
2736
- padding: 0;
2737
- color: $default-color-p-alert;
2738
- > * {
2739
- color: $default-color-p-alert;
2740
- }
2932
+ text-align: center;
2933
+ font-size: 1rem;
2934
+ font-weight: 600;
2935
+ color: $main-text;
2936
+ padding: 20px 0;
2741
2937
  }
2742
- i {
2743
- width: auto;
2744
- margin: 0 10px 0 0;
2745
- color: inherit;
2746
- font-size: rem(14);
2747
- line-height: rem(25);
2938
+ }
2939
+
2940
+ .video-container {
2941
+ width: 100%;
2942
+ max-width: 600px;
2943
+ aspect-ratio: 16 / 9;
2944
+ margin: 0 auto;
2945
+ iframe {
2946
+ width: 100%;
2947
+ height: 100%;
2948
+ border: 0;
2748
2949
  }
2749
2950
  }
2951
+
2750
2952
  .wz-img-manager .is-checkradio[type='checkbox'] {
2751
2953
  outline: 0 !important;
2752
2954
  & + label {
2753
- font-size: rem(14);
2754
- line-height: rem(24);
2955
+ font-size: 0.875rem;
2956
+ line-height: 1.5rem;
2755
2957
  color: $input-radio-color-label;
2756
2958
  padding-left: 26px;
2757
2959
  outline: 0 !important;
@@ -2970,7 +3172,66 @@ $green-color: #2ecc71;
2970
3172
 
2971
3173
  .dropdownWizi:not(.is-hoverable) {
2972
3174
  cursor: not-allowed;
2973
- }.wz-img-manager .input-search.field {
3175
+ }$default-color-p-alert: #1e5568;
3176
+ $success-color-p-alert: #11552e;
3177
+ $warning-color-p-alert: #3a0505;
3178
+ $primary-button: #e95656;
3179
+ $link-color: #52aecd;
3180
+ $green-color: #2ecc71;
3181
+
3182
+ .wz-alert {
3183
+ width: 100%;
3184
+ background-color: transparentize($link-color, 0.85);
3185
+ color: $link-color;
3186
+ border-radius: 3px;
3187
+ display: flex;
3188
+ flex-wrap: nowrap;
3189
+ justify-content: space-between;
3190
+ padding: 20px;
3191
+ &.success {
3192
+ background-color: transparentize($green-color, 0.85);
3193
+ p {
3194
+ color: $success-color-p-alert;
3195
+ > * {
3196
+ color: $success-color-p-alert;
3197
+ }
3198
+ }
3199
+ i {
3200
+ color: $green-color;
3201
+ }
3202
+ }
3203
+ &.warning {
3204
+ background-color: transparentize($primary-button, 0.85);
3205
+ p {
3206
+ color: $warning-color-p-alert;
3207
+ > * {
3208
+ color: $warning-color-p-alert;
3209
+ }
3210
+ }
3211
+ i {
3212
+ color: $primary-button;
3213
+ }
3214
+ }
3215
+ p {
3216
+ width: 100%;
3217
+ font-size: 0.875rem;
3218
+ line-height: 1.5625rem;
3219
+ margin: 0;
3220
+ padding: 0;
3221
+ color: $default-color-p-alert;
3222
+ > * {
3223
+ color: $default-color-p-alert;
3224
+ }
3225
+ }
3226
+ i {
3227
+ width: auto;
3228
+ margin: 0 10px 0 0;
3229
+ color: inherit;
3230
+ font-size: 0.875rem;
3231
+ line-height: 1.5625rem;
3232
+ }
3233
+ }
3234
+ .wz-img-manager .input-search.field {
2974
3235
  padding: 10px 20px;
2975
3236
  background-color: $gray-background;
2976
3237
  @include media('<tablet') {
@@ -2985,12 +3246,12 @@ $green-color: #2ecc71;
2985
3246
  .input.is-focused,
2986
3247
  .input:active,
2987
3248
  .input.is-active {
2988
- font-size: rem(14);
3249
+ font-size: 0.875rem;
2989
3250
  color: $main-text;
2990
- border: rem(1) solid $input-border-search;
3251
+ border: 0.0625rem solid $input-border-search;
2991
3252
  box-shadow: none;
2992
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
2993
- border-radius: rem(3);
3253
+ padding: 0.8438rem 1.25rem 0.8438rem 3rem;
3254
+ border-radius: 0.1875rem;
2994
3255
  margin: 0;
2995
3256
  height: auto;
2996
3257
  min-height: unset;
@@ -3012,14 +3273,14 @@ $green-color: #2ecc71;
3012
3273
  position: absolute;
3013
3274
  top: 50%;
3014
3275
  left: 20px;
3015
- font-size: rem(18);
3276
+ font-size: 1.125rem;
3016
3277
  transform: translateY(-50%);
3017
3278
  pointer-events: none;
3018
3279
  font-weight: 400;
3019
3280
  color: $placeholder-color;
3020
3281
  margin: 0;
3021
- width: rem(18);
3022
- height: rem(18);
3282
+ width: 1.125rem;
3283
+ height: 1.125rem;
3023
3284
  }
3024
3285
  }
3025
3286
 
@@ -3158,9 +3419,9 @@ $green-color: #2ecc71;
3158
3419
  }
3159
3420
  &__label {
3160
3421
  padding: 0;
3161
- font-size: rem(14);
3162
- line-height: rem(16);
3163
- margin: 0 0 rem(12);
3422
+ font-size: 0.875rem;
3423
+ line-height: 1rem;
3424
+ margin: 0 0 0.75rem;
3164
3425
  font-weight: 500;
3165
3426
  }
3166
3427
  &__current {
@@ -3172,8 +3433,8 @@ $green-color: #2ecc71;
3172
3433
  align-content: center;
3173
3434
  padding: 0 0 0 20px;
3174
3435
  color: $color-text-grey;
3175
- font-size: rem(14);
3176
- line-height: rem(16);
3436
+ font-size: 0.875rem;
3437
+ line-height: 1rem;
3177
3438
  cursor: pointer;
3178
3439
  white-space: nowrap;
3179
3440
  text-overflow: ellipsis;
@@ -3185,8 +3446,8 @@ $green-color: #2ecc71;
3185
3446
  &:not(.icon):not(:last-child) {
3186
3447
  display: block;
3187
3448
  width: 100%;
3188
- height: rem(38);
3189
- line-height: rem(38);
3449
+ height: 2.375rem;
3450
+ line-height: 2.375rem;
3190
3451
  padding: 0 20px;
3191
3452
  }
3192
3453
  &.icon {
@@ -3213,11 +3474,11 @@ $green-color: #2ecc71;
3213
3474
  max-width: 24px;
3214
3475
  margin: 0 10px 0 0;
3215
3476
  i {
3216
- font-size: rem(17);
3477
+ font-size: 1.0625rem;
3217
3478
  }
3218
3479
  img {
3219
3480
  display: block;
3220
- max-width: rem(24);
3481
+ max-width: 1.5rem;
3221
3482
  }
3222
3483
  &:empty {
3223
3484
  display: none;
@@ -3243,7 +3504,7 @@ $green-color: #2ecc71;
3243
3504
  border-radius: 0 3px 3px 0;
3244
3505
  z-index: 3;
3245
3506
  i {
3246
- font-size: rem(12);
3507
+ font-size: 0.75rem;
3247
3508
  color: $second-color;
3248
3509
  }
3249
3510
  }
@@ -3252,20 +3513,20 @@ $green-color: #2ecc71;
3252
3513
  top: 0;
3253
3514
  left: 0;
3254
3515
  width: 100%;
3255
- height: rem(38);
3516
+ height: 2.375rem;
3256
3517
  display: flex;
3257
3518
  align-items: center;
3258
3519
  align-content: center;
3259
3520
  z-index: 2;
3260
- padding: 0 0 0 rem(20);
3521
+ padding: 0 0 0 1.25rem;
3261
3522
  input {
3262
3523
  border: none;
3263
3524
  width: 100%;
3264
3525
  box-shadow: none;
3265
- margin: 0 0 0 rem(10);
3526
+ margin: 0 0 0 0.625rem;
3266
3527
  padding: 0;
3267
- height: rem(38);
3268
- line-height: rem(38);
3528
+ height: 2.375rem;
3529
+ line-height: 2.375rem;
3269
3530
  &:focus {
3270
3531
  &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3271
3532
  opacity: 0;
@@ -3291,7 +3552,7 @@ $green-color: #2ecc71;
3291
3552
  &__content {
3292
3553
  position: absolute;
3293
3554
  top: 100%;
3294
- margin-top: rem(14);
3555
+ margin-top: 0.875rem;
3295
3556
  left: -1px;
3296
3557
  width: auto;
3297
3558
  min-width: calc(100% - 38px);
@@ -3337,8 +3598,8 @@ $green-color: #2ecc71;
3337
3598
  background-color: $color-CTA-select;
3338
3599
  border: 1px solid $border-CTA-select;
3339
3600
  color: $main-text;
3340
- font-size: rem(14);
3341
- min-height: rem(40);
3601
+ font-size: 0.875rem;
3602
+ min-height: 2.5rem;
3342
3603
  display: flex;
3343
3604
  align-items: center;
3344
3605
  align-content: center;
@@ -3346,7 +3607,7 @@ $green-color: #2ecc71;
3346
3607
  border-radius: 3px;
3347
3608
  cursor: pointer;
3348
3609
  transition: 0.3s ease;
3349
- margin: 0 0 rem(10);
3610
+ margin: 0 0 0.625rem;
3350
3611
  padding: 0 20px;
3351
3612
  > div {
3352
3613
  display: flex;
@@ -3370,8 +3631,8 @@ $green-color: #2ecc71;
3370
3631
  }
3371
3632
  &__item {
3372
3633
  width: 100%;
3373
- font-size: rem(14);
3374
- line-height: rem(30);
3634
+ font-size: 0.875rem;
3635
+ line-height: 1.875rem;
3375
3636
  cursor: pointer;
3376
3637
  transition: 0.3s ease;
3377
3638
  position: relative;
@@ -3393,7 +3654,7 @@ $green-color: #2ecc71;
3393
3654
  max-height: 24px;
3394
3655
  }
3395
3656
  &:not(:last-child) {
3396
- margin: 0 0 rem(10);
3657
+ margin: 0 0 0.625rem;
3397
3658
  }
3398
3659
  &:empty {
3399
3660
  display: none;
@@ -3421,12 +3682,12 @@ $green-color: #2ecc71;
3421
3682
  align-items: center;
3422
3683
  padding: 10px;
3423
3684
  span {
3424
- font-size: rem(16);
3685
+ font-size: 1rem;
3425
3686
  font-weight: 400;
3426
3687
  text-align: center;
3427
3688
  color: $second-color;
3428
3689
  display: inline-block;
3429
- line-height: rem(25);
3690
+ line-height: 1.5625rem;
3430
3691
  }
3431
3692
  }
3432
3693
  }
@@ -3577,454 +3838,503 @@ $green-color: #2ecc71;
3577
3838
  }
3578
3839
  }
3579
3840
  }
3580
- $card-img-size: 100%;
3581
- $card-img-size-small: 140px;
3582
-
3583
- //.wz-img-manager useful to keep the css priority
3584
- .wz-img-manager .addCssPriority .img-card {
3585
- display: flex;
3586
- flex-wrap: wrap;
3587
- justify-content: center;
3588
- padding: 0 0 rem(5);
3589
- width: 100%;
3590
- overflow: hidden;
3591
-
3592
- @include media('<720px') {
3593
- width: 97%;
3594
- }
3595
-
3596
- &__container {
3597
- width: 100%!important;
3598
- height: auto!important;
3599
- display: flex;
3600
- border-radius: 3px;
3601
- border: 1px solid $img-light-white-color;
3602
- cursor: pointer;
3603
- overflow: hidden;
3604
- transition: .3s ease;
3605
- position: relative;
3606
- margin: 0 0 rem(10);
3607
- &:before {
3608
- content: '';
3609
- display: block;
3610
- padding-top: 100%;
3611
- }
3612
-
3613
- &.imgSelected {
3614
-
3615
- &:after {
3616
- z-index: 1000;
3617
- content: '';
3618
- display: block;
3619
- position: absolute;
3620
- width: 100%;
3621
- height: 4px;
3622
- background-color: $img-main-color;
3623
- bottom: 0;
3624
- left: 0;
3625
- transform: translateZ(0);
3626
- }
3627
- }
3628
-
3629
- &__valid {
3630
- display: flex;
3631
- position: absolute;
3632
- top: 100%;
3633
- left: 50%;
3634
- transform: translate(-50%,0);
3635
- justify-content: center;
3636
- align-items: center;
3637
- width: auto;
3638
- background-color: $img-green-color;
3639
- border-radius: 3px;
3640
- padding: 5px;
3641
- transition: .3s ease;
3642
- i {
3643
- font-size: rem(10);
3644
- color: $white;
3645
- margin: 0 5px 0 0;
3646
- }
3647
- span {
3648
- color: $white;
3649
- font-weight: 500;
3650
- font-size: rem(10);
3651
- }
3652
- }
3653
-
3654
- &:hover, &:focus {
3655
- .img-card__container {
3656
- &__valid {
3657
- transform: translate(-50%, -40px);
3658
- }
3659
- }
3660
- }
3661
-
3662
- &__img {
3663
- width: auto!important;
3664
- height: auto!important;
3665
- background-color: white;
3666
- margin: auto;
3667
- transition: .3s ease;
3668
- position: absolute;
3669
- object-fit: contain;
3670
- max-width: 100%;
3671
- max-height: 100%;
3672
- top: 50%;
3673
- left: 50%;
3674
- transform: translate(-50%,-50%);
3675
- }
3676
-
3677
- &__config {
3678
- position: relative;
3679
- top: 10px;
3680
- left: 10px;
3681
- transform: none;
3682
- z-index: 9999;
3683
- width: 30px;
3684
- opacity: 0;
3685
- transition: .3s ease;
3686
-
3687
- &--small {
3688
- .show-edit {
3689
- transition: .3s ease!important;
3690
- &:hover, &:focus {
3691
- background-color: darken(#1E2E43, 15%) !important;
3692
- }
3693
- }
3694
- }
3695
-
3696
- button {
3697
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3698
- margin: 0;
3699
- width: 30px;
3700
- height: 30px;
3701
- box-sizing: content-box;
3702
- border-radius: 3px;
3703
- border: none;
3704
- color: #fff;
3705
- transform: translateX(-40px);
3706
- will-change: transform;
3707
- cursor: pointer;
3708
- padding: 0;
3709
- display: flex;
3710
- justify-content: center;
3711
- align-content: center;
3712
- align-items: center;
3713
-
3714
- i {
3715
- font-size: 16px;
3716
- color: #fff;
3717
- position: relative;
3718
- z-index: 3;
3719
- }
3720
-
3721
- &:before {
3722
- content: '';
3723
- display: block;
3724
- position: absolute;
3725
- top: 0;
3726
- left: 0;
3727
- border-radius: 3px;
3728
- width: 100%;
3729
- height: 100%;
3730
- z-index: 2;
3731
- }
3732
-
3733
- span {
3734
- position: absolute;
3735
- left: 100%;
3736
- display: flex;
3737
- justify-content: center;
3738
- align-items: center;
3739
- align-content: center;
3740
- height: 100%;
3741
- margin-left: -10px;
3742
- width: auto;
3743
- padding: 0 10px 0 0;
3744
- color: #fff;
3745
- text-transform: capitalize;
3746
- font-size: 14px;
3747
- border-radius: 0 3px 3px 0;
3748
- max-width: 0;
3749
- overflow: hidden;
3750
- z-index: 1;
3751
- transition: .3s ease;
3752
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3753
- white-space: nowrap;
3754
- }
3755
-
3756
- &:not(:last-child) {
3757
- margin: 0 0 5px;
3758
- }
3759
- &.size, &.show-edit {
3760
- background-color: #1E2E43;
3761
- transition: transform .3s ease .6s;
3762
- span, &:before {
3763
- background-color: #1E2E43;
3764
- }
3765
- }
3766
- &.dl {
3767
- background-color: $img-bleu-action;
3768
- transition: transform .3s ease .45s;
3769
- span, &:before {
3770
- background-color: $img-bleu-action;
3771
- }
3772
- }
3773
- &.edit {
3774
- background-color: $img-orange-color;
3775
- transition: transform .3s ease .3s;
3776
- span, &:before {
3777
- background-color: $img-orange-color;
3778
- }
3779
- }
3780
- &.deleted {
3781
- background-color: $img-red-color;
3782
- transition: transform .3s ease .15s;
3783
- span, &:before {
3784
- background-color: $img-red-color;
3785
- }
3786
- }
3787
- &.selected {
3788
- background-color: #fff;
3789
- border-color: $img-light-white-color;
3790
- transition: transform .3s ease;
3791
- span, &:before {
3792
- background-color: #fff;
3793
- color: $img-grey-color;
3794
- }
3795
-
3796
- i {
3797
- color: $img-light-white-color;
3798
- }
3799
- .checked {
3800
- color: $img-bleu-color;
3801
- }
3802
- }
3803
- &:hover, &:focus, &.show-instant {
3804
- border-radius: 3px 0 0 3px;
3805
- &:before {
3806
- border-radius: 3px 0 0 3px;
3807
- }
3808
- span {
3809
- transition: max-width 1s ease, margin-left .3s ease;
3810
- max-width: 1000px;
3811
- margin-left: -1px;
3812
- padding-left: 4px;
3813
- will-change: transform, margin;
3814
- }
3815
- }
3816
- }
3817
- }
3818
-
3819
- &__overlay {
3820
- position: absolute;
3821
- top: 0;
3822
- left: 0;
3823
- height: 100%;
3824
- width: 100%;
3825
- display: flex;
3826
- justify-content: center;
3827
- align-items: center;
3828
-
3829
- i {
3830
- font-size: 100px;
3831
- color: grey;
3832
- }
3833
-
3834
- &--smallDisplay {
3835
- i {
3836
- font-size: 75px;
3837
- }
3838
- }
3839
- }
3840
-
3841
- &__delete {
3842
- position: absolute;
3843
- top: 0;
3844
- left: 0;
3845
- width: 100%;
3846
- height: 100%;
3847
- background-color: rgba(0,0,0,.45);
3848
- display: flex;
3849
- flex-direction: column;
3850
- justify-content: center;
3851
- align-items: center;
3852
- padding: 15px;
3853
- visibility: hidden;
3854
- transform: translateY(100%);
3855
- opacity: 0;
3856
- z-index: 9999;
3857
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3858
- &.show {
3859
- transform: translateY(0);
3860
- opacity: 1;
3861
- visibility: visible;
3862
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3863
- }
3864
- > span {
3865
- font-size: rem(14);
3866
- color: $img-white;
3867
- font-weight: 600;
3868
- text-align: center;
3869
- display: inline-block;
3870
- margin: 0 0 10px;
3871
- }
3872
- > div {
3873
- display: flex;
3874
- > button {
3875
- padding: 7px 12px;
3876
- font-size: rem(14);
3877
- color: $img-white;
3878
- background-color: $img-red-color;
3879
- font-weight: 600;
3880
- border: none;
3881
- margin: 0 0 0 5px;
3882
- text-transform: capitalize;
3883
- transition: .3s ease;
3884
- &:hover, &:focus {
3885
- background-color: darken($img-red-color, 15%);
3886
- }
3887
- &:first-child {
3888
- background-color: $img-main-color;
3889
- margin: 0 5px 0 0;
3890
- &:hover, &:focus {
3891
- background-color: darken($img-main-color, 15%);
3892
- }
3893
- }
3894
- }
3895
- }
3896
- }
3897
- }
3898
-
3899
- &__nameContainer {
3900
- text-align: center;
3901
- overflow: hidden;
3902
- max-width: 100%;
3903
- min-width: 100%;
3904
- position: relative;
3905
- width: auto;
3906
- display: flex;
3907
- justify-content: center;
3908
- align-items: center;
3909
- min-height: rem(16);
3910
-
3911
- &.focus {
3912
- overflow: visible;
3913
- }
3914
-
3915
- > span {
3916
- padding: 0 rem(10);
3917
- font-size: rem(12);
3918
- line-height: rem(14);
3919
- color: $img-grey-color;
3920
- width: auto;
3921
- white-space: nowrap;
3922
- overflow: hidden;
3923
- text-overflow: ellipsis;
3924
- text-align: center;
3925
- display: inline-block;
3926
- transition: .3s ease;
3927
- pointer-events: none;
3928
- max-width: 100%;
3929
- }
3930
-
3931
- &__name {
3932
- margin: 0;
3933
- padding: 5px;
3934
- font-size: rem(12);
3935
- color: $img-grey-color;
3936
- line-height: rem(14);
3937
- text-align: center;
3938
- width: 100%;
3939
- min-width: 100%;
3940
- white-space: nowrap;
3941
- overflow: hidden;
3942
- text-overflow: ellipsis;
3943
- transition: .3s ease;
3944
- cursor: initial;
3945
- max-width: 100%;
3946
- position: absolute;
3947
- top: 0;
3948
- left: 0;
3949
- opacity: 0;
3950
- &:focus {
3951
- opacity: 1;
3952
- transform: translateY(-5px);
3953
- & + span {
3954
- opacity: 0;
3955
- }
3956
- }
3957
- }
3958
- }
3959
-
3960
- &:hover, &:focus {
3961
- z-index: 3;
3962
- .img-card {
3963
- &__nameContainer {
3964
- overflow: visible;
3965
- &__name {
3966
- color: #52AECD;
3967
- transform: translateY(-5px);
3968
- }
3969
- }
3970
-
3971
- &__container {
3972
- border-color: $wizishop-blue;
3973
- &__img {
3974
- transform: scale(1.02) translate(-50%,-50%);
3975
- }
3976
- &__config {
3977
- @include media('<tablet') {
3978
- display: none;
3979
- }
3980
- opacity: 1;
3981
- button {
3982
- transform: translateX(0);
3983
- &.size {
3984
- transition: transform .3s ease;
3985
- }
3986
- &.dl {
3987
- transition: transform .3s ease .15s;
3988
- }
3989
- &.edit {
3990
- transition: transform .3s ease .3s;
3991
- }
3992
- &.deleted {
3993
- transition: transform .3s ease .45s;
3994
- }
3995
- &.selected {
3996
- transition: transform .3s ease .6s;
3997
- }
3998
- }
3999
- }
4000
- }
4001
- }
4002
- }
4003
- }
4004
-
4005
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
4006
- width: $card-img-size-small;
4007
- height: $card-img-size-small;
4008
- }
4009
-
4010
- .wz-img-manager .addCssPriority .smallNameDisplay {
4011
- .img-card__nameContainer__name, > span {
4012
- width: $card-img-size-small;
4013
- }
4014
- }
3841
+ $card-img-size: 100%;
3842
+ $card-img-size-small: 140px;
3843
+
3844
+ //.wz-img-manager useful to keep the css priority
3845
+ .wz-img-manager .addCssPriority .img-card {
3846
+ display: flex;
3847
+ flex-wrap: wrap;
3848
+ justify-content: center;
3849
+ padding: 0 0 0.3125rem;
3850
+ width: 100%;
3851
+ overflow: hidden;
3852
+
3853
+ @include media('<720px') {
3854
+ width: 97%;
3855
+ }
3856
+
3857
+ &__container {
3858
+ width: 100%!important;
3859
+ height: auto!important;
3860
+ display: flex;
3861
+ border-radius: 3px;
3862
+ border: 1px solid $img-light-white-color;
3863
+ cursor: pointer;
3864
+ overflow: hidden;
3865
+ transition: .3s ease;
3866
+ position: relative;
3867
+ margin: 0 0 0.625rem;
3868
+ &:before {
3869
+ content: '';
3870
+ display: block;
3871
+ padding-top: 100%;
3872
+ }
3873
+
3874
+ &.imgSelected {
3875
+
3876
+ &:after {
3877
+ z-index: 1000;
3878
+ content: '';
3879
+ display: block;
3880
+ position: absolute;
3881
+ width: 100%;
3882
+ height: 4px;
3883
+ background-color: $img-main-color;
3884
+ bottom: 0;
3885
+ left: 0;
3886
+ transform: translateZ(0);
3887
+ }
3888
+ }
3889
+
3890
+ &__valid {
3891
+ display: flex;
3892
+ position: absolute;
3893
+ top: 100%;
3894
+ left: 50%;
3895
+ transform: translate(-50%,0);
3896
+ justify-content: center;
3897
+ align-items: center;
3898
+ width: auto;
3899
+ background-color: $img-green-color;
3900
+ border-radius: 3px;
3901
+ padding: 5px;
3902
+ transition: .3s ease;
3903
+ i {
3904
+ font-size: 0.625rem;
3905
+ color: $white;
3906
+ margin: 0 5px 0 0;
3907
+ }
3908
+ span {
3909
+ color: $white;
3910
+ font-weight: 500;
3911
+ font-size: 0.625rem;
3912
+ }
3913
+ }
3914
+
3915
+ &:hover, &:focus {
3916
+ .img-card__container {
3917
+ &__valid {
3918
+ transform: translate(-50%, -40px);
3919
+ }
3920
+ }
3921
+ }
3922
+
3923
+ &__img {
3924
+ width: auto!important;
3925
+ height: auto!important;
3926
+ background-color: white;
3927
+ margin: auto;
3928
+ transition: .3s ease;
3929
+ position: absolute;
3930
+ object-fit: contain;
3931
+ max-width: 100%;
3932
+ max-height: 100%;
3933
+ top: 50%;
3934
+ left: 50%;
3935
+ transform: translate(-50%,-50%);
3936
+ }
3937
+
3938
+ &__config {
3939
+ position: relative;
3940
+ top: 10px;
3941
+ left: 10px;
3942
+ transform: none;
3943
+ z-index: 9999;
3944
+ width: 30px;
3945
+ opacity: 0;
3946
+ transition: .3s ease;
3947
+
3948
+ &--small {
3949
+ .show-edit {
3950
+ transition: .3s ease!important;
3951
+ &:hover, &:focus {
3952
+ background-color: darken(#1E2E43, 15%) !important;
3953
+ }
3954
+ }
3955
+ }
3956
+
3957
+ button {
3958
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3959
+ margin: 0;
3960
+ width: 30px;
3961
+ height: 30px;
3962
+ box-sizing: content-box;
3963
+ border-radius: 3px;
3964
+ border: none;
3965
+ color: #fff;
3966
+ transform: translateX(-40px);
3967
+ will-change: transform;
3968
+ cursor: pointer;
3969
+ padding: 0;
3970
+ display: flex;
3971
+ justify-content: center;
3972
+ align-content: center;
3973
+ align-items: center;
3974
+
3975
+ i {
3976
+ font-size: 16px;
3977
+ color: #fff;
3978
+ position: relative;
3979
+ z-index: 3;
3980
+ }
3981
+
3982
+ &:before {
3983
+ content: '';
3984
+ display: block;
3985
+ position: absolute;
3986
+ top: 0;
3987
+ left: 0;
3988
+ border-radius: 3px;
3989
+ width: 100%;
3990
+ height: 100%;
3991
+ z-index: 2;
3992
+ }
3993
+
3994
+ span {
3995
+ position: absolute;
3996
+ left: 100%;
3997
+ display: flex;
3998
+ justify-content: center;
3999
+ align-items: center;
4000
+ align-content: center;
4001
+ height: 100%;
4002
+ margin-left: -10px;
4003
+ width: auto;
4004
+ padding: 0 10px 0 0;
4005
+ color: #fff;
4006
+ text-transform: capitalize;
4007
+ font-size: 14px;
4008
+ border-radius: 0 3px 3px 0;
4009
+ max-width: 0;
4010
+ overflow: hidden;
4011
+ z-index: 1;
4012
+ transition: .3s ease;
4013
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4014
+ white-space: nowrap;
4015
+ }
4016
+
4017
+ &:not(:last-child) {
4018
+ margin: 0 0 5px;
4019
+ }
4020
+ &.size, &.show-edit {
4021
+ background-color: #1E2E43;
4022
+ transition: transform .3s ease .6s;
4023
+ span, &:before {
4024
+ background-color: #1E2E43;
4025
+ }
4026
+ }
4027
+ &.dl {
4028
+ background-color: $img-bleu-action;
4029
+ transition: transform .3s ease .45s;
4030
+ span, &:before {
4031
+ background-color: $img-bleu-action;
4032
+ }
4033
+ }
4034
+ &.edit {
4035
+ background-color: $img-orange-color;
4036
+ transition: transform .3s ease .3s;
4037
+ span, &:before {
4038
+ background-color: $img-orange-color;
4039
+ }
4040
+ }
4041
+ &.copy {
4042
+ background-color: $img-green-color;
4043
+ transition: transform .3s ease .15s;
4044
+ span, &:before {
4045
+ background-color: $img-green-color;
4046
+ }
4047
+ }
4048
+ &.deleted {
4049
+ background-color: $img-red-color;
4050
+ transition: transform .3s ease .15s;
4051
+ span, &:before {
4052
+ background-color: $img-red-color;
4053
+ }
4054
+ }
4055
+ &.selected {
4056
+ background-color: #fff;
4057
+ border-color: $img-light-white-color;
4058
+ transition: transform .3s ease;
4059
+ span, &:before {
4060
+ background-color: #fff;
4061
+ color: $img-grey-color;
4062
+ }
4063
+
4064
+ i {
4065
+ color: $img-light-white-color;
4066
+ }
4067
+ .checked {
4068
+ color: $img-bleu-color;
4069
+ }
4070
+ }
4071
+ &:hover, &:focus, &.show-instant {
4072
+ border-radius: 3px 0 0 3px;
4073
+ &:before {
4074
+ border-radius: 3px 0 0 3px;
4075
+ }
4076
+ span {
4077
+ transition: max-width 1s ease, margin-left .3s ease;
4078
+ max-width: 1000px;
4079
+ margin-left: -1px;
4080
+ padding-left: 4px;
4081
+ will-change: transform, margin;
4082
+ }
4083
+ }
4084
+ }
4085
+ }
4086
+
4087
+ &__overlay {
4088
+ position: absolute;
4089
+ top: 0;
4090
+ left: 0;
4091
+ height: 100%;
4092
+ width: 100%;
4093
+ display: flex;
4094
+ justify-content: center;
4095
+ align-items: center;
4096
+
4097
+ i {
4098
+ font-size: 100px;
4099
+ color: grey;
4100
+ }
4101
+
4102
+ &--smallDisplay {
4103
+ i {
4104
+ font-size: 75px;
4105
+ }
4106
+ }
4107
+ }
4108
+
4109
+ &__delete {
4110
+ position: absolute;
4111
+ top: 0;
4112
+ left: 0;
4113
+ width: 100%;
4114
+ height: 100%;
4115
+ background-color: rgba(0,0,0,.45);
4116
+ display: flex;
4117
+ flex-direction: column;
4118
+ justify-content: center;
4119
+ align-items: center;
4120
+ padding: 15px;
4121
+ visibility: hidden;
4122
+ transform: translateY(100%);
4123
+ opacity: 0;
4124
+ z-index: 9999;
4125
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
4126
+ &.show {
4127
+ transform: translateY(0);
4128
+ opacity: 1;
4129
+ visibility: visible;
4130
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
4131
+ }
4132
+ > span {
4133
+ font-size: 0.875rem;
4134
+ color: $img-white;
4135
+ font-weight: 600;
4136
+ text-align: center;
4137
+ display: inline-block;
4138
+ margin: 0 0 10px;
4139
+ }
4140
+ > div {
4141
+ display: flex;
4142
+ > button {
4143
+ padding: 7px 12px;
4144
+ font-size: 0.875rem;
4145
+ color: $img-white;
4146
+ background-color: $img-red-color;
4147
+ font-weight: 600;
4148
+ border: none;
4149
+ margin: 0 0 0 5px;
4150
+ text-transform: capitalize;
4151
+ transition: .3s ease;
4152
+ &:hover, &:focus {
4153
+ background-color: darken($img-red-color, 15%);
4154
+ }
4155
+ &:first-child {
4156
+ background-color: $img-main-color;
4157
+ margin: 0 5px 0 0;
4158
+ &:hover, &:focus {
4159
+ background-color: darken($img-main-color, 15%);
4160
+ }
4161
+ }
4162
+ }
4163
+ }
4164
+ }
4165
+ &__video {
4166
+ width: fit-content;
4167
+ height: 24px;
4168
+ display: flex;
4169
+ justify-content: center;
4170
+ align-items: center;
4171
+ position: absolute;
4172
+ bottom: 10px;
4173
+ right: 10px;
4174
+ background-color: rgba(29, 42, 59, 0.8);
4175
+ gap: 5px;
4176
+ border-radius: 3px;
4177
+ padding: 0 10px;
4178
+ color: white;
4179
+ font-size: 0.75rem;
4180
+ font-weight: 500;
4181
+ i {
4182
+ color: white;
4183
+ font-size: 0.875rem;
4184
+ }
4185
+ }
4186
+ }
4187
+
4188
+ &__nameContainer {
4189
+ text-align: center;
4190
+ overflow: hidden;
4191
+ max-width: 100%;
4192
+ min-width: 100%;
4193
+ position: relative;
4194
+ width: auto;
4195
+ display: flex;
4196
+ justify-content: center;
4197
+ align-items: center;
4198
+ min-height: 1rem;
4199
+
4200
+ &.focus {
4201
+ overflow: visible;
4202
+ }
4203
+
4204
+ > span {
4205
+ padding: 0 0.625rem;
4206
+ font-size: 0.75rem;
4207
+ line-height: 0.875rem;
4208
+ color: $img-grey-color;
4209
+ width: auto;
4210
+ white-space: nowrap;
4211
+ overflow: hidden;
4212
+ text-overflow: ellipsis;
4213
+ text-align: center;
4214
+ display: inline-block;
4215
+ transition: .3s ease;
4216
+ pointer-events: none;
4217
+ max-width: 100%;
4218
+ }
4219
+
4220
+ &__name {
4221
+ margin: 0;
4222
+ padding: 5px;
4223
+ font-size: 0.75rem;
4224
+ color: $img-grey-color;
4225
+ line-height: 0.875rem;
4226
+ text-align: center;
4227
+ width: 100%;
4228
+ min-width: 100%;
4229
+ white-space: nowrap;
4230
+ overflow: hidden;
4231
+ text-overflow: ellipsis;
4232
+ transition: .3s ease;
4233
+ cursor: initial;
4234
+ max-width: 100%;
4235
+ position: absolute;
4236
+ top: 0;
4237
+ left: 0;
4238
+ opacity: 0;
4239
+ &:focus {
4240
+ opacity: 1;
4241
+ transform: translateY(-5px);
4242
+ & + span {
4243
+ opacity: 0;
4244
+ }
4245
+ }
4246
+ }
4247
+ }
4248
+
4249
+ &:hover, &:focus {
4250
+ z-index: 3;
4251
+ .hover-img-size {
4252
+ opacity: 1;
4253
+ }
4254
+ .img-card {
4255
+ &__nameContainer {
4256
+ overflow: visible;
4257
+ &__name {
4258
+ color: #52AECD;
4259
+ transform: translateY(-5px);
4260
+ }
4261
+ }
4262
+
4263
+ &__container {
4264
+ border-color: $wizishop-blue;
4265
+ &__img {
4266
+ transform: scale(1.02) translate(-50%,-50%);
4267
+ }
4268
+ &__config {
4269
+ @include media('<tablet') {
4270
+ display: none;
4271
+ }
4272
+ opacity: 1;
4273
+ button {
4274
+ transform: translateX(0);
4275
+ &.size {
4276
+ transition: transform .3s ease;
4277
+ }
4278
+ &.dl {
4279
+ transition: transform .3s ease .15s;
4280
+ }
4281
+ &.edit {
4282
+ transition: transform .3s ease .3s;
4283
+ }
4284
+ &.copy {
4285
+ transition: transform .3s ease .45s;
4286
+ }
4287
+ &.deleted {
4288
+ transition: transform .3s ease .45s;
4289
+ }
4290
+ &.selected {
4291
+ transition: transform .3s ease .6s;
4292
+ }
4293
+ }
4294
+ }
4295
+ }
4296
+ }
4297
+ }
4298
+ }
4299
+
4300
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
4301
+ width: $card-img-size-small;
4302
+ height: $card-img-size-small;
4303
+ }
4304
+
4305
+ .wz-img-manager .addCssPriority .smallNameDisplay {
4306
+ .img-card__nameContainer__name, > span {
4307
+ width: $card-img-size-small;
4308
+ }
4309
+ }
4310
+
4311
+ .hover-img-size {
4312
+ position: absolute;
4313
+ top: 10px;
4314
+ right: 10px;
4315
+ opacity: 0;
4316
+ transition: .3s ease;
4317
+ background-color: rgba(0,0,0,.45);
4318
+ color: $white;
4319
+ font-size: 0.75rem;
4320
+ padding: 3px 6px;
4321
+ border-radius: 2px;
4322
+ pointer-events: none;
4323
+ }
4324
+
4015
4325
  .wz-selector {
4016
4326
  &__default {
4017
4327
  position: relative;
4018
4328
  &__base {
4019
4329
  position: relative;
4020
- height: rem(32);
4330
+ height: 2rem;
4021
4331
  input {
4022
- font-size: rem(14);
4023
- line-height: rem(24);
4332
+ font-size: 0.875rem;
4333
+ line-height: 1.5rem;
4024
4334
  color: $img-second-color;
4025
4335
  border: 1px solid $border-form;
4026
4336
  border-radius: 2px;
4027
- height: rem(32);
4337
+ height: 2rem;
4028
4338
  padding: 3px 26px 3px 15px;
4029
4339
  cursor: pointer;
4030
4340
  &:focus {
@@ -4037,7 +4347,7 @@ $card-img-size-small: 140px;
4037
4347
  }
4038
4348
  i {
4039
4349
  position: absolute;
4040
- font-size: rem(10);
4350
+ font-size: 0.625rem;
4041
4351
  height: 6px;
4042
4352
  color: $img-second-color;
4043
4353
  right: 12px;
@@ -4066,8 +4376,8 @@ $card-img-size-small: 140px;
4066
4376
  padding: 3px 15px;
4067
4377
  width: 100%;
4068
4378
  color: $img-second-color;
4069
- font-size: rem(14);
4070
- line-height: rem(24);
4379
+ font-size: 0.875rem;
4380
+ line-height: 1.5rem;
4071
4381
  border-left: 1px solid $border-form;
4072
4382
  border-right: 1px solid $border-form;
4073
4383
  border-top: 1px solid $border-form;