@wizishop/img-manager 15.2.53 → 15.2.56

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 (52) hide show
  1. package/README.md +393 -393
  2. package/assets/i18n/it.json +1 -1
  3. package/esm2020/lib/components/canva-btn/canva-btn.component.mjs +3 -3
  4. package/esm2020/lib/components/images-view/images-actions-handler.mjs +2 -2
  5. package/esm2020/lib/components/images-view/images-view.component.mjs +3 -3
  6. package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +3 -3
  7. package/esm2020/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +3 -3
  8. package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +1 -1
  9. package/esm2020/lib/components/img-editor/cropper/cropper.component.mjs +3 -3
  10. package/esm2020/lib/components/img-editor/img-editor.component.mjs +3 -3
  11. package/esm2020/lib/components/img-editor/info-section/info-section.component.mjs +3 -3
  12. package/esm2020/lib/components/img-selection/img-selection.component.mjs +3 -3
  13. package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +3 -3
  14. package/esm2020/lib/components/img-upload/img-upload.component.mjs +3 -3
  15. package/esm2020/lib/components/pexels-lib/pexels-lib.component.mjs +3 -3
  16. package/esm2020/lib/components/shared/alert/alert.component.mjs +1 -1
  17. package/esm2020/lib/components/shared/pagination/page-selector/page-selector.component.mjs +3 -3
  18. package/esm2020/lib/components/shared/select/select.component.mjs +3 -3
  19. package/esm2020/lib/components/upload-list/upload-list.component.mjs +3 -3
  20. package/esm2020/lib/directives/table/raw.directive.mjs +1 -1
  21. package/esm2020/lib/dto/config/image-cdn/image-cdn-config.dto.mjs +1 -1
  22. package/esm2020/lib/dto/config/img-manager.mjs +1 -1
  23. package/esm2020/lib/dto/img-manager.dto.mjs +1 -1
  24. package/esm2020/lib/dto/pexels-img.dto.mjs +1 -1
  25. package/esm2020/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +1 -1
  26. package/esm2020/lib/services/alert.service.mjs +1 -1
  27. package/esm2020/lib/services/api.service.mjs +1 -1
  28. package/esm2020/lib/services/canva.service.mjs +1 -1
  29. package/esm2020/lib/services/config/img-cdn.service.mjs +1 -1
  30. package/esm2020/lib/services/dom.service.mjs +1 -1
  31. package/esm2020/lib/services/icon.service.mjs +1 -1
  32. package/esm2020/lib/services/image-not-found.service.mjs +1 -1
  33. package/esm2020/lib/services/img-event.service.mjs +1 -1
  34. package/esm2020/lib/services/img-manager.service.mjs +1 -1
  35. package/esm2020/lib/services/img-selection.service.mjs +1 -1
  36. package/esm2020/lib/services/pexels.service.mjs +1 -1
  37. package/esm2020/lib/services/rename-picture.service.mjs +1 -1
  38. package/esm2020/lib/services/snackbar.service.mjs +1 -1
  39. package/esm2020/lib/services/table/filters-table.service.mjs +1 -1
  40. package/esm2020/lib/services/upload.service.mjs +1 -1
  41. package/esm2020/lib/services/user-settings.service.mjs +1 -1
  42. package/esm2020/lib/wz-img-manager.component.mjs +3 -3
  43. package/esm2020/lib/wz-img-manager.module.mjs +1 -1
  44. package/esm2020/public-api.mjs +1 -1
  45. package/fesm2015/wizishop-img-manager.mjs +31 -31
  46. package/fesm2015/wizishop-img-manager.mjs.map +1 -1
  47. package/fesm2020/wizishop-img-manager.mjs +31 -31
  48. package/fesm2020/wizishop-img-manager.mjs.map +1 -1
  49. package/package.json +2 -2
  50. package/wizishop-img-manager-15.2.56.tgz +0 -0
  51. package/wz-img-manager.scss +1965 -1965
  52. package/wizishop-img-manager-15.2.53.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;
@@ -248,349 +248,349 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
248
248
  }
249
249
  }
250
250
  }
251
-
252
-
253
-
254
- .wz-img-manager *:focus {
255
- outline: none;
256
- border-color: inherit;
257
- -webkit-box-shadow: none;
258
- box-shadow: none;
259
- }
260
-
261
- .wz-img-manager ::-webkit-input-placeholder {
262
- /* Chrome/Opera/Safari */
263
- color: $img-input-border;
264
- font-weight: bold;
265
- }
266
-
267
- .wz-img-manager ::-moz-placeholder {
268
- /* Firefox 19+ */
269
- color: $img-input-border;
270
- font-weight: bold;
271
- }
272
-
273
- .wz-img-manager :-ms-input-placeholder {
274
- /* IE 10+ */
275
- color: $img-input-border;
276
- font-weight: bold;
277
- }
278
-
279
- .wz-img-manager :-moz-placeholder {
280
- /* Firefox 18- */
281
- color: $img-input-border;
282
- font-weight: bold;
283
- }
284
-
285
- .wz-img-manager .wzImgMngInput {
286
- width: 100%;
287
- padding: 0.9rem;
288
- border: solid transparent 1px;
289
- background-color: transparent;
290
- cursor: pointer;
291
-
292
- &:active,
293
- &:focus {
294
- border: solid $img-main-color 1px;
295
- }
296
-
297
- &:hover {
298
- color: $img-main-color;
299
- }
300
-
301
- &.is-small {
302
- width: 150px;
303
-
304
- + span {
305
- color: $img-secondary-text;
306
- }
307
- }
308
- }
309
-
310
- .wz-img-manager .smallSpinner {
311
- transform: scale(0.7);
312
- }
313
-
314
- .wz-img-manager .dropdown-menu {
315
- padding-bottom: 30px;
316
- }
317
-
318
- .wz-img-manager .btnLoadingAnnimation {
319
- cursor: not-allowed;
320
- transition: 150ms width;
321
- width: 100%;
322
- height: 105%;
323
- position: absolute;
324
- left: -1px;
325
- top: -1px;
326
- background-color: white;
327
- opacity: 0.3;
328
- border-radius: 3px;
329
- z-index: 1;
330
- }
331
-
332
- .wz-img-manager .mainColor {
333
- color: $img-main-text;
334
- font-weight: 500;
335
- font-size: rem(14);
336
- line-height: rem(16);
337
- margin: 0 0 rem(20);
338
- }
339
-
340
- .wz-img-manager .smallScroll {
341
- max-height: calc(100vh - 336px)!important;
342
- min-height: 145px;
343
- }
344
-
345
- .wz-img-manager .canva .smallScroll {
346
- min-height: 238px;
347
- }
348
-
349
- .wz-img-manager .dropDownShadow {
350
- background-color: white;
351
- border-radius: 4px;
352
- box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
353
- }
354
-
355
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label::before,
356
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label:before {
357
- border-color: $img-main-color!important;
358
- }
359
-
360
- .wz-img-manager .is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after {
361
- border-color: $img-main-color;
362
- }
363
-
364
- .wz-img-manager__module__content .wrapper-tabs ul {
365
- @include media('<tablet') {
366
- max-width: 100%;
367
- overflow-x: scroll;
368
- }
369
- }
370
-
371
- .ovh-canva {
372
- overflow: hidden!important;
373
- max-height: 100vh!important;
374
- min-height: 100vh!important;
375
- height: 100vh!important;
376
-
377
- .wz-img-manager__module { // Canva z-index : 2147483640
378
- z-index: 2147483639!important;
379
- }
380
- }
381
-
382
- .nwb-alert .alert{
383
- z-index: 2147483647;
384
- }
385
-
386
- .wz-img-manager__module--edit {
387
- .wrapper-tabs {
388
- display: none;
389
- }
390
- }
391
-
392
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
393
- padding: 0;
394
- }
395
-
396
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
397
- padding-right: 20px;
398
- @include media('<tablet') {
399
- padding: 0;
400
- }
401
- }
402
-
403
- .tabs--notWindow ul {
404
- transform: translateY(5px);
405
- }
406
-
407
- .wz-img-manager__module .wz-block--window {
408
- overflow: visible;
409
- .img-editor__scroll {
410
- .ng-scroll-viewport {
411
- contain: unset;
412
- &-wrapper {
413
- overflow: visible;
414
- }
415
- }
416
- }
417
- .img-editor__infoSection {
418
- &__divider {
419
- &:not(:nth-child(5)) {
420
- display: none;
421
- }
422
- }
423
- &__actions {
424
- position: absolute;
425
- top: -86px;
426
- right: -36px;
427
- }
428
- }
429
- }
430
- .images-view__container__buttonBox {
431
- p {
432
- height: 42px;
433
- }
434
- transform: translateY(-2px) translateX(-40px);
435
- height: 42px;
436
- button {
437
- padding: 9.5px 17px !important;
438
- }
439
- }
440
-
441
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
442
- max-height: 100%;
443
- .images-view__container__buttonBox {
444
- transform: translateY(-2px) translateX(-60px);
445
- }
446
- }
447
- .img-editor__container__toolsContainer__tool {
448
- p {
449
- margin: 0 !important;
450
- }
451
- }
452
- .images-view__scroll {
453
- .ng-scroll-content {
454
- width: 100% !important;
455
- }
456
- }
457
- .wz-img-manager .img-editor__infoSection__propertyEditable__span {
458
- color: $wizishop-blue;
459
- & + i {
460
- color: $wizishop-blue;
461
- }
462
- }
463
-
464
- .wz-img-manager .small .wz-pagination__wrapper {
465
- margin: 0 0 rem(105);
466
- }
467
-
468
- .wz-block--window {
469
- .img-tabs__tabsThird {
470
- .ng-scroll-content {
471
- padding-right: 20px!important;
472
- }
473
- }
474
- }
475
-
476
- .wz-table__body + wz-pagination .wz-pagination {
477
- margin-top: 30px;
478
- }
479
-
480
- .wz-img-manager__module--full, .wz-img-manager__module--small {
481
- .mosaic {
482
- &__pagination {
483
- margin-bottom: 0;
484
- transform: translateX(-20px);
485
- @include media('<tablet') {
486
- transform: none;
487
- }
488
- }
489
- }
490
- }
491
-
492
- .wz-img-manager__module--full {
493
- .images-view__container__buttonBox {
494
- transform: translateX(-20px);
495
- > .mainColor {
496
- transform: translateX(20px);
497
- }
498
- }
499
- &.wz-img-manager__module--edit {
500
- .img-editor__container {
501
- align-items: flex-start;
502
- }
503
- .wz-img-manager__module__content, .img-tabs {
504
- position: absolute;
505
- width: 100%;
506
- height: 100%;
507
- }
508
- .img-tabs {
509
- display: flex;
510
- flex-direction: column;
511
- }
512
- .columns.img-tabs__tabsEdit.ng-star-inserted {
513
- position: absolute;
514
- width: 100%;
515
- height: 100%;
516
- margin: 0!important;
517
- left: -17px;
518
- }
519
- .img-editor {
520
- min-height: calc(100vh - 50px);
521
- }
522
- .ng-scroll-content {
523
- > .columns {
524
- margin: 0 5px;
525
- padding-left: 25px;
526
- min-height: calc(100vh - 50px);
527
- }
528
- }
529
- .img-editor__scroll--full {
530
- min-height: calc(100vh + -50px) !important;
531
- }
532
- }
533
- }
534
-
535
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
536
- .img-editor__container {
537
- transform: translateY(3px);
538
- }
539
- .img-editor__infoSection {
540
- &__propertyEditable {
541
- &:first-child {
542
- margin-top: 30px;
543
- }
544
- }
545
- &__actions {
546
- margin-top: 30px;
547
- > div {
548
- display: flex;
549
- }
550
- }
551
- }
552
- .mosaic__search, .wz-table {
553
- padding-right: 20px;
554
- }
555
- }
556
-
557
- .wz-img-manager__module--full {
558
- .wz-pagination__wrapper {
559
- margin-bottom: 40px;
560
- }
561
- }
562
-
563
- .fullSize .images-view__container:not(.images-view__container--window) .images-view__container__boxAction {
564
- margin-right: 33px;
565
- }
566
-
567
- .img-tabs__tabsFirst__list {
568
- .mosaic__container__cards {
569
- @include media('<tablet') {
570
- width: calc(100% - 10px) !important;
571
- transform: translateX(5px);
572
- & > * {
573
- width: calc(50% - 20px) !important;
574
- margin: 0 10px 20px !important;
575
- &:nth-child(1), &:nth-child(2) {
576
- display: block!important;
577
- }
578
- }
579
- }
580
- }
581
- }
582
-
583
- .ng-scrollbar-wrapper {
584
- @include media('<tablet') {
585
- --vertical-scrollbar-size: 0!important;
586
- }
587
- }
588
-
589
- .ng-scroll-viewport {
590
- @include media('<tablet') {
591
- overflow: scroll;
592
- }
593
- }
251
+
252
+
253
+
254
+ .wz-img-manager *:focus {
255
+ outline: none;
256
+ border-color: inherit;
257
+ -webkit-box-shadow: none;
258
+ box-shadow: none;
259
+ }
260
+
261
+ .wz-img-manager ::-webkit-input-placeholder {
262
+ /* Chrome/Opera/Safari */
263
+ color: $img-input-border;
264
+ font-weight: bold;
265
+ }
266
+
267
+ .wz-img-manager ::-moz-placeholder {
268
+ /* Firefox 19+ */
269
+ color: $img-input-border;
270
+ font-weight: bold;
271
+ }
272
+
273
+ .wz-img-manager :-ms-input-placeholder {
274
+ /* IE 10+ */
275
+ color: $img-input-border;
276
+ font-weight: bold;
277
+ }
278
+
279
+ .wz-img-manager :-moz-placeholder {
280
+ /* Firefox 18- */
281
+ color: $img-input-border;
282
+ font-weight: bold;
283
+ }
284
+
285
+ .wz-img-manager .wzImgMngInput {
286
+ width: 100%;
287
+ padding: 0.9rem;
288
+ border: solid transparent 1px;
289
+ background-color: transparent;
290
+ cursor: pointer;
291
+
292
+ &:active,
293
+ &:focus {
294
+ border: solid $img-main-color 1px;
295
+ }
296
+
297
+ &:hover {
298
+ color: $img-main-color;
299
+ }
300
+
301
+ &.is-small {
302
+ width: 150px;
303
+
304
+ + span {
305
+ color: $img-secondary-text;
306
+ }
307
+ }
308
+ }
309
+
310
+ .wz-img-manager .smallSpinner {
311
+ transform: scale(0.7);
312
+ }
313
+
314
+ .wz-img-manager .dropdown-menu {
315
+ padding-bottom: 30px;
316
+ }
317
+
318
+ .wz-img-manager .btnLoadingAnnimation {
319
+ cursor: not-allowed;
320
+ transition: 150ms width;
321
+ width: 100%;
322
+ height: 105%;
323
+ position: absolute;
324
+ left: -1px;
325
+ top: -1px;
326
+ background-color: white;
327
+ opacity: 0.3;
328
+ border-radius: 3px;
329
+ z-index: 1;
330
+ }
331
+
332
+ .wz-img-manager .mainColor {
333
+ color: $img-main-text;
334
+ font-weight: 500;
335
+ font-size: rem(14);
336
+ line-height: rem(16);
337
+ margin: 0 0 rem(20);
338
+ }
339
+
340
+ .wz-img-manager .smallScroll {
341
+ max-height: calc(100vh - 336px)!important;
342
+ min-height: 145px;
343
+ }
344
+
345
+ .wz-img-manager .canva .smallScroll {
346
+ min-height: 238px;
347
+ }
348
+
349
+ .wz-img-manager .dropDownShadow {
350
+ background-color: white;
351
+ border-radius: 4px;
352
+ box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
353
+ }
354
+
355
+ .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label::before,
356
+ .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label:before {
357
+ border-color: $img-main-color!important;
358
+ }
359
+
360
+ .wz-img-manager .is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after {
361
+ border-color: $img-main-color;
362
+ }
363
+
364
+ .wz-img-manager__module__content .wrapper-tabs ul {
365
+ @include media('<tablet') {
366
+ max-width: 100%;
367
+ overflow-x: scroll;
368
+ }
369
+ }
370
+
371
+ .ovh-canva {
372
+ overflow: hidden!important;
373
+ max-height: 100vh!important;
374
+ min-height: 100vh!important;
375
+ height: 100vh!important;
376
+
377
+ .wz-img-manager__module { // Canva z-index : 2147483640
378
+ z-index: 2147483639!important;
379
+ }
380
+ }
381
+
382
+ .nwb-alert .alert{
383
+ z-index: 2147483647;
384
+ }
385
+
386
+ .wz-img-manager__module--edit {
387
+ .wrapper-tabs {
388
+ display: none;
389
+ }
390
+ }
391
+
392
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
393
+ padding: 0;
394
+ }
395
+
396
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
397
+ padding-right: 20px;
398
+ @include media('<tablet') {
399
+ padding: 0;
400
+ }
401
+ }
402
+
403
+ .tabs--notWindow ul {
404
+ transform: translateY(5px);
405
+ }
406
+
407
+ .wz-img-manager__module .wz-block--window {
408
+ overflow: visible;
409
+ .img-editor__scroll {
410
+ .ng-scroll-viewport {
411
+ contain: unset;
412
+ &-wrapper {
413
+ overflow: visible;
414
+ }
415
+ }
416
+ }
417
+ .img-editor__infoSection {
418
+ &__divider {
419
+ &:not(:nth-child(5)) {
420
+ display: none;
421
+ }
422
+ }
423
+ &__actions {
424
+ position: absolute;
425
+ top: -86px;
426
+ right: -36px;
427
+ }
428
+ }
429
+ }
430
+ .images-view__container__buttonBox {
431
+ p {
432
+ height: 42px;
433
+ }
434
+ transform: translateY(-2px) translateX(-40px);
435
+ height: 42px;
436
+ button {
437
+ padding: 9.5px 17px !important;
438
+ }
439
+ }
440
+
441
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
442
+ max-height: 100%;
443
+ .images-view__container__buttonBox {
444
+ transform: translateY(-2px) translateX(-60px);
445
+ }
446
+ }
447
+ .img-editor__container__toolsContainer__tool {
448
+ p {
449
+ margin: 0 !important;
450
+ }
451
+ }
452
+ .images-view__scroll {
453
+ .ng-scroll-content {
454
+ width: 100% !important;
455
+ }
456
+ }
457
+ .wz-img-manager .img-editor__infoSection__propertyEditable__span {
458
+ color: $wizishop-blue;
459
+ & + i {
460
+ color: $wizishop-blue;
461
+ }
462
+ }
463
+
464
+ .wz-img-manager .small .wz-pagination__wrapper {
465
+ margin: 0 0 rem(105);
466
+ }
467
+
468
+ .wz-block--window {
469
+ .img-tabs__tabsThird {
470
+ .ng-scroll-content {
471
+ padding-right: 20px!important;
472
+ }
473
+ }
474
+ }
475
+
476
+ .wz-table__body + wz-pagination .wz-pagination {
477
+ margin-top: 30px;
478
+ }
479
+
480
+ .wz-img-manager__module--full, .wz-img-manager__module--small {
481
+ .mosaic {
482
+ &__pagination {
483
+ margin-bottom: 0;
484
+ transform: translateX(-20px);
485
+ @include media('<tablet') {
486
+ transform: none;
487
+ }
488
+ }
489
+ }
490
+ }
491
+
492
+ .wz-img-manager__module--full {
493
+ .images-view__container__buttonBox {
494
+ transform: translateX(-20px);
495
+ > .mainColor {
496
+ transform: translateX(20px);
497
+ }
498
+ }
499
+ &.wz-img-manager__module--edit {
500
+ .img-editor__container {
501
+ align-items: flex-start;
502
+ }
503
+ .wz-img-manager__module__content, .img-tabs {
504
+ position: absolute;
505
+ width: 100%;
506
+ height: 100%;
507
+ }
508
+ .img-tabs {
509
+ display: flex;
510
+ flex-direction: column;
511
+ }
512
+ .columns.img-tabs__tabsEdit.ng-star-inserted {
513
+ position: absolute;
514
+ width: 100%;
515
+ height: 100%;
516
+ margin: 0!important;
517
+ left: -17px;
518
+ }
519
+ .img-editor {
520
+ min-height: calc(100vh - 50px);
521
+ }
522
+ .ng-scroll-content {
523
+ > .columns {
524
+ margin: 0 5px;
525
+ padding-left: 25px;
526
+ min-height: calc(100vh - 50px);
527
+ }
528
+ }
529
+ .img-editor__scroll--full {
530
+ min-height: calc(100vh + -50px) !important;
531
+ }
532
+ }
533
+ }
534
+
535
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
536
+ .img-editor__container {
537
+ transform: translateY(3px);
538
+ }
539
+ .img-editor__infoSection {
540
+ &__propertyEditable {
541
+ &:first-child {
542
+ margin-top: 30px;
543
+ }
544
+ }
545
+ &__actions {
546
+ margin-top: 30px;
547
+ > div {
548
+ display: flex;
549
+ }
550
+ }
551
+ }
552
+ .mosaic__search, .wz-table {
553
+ padding-right: 20px;
554
+ }
555
+ }
556
+
557
+ .wz-img-manager__module--full {
558
+ .wz-pagination__wrapper {
559
+ margin-bottom: 40px;
560
+ }
561
+ }
562
+
563
+ .fullSize .images-view__container:not(.images-view__container--window) .images-view__container__boxAction {
564
+ margin-right: 33px;
565
+ }
566
+
567
+ .img-tabs__tabsFirst__list {
568
+ .mosaic__container__cards {
569
+ @include media('<tablet') {
570
+ width: calc(100% - 10px) !important;
571
+ transform: translateX(5px);
572
+ & > * {
573
+ width: calc(50% - 20px) !important;
574
+ margin: 0 10px 20px !important;
575
+ &:nth-child(1), &:nth-child(2) {
576
+ display: block!important;
577
+ }
578
+ }
579
+ }
580
+ }
581
+ }
582
+
583
+ .ng-scrollbar-wrapper {
584
+ @include media('<tablet') {
585
+ --vertical-scrollbar-size: 0!important;
586
+ }
587
+ }
588
+
589
+ .ng-scroll-viewport {
590
+ @include media('<tablet') {
591
+ overflow: scroll;
592
+ }
593
+ }
594
594
  .wz-img-manager {
595
595
 
596
596
  &__selectionHandler {
@@ -925,606 +925,606 @@ $tag-radius: rem(20px)!default;
925
925
  .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
926
926
  display: none;
927
927
  }
928
- .wz-img-manager .images-view {
929
- text-align: left;
928
+ .wz-img-manager .images-view {
929
+ text-align: left;
930
+
931
+ &.fullSize {
932
+ & + .images-view__scroll {
933
+ max-height: 830px!important;
934
+ }
935
+ }
936
+
937
+ &__scroll {
938
+ position: relative;
939
+ height: 100%;
940
+ z-index: 1;
941
+
942
+ &--full {
943
+ max-height: calc(100vh - 160px);
944
+ height: calc(100vh - 160px);
945
+ min-height: calc(100vh - 160px) ;
946
+ }
947
+
948
+ &--smallDisplay {
949
+ max-height: 275px!important;
950
+ height: 275px!important;
951
+ @include media('<tablet') {
952
+ max-height: calc(100vh - 90px)!important;
953
+ height: calc(100vh - 90px)!important;
954
+ min-height: calc(100vh - 90px) !important;
955
+ }
956
+ }
957
+
958
+ &--smallUploadDisplay {
959
+ max-height: 230px!important;
960
+ }
961
+
962
+ &--window {
963
+ max-height: unset!important;
964
+ }
965
+
966
+ &--hide {
967
+ &--mosaic {
968
+ min-height: 100px !important;
969
+ height: 0px;
970
+ }
971
+ &--table {
972
+ min-height: 170px !important;
973
+ height: 0px;
974
+ }
975
+ }
976
+
977
+ .ng-scroll-content {
978
+ min-width: calc(100% - 1rem) !important;
979
+ width: calc(100% - 1rem) !important;
980
+ @include media('<tablet') {
981
+ min-width: 100%!important;
982
+ }
983
+ }
984
+ }
985
+
986
+ &__container {
987
+ display: flex;
988
+ justify-content: space-between;
989
+ margin: 0 0 rem(20);
990
+
991
+ > div {
992
+ display: flex;
993
+ align-items: center;
994
+ .mainColor {
995
+ margin: 0;
996
+ }
997
+ }
998
+
999
+ &--window {
1000
+ margin: rem(30) 0 rem(20);
1001
+ }
1002
+
1003
+ &--uploadTab {
1004
+ margin: 0 0 rem(20);
1005
+ }
1006
+
1007
+ &__boxAction {
1008
+ width: 525px;
1009
+ overflow: visible;
1010
+ display: flex;
1011
+ position: relative;
1012
+ justify-content: flex-end;
1013
+ margin-right: 13px;
1014
+ height: 40px;
1015
+ align-items: center;
1016
+ transform: translate(-41px,-3px);
1017
+
1018
+ &__confirmSup {
1019
+ display: flex;
1020
+ justify-content: space-between;
1021
+ align-items: center;
1022
+ border-left: solid 1px #d8d8d8;
1023
+ color: $img-grey-color;
1024
+ padding-left: 1rem;
1025
+ width: 0;
1026
+ position: absolute;
1027
+ opacity: 0;
1028
+ transition: 0s;
1029
+ visibility: hidden;
1030
+ z-index: 2;
1031
+
1032
+ &--visible {
1033
+ max-width: unset;
1034
+ width: auto;
1035
+ opacity: 1;
1036
+ transition: 0s;
1037
+ visibility: visible;
1038
+
1039
+ p {
1040
+ transition: left .3s ease-in-out;
1041
+ right: 100%;
1042
+ left: auto;
1043
+ white-space: nowrap;
1044
+ margin-right: 30px;
1045
+ }
1046
+ }
1047
+
1048
+ &__cancel {
1049
+ margin-right: 14px;
1050
+ background-color: white;
1051
+ border-color: #dbdbdb;
1052
+ color: $img-main-text;
1053
+ }
1054
+
1055
+ &__text {
1056
+ font-size: 14px;
1057
+ position: absolute;
1058
+ left: -126%;
1059
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1060
+ }
1061
+ }
1062
+
1063
+ &__delBtn {
1064
+ i {
1065
+ margin-right: 13px!important;
1066
+ }
1067
+ }
1068
+
1069
+ &__import {
1070
+ margin-right: 13px;
1071
+ i {
1072
+ margin-right: 13px!important;
1073
+ }
1074
+ }
1075
+ }
1076
+
1077
+ &__buttonBox {
1078
+ margin: 0;
1079
+ width: rem(40);
1080
+ height: rem(40);
1081
+ border: solid $img-light-white-color;
1082
+ border-width: 1px 0 1px 1px;
1083
+
1084
+ border-radius: 3px 0 0 3px;
1085
+ outline: none!important;
1086
+
1087
+ > div {
1088
+ margin-top: 0;
1089
+ margin-bottom: 0;
1090
+ height: 40px;
1091
+ &:nth-child(2) {
1092
+ border: solid $img-light-white-color;
1093
+ border-width: 1px 1px 1px 0;
1094
+ transform: translateY(-1px);
1095
+ border-radius: 0 3px 3px 0;
1096
+ }
1097
+ div {
1098
+ height: 38px;
1099
+ margin: 0!important;
1100
+ }
1101
+ }
1102
+
1103
+ .actifDisplayed {
1104
+ color:$img-main-color;
1105
+ }
1106
+
1107
+ i {
1108
+ margin: 0;
1109
+ }
1110
+ }
1111
+
1112
+ &__cards {
1113
+ display: flex;
1114
+ justify-content: space-between;
1115
+ flex-wrap: wrap;
1116
+ align-items: center;
1117
+ padding-top: 30px;
1118
+ margin-right: calc(0.8rem - 20px);
1119
+ margin-left: 0.3rem;
1120
+ margin-bottom: 30px;
1121
+
1122
+ }
1123
+
1124
+ &__total {
1125
+ &--hide {
1126
+ visibility: hidden;
1127
+ }
1128
+ }
1129
+ }
1130
+
1131
+ &--pexels {
1132
+ margin-top: -30px;
1133
+ }
1134
+
1135
+ .subHeaderActions .button i {
1136
+ margin-right: 0;
1137
+ }
1138
+ }
1139
+
1140
+ @media screen and (max-width: 768px) {
1141
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1142
+ max-height: none!important;
1143
+ min-height: calc(100vh - 440px);
1144
+
1145
+ .ng-scroll-content {
1146
+ margin: 0 !important;
1147
+ min-width: 100%!important;
1148
+ width: 100%!important;
1149
+ }
1150
+ }
1151
+ }
1152
+ .wz-img-manager .img-editor {
1153
+ &__scroll {
1154
+ position: relative;
1155
+ height: 100%;
1156
+
1157
+ &--full {
1158
+ max-height: calc(100vh - 90px)!important;
1159
+ height: calc(100vh - 90px)!important;
1160
+ min-height: calc(100vh - 90px) !important;
1161
+ }
1162
+
1163
+ &--smallDisplay {
1164
+ max-height: 275px!important;
1165
+ height: 275px!important;
1166
+ @include media('<tablet') {
1167
+ max-height: calc(100vh - 90px)!important;
1168
+ height: calc(100vh - 90px)!important;
1169
+ min-height: calc(100vh - 90px) !important;
1170
+ }
1171
+ }
1172
+
1173
+ &--window {
1174
+ max-height: none;
1175
+ }
1176
+
1177
+ .ng-scroll-content {
1178
+ margin-left: 0 !important;
1179
+ margin-right: 0 !important;
1180
+ min-width: calc(100% - 1rem) !important;
1181
+ width: calc(100% - 1rem) !important;
1182
+ }
1183
+ }
1184
+
1185
+ .columns {
1186
+ margin-right: 0.8rem;
1187
+ margin-left: rem(12);
1188
+ margin-top: 12px;
1189
+ margin-bottom: 0;
1190
+ width: calc(100% + 11px);
1191
+
1192
+ .column {
1193
+ padding-top: 0;
1194
+ padding-bottom: 0px;
1195
+ }
1196
+ }
1197
+
1198
+ &__head-container {
1199
+ display: flex;
1200
+ justify-content: flex-end;
1201
+ align-items: center;
1202
+ margin: 30px 30px 20px 0;
1203
+
1204
+ &__btnGroup {
1205
+ margin-right: 13px;
1206
+ opacity: 0;
1207
+ visibility: hidden;
1208
+ transition: opacity .3s ease-in-out;
1209
+
1210
+ &__visible {
1211
+ opacity: 1;
1212
+ visibility: visible;
1213
+ }
1214
+
1215
+ &__removeBtn {
1216
+ margin-right: 13px;
1217
+ }
1218
+ }
1219
+
1220
+ &__close {
1221
+ cursor: pointer;
1222
+ font-size: 14px;
1223
+ color: $img-grey-color;
1224
+ line-height: 40px;
1225
+ }
1226
+ }
1227
+
1228
+ &__container {
1229
+ padding: 0.75rem!important;
1230
+ display:flex;
1231
+ justify-content: center;
1232
+ align-items: stretch;
1233
+ background-color: $img-gray-background;
1234
+ margin: 0;
1235
+ transform: translateY(-16px);
1236
+
1237
+ &__toolsContainer {
1238
+ display: flex;
1239
+ justify-content: center;
1240
+ align-items: center;
1241
+ margin-bottom: 50px;
1242
+
1243
+ &__tool {
1244
+ color: $img-second-color;
1245
+ margin-right: 30px;
1246
+ text-align: center;
1247
+ cursor: pointer;
1248
+
1249
+ p {
1250
+ margin: 0!important;
1251
+ color: $img-main-text;
1252
+ font-size: rem(12);
1253
+ line-height: rem(14);
1254
+ }
1255
+
1256
+ i {
1257
+ font-size: rem(18);
1258
+ margin: 0 0 10px;
1259
+ }
1260
+
1261
+ &--button {
1262
+ background-color: $img-green-color;
1263
+ color: $img-white!important;
1264
+ padding: 10px;
1265
+ border-radius: 3px;
1266
+ transition: .3s ease;
1267
+ white-space: nowrap;
1268
+ display: flex;
1269
+ justify-content: center;
1270
+ align-items: center;
1271
+ position: absolute;
1272
+ top: 80px;
1273
+ left: 50%;
1274
+ transform: translateX(-50%);
1275
+ height: 35px;
1276
+ margin: 0;
1277
+ &:hover, &:focus {
1278
+ background-color: darken($img-green-color, 15%);
1279
+ color: $img-white!important;
1280
+ }
1281
+ p {
1282
+ color: $white!important;
1283
+ }
1284
+ i {
1285
+ margin: 0 5px 0 0;
1286
+ }
1287
+ }
1288
+ &:hover {
1289
+ color: $img-main-color;
1290
+ }
1291
+
1292
+ > * {
1293
+ -webkit-touch-callout: none; /* iOS Safari */
1294
+ -webkit-user-select: none; /* Safari */
1295
+ -khtml-user-select: none; /* Konqueror HTML */
1296
+ -moz-user-select: none; /* Old versions of Firefox */
1297
+ -ms-user-select: none; /* Internet Explorer/Edge */
1298
+ user-select: none; /* Non-prefixed version, currently
1299
+ supported by Chrome, Edge, Opera and Firefox */
1300
+ }
1301
+ }
1302
+
1303
+ &__RotationDropdown {
1304
+ min-width: 16rem;
1305
+ }
1306
+ }
1307
+
1308
+ &__name {
1309
+ font-size: 16px;
1310
+ max-width: 50%;
1311
+ color: $img-grey-color;
1312
+ text-align: center;
1313
+ white-space: nowrap;
1314
+ overflow: hidden;
1315
+ text-overflow: ellipsis;
1316
+ }
1317
+
1318
+ .button {
1319
+ min-height: 35px;
1320
+ background-color: $img-primary-button;
1321
+ border-color: $img-primary-button-hover;
1322
+ color: #ffffff;
1323
+ }
1324
+ }
1325
+
1326
+ &__image-cropper {
1327
+ --cropper-overlay-color: #f5f8fa;
1328
+ //--cropper-outline-color: #a5a5a573;
1329
+ padding-bottom: 30px;
1330
+ }
1331
+
1332
+ &__infoSection {
1333
+ font-size: 14px;
1334
+ max-width: 360px;
1335
+ padding: 0;
1336
+ margin: 0 rem(30) 0 0;
1337
+
1338
+ &__propertyEditable {
1339
+ margin-bottom: 31px;
1340
+ p {
1341
+ margin-bottom: 12px;
1342
+ font-size: 14px;
1343
+ }
1344
+ input, button {
1345
+ width: 100%;
1346
+ height: 40px;
1347
+ border: 1px solid #DEE2ED;
1348
+ border-radius: 3px;
1349
+ color: $img-main-text;
1350
+ padding-left: 20px;
1351
+ padding-right: 20px;
1352
+ display: flex;
1353
+ justify-content: space-between;
1354
+ font-size: 14px;
1355
+
1356
+ &:hover {
1357
+ color: $img-main-color;
1358
+ border-color: $img-main-color;
1359
+ }
1360
+ }
1361
+
1362
+ button {
1363
+ align-items: center;
1364
+ background-color: transparent;
1365
+ cursor: pointer;
1366
+ }
1367
+
1368
+ &__span, &__input {
1369
+ text-overflow: ellipsis;
1370
+ overflow: hidden;
1371
+ white-space: nowrap;
1372
+ }
1373
+
1374
+ &__span {
1375
+ color: $img-bleu-color;
1376
+ & + i {
1377
+ color: $img-bleu-color;
1378
+ font-weight: 600;
1379
+ }
1380
+ }
1381
+
1382
+ &__tooltips {
1383
+ margin-left: 10px;
1384
+ }
1385
+ }
1386
+
1387
+ &__property {
1388
+ &:nth-child(3), &:nth-child(4) {
1389
+ margin: 0;
1390
+ }
1391
+ p {
1392
+ font-size: 14px;
1393
+ display: inline-block;
1394
+ }
1395
+
1396
+ .mainColor {
1397
+ margin: 0!important;
1398
+ }
1399
+
1400
+ p:last-child {
1401
+ margin: 0 0 0 10px;
1402
+ color: #526384;
1403
+ }
1404
+ }
1405
+
1406
+ &__titleSEO {
1407
+ margin: 0 0 20px;
1408
+
1409
+ .mainColor {
1410
+ font-size: rem(18);
1411
+ font-weight: 500;
1412
+ }
1413
+ }
1414
+
1415
+ &__propertySEO {
1416
+ margin-bottom: 12px;
1417
+ p {
1418
+ font-size: 14px;
1419
+ display: inline-block;
1420
+ margin: 0;
1421
+ }
1422
+
1423
+ .mainColor {
1424
+ & ~ p {
1425
+ margin-left: 10px;
1426
+ color: $img-green-color;
1427
+ }
1428
+ }
1429
+ }
1430
+
1431
+ &__divider {
1432
+ display: block;
1433
+ width: 100%;
1434
+ border-bottom: 2px dashed #EFF1F6;
1435
+ margin: 30px 0;
1436
+ }
1437
+
1438
+ &__actions {
1439
+ height: 35px;
1440
+ position: absolute!important;
1441
+ top: -68px!important;
1442
+ right: 109px!important;
1443
+ z-index: 99;
1444
+
1445
+ &__cancel {
1446
+ margin-right: 19px;
1447
+ background-color: white;
1448
+ border-color: #dbdbdb;
1449
+ color: $img-main-text;
1450
+ }
1451
+
1452
+ &__save {
1453
+ padding: 8px 18px;
1454
+ margin: 0!important;
1455
+ &--disable {
1456
+ cursor: not-allowed;
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+
1462
+ .dropdown-menu {
1463
+ left: -50%;
1464
+ }
1465
+ }
1466
+
1467
+ .wz-img-manager .marginBottom {
1468
+ margin-bottom: 20px;
1469
+ }
1470
+ // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1471
+ .wz-img-manager .img-selection {
1472
+ background-color: white;
1473
+ margin-left: 1.875rem;
1474
+ margin-right: 1.875rem;
1475
+ transition: height .3s ease;
1476
+ //height: 0;
1477
+ display: flex;
1478
+ align-items: center;
930
1479
 
931
- &.fullSize {
932
- & + .images-view__scroll {
933
- max-height: 830px!important;
934
- }
1480
+ &--visible {
1481
+ height: 250px;
1482
+ margin: 0 0 40px;
935
1483
  }
1484
+ }
936
1485
 
937
- &__scroll {
938
- position: relative;
939
- height: 100%;
940
- z-index: 1;
941
-
942
- &--full {
943
- max-height: calc(100vh - 160px);
944
- height: calc(100vh - 160px);
945
- min-height: calc(100vh - 160px) ;
946
- }
947
-
948
- &--smallDisplay {
949
- max-height: 275px!important;
950
- height: 275px!important;
951
- @include media('<tablet') {
952
- max-height: calc(100vh - 90px)!important;
953
- height: calc(100vh - 90px)!important;
954
- min-height: calc(100vh - 90px) !important;
955
- }
956
- }
957
-
958
- &--smallUploadDisplay {
959
- max-height: 230px!important;
960
- }
961
-
962
- &--window {
963
- max-height: unset!important;
964
- }
965
-
966
- &--hide {
967
- &--mosaic {
968
- min-height: 100px !important;
969
- height: 0px;
970
- }
971
- &--table {
972
- min-height: 170px !important;
973
- height: 0px;
974
- }
975
- }
1486
+ .drag__img {
1487
+ max-width: 100px;
1488
+ max-height: 100px;
1489
+ border: 1px solid #dce0e3;
1490
+ background-color: white;
1491
+ }
976
1492
 
977
- .ng-scroll-content {
978
- min-width: calc(100% - 1rem) !important;
979
- width: calc(100% - 1rem) !important;
980
- @include media('<tablet') {
981
- min-width: 100%!important;
982
- }
983
- }
1493
+ .img_box {
1494
+ overflow: hidden;
1495
+ &:hover, &:focus {
1496
+ .drag__tooltips {
1497
+ opacity: 1;
1498
+ visibility: visible;
1499
+ transform: translateY(100%);
1500
+ transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
984
1501
  }
985
-
986
- &__container {
987
- display: flex;
988
- justify-content: space-between;
989
- margin: 0 0 rem(20);
990
-
991
- > div {
992
- display: flex;
993
- align-items: center;
994
- .mainColor {
995
- margin: 0;
996
- }
997
- }
998
-
999
- &--window {
1000
- margin: rem(30) 0 rem(20);
1001
- }
1002
-
1003
- &--uploadTab {
1004
- margin: 0 0 rem(20);
1005
- }
1006
-
1007
- &__boxAction {
1008
- width: 525px;
1009
- overflow: visible;
1010
- display: flex;
1011
- position: relative;
1012
- justify-content: flex-end;
1013
- margin-right: 13px;
1014
- height: 40px;
1015
- align-items: center;
1016
- transform: translate(-41px,-3px);
1017
-
1018
- &__confirmSup {
1019
- display: flex;
1020
- justify-content: space-between;
1021
- align-items: center;
1022
- border-left: solid 1px #d8d8d8;
1023
- color: $img-grey-color;
1024
- padding-left: 1rem;
1025
- width: 0;
1026
- position: absolute;
1027
- opacity: 0;
1028
- transition: 0s;
1029
- visibility: hidden;
1030
- z-index: 2;
1031
-
1032
- &--visible {
1033
- max-width: unset;
1034
- width: auto;
1035
- opacity: 1;
1036
- transition: 0s;
1037
- visibility: visible;
1038
-
1039
- p {
1040
- transition: left .3s ease-in-out;
1041
- right: 100%;
1042
- left: auto;
1043
- white-space: nowrap;
1044
- margin-right: 30px;
1045
- }
1046
- }
1047
-
1048
- &__cancel {
1049
- margin-right: 14px;
1050
- background-color: white;
1051
- border-color: #dbdbdb;
1052
- color: $img-main-text;
1053
- }
1054
-
1055
- &__text {
1056
- font-size: 14px;
1057
- position: absolute;
1058
- left: -126%;
1059
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1060
- }
1061
- }
1062
-
1063
- &__delBtn {
1064
- i {
1065
- margin-right: 13px!important;
1066
- }
1067
- }
1068
-
1069
- &__import {
1070
- margin-right: 13px;
1071
- i {
1072
- margin-right: 13px!important;
1073
- }
1074
- }
1075
- }
1076
-
1077
- &__buttonBox {
1078
- margin: 0;
1079
- width: rem(40);
1080
- height: rem(40);
1081
- border: solid $img-light-white-color;
1082
- border-width: 1px 0 1px 1px;
1083
-
1084
- border-radius: 3px 0 0 3px;
1085
- outline: none!important;
1086
-
1087
- > div {
1088
- margin-top: 0;
1089
- margin-bottom: 0;
1090
- height: 40px;
1091
- &:nth-child(2) {
1092
- border: solid $img-light-white-color;
1093
- border-width: 1px 1px 1px 0;
1094
- transform: translateY(-1px);
1095
- border-radius: 0 3px 3px 0;
1096
- }
1097
- div {
1098
- height: 38px;
1099
- margin: 0!important;
1100
- }
1101
- }
1102
-
1103
- .actifDisplayed {
1104
- color:$img-main-color;
1105
- }
1106
-
1107
- i {
1108
- margin: 0;
1109
- }
1110
- }
1111
-
1112
- &__cards {
1113
- display: flex;
1114
- justify-content: space-between;
1115
- flex-wrap: wrap;
1116
- align-items: center;
1117
- padding-top: 30px;
1118
- margin-right: calc(0.8rem - 20px);
1119
- margin-left: 0.3rem;
1120
- margin-bottom: 30px;
1121
-
1122
- }
1123
-
1124
- &__total {
1125
- &--hide {
1126
- visibility: hidden;
1127
- }
1128
- }
1129
- }
1130
-
1131
- &--pexels {
1132
- margin-top: -30px;
1133
- }
1134
-
1135
- .subHeaderActions .button i {
1136
- margin-right: 0;
1137
- }
1138
- }
1139
-
1140
- @media screen and (max-width: 768px) {
1141
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1142
- max-height: none!important;
1143
- min-height: calc(100vh - 440px);
1144
-
1145
- .ng-scroll-content {
1146
- margin: 0 !important;
1147
- min-width: 100%!important;
1148
- width: 100%!important;
1149
- }
1150
- }
1151
- }
1152
- .wz-img-manager .img-editor {
1153
- &__scroll {
1154
- position: relative;
1155
- height: 100%;
1156
-
1157
- &--full {
1158
- max-height: calc(100vh - 90px)!important;
1159
- height: calc(100vh - 90px)!important;
1160
- min-height: calc(100vh - 90px) !important;
1161
- }
1162
-
1163
- &--smallDisplay {
1164
- max-height: 275px!important;
1165
- height: 275px!important;
1166
- @include media('<tablet') {
1167
- max-height: calc(100vh - 90px)!important;
1168
- height: calc(100vh - 90px)!important;
1169
- min-height: calc(100vh - 90px) !important;
1170
- }
1171
- }
1172
-
1173
- &--window {
1174
- max-height: none;
1175
- }
1176
-
1177
- .ng-scroll-content {
1178
- margin-left: 0 !important;
1179
- margin-right: 0 !important;
1180
- min-width: calc(100% - 1rem) !important;
1181
- width: calc(100% - 1rem) !important;
1182
- }
1183
- }
1184
-
1185
- .columns {
1186
- margin-right: 0.8rem;
1187
- margin-left: rem(12);
1188
- margin-top: 12px;
1189
- margin-bottom: 0;
1190
- width: calc(100% + 11px);
1191
-
1192
- .column {
1193
- padding-top: 0;
1194
- padding-bottom: 0px;
1195
- }
1196
- }
1197
-
1198
- &__head-container {
1199
- display: flex;
1200
- justify-content: flex-end;
1201
- align-items: center;
1202
- margin: 30px 30px 20px 0;
1203
-
1204
- &__btnGroup {
1205
- margin-right: 13px;
1206
- opacity: 0;
1207
- visibility: hidden;
1208
- transition: opacity .3s ease-in-out;
1209
-
1210
- &__visible {
1211
- opacity: 1;
1212
- visibility: visible;
1213
- }
1214
-
1215
- &__removeBtn {
1216
- margin-right: 13px;
1217
- }
1218
- }
1219
-
1220
- &__close {
1221
- cursor: pointer;
1222
- font-size: 14px;
1223
- color: $img-grey-color;
1224
- line-height: 40px;
1225
- }
1226
- }
1227
-
1228
- &__container {
1229
- padding: 0.75rem!important;
1230
- display:flex;
1231
- justify-content: center;
1232
- align-items: stretch;
1233
- background-color: $img-gray-background;
1234
- margin: 0;
1235
- transform: translateY(-16px);
1236
-
1237
- &__toolsContainer {
1238
- display: flex;
1239
- justify-content: center;
1240
- align-items: center;
1241
- margin-bottom: 50px;
1242
-
1243
- &__tool {
1244
- color: $img-second-color;
1245
- margin-right: 30px;
1246
- text-align: center;
1247
- cursor: pointer;
1248
-
1249
- p {
1250
- margin: 0!important;
1251
- color: $img-main-text;
1252
- font-size: rem(12);
1253
- line-height: rem(14);
1254
- }
1255
-
1256
- i {
1257
- font-size: rem(18);
1258
- margin: 0 0 10px;
1259
- }
1260
-
1261
- &--button {
1262
- background-color: $img-green-color;
1263
- color: $img-white!important;
1264
- padding: 10px;
1265
- border-radius: 3px;
1266
- transition: .3s ease;
1267
- white-space: nowrap;
1268
- display: flex;
1269
- justify-content: center;
1270
- align-items: center;
1271
- position: absolute;
1272
- top: 80px;
1273
- left: 50%;
1274
- transform: translateX(-50%);
1275
- height: 35px;
1276
- margin: 0;
1277
- &:hover, &:focus {
1278
- background-color: darken($img-green-color, 15%);
1279
- color: $img-white!important;
1280
- }
1281
- p {
1282
- color: $white!important;
1283
- }
1284
- i {
1285
- margin: 0 5px 0 0;
1286
- }
1287
- }
1288
- &:hover {
1289
- color: $img-main-color;
1290
- }
1291
-
1292
- > * {
1293
- -webkit-touch-callout: none; /* iOS Safari */
1294
- -webkit-user-select: none; /* Safari */
1295
- -khtml-user-select: none; /* Konqueror HTML */
1296
- -moz-user-select: none; /* Old versions of Firefox */
1297
- -ms-user-select: none; /* Internet Explorer/Edge */
1298
- user-select: none; /* Non-prefixed version, currently
1299
- supported by Chrome, Edge, Opera and Firefox */
1300
- }
1301
- }
1302
-
1303
- &__RotationDropdown {
1304
- min-width: 16rem;
1305
- }
1306
- }
1307
-
1308
- &__name {
1309
- font-size: 16px;
1310
- max-width: 50%;
1311
- color: $img-grey-color;
1312
- text-align: center;
1313
- white-space: nowrap;
1314
- overflow: hidden;
1315
- text-overflow: ellipsis;
1316
- }
1317
-
1318
- .button {
1319
- min-height: 35px;
1320
- background-color: $img-primary-button;
1321
- border-color: $img-primary-button-hover;
1322
- color: #ffffff;
1323
- }
1324
- }
1325
-
1326
- &__image-cropper {
1327
- --cropper-overlay-color: #f5f8fa;
1328
- //--cropper-outline-color: #a5a5a573;
1329
- padding-bottom: 30px;
1330
- }
1331
-
1332
- &__infoSection {
1333
- font-size: 14px;
1334
- max-width: 360px;
1335
- padding: 0;
1336
- margin: 0 rem(30) 0 0;
1337
-
1338
- &__propertyEditable {
1339
- margin-bottom: 31px;
1340
- p {
1341
- margin-bottom: 12px;
1342
- font-size: 14px;
1343
- }
1344
- input, button {
1345
- width: 100%;
1346
- height: 40px;
1347
- border: 1px solid #DEE2ED;
1348
- border-radius: 3px;
1349
- color: $img-main-text;
1350
- padding-left: 20px;
1351
- padding-right: 20px;
1352
- display: flex;
1353
- justify-content: space-between;
1354
- font-size: 14px;
1355
-
1356
- &:hover {
1357
- color: $img-main-color;
1358
- border-color: $img-main-color;
1359
- }
1360
- }
1361
-
1362
- button {
1363
- align-items: center;
1364
- background-color: transparent;
1365
- cursor: pointer;
1366
- }
1367
-
1368
- &__span, &__input {
1369
- text-overflow: ellipsis;
1370
- overflow: hidden;
1371
- white-space: nowrap;
1372
- }
1373
-
1374
- &__span {
1375
- color: $img-bleu-color;
1376
- & + i {
1377
- color: $img-bleu-color;
1378
- font-weight: 600;
1379
- }
1380
- }
1381
-
1382
- &__tooltips {
1383
- margin-left: 10px;
1384
- }
1385
- }
1386
-
1387
- &__property {
1388
- &:nth-child(3), &:nth-child(4) {
1389
- margin: 0;
1390
- }
1391
- p {
1392
- font-size: 14px;
1393
- display: inline-block;
1394
- }
1395
-
1396
- .mainColor {
1397
- margin: 0!important;
1398
- }
1399
-
1400
- p:last-child {
1401
- margin: 0 0 0 10px;
1402
- color: #526384;
1403
- }
1404
- }
1405
-
1406
- &__titleSEO {
1407
- margin: 0 0 20px;
1408
-
1409
- .mainColor {
1410
- font-size: rem(18);
1411
- font-weight: 500;
1412
- }
1413
- }
1414
-
1415
- &__propertySEO {
1416
- margin-bottom: 12px;
1417
- p {
1418
- font-size: 14px;
1419
- display: inline-block;
1420
- margin: 0;
1421
- }
1422
-
1423
- .mainColor {
1424
- & ~ p {
1425
- margin-left: 10px;
1426
- color: $img-green-color;
1427
- }
1428
- }
1429
- }
1430
-
1431
- &__divider {
1432
- display: block;
1433
- width: 100%;
1434
- border-bottom: 2px dashed #EFF1F6;
1435
- margin: 30px 0;
1436
- }
1437
-
1438
- &__actions {
1439
- height: 35px;
1440
- position: absolute!important;
1441
- top: -68px!important;
1442
- right: 109px!important;
1443
- z-index: 99;
1444
-
1445
- &__cancel {
1446
- margin-right: 19px;
1447
- background-color: white;
1448
- border-color: #dbdbdb;
1449
- color: $img-main-text;
1450
- }
1451
-
1452
- &__save {
1453
- padding: 8px 18px;
1454
- margin: 0!important;
1455
- &--disable {
1456
- cursor: not-allowed;
1457
- }
1458
- }
1459
- }
1460
- }
1461
-
1462
- .dropdown-menu {
1463
- left: -50%;
1464
- }
1465
- }
1466
-
1467
- .wz-img-manager .marginBottom {
1468
- margin-bottom: 20px;
1469
- }
1470
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1471
- .wz-img-manager .img-selection {
1472
- background-color: white;
1473
- margin-left: 1.875rem;
1474
- margin-right: 1.875rem;
1475
- transition: height .3s ease;
1476
- //height: 0;
1477
- display: flex;
1478
- align-items: center;
1479
-
1480
- &--visible {
1481
- height: 250px;
1482
- margin: 0 0 40px;
1483
- }
1484
- }
1485
-
1486
- .drag__img {
1487
- max-width: 100px;
1488
- max-height: 100px;
1489
- border: 1px solid #dce0e3;
1490
- background-color: white;
1491
- }
1492
-
1493
- .img_box {
1494
- overflow: hidden;
1495
- &:hover, &:focus {
1496
- .drag__tooltips {
1497
- opacity: 1;
1498
- visibility: visible;
1499
- transform: translateY(100%);
1500
- transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1501
- }
1502
- }
1503
- .delete-btn {
1504
- position: absolute;
1505
- top: 100%;
1506
- left: 50%;
1507
- transform: translateX(-50%) translateY(100%);
1508
- opacity: 0;
1509
- visibility: hidden;
1510
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1511
- background-color: $img-red-color;
1512
- color: $white;
1513
- font-size: rem(13);
1514
- height: rem(30);
1515
- padding: 0 15px;
1516
- line-height: rem(30);
1517
- border-radius: 3px;
1518
- font-weight: 600;
1519
- }
1520
- &:hover, &:focus {
1521
- .delete-btn {
1522
- opacity: 1;
1523
- visibility: visible;
1524
- transform: translateX(-50%) translateY(-40px);
1525
- transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1526
- &:hover, &:focus {
1527
- background-color: darken($img-red-color, 15%);
1502
+ }
1503
+ .delete-btn {
1504
+ position: absolute;
1505
+ top: 100%;
1506
+ left: 50%;
1507
+ transform: translateX(-50%) translateY(100%);
1508
+ opacity: 0;
1509
+ visibility: hidden;
1510
+ transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1511
+ background-color: $img-red-color;
1512
+ color: $white;
1513
+ font-size: rem(13);
1514
+ height: rem(30);
1515
+ padding: 0 15px;
1516
+ line-height: rem(30);
1517
+ border-radius: 3px;
1518
+ font-weight: 600;
1519
+ }
1520
+ &:hover, &:focus {
1521
+ .delete-btn {
1522
+ opacity: 1;
1523
+ visibility: visible;
1524
+ transform: translateX(-50%) translateY(-40px);
1525
+ transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1526
+ &:hover, &:focus {
1527
+ background-color: darken($img-red-color, 15%);
1528
1528
  }
1529
1529
  }
1530
1530
  }
@@ -1624,166 +1624,166 @@ $tag-radius: rem(20px)!default;
1624
1624
  .trash {
1625
1625
  display: none!important;
1626
1626
  }
1627
- //.wz-img-manager useful to keep the css priority
1628
- .wz-img-manager .img-tabs {
1629
- background-color: white;
1630
- padding-left: 0;
1631
- padding-right: 0;
1632
- padding-top: 0;
1633
-
1634
- .tabs {
1635
- margin: 0;
1636
- display: flex;
1637
- align-items: center;
1638
- overflow: visible!important;
1639
-
1640
- &--notWindow {
1641
- padding: rem(20) rem(30) rem(20);
1642
- margin-left: -1.075rem;
1643
- margin-right: -0.575rem;
1644
- margin-bottom: 0;
1645
- }
1646
-
1647
- ul {
1648
- width: auto;
1649
- border: none;
1650
- li {
1651
- a {
1652
- padding: 0 0 rem(10);
1653
- margin: 0 rem(30) 0 0;
1654
- position: relative;
1655
- line-height: rem(16);
1656
- border: none;
1657
- color: $secondary-color;
1658
- transition: color .3s ease;
1659
- font-size: rem(14);
1660
- font-weight: 400;
1661
- }
1662
- &.is-active {
1663
- a {
1664
- color: $main-text;
1665
- &:after {
1666
- content: '';
1667
- display: block;
1668
- position: absolute;
1669
- width: 100%;
1670
- height: 2px;
1671
- background-color: $img-main-color;
1672
- bottom: 0;
1673
- left: 0;
1674
- }
1675
- }
1676
- }
1677
- }
1678
- }
1679
- }
1680
-
1681
- &__canva {
1682
- margin: 0 0 0 rem(30);
1683
- @include media('<tablet') {
1684
- display: none;
1685
- }
1686
- }
1687
-
1688
- &__tabsEdit {
1689
- margin-top: 30px!important;
1690
- > .column {
1691
- padding: 0!important;
1692
- }
1693
- }
1694
-
1695
- &__tabsFirst {
1696
- height: 100vh;
1697
-
1698
- &--window {
1699
- height: auto;
1700
- display: flex;
1701
- justify-content: flex-start;
1702
- }
1703
-
1704
- &__upload {
1705
- margin: rem(28) 0 0 0;
1706
- padding: 0;
1707
- max-width: 33.3%;
1708
- @include media('<tablet') {
1709
- max-width: 100%;
1710
- margin: 0;
1711
- }
1712
- }
1713
-
1714
- &__list {
1715
- padding: 0;
1716
- margin: rem(28) 0 0 rem(60);
1717
- &--upload {
1718
- margin: rem(28) 0 0 rem(48);
1719
- }
1720
- //height: calc(100vh - 70px);
1721
- //height: 100vh;
1722
- @include media('<tablet') {
1723
- width: 100%;
1724
- margin: 40px 0 0 0;
1725
- }
1726
- }
1727
- }
1728
-
1729
- @media screen and (max-width: 768px) {
1730
- .img-tabs__tabsFirst__upload {
1731
- margin-right: 0;
1732
- margin-bottom: 0;
1733
- margin-top: 20px!important;
1734
- }
1735
- }
1736
-
1737
- &__tabsSecond {
1738
- min-height: 100vh !important;
1739
- margin-left: 0px;
1740
- margin-right: 0px;
1741
- margin-bottom: 0px;
1742
-
1743
- .column {
1744
- padding: 0.75rem 0 0.75rem 0;
1745
- }
1746
- }
1747
-
1748
- &__tabsThird {
1749
- min-height: 100vh !important;
1750
- margin-left: 0px;
1751
- margin-right: 0px;
1752
- margin-bottom: 0px;
1753
-
1754
- .column {
1755
- padding: 0.75rem 0 0.75rem 0;
1756
- }
1757
- }
1758
- }
1759
-
1760
- @media screen and (max-width: 768px) {
1761
- .img-tabs__tabsFirst {
1762
- margin-top: 0;
1763
- }
1764
-
1765
- .img-tabs__tabsFirst--small {
1766
- height: 270px;
1767
- }
1768
- }
1769
-
1770
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1771
- margin: 0;
1772
- }
1773
-
1774
- .wrapper-tabs {
1775
- .tabs {
1776
- @include media('<tablet') {
1777
- display: none!important;
1778
- }
1779
- }
1780
- .select-mobile-page {
1781
- @include media('>=tablet') {
1782
- display: none;
1783
- }
1784
- padding: 20px 0;
1785
- }
1786
- }
1627
+ //.wz-img-manager useful to keep the css priority
1628
+ .wz-img-manager .img-tabs {
1629
+ background-color: white;
1630
+ padding-left: 0;
1631
+ padding-right: 0;
1632
+ padding-top: 0;
1633
+
1634
+ .tabs {
1635
+ margin: 0;
1636
+ display: flex;
1637
+ align-items: center;
1638
+ overflow: visible!important;
1639
+
1640
+ &--notWindow {
1641
+ padding: rem(20) rem(30) rem(20);
1642
+ margin-left: -1.075rem;
1643
+ margin-right: -0.575rem;
1644
+ margin-bottom: 0;
1645
+ }
1646
+
1647
+ ul {
1648
+ width: auto;
1649
+ border: none;
1650
+ li {
1651
+ a {
1652
+ padding: 0 0 rem(10);
1653
+ margin: 0 rem(30) 0 0;
1654
+ position: relative;
1655
+ line-height: rem(16);
1656
+ border: none;
1657
+ color: $secondary-color;
1658
+ transition: color .3s ease;
1659
+ font-size: rem(14);
1660
+ font-weight: 400;
1661
+ }
1662
+ &.is-active {
1663
+ a {
1664
+ color: $main-text;
1665
+ &:after {
1666
+ content: '';
1667
+ display: block;
1668
+ position: absolute;
1669
+ width: 100%;
1670
+ height: 2px;
1671
+ background-color: $img-main-color;
1672
+ bottom: 0;
1673
+ left: 0;
1674
+ }
1675
+ }
1676
+ }
1677
+ }
1678
+ }
1679
+ }
1680
+
1681
+ &__canva {
1682
+ margin: 0 0 0 rem(30);
1683
+ @include media('<tablet') {
1684
+ display: none;
1685
+ }
1686
+ }
1687
+
1688
+ &__tabsEdit {
1689
+ margin-top: 30px!important;
1690
+ > .column {
1691
+ padding: 0!important;
1692
+ }
1693
+ }
1694
+
1695
+ &__tabsFirst {
1696
+ height: 100vh;
1697
+
1698
+ &--window {
1699
+ height: auto;
1700
+ display: flex;
1701
+ justify-content: flex-start;
1702
+ }
1703
+
1704
+ &__upload {
1705
+ margin: rem(28) 0 0 0;
1706
+ padding: 0;
1707
+ max-width: 33.3%;
1708
+ @include media('<tablet') {
1709
+ max-width: 100%;
1710
+ margin: 0;
1711
+ }
1712
+ }
1713
+
1714
+ &__list {
1715
+ padding: 0;
1716
+ margin: rem(28) 0 0 rem(60);
1717
+ &--upload {
1718
+ margin: rem(28) 0 0 rem(48);
1719
+ }
1720
+ //height: calc(100vh - 70px);
1721
+ //height: 100vh;
1722
+ @include media('<tablet') {
1723
+ width: 100%;
1724
+ margin: 40px 0 0 0;
1725
+ }
1726
+ }
1727
+ }
1728
+
1729
+ @media screen and (max-width: 768px) {
1730
+ .img-tabs__tabsFirst__upload {
1731
+ margin-right: 0;
1732
+ margin-bottom: 0;
1733
+ margin-top: 20px!important;
1734
+ }
1735
+ }
1736
+
1737
+ &__tabsSecond {
1738
+ min-height: 100vh !important;
1739
+ margin-left: 0px;
1740
+ margin-right: 0px;
1741
+ margin-bottom: 0px;
1742
+
1743
+ .column {
1744
+ padding: 0.75rem 0 0.75rem 0;
1745
+ }
1746
+ }
1747
+
1748
+ &__tabsThird {
1749
+ min-height: 100vh !important;
1750
+ margin-left: 0px;
1751
+ margin-right: 0px;
1752
+ margin-bottom: 0px;
1753
+
1754
+ .column {
1755
+ padding: 0.75rem 0 0.75rem 0;
1756
+ }
1757
+ }
1758
+ }
1759
+
1760
+ @media screen and (max-width: 768px) {
1761
+ .img-tabs__tabsFirst {
1762
+ margin-top: 0;
1763
+ }
1764
+
1765
+ .img-tabs__tabsFirst--small {
1766
+ height: 270px;
1767
+ }
1768
+ }
1769
+
1770
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1771
+ margin: 0;
1772
+ }
1773
+
1774
+ .wrapper-tabs {
1775
+ .tabs {
1776
+ @include media('<tablet') {
1777
+ display: none!important;
1778
+ }
1779
+ }
1780
+ .select-mobile-page {
1781
+ @include media('>=tablet') {
1782
+ display: none;
1783
+ }
1784
+ padding: 20px 0;
1785
+ }
1786
+ }
1787
1787
  .img-upload {
1788
1788
  position: relative;
1789
1789
  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");
@@ -1909,440 +1909,440 @@ $tag-radius: rem(20px)!default;
1909
1909
  0% {
1910
1910
  transform: rotate(0deg);
1911
1911
  }
1912
- 50% {
1913
- transform: rotate(180deg);
1914
- }
1915
- 100% {
1916
- transform: rotate(360deg);
1917
- }
1918
- }
1919
-
1920
- @keyframes rotate2 {
1921
- 0% {
1922
- transform: rotate(0deg);
1923
- border-top-color: $img-color-loader;
1924
- }
1925
- 50% {
1926
- transform: rotate(180deg);
1927
- border-top-color: $img-color-loader2;
1928
- }
1929
- 100% {
1930
- transform: rotate(360deg);
1931
- border-top-color: $img-color-loader;
1932
- }
1933
- }
1934
-
1935
- @mixin loaderDivMixin {
1936
- border-radius: 50%;
1937
- padding: rem(8);
1938
- border: rem(2) solid transparent;
1939
- animation: rotate linear 3.5s infinite;
1940
- }
1941
-
1942
- .loader {
1943
- position: relative;
1944
- margin: rem(75) auto;
1945
- width: rem(150);
1946
- height: rem(150);
1947
- display: block;
1948
- overflow: hidden;
1949
- div {
1950
- height: 100%;
1951
- }
1952
- }
1953
-
1954
- /* loader 1 */
1955
- .loader1,
1956
- .loader1 div {
1957
- @include loaderDivMixin;
1958
- border-top-color: $img-color-loader;
1959
- border-bottom-color: $img-color-loader2;
1960
- }
1961
-
1962
- div:hover {
1963
- animation-play-state: paused;
1964
- }
1965
-
1966
- .loader,
1967
- .loader * {
1968
- will-change: transform;
1969
- }
1970
-
1971
- p {
1972
- margin-top: -50px;
1973
- font-weight: 500;
1974
- }
1975
- }
1976
- // .pexels-lib
1977
- //.wz-img-manager useful to keep the css priority
1978
- .wz-img-manager .pexels-lib {
1979
- width: 100%;
1980
- height: 100%;
1981
- max-height: 100%;
1982
- position: relative;
1983
-
1984
- &__scroll {
1985
- position: relative;
1986
- max-height: calc(100vh - 50px);
1987
- height: calc(100vh - 160px);
1988
-
1989
- &--smallDisplay {
1990
- max-height: 275px!important;
1991
- @include media('<tablet') {
1992
- max-height: calc(100vh - 90px)!important;
1993
- min-height: calc(100vh - 90px) !important;
1994
- }
1995
- }
1996
-
1997
- &--noResult {
1998
- max-height: 100px!important;
1999
- }
2000
-
2001
- &--hide {
2002
- display: none;
2003
- }
2004
- }
2005
-
2006
- &__search {
2007
- margin: 30px 0;
2008
-
2009
- &--smallDisplay {
2010
- margin-top: 10px;
2011
- }
2012
-
2013
- @include media('<tablet') {
2014
- wz-input-search {
2015
- display: block;
2016
- width: 100%;
2017
- max-width: 100%;
2018
- padding-right: 6px;
2019
- }
2020
- }
2021
- }
2022
-
2023
- // .pexels-lib__wrapper
2024
- &__wrapper {
2025
- margin: 30px 0;
2026
-
2027
- // .pexels-lib__wrapper__result
2028
- &__result {
2029
- width: calc(100% + 10px);
2030
- display: flex;
2031
- flex-direction: row;
2032
- justify-content: space-between;
2033
- margin-left: -5px;
2034
-
2035
- @include media('<tablet') {
2036
- flex-wrap: wrap;
2037
- }
2038
-
2039
- // .pexels-lib__wrapper__result__column
2040
- &__column {
2041
- flex: 1;
2042
- margin: 0 5px;
2043
-
2044
- @include media('<tablet') {
2045
- width: calc(50% - 10px);
2046
- flex: unset;
2047
- }
2048
-
2049
- // .pexels-lib__wrapper__result__column__element
2050
- &__element {
2051
- display: flex;
2052
- position: relative;
2053
-
2054
- // .pexels-lib__wrapper__result__column__element:hover
2055
- &:hover {
2056
- // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2057
- .pexels-lib__wrapper__result__column__element__wrapper {
2058
- opacity: 1;
2059
- transition: opacity .3s ease-in-out;
2060
- }
2061
- }
2062
-
2063
- // .pexels-lib__wrapper__result__column__element:not(:last-child)
2064
- &:not(:last-child) {
2065
- margin-bottom: 10px;
2066
- }
2067
-
2068
- // .pexels-lib__wrapper__result__column__element__img
2069
- &__img {
2070
- width: 100%;
2071
- min-height: auto;
2072
- max-height: 10000px;
2073
- height: auto;
2074
- }
2075
-
2076
- // .pexels-lib__wrapper__result__column__element__wrapper
2077
- &__wrapper {
2078
- position: absolute;
2079
- display: flex;
2080
- justify-content: space-between;
2081
- width: calc(100% - 10px);
2082
- bottom: 5px;
2083
- left: 5px;
2084
- opacity: 0;
2085
- transition: opacity .3s ease-in-out;
2086
- align-items: flex-end;
2087
-
2088
- // .pexels-lib__wrapper__result__column__element__wrapper__infos
2089
- &__infos {
2090
- font-size: 11px;
2091
- color: white;
2092
- border-radius: 3px;
2093
- padding: 5px 10px;
2094
- background-color: rgba(0, 0, 0, .7);
2095
- }
2096
-
2097
- // .pexels-lib__wrapper__result__column__element__wrapper__button
2098
- &__button {
2099
- 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;
2100
- border: none;
2101
- color: white;
2102
- padding: 5px 10px 5px 25px;
2103
- border-radius: 3px;
2104
- background-size: 11px 14px;
2105
- font-size: 11px;
2106
- cursor: pointer;
2107
- transition: background-color .3s ease-in-out;
2108
-
2109
- &:hover {
2110
- transition: background-color .3s ease-in-out;
2111
- background-color: darken($img-green-color, 10%);
2112
- }
2113
-
2114
- &__div {
2115
- display: flex;
2116
- justify-content: space-between;
2117
- align-items: center;
2118
- }
2119
-
2120
- &__spinner {
2121
- display: inline-block;
2122
- > * {
2123
- margin-top: 10px;
2124
- margin-right: 5px;
2125
- }
2126
-
2127
- }
2128
- }
2129
-
2130
- &__dropdown {
2131
- .dropdown-content {
2132
- padding: 3px 0;
2133
-
2134
- .dropdown-item {
2135
- display: flex;
2136
- justify-content: space-between;
2137
- align-items: center;
2138
-
2139
- p {
2140
- margin-top: 0;
2141
- margin-bottom: 0;
2142
- }
2143
-
2144
- .iPortrait, .iLandscape {
2145
- visibility: hidden;
2146
- }
2147
-
2148
- &:hover {
2149
- i {
2150
- visibility: unset;
2151
- }
2152
- }
2153
- }
2154
- }
2155
-
2156
- .dropdown-content__wrapper:hover {
2157
- .iOriginal {
2158
- visibility: hidden;
2159
- }
2160
- }
2161
-
2162
- }
2163
- }
2164
- }
2165
- }
2166
-
2167
- // .pexels-lib__wrapper__result-nb
2168
- &-nb {
2169
- font-size: 14px;
2170
- margin-top: 30px;
2171
- margin-bottom: 15px;
2172
- font-weight: 600;
2173
- line-height: 40px;
2174
- @include media('<tablet') {
2175
- margin: 20px auto;
2176
- }
2177
- }
1912
+ 50% {
1913
+ transform: rotate(180deg);
1914
+ }
1915
+ 100% {
1916
+ transform: rotate(360deg);
2178
1917
  }
2179
1918
  }
2180
1919
 
2181
- &__alert {
2182
- margin-right: 0.8rem;
2183
- margin-left: 0.3rem;
2184
- margin-top: 10px;
1920
+ @keyframes rotate2 {
1921
+ 0% {
1922
+ transform: rotate(0deg);
1923
+ border-top-color: $img-color-loader;
1924
+ }
1925
+ 50% {
1926
+ transform: rotate(180deg);
1927
+ border-top-color: $img-color-loader2;
1928
+ }
1929
+ 100% {
1930
+ transform: rotate(360deg);
1931
+ border-top-color: $img-color-loader;
1932
+ }
2185
1933
  }
2186
- }
2187
1934
 
2188
- .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2189
- min-width: 0;
2190
- width: 100%;
2191
- .dropdown-item:hover {
2192
- background-color: #fafafa;
2193
- cursor: pointer;
1935
+ @mixin loaderDivMixin {
1936
+ border-radius: 50%;
1937
+ padding: rem(8);
1938
+ border: rem(2) solid transparent;
1939
+ animation: rotate linear 3.5s infinite;
2194
1940
  }
2195
- }
2196
- //.wz-img-manager useful to keep the css priority
2197
- .wz-img-manager .upload-list {
2198
- text-align: left;
2199
- font-size: 14px;
2200
- color: #23272B;
2201
1941
 
2202
- &.smallDisplay {
2203
- .upload-list__box__cards__card {
2204
- width: 125px;
1942
+ .loader {
1943
+ position: relative;
1944
+ margin: rem(75) auto;
1945
+ width: rem(150);
1946
+ height: rem(150);
1947
+ display: block;
1948
+ overflow: hidden;
1949
+ div {
1950
+ height: 100%;
2205
1951
  }
2206
1952
  }
2207
1953
 
2208
- &__scroll {
2209
- position: relative;
2210
- max-height: 1160px!important;
2211
- height: 1160px!important;
2212
-
2213
- &--smallDisplay {
2214
- max-height: 260px!important;
2215
- height: 260px!important;
2216
-
2217
- .upload-list__box {
2218
- margin-bottom: 20px;
2219
- }
2220
- }
2221
-
2222
- &--window {
2223
- max-height: none;
2224
- height: 500px;
2225
- }
2226
-
2227
- .ng-scroll-content {
2228
- margin-left: 0.5rem !important;
2229
- margin-right: 0.5rem !important;
2230
- min-width: calc(100% - 1rem) !important;
2231
- width: calc(100% - 1rem) !important;
2232
- }
2233
- }
2234
-
2235
- &__box {
2236
- margin: 0 0.8rem 30px 0.3rem;
2237
- padding: 30px;
2238
- background-color: $img-gray-background;
2239
- margin-right: 12px;
2240
- margin-left: 5px;
2241
- border-radius: 3px;
2242
-
2243
- &__container {
2244
- display: flex;
2245
- justify-content: space-between;
2246
- align-items: center;
2247
-
2248
- p {
2249
- display: inline;
2250
- }
2251
-
2252
- .dropdown {
2253
- vertical-align: baseline;
2254
- &:hover {
2255
- .dropdown-trigger i {
2256
- color: $img-main-color;
2257
- }
2258
- }
2259
- .dropdown-trigger {
2260
- display: inline;
2261
- i {
2262
- color: $img-secondary-text;
2263
- margin-left: 10px;
2264
- }
2265
- }
2266
-
2267
- .dropdown-menu {
2268
- padding: 0;
2269
- width: 370px;
2270
- left: -190px;
2271
- margin-top: 3px;
2272
-
2273
- .dropdown-item {
2274
- display: flex;
2275
- justify-content: left;
2276
- align-items: center;
2277
-
2278
- p {
2279
- margin: 0;
2280
- }
2281
-
2282
- p:first-child {
2283
- color: $img-main-text;
2284
- font-size: 14px;
2285
- }
2286
-
2287
- p:last-child {
2288
- color: $img-green-color;
2289
- font-size: 14px;
2290
- margin-left: 10px;
2291
- }
2292
- }
2293
- }
2294
- }
2295
- }
2296
-
2297
- &__cards {
2298
- padding-top: 15px;
2299
- margin-left: 5px;
2300
- display: flex;
2301
- justify-content: left;
2302
- flex-wrap: wrap;
2303
- align-items: center;
2304
- margin-right: -9px;
2305
- width: calc(100% + 24px);
2306
- transform: translateX(-12px);
2307
- &__card {
2308
- width: 198px;
2309
- margin: 0 12px 12px;
2310
- & > * {
2311
- width: 100%;
2312
- }
2313
-
2314
- &__btnBox {
2315
- text-align: center;
2316
- margin: rem(10) auto 0;
2317
-
2318
- &__btn {
2319
- height: 30px;
2320
- width: 30px;
2321
- font-size: 14px!important;
2322
-
2323
- cursor: default;
1954
+ /* loader 1 */
1955
+ .loader1,
1956
+ .loader1 div {
1957
+ @include loaderDivMixin;
1958
+ border-top-color: $img-color-loader;
1959
+ border-bottom-color: $img-color-loader2;
1960
+ }
2324
1961
 
2325
- &:focus {
2326
- box-shadow: none;
2327
- }
2328
- }
2329
- }
2330
- }
2331
- }
2332
- }
2333
- }
1962
+ div:hover {
1963
+ animation-play-state: paused;
1964
+ }
2334
1965
 
2335
- @media screen and (max-width: 768px) {
2336
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2337
- max-height: none!important;
1966
+ .loader,
1967
+ .loader * {
1968
+ will-change: transform;
1969
+ }
2338
1970
 
2339
- .ng-scroll-content {
2340
- margin: 0 !important;
2341
- min-width: 100%!important;
2342
- width: 100%!important;
2343
- }
2344
- }
1971
+ p {
1972
+ margin-top: -50px;
1973
+ font-weight: 500;
1974
+ }
2345
1975
  }
1976
+ // .pexels-lib
1977
+ //.wz-img-manager useful to keep the css priority
1978
+ .wz-img-manager .pexels-lib {
1979
+ width: 100%;
1980
+ height: 100%;
1981
+ max-height: 100%;
1982
+ position: relative;
1983
+
1984
+ &__scroll {
1985
+ position: relative;
1986
+ max-height: calc(100vh - 50px);
1987
+ height: calc(100vh - 160px);
1988
+
1989
+ &--smallDisplay {
1990
+ max-height: 275px!important;
1991
+ @include media('<tablet') {
1992
+ max-height: calc(100vh - 90px)!important;
1993
+ min-height: calc(100vh - 90px) !important;
1994
+ }
1995
+ }
1996
+
1997
+ &--noResult {
1998
+ max-height: 100px!important;
1999
+ }
2000
+
2001
+ &--hide {
2002
+ display: none;
2003
+ }
2004
+ }
2005
+
2006
+ &__search {
2007
+ margin: 30px 0;
2008
+
2009
+ &--smallDisplay {
2010
+ margin-top: 10px;
2011
+ }
2012
+
2013
+ @include media('<tablet') {
2014
+ wz-input-search {
2015
+ display: block;
2016
+ width: 100%;
2017
+ max-width: 100%;
2018
+ padding-right: 6px;
2019
+ }
2020
+ }
2021
+ }
2022
+
2023
+ // .pexels-lib__wrapper
2024
+ &__wrapper {
2025
+ margin: 30px 0;
2026
+
2027
+ // .pexels-lib__wrapper__result
2028
+ &__result {
2029
+ width: calc(100% + 10px);
2030
+ display: flex;
2031
+ flex-direction: row;
2032
+ justify-content: space-between;
2033
+ margin-left: -5px;
2034
+
2035
+ @include media('<tablet') {
2036
+ flex-wrap: wrap;
2037
+ }
2038
+
2039
+ // .pexels-lib__wrapper__result__column
2040
+ &__column {
2041
+ flex: 1;
2042
+ margin: 0 5px;
2043
+
2044
+ @include media('<tablet') {
2045
+ width: calc(50% - 10px);
2046
+ flex: unset;
2047
+ }
2048
+
2049
+ // .pexels-lib__wrapper__result__column__element
2050
+ &__element {
2051
+ display: flex;
2052
+ position: relative;
2053
+
2054
+ // .pexels-lib__wrapper__result__column__element:hover
2055
+ &:hover {
2056
+ // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2057
+ .pexels-lib__wrapper__result__column__element__wrapper {
2058
+ opacity: 1;
2059
+ transition: opacity .3s ease-in-out;
2060
+ }
2061
+ }
2062
+
2063
+ // .pexels-lib__wrapper__result__column__element:not(:last-child)
2064
+ &:not(:last-child) {
2065
+ margin-bottom: 10px;
2066
+ }
2067
+
2068
+ // .pexels-lib__wrapper__result__column__element__img
2069
+ &__img {
2070
+ width: 100%;
2071
+ min-height: auto;
2072
+ max-height: 10000px;
2073
+ height: auto;
2074
+ }
2075
+
2076
+ // .pexels-lib__wrapper__result__column__element__wrapper
2077
+ &__wrapper {
2078
+ position: absolute;
2079
+ display: flex;
2080
+ justify-content: space-between;
2081
+ width: calc(100% - 10px);
2082
+ bottom: 5px;
2083
+ left: 5px;
2084
+ opacity: 0;
2085
+ transition: opacity .3s ease-in-out;
2086
+ align-items: flex-end;
2087
+
2088
+ // .pexels-lib__wrapper__result__column__element__wrapper__infos
2089
+ &__infos {
2090
+ font-size: 11px;
2091
+ color: white;
2092
+ border-radius: 3px;
2093
+ padding: 5px 10px;
2094
+ background-color: rgba(0, 0, 0, .7);
2095
+ }
2096
+
2097
+ // .pexels-lib__wrapper__result__column__element__wrapper__button
2098
+ &__button {
2099
+ 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;
2100
+ border: none;
2101
+ color: white;
2102
+ padding: 5px 10px 5px 25px;
2103
+ border-radius: 3px;
2104
+ background-size: 11px 14px;
2105
+ font-size: 11px;
2106
+ cursor: pointer;
2107
+ transition: background-color .3s ease-in-out;
2108
+
2109
+ &:hover {
2110
+ transition: background-color .3s ease-in-out;
2111
+ background-color: darken($img-green-color, 10%);
2112
+ }
2113
+
2114
+ &__div {
2115
+ display: flex;
2116
+ justify-content: space-between;
2117
+ align-items: center;
2118
+ }
2119
+
2120
+ &__spinner {
2121
+ display: inline-block;
2122
+ > * {
2123
+ margin-top: 10px;
2124
+ margin-right: 5px;
2125
+ }
2126
+
2127
+ }
2128
+ }
2129
+
2130
+ &__dropdown {
2131
+ .dropdown-content {
2132
+ padding: 3px 0;
2133
+
2134
+ .dropdown-item {
2135
+ display: flex;
2136
+ justify-content: space-between;
2137
+ align-items: center;
2138
+
2139
+ p {
2140
+ margin-top: 0;
2141
+ margin-bottom: 0;
2142
+ }
2143
+
2144
+ .iPortrait, .iLandscape {
2145
+ visibility: hidden;
2146
+ }
2147
+
2148
+ &:hover {
2149
+ i {
2150
+ visibility: unset;
2151
+ }
2152
+ }
2153
+ }
2154
+ }
2155
+
2156
+ .dropdown-content__wrapper:hover {
2157
+ .iOriginal {
2158
+ visibility: hidden;
2159
+ }
2160
+ }
2161
+
2162
+ }
2163
+ }
2164
+ }
2165
+ }
2166
+
2167
+ // .pexels-lib__wrapper__result-nb
2168
+ &-nb {
2169
+ font-size: 14px;
2170
+ margin-top: 30px;
2171
+ margin-bottom: 15px;
2172
+ font-weight: 600;
2173
+ line-height: 40px;
2174
+ @include media('<tablet') {
2175
+ margin: 20px auto;
2176
+ }
2177
+ }
2178
+ }
2179
+ }
2180
+
2181
+ &__alert {
2182
+ margin-right: 0.8rem;
2183
+ margin-left: 0.3rem;
2184
+ margin-top: 10px;
2185
+ }
2186
+ }
2187
+
2188
+ .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2189
+ min-width: 0;
2190
+ width: 100%;
2191
+ .dropdown-item:hover {
2192
+ background-color: #fafafa;
2193
+ cursor: pointer;
2194
+ }
2195
+ }
2196
+ //.wz-img-manager useful to keep the css priority
2197
+ .wz-img-manager .upload-list {
2198
+ text-align: left;
2199
+ font-size: 14px;
2200
+ color: #23272B;
2201
+
2202
+ &.smallDisplay {
2203
+ .upload-list__box__cards__card {
2204
+ width: 125px;
2205
+ }
2206
+ }
2207
+
2208
+ &__scroll {
2209
+ position: relative;
2210
+ max-height: 1160px!important;
2211
+ height: 1160px!important;
2212
+
2213
+ &--smallDisplay {
2214
+ max-height: 260px!important;
2215
+ height: 260px!important;
2216
+
2217
+ .upload-list__box {
2218
+ margin-bottom: 20px;
2219
+ }
2220
+ }
2221
+
2222
+ &--window {
2223
+ max-height: none;
2224
+ height: 500px;
2225
+ }
2226
+
2227
+ .ng-scroll-content {
2228
+ margin-left: 0.5rem !important;
2229
+ margin-right: 0.5rem !important;
2230
+ min-width: calc(100% - 1rem) !important;
2231
+ width: calc(100% - 1rem) !important;
2232
+ }
2233
+ }
2234
+
2235
+ &__box {
2236
+ margin: 0 0.8rem 30px 0.3rem;
2237
+ padding: 30px;
2238
+ background-color: $img-gray-background;
2239
+ margin-right: 12px;
2240
+ margin-left: 5px;
2241
+ border-radius: 3px;
2242
+
2243
+ &__container {
2244
+ display: flex;
2245
+ justify-content: space-between;
2246
+ align-items: center;
2247
+
2248
+ p {
2249
+ display: inline;
2250
+ }
2251
+
2252
+ .dropdown {
2253
+ vertical-align: baseline;
2254
+ &:hover {
2255
+ .dropdown-trigger i {
2256
+ color: $img-main-color;
2257
+ }
2258
+ }
2259
+ .dropdown-trigger {
2260
+ display: inline;
2261
+ i {
2262
+ color: $img-secondary-text;
2263
+ margin-left: 10px;
2264
+ }
2265
+ }
2266
+
2267
+ .dropdown-menu {
2268
+ padding: 0;
2269
+ width: 370px;
2270
+ left: -190px;
2271
+ margin-top: 3px;
2272
+
2273
+ .dropdown-item {
2274
+ display: flex;
2275
+ justify-content: left;
2276
+ align-items: center;
2277
+
2278
+ p {
2279
+ margin: 0;
2280
+ }
2281
+
2282
+ p:first-child {
2283
+ color: $img-main-text;
2284
+ font-size: 14px;
2285
+ }
2286
+
2287
+ p:last-child {
2288
+ color: $img-green-color;
2289
+ font-size: 14px;
2290
+ margin-left: 10px;
2291
+ }
2292
+ }
2293
+ }
2294
+ }
2295
+ }
2296
+
2297
+ &__cards {
2298
+ padding-top: 15px;
2299
+ margin-left: 5px;
2300
+ display: flex;
2301
+ justify-content: left;
2302
+ flex-wrap: wrap;
2303
+ align-items: center;
2304
+ margin-right: -9px;
2305
+ width: calc(100% + 24px);
2306
+ transform: translateX(-12px);
2307
+ &__card {
2308
+ width: 198px;
2309
+ margin: 0 12px 12px;
2310
+ & > * {
2311
+ width: 100%;
2312
+ }
2313
+
2314
+ &__btnBox {
2315
+ text-align: center;
2316
+ margin: rem(10) auto 0;
2317
+
2318
+ &__btn {
2319
+ height: 30px;
2320
+ width: 30px;
2321
+ font-size: 14px!important;
2322
+
2323
+ cursor: default;
2324
+
2325
+ &:focus {
2326
+ box-shadow: none;
2327
+ }
2328
+ }
2329
+ }
2330
+ }
2331
+ }
2332
+ }
2333
+ }
2334
+
2335
+ @media screen and (max-width: 768px) {
2336
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2337
+ max-height: none!important;
2338
+
2339
+ .ng-scroll-content {
2340
+ margin: 0 !important;
2341
+ min-width: 100%!important;
2342
+ width: 100%!important;
2343
+ }
2344
+ }
2345
+ }
2346
2346
  .mosaic {
2347
2347
  width: 100%;
2348
2348
  display: flex;
@@ -3560,441 +3560,441 @@ $green-color: #2ecc71;
3560
3560
  }
3561
3561
  }
3562
3562
  }
3563
- $card-img-size: 100%;
3564
- $card-img-size-small: 140px;
3565
-
3566
- //.wz-img-manager useful to keep the css priority
3567
- .wz-img-manager .addCssPriority .img-card {
3568
- display: flex;
3569
- flex-wrap: wrap;
3570
- justify-content: center;
3571
- padding: 0 0 rem(5);
3572
- width: 100%;
3573
- overflow: hidden;
3574
-
3575
- @include media('<720px') {
3576
- width: 97%;
3577
- }
3578
-
3579
- &__container {
3580
- width: 100%!important;
3581
- height: auto!important;
3582
- display: flex;
3583
- border-radius: 3px;
3584
- border: 1px solid $img-light-white-color;
3585
- cursor: pointer;
3586
- overflow: hidden;
3587
- transition: .3s ease;
3588
- position: relative;
3589
- margin: 0 0 rem(10);
3590
- &:before {
3591
- content: '';
3592
- display: block;
3593
- padding-top: 100%;
3594
- }
3595
-
3596
- &.imgSelected {
3597
-
3598
- &:after {
3599
- z-index: 1000;
3600
- content: '';
3601
- display: block;
3602
- position: absolute;
3603
- width: 100%;
3604
- height: 4px;
3605
- background-color: $img-main-color;
3606
- bottom: 0;
3607
- left: 0;
3608
- transform: translateZ(0);
3609
- }
3610
- }
3611
-
3612
- &__valid {
3613
- display: flex;
3614
- position: absolute;
3615
- top: 100%;
3616
- left: 50%;
3617
- transform: translate(-50%,0);
3618
- justify-content: center;
3619
- align-items: center;
3620
- width: auto;
3621
- background-color: $img-green-color;
3622
- border-radius: 3px;
3623
- padding: 5px;
3624
- transition: .3s ease;
3625
- i {
3626
- font-size: rem(10);
3627
- color: $white;
3628
- margin: 0 5px 0 0;
3629
- }
3630
- span {
3631
- color: $white;
3632
- font-weight: 500;
3633
- font-size: rem(10);
3634
- }
3635
- }
3636
-
3637
- &:hover, &:focus {
3638
- .img-card__container {
3639
- &__valid {
3640
- transform: translate(-50%, -40px);
3641
- }
3642
- }
3643
- }
3644
-
3645
- &__img {
3646
- width: auto!important;
3647
- height: auto!important;
3648
- background-color: white;
3649
- margin: auto;
3650
- transition: .3s ease;
3651
- position: absolute;
3652
- object-fit: contain;
3653
- max-width: 100%;
3654
- max-height: 100%;
3655
- top: 50%;
3656
- left: 50%;
3657
- transform: translate(-50%,-50%);
3658
- }
3659
-
3660
- &__config {
3661
- position: relative;
3662
- top: 10px;
3663
- left: 10px;
3664
- transform: none;
3665
- z-index: 9999;
3666
- width: 30px;
3667
- opacity: 0;
3668
- transition: .3s ease;
3669
-
3670
- &--small {
3671
- .show-edit {
3672
- transition: .3s ease!important;
3673
- &:hover, &:focus {
3674
- background-color: darken(#1E2E43, 15%) !important;
3675
- }
3676
- }
3677
- }
3678
-
3679
- button {
3680
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3681
- margin: 0;
3682
- width: 30px;
3683
- height: 30px;
3684
- box-sizing: content-box;
3685
- border-radius: 3px;
3686
- border: none;
3687
- color: #fff;
3688
- transform: translateX(-40px);
3689
- will-change: transform;
3690
- cursor: pointer;
3691
- padding: 0;
3692
- display: flex;
3693
- justify-content: center;
3694
- align-content: center;
3695
- align-items: center;
3696
-
3697
- i {
3698
- font-size: 16px;
3699
- color: #fff;
3700
- position: relative;
3701
- z-index: 3;
3702
- }
3703
-
3704
- &:before {
3705
- content: '';
3706
- display: block;
3707
- position: absolute;
3708
- top: 0;
3709
- left: 0;
3710
- border-radius: 3px;
3711
- width: 100%;
3712
- height: 100%;
3713
- z-index: 2;
3714
- }
3715
-
3716
- span {
3717
- position: absolute;
3718
- left: 100%;
3719
- display: flex;
3720
- justify-content: center;
3721
- align-items: center;
3722
- align-content: center;
3723
- height: 100%;
3724
- margin-left: -10px;
3725
- width: auto;
3726
- padding: 0 10px 0 0;
3727
- color: #fff;
3728
- text-transform: capitalize;
3729
- font-size: 14px;
3730
- border-radius: 0 3px 3px 0;
3731
- max-width: 0;
3732
- overflow: hidden;
3733
- z-index: 1;
3734
- transition: .3s ease;
3735
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3736
- white-space: nowrap;
3737
- }
3738
-
3739
- &:not(:last-child) {
3740
- margin: 0 0 5px;
3741
- }
3742
- &.size, &.show-edit {
3743
- background-color: #1E2E43;
3744
- transition: transform .3s ease .6s;
3745
- span, &:before {
3746
- background-color: #1E2E43;
3747
- }
3748
- }
3749
- &.dl {
3750
- background-color: $img-bleu-action;
3751
- transition: transform .3s ease .45s;
3752
- span, &:before {
3753
- background-color: $img-bleu-action;
3754
- }
3755
- }
3756
- &.edit {
3757
- background-color: $img-orange-color;
3758
- transition: transform .3s ease .3s;
3759
- span, &:before {
3760
- background-color: $img-orange-color;
3761
- }
3762
- }
3763
- &.deleted {
3764
- background-color: $img-red-color;
3765
- transition: transform .3s ease .15s;
3766
- span, &:before {
3767
- background-color: $img-red-color;
3768
- }
3769
- }
3770
- &.selected {
3771
- background-color: #fff;
3772
- border-color: $img-light-white-color;
3773
- transition: transform .3s ease;
3774
- span, &:before {
3775
- background-color: #fff;
3776
- color: $img-grey-color;
3777
- }
3778
-
3779
- i {
3780
- color: $img-light-white-color;
3781
- }
3782
- .checked {
3783
- color: $img-bleu-color;
3784
- }
3785
- }
3786
- &:hover, &:focus, &.show-instant {
3787
- border-radius: 3px 0 0 3px;
3788
- &:before {
3789
- border-radius: 3px 0 0 3px;
3790
- }
3791
- span {
3792
- transition: max-width 1s ease, margin-left .3s ease;
3793
- max-width: 1000px;
3794
- margin-left: -1px;
3795
- padding-left: 4px;
3796
- will-change: transform, margin;
3797
- }
3798
- }
3799
- }
3800
- }
3801
-
3802
- &__overlay {
3803
- position: absolute;
3804
- top: 0;
3805
- left: 0;
3806
- height: 100%;
3807
- width: 100%;
3808
- display: flex;
3809
- justify-content: center;
3810
- align-items: center;
3811
-
3812
- i {
3813
- font-size: 100px;
3814
- color: grey;
3815
- }
3816
-
3817
- &--smallDisplay {
3818
- i {
3819
- font-size: 75px;
3820
- }
3821
- }
3822
- }
3823
-
3824
- &__delete {
3825
- position: absolute;
3826
- top: 0;
3827
- left: 0;
3828
- width: 100%;
3829
- height: 100%;
3830
- background-color: rgba(0,0,0,.45);
3831
- display: flex;
3832
- flex-direction: column;
3833
- justify-content: center;
3834
- align-items: center;
3835
- padding: 15px;
3836
- visibility: hidden;
3837
- transform: translateY(100%);
3838
- opacity: 0;
3839
- z-index: 9999;
3840
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3841
- &.show {
3842
- transform: translateY(0);
3843
- opacity: 1;
3844
- visibility: visible;
3845
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3846
- }
3847
- > span {
3848
- font-size: rem(14);
3849
- color: $img-white;
3850
- font-weight: 600;
3851
- text-align: center;
3852
- display: inline-block;
3853
- margin: 0 0 10px;
3854
- }
3855
- > div {
3856
- display: flex;
3857
- > button {
3858
- padding: 7px 12px;
3859
- font-size: rem(14);
3860
- color: $img-white;
3861
- background-color: $img-red-color;
3862
- font-weight: 600;
3863
- border: none;
3864
- margin: 0 0 0 5px;
3865
- text-transform: capitalize;
3866
- transition: .3s ease;
3867
- &:hover, &:focus {
3868
- background-color: darken($img-red-color, 15%);
3869
- }
3870
- &:first-child {
3871
- background-color: $img-main-color;
3872
- margin: 0 5px 0 0;
3873
- &:hover, &:focus {
3874
- background-color: darken($img-main-color, 15%);
3875
- }
3876
- }
3877
- }
3878
- }
3879
- }
3880
- }
3881
-
3882
- &__nameContainer {
3883
- text-align: center;
3884
- overflow: hidden;
3885
- max-width: 100%;
3886
- min-width: 100%;
3887
- position: relative;
3888
- width: auto;
3889
- display: flex;
3890
- justify-content: center;
3891
- align-items: center;
3892
- min-height: rem(16);
3893
-
3894
- &.focus {
3895
- overflow: visible;
3896
- }
3897
-
3898
- > span {
3899
- padding: 0 rem(10);
3900
- font-size: rem(12);
3901
- line-height: rem(14);
3902
- color: $img-grey-color;
3903
- width: auto;
3904
- white-space: nowrap;
3905
- overflow: hidden;
3906
- text-overflow: ellipsis;
3907
- text-align: center;
3908
- display: inline-block;
3909
- transition: .3s ease;
3910
- pointer-events: none;
3911
- max-width: 100%;
3912
- }
3913
-
3914
- &__name {
3915
- margin: 0;
3916
- padding: 5px;
3917
- font-size: rem(12);
3918
- color: $img-grey-color;
3919
- line-height: rem(14);
3920
- text-align: center;
3921
- width: 100%;
3922
- min-width: 100%;
3923
- white-space: nowrap;
3924
- overflow: hidden;
3925
- text-overflow: ellipsis;
3926
- transition: .3s ease;
3927
- cursor: initial;
3928
- max-width: 100%;
3929
- position: absolute;
3930
- top: 0;
3931
- left: 0;
3932
- opacity: 0;
3933
- &:focus {
3934
- opacity: 1;
3935
- transform: translateY(-5px);
3936
- & + span {
3937
- opacity: 0;
3938
- }
3939
- }
3940
- }
3941
- }
3942
-
3943
- &:hover, &:focus {
3944
- z-index: 3;
3945
- .img-card {
3946
- &__nameContainer {
3947
- overflow: visible;
3948
- &__name {
3949
- color: #52AECD;
3950
- transform: translateY(-5px);
3951
- }
3952
- }
3953
-
3954
- &__container {
3955
- border-color: $wizishop-blue;
3956
- &__img {
3957
- transform: scale(1.02) translate(-50%,-50%);
3958
- }
3959
- &__config {
3960
- @include media('<tablet') {
3961
- display: none;
3962
- }
3963
- opacity: 1;
3964
- button {
3965
- transform: translateX(0);
3966
- &.size {
3967
- transition: transform .3s ease;
3968
- }
3969
- &.dl {
3970
- transition: transform .3s ease .15s;
3971
- }
3972
- &.edit {
3973
- transition: transform .3s ease .3s;
3974
- }
3975
- &.deleted {
3976
- transition: transform .3s ease .45s;
3977
- }
3978
- &.selected {
3979
- transition: transform .3s ease .6s;
3980
- }
3981
- }
3982
- }
3983
- }
3984
- }
3985
- }
3986
- }
3987
-
3988
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3989
- width: $card-img-size-small;
3990
- height: $card-img-size-small;
3991
- }
3992
-
3993
- .wz-img-manager .addCssPriority .smallNameDisplay {
3994
- .img-card__nameContainer__name, > span {
3995
- width: $card-img-size-small;
3996
- }
3997
- }
3563
+ $card-img-size: 100%;
3564
+ $card-img-size-small: 140px;
3565
+
3566
+ //.wz-img-manager useful to keep the css priority
3567
+ .wz-img-manager .addCssPriority .img-card {
3568
+ display: flex;
3569
+ flex-wrap: wrap;
3570
+ justify-content: center;
3571
+ padding: 0 0 rem(5);
3572
+ width: 100%;
3573
+ overflow: hidden;
3574
+
3575
+ @include media('<720px') {
3576
+ width: 97%;
3577
+ }
3578
+
3579
+ &__container {
3580
+ width: 100%!important;
3581
+ height: auto!important;
3582
+ display: flex;
3583
+ border-radius: 3px;
3584
+ border: 1px solid $img-light-white-color;
3585
+ cursor: pointer;
3586
+ overflow: hidden;
3587
+ transition: .3s ease;
3588
+ position: relative;
3589
+ margin: 0 0 rem(10);
3590
+ &:before {
3591
+ content: '';
3592
+ display: block;
3593
+ padding-top: 100%;
3594
+ }
3595
+
3596
+ &.imgSelected {
3597
+
3598
+ &:after {
3599
+ z-index: 1000;
3600
+ content: '';
3601
+ display: block;
3602
+ position: absolute;
3603
+ width: 100%;
3604
+ height: 4px;
3605
+ background-color: $img-main-color;
3606
+ bottom: 0;
3607
+ left: 0;
3608
+ transform: translateZ(0);
3609
+ }
3610
+ }
3611
+
3612
+ &__valid {
3613
+ display: flex;
3614
+ position: absolute;
3615
+ top: 100%;
3616
+ left: 50%;
3617
+ transform: translate(-50%,0);
3618
+ justify-content: center;
3619
+ align-items: center;
3620
+ width: auto;
3621
+ background-color: $img-green-color;
3622
+ border-radius: 3px;
3623
+ padding: 5px;
3624
+ transition: .3s ease;
3625
+ i {
3626
+ font-size: rem(10);
3627
+ color: $white;
3628
+ margin: 0 5px 0 0;
3629
+ }
3630
+ span {
3631
+ color: $white;
3632
+ font-weight: 500;
3633
+ font-size: rem(10);
3634
+ }
3635
+ }
3636
+
3637
+ &:hover, &:focus {
3638
+ .img-card__container {
3639
+ &__valid {
3640
+ transform: translate(-50%, -40px);
3641
+ }
3642
+ }
3643
+ }
3644
+
3645
+ &__img {
3646
+ width: auto!important;
3647
+ height: auto!important;
3648
+ background-color: white;
3649
+ margin: auto;
3650
+ transition: .3s ease;
3651
+ position: absolute;
3652
+ object-fit: contain;
3653
+ max-width: 100%;
3654
+ max-height: 100%;
3655
+ top: 50%;
3656
+ left: 50%;
3657
+ transform: translate(-50%,-50%);
3658
+ }
3659
+
3660
+ &__config {
3661
+ position: relative;
3662
+ top: 10px;
3663
+ left: 10px;
3664
+ transform: none;
3665
+ z-index: 9999;
3666
+ width: 30px;
3667
+ opacity: 0;
3668
+ transition: .3s ease;
3669
+
3670
+ &--small {
3671
+ .show-edit {
3672
+ transition: .3s ease!important;
3673
+ &:hover, &:focus {
3674
+ background-color: darken(#1E2E43, 15%) !important;
3675
+ }
3676
+ }
3677
+ }
3678
+
3679
+ button {
3680
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3681
+ margin: 0;
3682
+ width: 30px;
3683
+ height: 30px;
3684
+ box-sizing: content-box;
3685
+ border-radius: 3px;
3686
+ border: none;
3687
+ color: #fff;
3688
+ transform: translateX(-40px);
3689
+ will-change: transform;
3690
+ cursor: pointer;
3691
+ padding: 0;
3692
+ display: flex;
3693
+ justify-content: center;
3694
+ align-content: center;
3695
+ align-items: center;
3696
+
3697
+ i {
3698
+ font-size: 16px;
3699
+ color: #fff;
3700
+ position: relative;
3701
+ z-index: 3;
3702
+ }
3703
+
3704
+ &:before {
3705
+ content: '';
3706
+ display: block;
3707
+ position: absolute;
3708
+ top: 0;
3709
+ left: 0;
3710
+ border-radius: 3px;
3711
+ width: 100%;
3712
+ height: 100%;
3713
+ z-index: 2;
3714
+ }
3715
+
3716
+ span {
3717
+ position: absolute;
3718
+ left: 100%;
3719
+ display: flex;
3720
+ justify-content: center;
3721
+ align-items: center;
3722
+ align-content: center;
3723
+ height: 100%;
3724
+ margin-left: -10px;
3725
+ width: auto;
3726
+ padding: 0 10px 0 0;
3727
+ color: #fff;
3728
+ text-transform: capitalize;
3729
+ font-size: 14px;
3730
+ border-radius: 0 3px 3px 0;
3731
+ max-width: 0;
3732
+ overflow: hidden;
3733
+ z-index: 1;
3734
+ transition: .3s ease;
3735
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3736
+ white-space: nowrap;
3737
+ }
3738
+
3739
+ &:not(:last-child) {
3740
+ margin: 0 0 5px;
3741
+ }
3742
+ &.size, &.show-edit {
3743
+ background-color: #1E2E43;
3744
+ transition: transform .3s ease .6s;
3745
+ span, &:before {
3746
+ background-color: #1E2E43;
3747
+ }
3748
+ }
3749
+ &.dl {
3750
+ background-color: $img-bleu-action;
3751
+ transition: transform .3s ease .45s;
3752
+ span, &:before {
3753
+ background-color: $img-bleu-action;
3754
+ }
3755
+ }
3756
+ &.edit {
3757
+ background-color: $img-orange-color;
3758
+ transition: transform .3s ease .3s;
3759
+ span, &:before {
3760
+ background-color: $img-orange-color;
3761
+ }
3762
+ }
3763
+ &.deleted {
3764
+ background-color: $img-red-color;
3765
+ transition: transform .3s ease .15s;
3766
+ span, &:before {
3767
+ background-color: $img-red-color;
3768
+ }
3769
+ }
3770
+ &.selected {
3771
+ background-color: #fff;
3772
+ border-color: $img-light-white-color;
3773
+ transition: transform .3s ease;
3774
+ span, &:before {
3775
+ background-color: #fff;
3776
+ color: $img-grey-color;
3777
+ }
3778
+
3779
+ i {
3780
+ color: $img-light-white-color;
3781
+ }
3782
+ .checked {
3783
+ color: $img-bleu-color;
3784
+ }
3785
+ }
3786
+ &:hover, &:focus, &.show-instant {
3787
+ border-radius: 3px 0 0 3px;
3788
+ &:before {
3789
+ border-radius: 3px 0 0 3px;
3790
+ }
3791
+ span {
3792
+ transition: max-width 1s ease, margin-left .3s ease;
3793
+ max-width: 1000px;
3794
+ margin-left: -1px;
3795
+ padding-left: 4px;
3796
+ will-change: transform, margin;
3797
+ }
3798
+ }
3799
+ }
3800
+ }
3801
+
3802
+ &__overlay {
3803
+ position: absolute;
3804
+ top: 0;
3805
+ left: 0;
3806
+ height: 100%;
3807
+ width: 100%;
3808
+ display: flex;
3809
+ justify-content: center;
3810
+ align-items: center;
3811
+
3812
+ i {
3813
+ font-size: 100px;
3814
+ color: grey;
3815
+ }
3816
+
3817
+ &--smallDisplay {
3818
+ i {
3819
+ font-size: 75px;
3820
+ }
3821
+ }
3822
+ }
3823
+
3824
+ &__delete {
3825
+ position: absolute;
3826
+ top: 0;
3827
+ left: 0;
3828
+ width: 100%;
3829
+ height: 100%;
3830
+ background-color: rgba(0,0,0,.45);
3831
+ display: flex;
3832
+ flex-direction: column;
3833
+ justify-content: center;
3834
+ align-items: center;
3835
+ padding: 15px;
3836
+ visibility: hidden;
3837
+ transform: translateY(100%);
3838
+ opacity: 0;
3839
+ z-index: 9999;
3840
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3841
+ &.show {
3842
+ transform: translateY(0);
3843
+ opacity: 1;
3844
+ visibility: visible;
3845
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3846
+ }
3847
+ > span {
3848
+ font-size: rem(14);
3849
+ color: $img-white;
3850
+ font-weight: 600;
3851
+ text-align: center;
3852
+ display: inline-block;
3853
+ margin: 0 0 10px;
3854
+ }
3855
+ > div {
3856
+ display: flex;
3857
+ > button {
3858
+ padding: 7px 12px;
3859
+ font-size: rem(14);
3860
+ color: $img-white;
3861
+ background-color: $img-red-color;
3862
+ font-weight: 600;
3863
+ border: none;
3864
+ margin: 0 0 0 5px;
3865
+ text-transform: capitalize;
3866
+ transition: .3s ease;
3867
+ &:hover, &:focus {
3868
+ background-color: darken($img-red-color, 15%);
3869
+ }
3870
+ &:first-child {
3871
+ background-color: $img-main-color;
3872
+ margin: 0 5px 0 0;
3873
+ &:hover, &:focus {
3874
+ background-color: darken($img-main-color, 15%);
3875
+ }
3876
+ }
3877
+ }
3878
+ }
3879
+ }
3880
+ }
3881
+
3882
+ &__nameContainer {
3883
+ text-align: center;
3884
+ overflow: hidden;
3885
+ max-width: 100%;
3886
+ min-width: 100%;
3887
+ position: relative;
3888
+ width: auto;
3889
+ display: flex;
3890
+ justify-content: center;
3891
+ align-items: center;
3892
+ min-height: rem(16);
3893
+
3894
+ &.focus {
3895
+ overflow: visible;
3896
+ }
3897
+
3898
+ > span {
3899
+ padding: 0 rem(10);
3900
+ font-size: rem(12);
3901
+ line-height: rem(14);
3902
+ color: $img-grey-color;
3903
+ width: auto;
3904
+ white-space: nowrap;
3905
+ overflow: hidden;
3906
+ text-overflow: ellipsis;
3907
+ text-align: center;
3908
+ display: inline-block;
3909
+ transition: .3s ease;
3910
+ pointer-events: none;
3911
+ max-width: 100%;
3912
+ }
3913
+
3914
+ &__name {
3915
+ margin: 0;
3916
+ padding: 5px;
3917
+ font-size: rem(12);
3918
+ color: $img-grey-color;
3919
+ line-height: rem(14);
3920
+ text-align: center;
3921
+ width: 100%;
3922
+ min-width: 100%;
3923
+ white-space: nowrap;
3924
+ overflow: hidden;
3925
+ text-overflow: ellipsis;
3926
+ transition: .3s ease;
3927
+ cursor: initial;
3928
+ max-width: 100%;
3929
+ position: absolute;
3930
+ top: 0;
3931
+ left: 0;
3932
+ opacity: 0;
3933
+ &:focus {
3934
+ opacity: 1;
3935
+ transform: translateY(-5px);
3936
+ & + span {
3937
+ opacity: 0;
3938
+ }
3939
+ }
3940
+ }
3941
+ }
3942
+
3943
+ &:hover, &:focus {
3944
+ z-index: 3;
3945
+ .img-card {
3946
+ &__nameContainer {
3947
+ overflow: visible;
3948
+ &__name {
3949
+ color: #52AECD;
3950
+ transform: translateY(-5px);
3951
+ }
3952
+ }
3953
+
3954
+ &__container {
3955
+ border-color: $wizishop-blue;
3956
+ &__img {
3957
+ transform: scale(1.02) translate(-50%,-50%);
3958
+ }
3959
+ &__config {
3960
+ @include media('<tablet') {
3961
+ display: none;
3962
+ }
3963
+ opacity: 1;
3964
+ button {
3965
+ transform: translateX(0);
3966
+ &.size {
3967
+ transition: transform .3s ease;
3968
+ }
3969
+ &.dl {
3970
+ transition: transform .3s ease .15s;
3971
+ }
3972
+ &.edit {
3973
+ transition: transform .3s ease .3s;
3974
+ }
3975
+ &.deleted {
3976
+ transition: transform .3s ease .45s;
3977
+ }
3978
+ &.selected {
3979
+ transition: transform .3s ease .6s;
3980
+ }
3981
+ }
3982
+ }
3983
+ }
3984
+ }
3985
+ }
3986
+ }
3987
+
3988
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3989
+ width: $card-img-size-small;
3990
+ height: $card-img-size-small;
3991
+ }
3992
+
3993
+ .wz-img-manager .addCssPriority .smallNameDisplay {
3994
+ .img-card__nameContainer__name, > span {
3995
+ width: $card-img-size-small;
3996
+ }
3997
+ }
3998
3998
  .wz-selector {
3999
3999
  &__default {
4000
4000
  position: relative;