@wizishop/img-manager 18.2.2-beta → 19.0.0-beta.1

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 (111) hide show
  1. package/README.md +24 -394
  2. package/fesm2022/wizishop-img-manager.mjs +1150 -953
  3. package/fesm2022/wizishop-img-manager.mjs.map +1 -1
  4. package/lib/components/images-view/images-actions-handler.d.ts +3 -2
  5. package/lib/components/images-view/images-view.component.d.ts +11 -5
  6. package/lib/components/images-view/table-view/table-view.component.d.ts +1 -0
  7. package/lib/components/img-editor/img-editor.component.d.ts +8 -1
  8. package/lib/components/img-editor/info-video/info-video.component.d.ts +20 -0
  9. package/lib/components/img-editor/show-iframe/show-iframe.component.d.ts +16 -0
  10. package/lib/components/img-selection/img-selection.component.d.ts +4 -3
  11. package/lib/components/img-tabs/img-tabs.component.d.ts +1 -0
  12. package/lib/dto/img-manager.dto.d.ts +9 -0
  13. package/lib/services/api.service.d.ts +1 -0
  14. package/lib/services/img-event.service.d.ts +3 -0
  15. package/lib/services/img-manager.service.d.ts +11 -14
  16. package/lib/services/rename-picture.service.d.ts +1 -0
  17. package/lib/services/table/filters-table.service.d.ts +1 -0
  18. package/lib/services/video-info.service.d.ts +23 -0
  19. package/lib/wz-img-manager.component.d.ts +2 -2
  20. package/lib/wz-img-manager.module.d.ts +46 -44
  21. package/package.json +17 -24
  22. package/assets/canva/icon_canva.svg +0 -4
  23. package/assets/i18n/en.json +0 -1
  24. package/assets/i18n/es.json +0 -1
  25. package/assets/i18n/fr.json +0 -1
  26. package/assets/i18n/it.json +0 -1
  27. package/assets/img/fake.png +0 -0
  28. package/assets/img/icon_picture.svg +0 -11
  29. package/esm2022/lib/animations/easeInOut/ease-in-out.animation.mjs +0 -12
  30. package/esm2022/lib/animations/insertRemove/insert-remove.animation.mjs +0 -9
  31. package/esm2022/lib/animations/listAnnimation/list.animation.mjs +0 -16
  32. package/esm2022/lib/components/canva-btn/canva-btn.component.mjs +0 -73
  33. package/esm2022/lib/components/images-view/images-actions-handler.mjs +0 -168
  34. package/esm2022/lib/components/images-view/images-view.component.mjs +0 -391
  35. package/esm2022/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +0 -70
  36. package/esm2022/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +0 -73
  37. package/esm2022/lib/components/images-view/table-view/table-view.component.mjs +0 -48
  38. package/esm2022/lib/components/img-editor/cropper/cropper.component.mjs +0 -313
  39. package/esm2022/lib/components/img-editor/img-editor.component.mjs +0 -129
  40. package/esm2022/lib/components/img-editor/info-section/info-section.component.mjs +0 -58
  41. package/esm2022/lib/components/img-selection/img-selection.component.mjs +0 -58
  42. package/esm2022/lib/components/img-tabs/img-tabs.component.mjs +0 -128
  43. package/esm2022/lib/components/img-upload/img-upload.component.mjs +0 -133
  44. package/esm2022/lib/components/loader/loader.component.mjs +0 -21
  45. package/esm2022/lib/components/pexels-lib/pexels-lib.component.mjs +0 -211
  46. package/esm2022/lib/components/shared/alert/alert.component.mjs +0 -26
  47. package/esm2022/lib/components/shared/checkbox/checkbox.component.mjs +0 -56
  48. package/esm2022/lib/components/shared/dropdown/dropdown.component.mjs +0 -21
  49. package/esm2022/lib/components/shared/input-search/input-search.component.mjs +0 -53
  50. package/esm2022/lib/components/shared/pagination/page-selector/page-selector.component.mjs +0 -50
  51. package/esm2022/lib/components/shared/pagination/pagination.component.mjs +0 -49
  52. package/esm2022/lib/components/shared/select/call-to-action.model.mjs +0 -2
  53. package/esm2022/lib/components/shared/select/select-items.dto.mjs +0 -2
  54. package/esm2022/lib/components/shared/select/select.component.mjs +0 -117
  55. package/esm2022/lib/components/shared/table/table.component.mjs +0 -124
  56. package/esm2022/lib/components/upload-list/upload-list.component.mjs +0 -85
  57. package/esm2022/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +0 -41
  58. package/esm2022/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +0 -24
  59. package/esm2022/lib/directives/auto-hide.directive.mjs +0 -51
  60. package/esm2022/lib/directives/copy-to-clipboard.directive.mjs +0 -36
  61. package/esm2022/lib/directives/drag-drop.directive.mjs +0 -55
  62. package/esm2022/lib/directives/loading.directive.mjs +0 -43
  63. package/esm2022/lib/directives/table/checkBoxRow.directive.mjs +0 -130
  64. package/esm2022/lib/directives/table/column.directive.mjs +0 -50
  65. package/esm2022/lib/directives/table/columnHeader.directive.mjs +0 -215
  66. package/esm2022/lib/directives/table/raw.directive.mjs +0 -34
  67. package/esm2022/lib/directives/zindex-toggle.directive.mjs +0 -45
  68. package/esm2022/lib/dto/ImgManagerDisplayConfig.dto.mjs +0 -2
  69. package/esm2022/lib/dto/canva-create-design.dto.mjs +0 -9
  70. package/esm2022/lib/dto/canva.dto.mjs +0 -6
  71. package/esm2022/lib/dto/config/apis/api.dto.mjs +0 -11
  72. package/esm2022/lib/dto/config/external/external-config.dto.mjs +0 -5
  73. package/esm2022/lib/dto/config/image-cdn/image-cdn-config.dto.mjs +0 -2
  74. package/esm2022/lib/dto/config/img-manager.mjs +0 -8
  75. package/esm2022/lib/dto/export-dtos.api.mjs +0 -11
  76. package/esm2022/lib/dto/img-editor-config.dto.mjs +0 -2
  77. package/esm2022/lib/dto/img-manager.dto.mjs +0 -2
  78. package/esm2022/lib/dto/pexels-img.dto.mjs +0 -2
  79. package/esm2022/lib/dto/picture-name-update.dto.mjs +0 -2
  80. package/esm2022/lib/dto/stateDisplayed.dto.mjs +0 -2
  81. package/esm2022/lib/dto/tabDisplayed.dto.mjs +0 -2
  82. package/esm2022/lib/dto/wizi-block-media.dto.mjs +0 -7
  83. package/esm2022/lib/pipes/images/img-src.pipe.mjs +0 -29
  84. package/esm2022/lib/pipes/number-to-array.pipe.mjs +0 -16
  85. package/esm2022/lib/pipes/pagination/array-total-pages/array-pages.pipe.mjs +0 -28
  86. package/esm2022/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +0 -53
  87. package/esm2022/lib/pipes/pagination/text/custom-text.pipe.mjs +0 -36
  88. package/esm2022/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +0 -25
  89. package/esm2022/lib/pipes/select/select-filters.pipe.mjs +0 -19
  90. package/esm2022/lib/services/alert.service.mjs +0 -53
  91. package/esm2022/lib/services/api.service.mjs +0 -10
  92. package/esm2022/lib/services/canva.service.mjs +0 -165
  93. package/esm2022/lib/services/config/img-cdn.service.mjs +0 -21
  94. package/esm2022/lib/services/dom.service.mjs +0 -31
  95. package/esm2022/lib/services/icon.service.mjs +0 -18
  96. package/esm2022/lib/services/image-not-found.service.mjs +0 -13
  97. package/esm2022/lib/services/img-event.service.mjs +0 -33
  98. package/esm2022/lib/services/img-manager.service.mjs +0 -134
  99. package/esm2022/lib/services/img-selection.service.mjs +0 -75
  100. package/esm2022/lib/services/pexels.service.mjs +0 -66
  101. package/esm2022/lib/services/rename-picture.service.mjs +0 -66
  102. package/esm2022/lib/services/snackbar.service.mjs +0 -67
  103. package/esm2022/lib/services/table/filters-table.service.mjs +0 -61
  104. package/esm2022/lib/services/upload.service.mjs +0 -20
  105. package/esm2022/lib/services/user-settings.service.mjs +0 -23
  106. package/esm2022/lib/wz-img-manager.component.mjs +0 -209
  107. package/esm2022/lib/wz-img-manager.module.mjs +0 -225
  108. package/esm2022/public-api.mjs +0 -14
  109. package/esm2022/wizishop-img-manager.mjs +0 -5
  110. package/wizishop-img-manager-18.2.2-beta.tgz +0 -0
  111. package/wz-img-manager.scss +0 -4085
@@ -1,4085 +0,0 @@
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
- $wizishop-blue: #4baed0!default;
14
- $img-gray-background: #f5f8fa!default;
15
- $img-placeholder: #b5b5b5!default;
16
- $img-red-color: #e74c3c!default;
17
- $img-dark: #6c6c6c!default;
18
- $img-really-bad-bad-bad-green: #a2c739!default;
19
-
20
- $img-amount-hover: 8%!default;
21
-
22
- $img-main-color: #4baed0!default;
23
- $img-main-color-hover: darken($img-main-color, $img-amount-hover)!default;
24
- $img-bleu-color: #4baed0!default;
25
-
26
- $img-primary-button: $img-main-color!default;
27
- $img-primary-button-hover: darken($img-primary-button, $img-amount-hover)!default;
28
- $img-primary-button-desable: #dbdbdb!default;
29
-
30
- $img-grey-color: #6B7881!default;
31
- $img-green-color: #2ecc71!default;
32
- $img-yellow-color: #faa945!default;
33
- $img-orange-color: #F39C12!default;
34
- $img-bleu-action: #3498DB!default;
35
- $img-bright-red-color: #E95656!default;
36
- $img-second-color: #6B7881!default;
37
- $img-lightened-secondary: #d8d8d8!default;
38
- $img-secondary-text: #6c6c6c!default;
39
- $img-input-border: #dce0e3!default;
40
- $img-light-white-color: #DCE0E3!default;
41
- $img-main-text: #23272b!default;
42
- $img-table-selected: #ddff98!default;
43
- $img-color-loader: $img-main-color!default;
44
- $img-color-loader2: $img-really-bad-bad-bad-green!default;
45
- $img-second-color: #526384!default;
46
- $border-upload-color: #52AECD!default;
47
-
48
- // Colors from wizi-admin components (table, sarch-input, pagination, checkbox...)
49
- $gray-background: #f5f8fa!default;
50
- $textarea-border-color: #dce0e3!default;
51
- $main-text: #1d2a3b!default;
52
- $secondary-color: #526384!default;
53
- $second-color: #526384!default;
54
- $border-form: #ccd1e0!default;
55
- $background-color: #ecf0f1!default;
56
- $table-background-color: #fafafa!default;
57
- $input-border-search: #dee2edcc!default;
58
- $placeholder-color: #b4bdd0!default;
59
- $input-radio-color: #d8d8d8!default;
60
- $input-active-color: $wizishop-blue!default;
61
- $input-radio-color-label: #6b7881!default;
62
- $input-radio-color-active-label: #1e2e43!default;
63
- $border-color: #dee2ed!default;
64
- $img-white: #fff!default;
65
- $select-icon-background: #edeff2!default;
66
- $color-CTA-select: #52aecd1a!default;
67
- $border-CTA-select: #52aecd66!default;
68
- $color-text-grey: #6b7881!default;
69
- $select-box-shadow: #0000000d!default;
70
- @use "sass:math";
71
- $em-base: 16px;
72
-
73
- @function strip-unit($value) {
74
- @return math.div($value, $value * 0 + 1);
75
- }
76
-
77
- @function rem($pxval) {
78
- @if not unitless($pxval) {
79
- $pxval: strip-unit($pxval);
80
- }
81
- $base: $em-base;
82
- @if not unitless($base) {
83
- $base: strip-unit($base);
84
- }
85
- @return math.div($pxval, $base) * 1rem;
86
- }
87
- $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null, $time: null) {
88
- @if ($time == null) {
89
- $time: $img-transition-base-time;
90
- }
91
-
92
- @if ($type == null) {
93
- $type: all;
94
- }
95
-
96
- -webkit-transition: $type $time $ease-in-out-quart;
97
- -moz-transition: $type $time $ease-in-out-quart;
98
- -ms-transition: $type $time $ease-in-out-quart;
99
- -o-transition: $type $time $ease-in-out-quart;
100
- transition: $type $time $ease-in-out-quart;
101
- }
102
- .wz-img-manager #{$all-buttons} {
103
- border-radius: rem(2);
104
- @include simple_transition;
105
- }
106
-
107
- .wz-img-manager .button {
108
- font-family: $base-font;
109
- font-size: rem(14) !important;
110
- border-radius: rem(3);
111
- }
112
-
113
- .wz-img-manager .button.success {
114
- background-color: $img-green-color;
115
- border-color: $img-green-color;
116
- color: white;
117
- }
118
-
119
- .wz-img-manager .button.danger {
120
- background-color: $img-bright-red-color;
121
- border-color: $img-bright-red-color;
122
- color: white;
123
- }
124
-
125
- .wz-img-manager .button.grey {
126
- background-color: $img-grey-color;
127
- border-color: $img-grey-color;
128
- color: white;
129
- }
130
-
131
- /* .wz-img-manager .subHeaderActions .button, .wz-img-manager .submenuActions .button{
132
- height: 38px;
133
- } */
134
-
135
- .wz-img-manager .subHeaderActions .button .spinner, .wz-img-manager .submenuActions .button .spinner{
136
- margin-left: 15px;
137
- margin-right: 5px;
138
- > * {
139
- margin-top: 10px;
140
- }
141
- }
142
-
143
- .wz-img-manager .subHeaderActions .button i, .wz-img-manager .submenuActions .button i {
144
- margin-right: 13px;
145
- }
146
-
147
- .wz-img-manager .button .spinner {
148
- transform: scale(0.7);
149
- }
150
-
151
- .wz-img-manager .button .icon:first-child:not(:last-child) {
152
- margin-left: 0;
153
- }.wz-img-manager .nwb-paginator {
154
- .button.pagination-next:not([disabled]),
155
- .button.pagination-previous:not([disabled]) {
156
- background-color: $img-main-color;
157
- border: rem(1) solid $img-main-color-hover;
158
- color: $white;
159
-
160
- &:hover {
161
- background-color: $img-main-color-hover;
162
- }
163
- }
164
- }
165
-
166
- .wz-img-manager .button.is-lighted{
167
- background-color: $white;
168
- color: $img-second-color;
169
- border: transparent;
170
-
171
- &:hover {
172
- color: $img-main-color;
173
- background-color: $white;
174
- border: transparent;
175
- box-shadow: 0 0 0 0.125em rgba($img-main-color,0.25);
176
- }
177
- }
178
-
179
- .wz-img-manager [class='button'],
180
- .wz-img-manager [class='button is-pulled-right'] {
181
- &:hover {
182
- background-color: $img-primary-button-hover;
183
- }
184
- }
185
-
186
- .wz-img-manager .has-text-info {
187
- strong {
188
- color: $img-main-color;
189
- }
190
- }
191
-
192
- .wz-img-manager .is-wizi-hoverable {
193
- &:hover,
194
- &:active {
195
- .dropdown-trigger {
196
- span {
197
- i {
198
- color: $img-main-color;
199
- position: absolute;
200
- }
201
- }
202
- }
203
- .dropdown-menu {
204
- padding-top: rem(8);
205
- opacity: 1;
206
- pointer-events: all;
207
- }
208
- }
209
-
210
- .dropdown-trigger {
211
- position: relative;
212
- height: rem(25);
213
- cursor: pointer;
214
-
215
- &:before {
216
- content: ' ';
217
- width: rem(200);
218
- height: 100%;
219
- position: absolute;
220
- right: 0;
221
- }
222
-
223
- span {
224
- display: block;
225
- position: relative;
226
- height: rem(25);
227
- width: rem(30);
228
-
229
- i {
230
- position: absolute;
231
- color: $img-secondary-text;
232
- right: 0;
233
- left: 0;
234
- @include simple_transition();
235
- margin: auto;
236
- width: rem(25);
237
- }
238
- }
239
- }
240
-
241
- .dropdown-menu {
242
- padding-top: rem(8);
243
- opacity: 0;
244
- @include simple_transition();
245
- display: block;
246
- pointer-events: none;
247
- z-index: 37;
248
- }
249
-
250
- .dropdown-content {
251
- border-top: rem(2) solid $img-main-color;
252
- padding: rem(15);
253
-
254
- .dropdown-item {
255
- padding: 0.4rem 1rem;
256
- &:hover,
257
- &:active {
258
- background-color: transparent;
259
- color: $img-main-color;
260
- }
261
-
262
- i {
263
- margin-right: rem(5);
264
- }
265
- }
266
- }
267
- }
268
-
269
-
270
-
271
- .wz-img-manager *:focus {
272
- outline: none;
273
- border-color: inherit;
274
- -webkit-box-shadow: none;
275
- box-shadow: none;
276
- }
277
-
278
- .wz-img-manager ::-webkit-input-placeholder {
279
- /* Chrome/Opera/Safari */
280
- color: $img-input-border;
281
- font-weight: bold;
282
- }
283
-
284
- .wz-img-manager ::-moz-placeholder {
285
- /* Firefox 19+ */
286
- color: $img-input-border;
287
- font-weight: bold;
288
- }
289
-
290
- .wz-img-manager :-ms-input-placeholder {
291
- /* IE 10+ */
292
- color: $img-input-border;
293
- font-weight: bold;
294
- }
295
-
296
- .wz-img-manager :-moz-placeholder {
297
- /* Firefox 18- */
298
- color: $img-input-border;
299
- font-weight: bold;
300
- }
301
-
302
- .wz-img-manager .wzImgMngInput {
303
- width: 100%;
304
- padding: 0.9rem;
305
- border: solid transparent 1px;
306
- background-color: transparent;
307
- cursor: pointer;
308
-
309
- &:active,
310
- &:focus {
311
- border: solid $img-main-color 1px;
312
- }
313
-
314
- &:hover {
315
- color: $img-main-color;
316
- }
317
-
318
- &.is-small {
319
- width: 150px;
320
-
321
- + span {
322
- color: $img-secondary-text;
323
- }
324
- }
325
- }
326
-
327
- .wz-img-manager .smallSpinner {
328
- transform: scale(0.7);
329
- }
330
-
331
- .wz-img-manager .dropdown-menu {
332
- padding-bottom: 30px;
333
- }
334
-
335
- .wz-img-manager .btnLoadingAnnimation {
336
- cursor: not-allowed;
337
- transition: 150ms width;
338
- width: 100%;
339
- height: 105%;
340
- position: absolute;
341
- left: -1px;
342
- top: -1px;
343
- background-color: white;
344
- opacity: 0.3;
345
- border-radius: 3px;
346
- z-index: 1;
347
- }
348
-
349
- .wz-img-manager .mainColor {
350
- color: $img-main-text;
351
- font-weight: 500;
352
- font-size: rem(14);
353
- line-height: rem(16);
354
- margin: 0 0 rem(20);
355
- }
356
-
357
- .wz-img-manager .smallScroll {
358
- max-height: calc(100vh - 336px)!important;
359
- min-height: 145px;
360
- }
361
-
362
- .wz-img-manager .canva .smallScroll {
363
- min-height: 238px;
364
- }
365
-
366
- .wz-img-manager .dropDownShadow {
367
- background-color: white;
368
- border-radius: 4px;
369
- box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
370
- }
371
-
372
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label::before,
373
- .wz-img-manager .is-checkradio[type=checkbox]:hover:not([disabled]) + label:before {
374
- border-color: $img-main-color!important;
375
- }
376
-
377
- .wz-img-manager .is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after {
378
- border-color: $img-main-color;
379
- }
380
-
381
- .wz-img-manager__module__content .wrapper-tabs ul {
382
- @include media('<tablet') {
383
- max-width: 100%;
384
- overflow-x: scroll;
385
- }
386
- }
387
-
388
- .ovh-canva {
389
- overflow: hidden!important;
390
- max-height: 100vh!important;
391
- min-height: 100vh!important;
392
- height: 100vh!important;
393
-
394
- .wz-img-manager__module { // Canva z-index : 2147483640
395
- z-index: 2147483639!important;
396
- }
397
- }
398
-
399
- .nwb-alert .alert{
400
- z-index: 2147483647;
401
- }
402
-
403
- .wz-img-manager__module--edit {
404
- .wrapper-tabs {
405
- display: none;
406
- }
407
- }
408
-
409
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
410
- padding: 0;
411
- }
412
-
413
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
414
- padding-right: 20px;
415
- @include media('<tablet') {
416
- padding: 0;
417
- }
418
- }
419
-
420
- .tabs--notWindow ul {
421
- transform: translateY(5px);
422
- }
423
-
424
- .wz-img-manager__module .wz-block--window {
425
- overflow: visible;
426
- .img-editor__scroll {
427
- .ng-scroll-viewport {
428
- contain: unset;
429
- &-wrapper {
430
- overflow: visible;
431
- }
432
- }
433
- }
434
- .img-editor__infoSection {
435
- &__divider {
436
- &:not(:nth-child(5)) {
437
- display: none;
438
- }
439
- }
440
- &__actions {
441
- position: absolute;
442
- top: -86px;
443
- right: -36px;
444
- }
445
- }
446
- }
447
- .images-view__container__buttonBox {
448
- p {
449
- height: 42px;
450
- }
451
- transform: translateY(-2px) translateX(-40px);
452
- height: 42px;
453
- button {
454
- padding: 9.5px 17px !important;
455
- }
456
- }
457
-
458
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
459
- max-height: 100%;
460
- .images-view__container__buttonBox {
461
- transform: translateY(-2px) translateX(-60px);
462
- }
463
- }
464
- .img-editor__container__toolsContainer__tool {
465
- p {
466
- margin: 0 !important;
467
- }
468
- }
469
- .images-view__scroll {
470
- .ng-scroll-content {
471
- width: 100% !important;
472
- }
473
- }
474
- .wz-img-manager .img-editor__infoSection__propertyEditable__span {
475
- color: $wizishop-blue;
476
- & + i {
477
- color: $wizishop-blue;
478
- }
479
- }
480
-
481
- .wz-img-manager .small .wz-pagination__wrapper {
482
- margin: 0 0 rem(105);
483
- }
484
-
485
- .wz-block--window {
486
- .img-tabs__tabsThird {
487
- .ng-scroll-content {
488
- padding-right: 20px!important;
489
- }
490
- }
491
- }
492
-
493
- .wz-table__body + wz-pagination .wz-pagination {
494
- margin-top: 30px;
495
- }
496
-
497
- .wz-img-manager__module--full, .wz-img-manager__module--small {
498
- .mosaic {
499
- &__pagination {
500
- margin-bottom: 0;
501
- transform: translateX(-20px);
502
- @include media('<tablet') {
503
- transform: none;
504
- }
505
- }
506
- }
507
- }
508
-
509
- .wz-img-manager__module--full {
510
- .images-view__container__buttonBox {
511
- transform: translateX(-20px);
512
- > .mainColor {
513
- transform: translateX(20px);
514
- }
515
- }
516
- &.wz-img-manager__module--edit {
517
- .img-editor__container {
518
- align-items: flex-start;
519
- }
520
- .wz-img-manager__module__content, .img-tabs {
521
- position: absolute;
522
- width: 100%;
523
- height: 100%;
524
- }
525
- .img-tabs {
526
- display: flex;
527
- flex-direction: column;
528
- }
529
- .columns.img-tabs__tabsEdit.ng-star-inserted {
530
- position: absolute;
531
- width: 100%;
532
- height: 100%;
533
- margin: 0!important;
534
- left: -17px;
535
- }
536
- .img-editor {
537
- min-height: calc(100vh - 50px);
538
- }
539
- .ng-scroll-content {
540
- > .columns {
541
- margin: 0 5px;
542
- padding-left: 25px;
543
- min-height: calc(100vh - 50px);
544
- }
545
- }
546
- .img-editor__scroll--full {
547
- min-height: calc(100vh + -50px) !important;
548
- }
549
- }
550
- }
551
-
552
- .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
553
- .img-editor__container {
554
- transform: translateY(3px);
555
- }
556
- .img-editor__infoSection {
557
- &__propertyEditable {
558
- &:first-child {
559
- margin-top: 30px;
560
- }
561
- }
562
- &__actions {
563
- margin-top: 30px;
564
- > div {
565
- display: flex;
566
- }
567
- }
568
- }
569
- .mosaic__search, .wz-table {
570
- padding-right: 20px;
571
- }
572
- }
573
-
574
- .wz-img-manager__module--full {
575
- .wz-pagination__wrapper {
576
- margin-bottom: 40px;
577
- }
578
- }
579
-
580
- .fullSize .images-view__container:not(.images-view__container--window) .images-view__container__boxAction {
581
- margin-right: 33px;
582
- }
583
-
584
- .img-tabs__tabsFirst__list {
585
- .mosaic__container__cards {
586
- @include media('<tablet') {
587
- width: calc(100% - 10px) !important;
588
- transform: translateX(5px);
589
- & > * {
590
- width: calc(50% - 20px) !important;
591
- margin: 0 10px 20px !important;
592
- &:nth-child(1), &:nth-child(2) {
593
- display: block!important;
594
- }
595
- }
596
- }
597
- }
598
- }
599
-
600
- .ng-scrollbar-wrapper {
601
- @include media('<tablet') {
602
- --vertical-scrollbar-size: 0!important;
603
- }
604
- }
605
-
606
- .ng-scroll-viewport {
607
- @include media('<tablet') {
608
- overflow: scroll;
609
- }
610
- }
611
- .wz-img-manager {
612
-
613
- &__selectionHandler {
614
- margin-top: -50px;
615
- }
616
-
617
- &__module {
618
- position: fixed;
619
- bottom: 0;
620
- left: 0;
621
- width: 100%;
622
- height: 0;
623
- transition: height .3s ease;
624
- z-index: 2147483647; // snackbar 10
625
- transform: translateZ(0);
626
-
627
- &:before {
628
- content: '';
629
- display: block;
630
- position: absolute;
631
- top: 0;
632
- left: 0;
633
- width: 100%;
634
- height: 3px;
635
- background-color: $img-main-color;
636
- z-index: 999;
637
- }
638
-
639
- &--closed {
640
- height: 0;
641
- }
642
-
643
- // .wz-img-manager__module--small
644
- &--small {
645
- height: 320px;
646
- @include media('<tablet') {
647
- height: 100%!important;
648
- }
649
- }
650
-
651
- // .wz-img-manager__module--full
652
- &--full {
653
- height: calc(100vh - 50px);
654
- @include media('<tablet') {
655
- height: 100%!important;
656
- }
657
- }
658
-
659
- // .wz-img-manager__module--window
660
- &--window {
661
- position: relative;
662
- width: auto;
663
- bottom: unset;
664
- left: unset;
665
- z-index: 29!important;
666
- height: auto!important;
667
- padding-bottom: 6.25rem;
668
-
669
- &:before {
670
- content: none;
671
- height: 0px;
672
- }
673
-
674
- // .wz-img-manager__module--edit
675
- &--edit {
676
- .wrapper-tabs {
677
- display: none;
678
- }
679
- }
680
- }
681
-
682
- // .wz-img-manager__module__header
683
- &__header {
684
- position: absolute;
685
- bottom: 100%;
686
- right: 30px;
687
- width: 101px;
688
-
689
- @include media('<tablet') {
690
- width: 45px;
691
- bottom: auto;
692
- top: 10px;
693
- right: 0;
694
- }
695
-
696
- // .wz-img-manager__module__header button
697
- button {
698
- width: 45px;
699
- height: 35px;
700
- background-color: $img-main-color;
701
- transition: background-color .3s ease;
702
- border: none;
703
- box-shadow: none;
704
- cursor: pointer;
705
- outline: none!important;
706
-
707
- @include media('<tablet') {
708
- background-color: transparent!important;
709
- i {
710
- color: $img-main-color!important;
711
- }
712
- }
713
-
714
- &:first-child {
715
- @include media('<tablet') {
716
- display: none;
717
- }
718
- }
719
-
720
- span {
721
- display: none;
722
- }
723
-
724
- i {
725
- color: #fff;
726
- font-size: 20px;
727
- &:before {
728
- font-size: rem(20) !important;
729
- }
730
- }
731
-
732
- &:hover, &:focus {
733
- background-color: darken($img-main-color, 15%);
734
- }
735
-
736
- // .wz-img-manager__module__header button:first-child
737
- &:first-child {
738
- border-radius: 3px 0 0 0;
739
- }
740
-
741
- // .wz-img-manager__module__header button:last-child
742
- &:last-child {
743
- margin: 0 0 0 1px;
744
- border-radius: 0 3px 0 0;
745
- @include media('<tablet') {
746
- margin: 0;
747
- border-radius: 0;
748
- }
749
- }
750
- }
751
- }
752
- }
753
- }
754
-
755
- .wz-img-manager__module .wz-block {
756
- background-color: #fff;
757
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
758
- padding: 0 0.575rem 0 1.075rem;
759
-
760
- @include media('<tablet') {
761
- padding: 40px 20px 0;
762
- }
763
-
764
- &--window {
765
- padding: rem(30);
766
- overflow: hidden;
767
- max-width: 1450px;
768
- margin: 0 auto;
769
- }
770
- }
771
-
772
- .wz-img-manager__module .wz-block:hover {
773
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
774
- }
775
-
776
- .nwb-snack-bar .notification {
777
- z-index: 10002!important;
778
- }
779
-
780
- .nwb-snack-bar .column {
781
- box-sizing: border-box;
782
- }
783
- $green: $really-bad-bad-bad-green !default;
784
- $primary: $primary-button !default;
785
- $light: $img-placeholder !default;
786
- $info: $wizishop-blue !default;
787
- $danger: $img-red-color !default;
788
- $dark: $img-dark !default;
789
-
790
- $button-padding-vertical: rem(7) !default;
791
- $radius: rem(3) !default;
792
-
793
- $button-color: white!default;
794
- $button-hover-color: white !default;
795
- $button-focus-color: white !default;
796
- $button-active-color: white !default;
797
- $button-background-color: $primary !default;
798
- $button-disabled-background-color: $primary !default;
799
- $button-border-color: $primary-button-hover !default;
800
- $button-hover-border-color: $primary-button-hover !default;
801
- $button-active-border-color: $primary-button-hover !default;
802
- $button-focus-border-color: $primary-button-hover !default;
803
- $button-disabled-border-color: $primary-button-hover !default;
804
-
805
- $tag-radius: rem(20px)!default;
806
- //.wz-img-manager useful to keep the css priority
807
- .wz-img-manager .canva-btn {
808
- background-color: $img-main-color;
809
- border: 2px solid $img-main-color;
810
- padding: 0;
811
- height: fit-content;
812
- color: white;
813
- padding-left: rem(9);
814
- transition: .3s ease;
815
- margin: 0!important;
816
- &:hover, &:focus {
817
- border-color: darken($img-main-color, 15%);
818
- }
819
- > span {
820
- &:first-child {
821
- z-index: 2;
822
- position: relative;
823
- transform: translateX(7px);
824
- }
825
- }
826
- &__logo {
827
- z-index: 1;
828
- }
829
- }
830
-
831
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
832
- background-color: $img-main-color;
833
- cursor: not-allowed;
834
- }
835
-
836
- .wz-img-manager .canva.dropdown {
837
- z-index: 9999;
838
- .dropdown-menu {
839
- display: none!important;
840
- margin-top: 10px!important;
841
- &:before {
842
- content: '';
843
- display: block;
844
- position: absolute;
845
- bottom: 100%;
846
- left: 0;
847
- width: 100%;
848
- height: 10px;
849
- }
850
- }
851
-
852
- .displayDropDownMenu {
853
- display: block!important;
854
- }
855
-
856
- .dropdown-menu.dropDownShadow {
857
- padding-bottom: 0;
858
- padding-top: 0;
859
- margin-top: 1px;
860
- }
861
-
862
- .dropdown-menu {
863
- min-width: 300px;
864
- width: 300px;
865
-
866
- .dropdown-content {
867
- padding-top: 0px;
868
- }
869
-
870
- .dropdown-item {
871
- color: $img-grey-color;
872
- display: flex;
873
- justify-content: space-between;
874
- align-items: center;
875
- padding: 12px 20px;
876
- margin: 0 0 5px;
877
- &:last-child {
878
- margin: 0;
879
- }
880
-
881
- p {
882
- margin: 0;
883
- line-height: rem(16);
884
- }
885
-
886
- p:first-child {
887
- color: #1D2A3B;
888
- font-size: rem(14);
889
- }
890
-
891
- p:last-child {
892
- color: #526384;
893
- font-size: rem(14);
894
- }
895
- }
896
-
897
- .dropdown-item:hover {
898
- background-color: whitesmoke;
899
- cursor: pointer;
900
- color: black;
901
- }
902
-
903
- .dropdown-item.expectedSizes {
904
- font-weight: 500;
905
- }
906
-
907
- .dropdownTitle {
908
- font-size: 14px;
909
- background-color: $img-main-color;
910
- padding: rem(9.5) 0;
911
- text-align: center;
912
-
913
- p {
914
- font-size: 14px;
915
- color: white;
916
- margin: 0;
917
- font-weight: 500;
918
- }
919
- }
920
-
921
- .infoItem {
922
- padding: 18px 20px 11px 20px;
923
- line-height: 1.5;
924
- font-weight: 500;
925
-
926
- p {
927
- margin: 0;
928
- font-size: rem(16);
929
- line-height: rem(19);
930
- font-weight: 500;
931
- }
932
- }
933
-
934
- .dropdown-item-wrapper {
935
- border: 1px solid #DEE2ED;
936
- border-radius: 3px;
937
- margin: 0 20px 5px 20px;
938
- }
939
- }
940
- }
941
-
942
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
943
- display: none;
944
- }
945
- .wz-img-manager .images-view {
946
- text-align: left;
947
-
948
- &.fullSize {
949
- & + .images-view__scroll {
950
- max-height: 830px!important;
951
- }
952
- }
953
-
954
- &__scroll {
955
- position: relative;
956
- height: 100%;
957
- z-index: 1;
958
-
959
- &--full {
960
- max-height: calc(100vh - 160px);
961
- height: calc(100vh - 160px);
962
- min-height: calc(100vh - 160px) ;
963
- }
964
-
965
- &--smallDisplay {
966
- max-height: 275px!important;
967
- height: 275px!important;
968
- @include media('<tablet') {
969
- max-height: calc(100vh - 90px)!important;
970
- height: calc(100vh - 90px)!important;
971
- min-height: calc(100vh - 90px) !important;
972
- }
973
- }
974
-
975
- &--smallUploadDisplay {
976
- max-height: 230px!important;
977
- }
978
-
979
- &--window {
980
- max-height: unset!important;
981
- }
982
-
983
- &--hide {
984
- &--mosaic {
985
- min-height: 100px !important;
986
- height: 0px;
987
- }
988
- &--table {
989
- min-height: 170px !important;
990
- height: 0px;
991
- }
992
- }
993
-
994
- .ng-scroll-content {
995
- min-width: calc(100% - 1rem) !important;
996
- width: calc(100% - 1rem) !important;
997
- @include media('<tablet') {
998
- min-width: 100%!important;
999
- }
1000
- }
1001
- }
1002
-
1003
- &__container {
1004
- display: flex;
1005
- justify-content: space-between;
1006
- margin: 0 0 rem(20);
1007
-
1008
- > div {
1009
- display: flex;
1010
- align-items: center;
1011
- .mainColor {
1012
- margin: 0;
1013
- }
1014
- }
1015
-
1016
- &--window {
1017
- margin: rem(30) 0 rem(20);
1018
- }
1019
-
1020
- &--uploadTab {
1021
- margin: 0 0 rem(20);
1022
- }
1023
-
1024
- &__boxAction {
1025
- width: 525px;
1026
- overflow: visible;
1027
- display: flex;
1028
- position: relative;
1029
- justify-content: flex-end;
1030
- margin-right: 13px;
1031
- height: 40px;
1032
- align-items: center;
1033
- transform: translate(-41px,-3px);
1034
-
1035
- &__confirmSup {
1036
- display: flex;
1037
- justify-content: space-between;
1038
- align-items: center;
1039
- border-left: solid 1px #d8d8d8;
1040
- color: $img-grey-color;
1041
- padding-left: 1rem;
1042
- width: 0;
1043
- position: absolute;
1044
- opacity: 0;
1045
- transition: 0s;
1046
- visibility: hidden;
1047
- z-index: 2;
1048
-
1049
- &--visible {
1050
- max-width: unset;
1051
- width: auto;
1052
- opacity: 1;
1053
- transition: 0s;
1054
- visibility: visible;
1055
-
1056
- p {
1057
- transition: left .3s ease-in-out;
1058
- right: 100%;
1059
- left: auto;
1060
- white-space: nowrap;
1061
- margin-right: 30px;
1062
- }
1063
- }
1064
-
1065
- &__cancel {
1066
- margin-right: 14px;
1067
- background-color: white;
1068
- border-color: #dbdbdb;
1069
- color: $img-main-text;
1070
- }
1071
-
1072
- &__text {
1073
- font-size: 14px;
1074
- position: absolute;
1075
- left: -126%;
1076
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1077
- }
1078
- }
1079
-
1080
- &__delBtn {
1081
- i {
1082
- margin-right: 13px!important;
1083
- }
1084
- }
1085
-
1086
- &__import {
1087
- margin-right: 13px;
1088
- i {
1089
- margin-right: 13px!important;
1090
- }
1091
- }
1092
- }
1093
-
1094
- &__buttonBox {
1095
- margin: 0;
1096
- width: rem(40);
1097
- height: rem(40);
1098
- border: solid $img-light-white-color;
1099
- border-width: 1px 0 1px 1px;
1100
-
1101
- border-radius: 3px 0 0 3px;
1102
- outline: none!important;
1103
-
1104
- > div {
1105
- margin-top: 0;
1106
- margin-bottom: 0;
1107
- height: 40px;
1108
- &:nth-child(2) {
1109
- border: solid $img-light-white-color;
1110
- border-width: 1px 1px 1px 0;
1111
- transform: translateY(-1px);
1112
- border-radius: 0 3px 3px 0;
1113
- }
1114
- div {
1115
- height: 38px;
1116
- margin: 0!important;
1117
- }
1118
- }
1119
-
1120
- .actifDisplayed {
1121
- color:$img-main-color;
1122
- }
1123
-
1124
- i {
1125
- margin: 0;
1126
- }
1127
- }
1128
-
1129
- &__cards {
1130
- display: flex;
1131
- justify-content: space-between;
1132
- flex-wrap: wrap;
1133
- align-items: center;
1134
- padding-top: 30px;
1135
- margin-right: calc(0.8rem - 20px);
1136
- margin-left: 0.3rem;
1137
- margin-bottom: 30px;
1138
-
1139
- }
1140
-
1141
- &__total {
1142
- &--hide {
1143
- visibility: hidden;
1144
- }
1145
- }
1146
- }
1147
-
1148
- &--pexels {
1149
- margin-top: -30px;
1150
- }
1151
-
1152
- .subHeaderActions .button i {
1153
- margin-right: 0;
1154
- }
1155
- }
1156
-
1157
- @media screen and (max-width: 768px) {
1158
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1159
- max-height: none!important;
1160
- min-height: calc(100vh - 440px);
1161
-
1162
- .ng-scroll-content {
1163
- margin: 0 !important;
1164
- min-width: 100%!important;
1165
- width: 100%!important;
1166
- }
1167
- }
1168
- }
1169
- .wz-img-manager .img-editor {
1170
- &__scroll {
1171
- position: relative;
1172
- height: 100%;
1173
-
1174
- &--full {
1175
- max-height: calc(100vh - 90px)!important;
1176
- height: calc(100vh - 90px)!important;
1177
- min-height: calc(100vh - 90px) !important;
1178
- }
1179
-
1180
- &--smallDisplay {
1181
- max-height: 275px!important;
1182
- height: 275px!important;
1183
- @include media('<tablet') {
1184
- max-height: calc(100vh - 90px)!important;
1185
- height: calc(100vh - 90px)!important;
1186
- min-height: calc(100vh - 90px) !important;
1187
- }
1188
- }
1189
-
1190
- &--window {
1191
- max-height: none;
1192
- }
1193
-
1194
- .ng-scroll-content {
1195
- margin-left: 0 !important;
1196
- margin-right: 0 !important;
1197
- min-width: calc(100% - 1rem) !important;
1198
- width: calc(100% - 1rem) !important;
1199
- }
1200
- }
1201
-
1202
- .columns {
1203
- margin-right: 0.8rem;
1204
- margin-left: rem(12);
1205
- margin-top: 12px;
1206
- margin-bottom: 0;
1207
- width: calc(100% + 11px);
1208
-
1209
- .column {
1210
- padding-top: 0;
1211
- padding-bottom: 0px;
1212
- }
1213
- }
1214
-
1215
- &__head-container {
1216
- display: flex;
1217
- justify-content: flex-end;
1218
- align-items: center;
1219
- margin: 30px 30px 20px 0;
1220
-
1221
- &__btnGroup {
1222
- margin-right: 13px;
1223
- opacity: 0;
1224
- visibility: hidden;
1225
- transition: opacity .3s ease-in-out;
1226
-
1227
- &__visible {
1228
- opacity: 1;
1229
- visibility: visible;
1230
- }
1231
-
1232
- &__removeBtn {
1233
- margin-right: 13px;
1234
- }
1235
- }
1236
-
1237
- &__close {
1238
- cursor: pointer;
1239
- font-size: 14px;
1240
- color: $img-grey-color;
1241
- line-height: 40px;
1242
- }
1243
- }
1244
-
1245
- &__container {
1246
- padding: 0.75rem!important;
1247
- display:flex;
1248
- justify-content: center;
1249
- align-items: stretch;
1250
- background-color: $img-gray-background;
1251
- margin: 0;
1252
- transform: translateY(-16px);
1253
-
1254
- &__toolsContainer {
1255
- display: flex;
1256
- justify-content: center;
1257
- align-items: center;
1258
- margin-bottom: 50px;
1259
-
1260
- &__tool {
1261
- color: $img-second-color;
1262
- margin-right: 30px;
1263
- text-align: center;
1264
- cursor: pointer;
1265
-
1266
- p {
1267
- margin: 0!important;
1268
- color: $img-main-text;
1269
- font-size: rem(12);
1270
- line-height: rem(14);
1271
- }
1272
-
1273
- i {
1274
- font-size: rem(18);
1275
- margin: 0 0 10px;
1276
- }
1277
-
1278
- &--button {
1279
- background-color: $img-green-color;
1280
- color: $img-white!important;
1281
- padding: 10px;
1282
- border-radius: 3px;
1283
- transition: .3s ease;
1284
- white-space: nowrap;
1285
- display: flex;
1286
- justify-content: center;
1287
- align-items: center;
1288
- position: absolute;
1289
- top: 80px;
1290
- left: 50%;
1291
- transform: translateX(-50%);
1292
- height: 35px;
1293
- margin: 0;
1294
- &:hover, &:focus {
1295
- background-color: darken($img-green-color, 15%);
1296
- color: $img-white!important;
1297
- }
1298
- p {
1299
- color: $white!important;
1300
- }
1301
- i {
1302
- margin: 0 5px 0 0;
1303
- }
1304
- }
1305
- &:hover {
1306
- color: $img-main-color;
1307
- }
1308
-
1309
- > * {
1310
- -webkit-touch-callout: none; /* iOS Safari */
1311
- -webkit-user-select: none; /* Safari */
1312
- -khtml-user-select: none; /* Konqueror HTML */
1313
- -moz-user-select: none; /* Old versions of Firefox */
1314
- -ms-user-select: none; /* Internet Explorer/Edge */
1315
- user-select: none; /* Non-prefixed version, currently
1316
- supported by Chrome, Edge, Opera and Firefox */
1317
- }
1318
- }
1319
-
1320
- &__RotationDropdown {
1321
- min-width: 16rem;
1322
- }
1323
- }
1324
-
1325
- &__name {
1326
- font-size: 16px;
1327
- max-width: 50%;
1328
- color: $img-grey-color;
1329
- text-align: center;
1330
- white-space: nowrap;
1331
- overflow: hidden;
1332
- text-overflow: ellipsis;
1333
- }
1334
-
1335
- .button {
1336
- min-height: 35px;
1337
- background-color: $img-primary-button;
1338
- border-color: $img-primary-button-hover;
1339
- color: #ffffff;
1340
- }
1341
- }
1342
-
1343
- &__image-cropper {
1344
- --cropper-overlay-color: #f5f8fa;
1345
- //--cropper-outline-color: #a5a5a573;
1346
- padding-bottom: 30px;
1347
- }
1348
-
1349
- &__infoSection {
1350
- font-size: 14px;
1351
- max-width: 360px;
1352
- padding: 0;
1353
- margin: 0 rem(30) 0 0;
1354
-
1355
- &__propertyEditable {
1356
- margin-bottom: 31px;
1357
- p {
1358
- margin-bottom: 12px;
1359
- font-size: 14px;
1360
- }
1361
- input, button {
1362
- width: 100%;
1363
- height: 40px;
1364
- border: 1px solid #DEE2ED;
1365
- border-radius: 3px;
1366
- color: $img-main-text;
1367
- padding-left: 20px;
1368
- padding-right: 20px;
1369
- display: flex;
1370
- justify-content: space-between;
1371
- font-size: 14px;
1372
-
1373
- &:hover {
1374
- color: $img-main-color;
1375
- border-color: $img-main-color;
1376
- }
1377
- }
1378
-
1379
- button {
1380
- align-items: center;
1381
- background-color: transparent;
1382
- cursor: pointer;
1383
- }
1384
-
1385
- &__span, &__input {
1386
- text-overflow: ellipsis;
1387
- overflow: hidden;
1388
- white-space: nowrap;
1389
- }
1390
-
1391
- &__span {
1392
- color: $img-bleu-color;
1393
- & + i {
1394
- color: $img-bleu-color;
1395
- font-weight: 600;
1396
- }
1397
- }
1398
-
1399
- &__tooltips {
1400
- margin-left: 10px;
1401
- }
1402
- }
1403
-
1404
- &__property {
1405
- &:nth-child(3), &:nth-child(4) {
1406
- margin: 0;
1407
- }
1408
- p {
1409
- font-size: 14px;
1410
- display: inline-block;
1411
- }
1412
-
1413
- .mainColor {
1414
- margin: 0!important;
1415
- }
1416
-
1417
- p:last-child {
1418
- margin: 0 0 0 10px;
1419
- color: #526384;
1420
- }
1421
- }
1422
-
1423
- &__titleSEO {
1424
- margin: 0 0 20px;
1425
-
1426
- .mainColor {
1427
- font-size: rem(18);
1428
- font-weight: 500;
1429
- }
1430
- }
1431
-
1432
- &__propertySEO {
1433
- margin-bottom: 12px;
1434
- p {
1435
- font-size: 14px;
1436
- display: inline-block;
1437
- margin: 0;
1438
- }
1439
-
1440
- .mainColor {
1441
- & ~ p {
1442
- margin-left: 10px;
1443
- color: $img-green-color;
1444
- }
1445
- }
1446
- }
1447
-
1448
- &__divider {
1449
- display: block;
1450
- width: 100%;
1451
- border-bottom: 2px dashed #EFF1F6;
1452
- margin: 30px 0;
1453
- }
1454
-
1455
- &__actions {
1456
- height: 35px;
1457
- position: absolute!important;
1458
- top: -68px!important;
1459
- right: 109px!important;
1460
- z-index: 99;
1461
-
1462
- &__cancel {
1463
- margin-right: 19px;
1464
- background-color: white;
1465
- border-color: #dbdbdb;
1466
- color: $img-main-text;
1467
- }
1468
-
1469
- &__save {
1470
- padding: 8px 18px;
1471
- margin: 0!important;
1472
- &--disable {
1473
- cursor: not-allowed;
1474
- }
1475
- }
1476
- }
1477
- }
1478
-
1479
- .dropdown-menu {
1480
- left: -50%;
1481
- }
1482
- }
1483
-
1484
- .wz-img-manager .marginBottom {
1485
- margin-bottom: 20px;
1486
- }
1487
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1488
- .wz-img-manager .img-selection {
1489
- background-color: white;
1490
- margin-left: 1.875rem;
1491
- margin-right: 1.875rem;
1492
- transition: height .3s ease;
1493
- //height: 0;
1494
- display: flex;
1495
- align-items: center;
1496
-
1497
- &--visible {
1498
- height: 250px;
1499
- margin: 0 0 40px;
1500
- }
1501
- }
1502
-
1503
- .drag__img {
1504
- max-width: 100px;
1505
- max-height: 100px;
1506
- border: 1px solid #dce0e3;
1507
- background-color: white;
1508
- }
1509
-
1510
- .img_box {
1511
- overflow: hidden;
1512
- &:hover, &:focus {
1513
- .drag__tooltips {
1514
- opacity: 1;
1515
- visibility: visible;
1516
- transform: translateY(100%);
1517
- transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1518
- }
1519
- }
1520
- .delete-btn {
1521
- position: absolute;
1522
- top: 100%;
1523
- left: 50%;
1524
- transform: translateX(-50%) translateY(100%);
1525
- opacity: 0;
1526
- visibility: hidden;
1527
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1528
- background-color: $img-red-color;
1529
- color: $white;
1530
- font-size: rem(13);
1531
- height: rem(30);
1532
- padding: 0 15px;
1533
- line-height: rem(30);
1534
- border-radius: 3px;
1535
- font-weight: 600;
1536
- }
1537
- &:hover, &:focus {
1538
- .delete-btn {
1539
- opacity: 1;
1540
- visibility: visible;
1541
- transform: translateX(-50%) translateY(-40px);
1542
- transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1543
- &:hover, &:focus {
1544
- background-color: darken($img-red-color, 15%);
1545
- }
1546
- }
1547
- }
1548
- }
1549
-
1550
- .drag__tooltips {
1551
- opacity: 0;
1552
- visibility: hidden;
1553
- width: 100%;
1554
- padding: 10px;
1555
- border-radius: 3px;
1556
- position: absolute;
1557
- bottom: 100%;
1558
- transform: translateY(0);
1559
- font-size: rem(12);
1560
- color: white;
1561
- font-weight: 500;
1562
- text-align: center;
1563
- background-color: rgba(0,0,0,.65);
1564
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .35s;
1565
- }
1566
-
1567
- .list_img_selection {
1568
- width: calc(100%);
1569
- display: flex;
1570
- flex-direction: row;
1571
- background: white;
1572
- border-radius: 4px;
1573
- overflow-x: auto;
1574
- align-items: flex-end!important;
1575
- padding-bottom: 10px;
1576
- }
1577
-
1578
- .img_box {
1579
- background-color: white;
1580
- display: flex;
1581
- flex-direction: row;
1582
- align-items: center;
1583
- box-sizing: border-box;
1584
- cursor: move;
1585
- flex-grow: 1;
1586
- flex-basis: 0;
1587
- justify-content: center;
1588
- height: fit-content;
1589
- position: relative;
1590
- padding: 0;
1591
- margin: 0 20px 0 0;
1592
- min-width: 150px;
1593
- max-width: 150px;
1594
- &:before {
1595
- content: '';
1596
- display: block;
1597
- padding-top: 100%;
1598
- }
1599
- &:first-child {
1600
- min-width: 200px;
1601
- max-width: 200px;
1602
- }
1603
- img {
1604
- position: absolute;
1605
- top: 50%;
1606
- left: 50%;
1607
- transform: translate(-50%, -50%);
1608
- max-width: 100%!important;
1609
- max-height: 100%;
1610
- object-fit: contain;
1611
- width: auto!important;
1612
- height: auto;
1613
- }
1614
- }
1615
-
1616
-
1617
- .cdk-drag-preview {
1618
- box-sizing: border-box;
1619
- border-radius: 4px;
1620
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
1621
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
1622
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
1623
- img {
1624
- width: 100%!important;
1625
- height: auto!important;
1626
- }
1627
- }
1628
-
1629
- .cdk-drag-placeholder {
1630
- opacity: 0;
1631
- }
1632
-
1633
- .cdk-drag-animating {
1634
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1635
- }
1636
-
1637
- .list_img_selection.cdk-drop-list-dragging .img_box:not(.cdk-drag-placeholder) {
1638
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1639
- }
1640
-
1641
- .trash {
1642
- display: none!important;
1643
- }
1644
- //.wz-img-manager useful to keep the css priority
1645
- .wz-img-manager .img-tabs {
1646
- background-color: white;
1647
- padding-left: 0;
1648
- padding-right: 0;
1649
- padding-top: 0;
1650
-
1651
- .tabs {
1652
- margin: 0;
1653
- display: flex;
1654
- align-items: center;
1655
- overflow: visible!important;
1656
-
1657
- &--notWindow {
1658
- padding: rem(20) rem(30) rem(20);
1659
- margin-left: -1.075rem;
1660
- margin-right: -0.575rem;
1661
- margin-bottom: 0;
1662
- }
1663
-
1664
- ul {
1665
- width: auto;
1666
- border: none;
1667
- li {
1668
- a {
1669
- padding: 0 0 rem(10);
1670
- margin: 0 rem(30) 0 0;
1671
- position: relative;
1672
- line-height: rem(16);
1673
- border: none;
1674
- color: $secondary-color;
1675
- transition: color .3s ease;
1676
- font-size: rem(14);
1677
- font-weight: 400;
1678
- }
1679
- &.is-active {
1680
- a {
1681
- color: $main-text;
1682
- &:after {
1683
- content: '';
1684
- display: block;
1685
- position: absolute;
1686
- width: 100%;
1687
- height: 2px;
1688
- background-color: $img-main-color;
1689
- bottom: 0;
1690
- left: 0;
1691
- }
1692
- }
1693
- }
1694
- }
1695
- }
1696
- }
1697
-
1698
- &__canva {
1699
- margin: 0 0 0 rem(30);
1700
- @include media('<tablet') {
1701
- display: none;
1702
- }
1703
- }
1704
-
1705
- &__tabsEdit {
1706
- margin-top: 30px!important;
1707
- > .column {
1708
- padding: 0!important;
1709
- }
1710
- }
1711
-
1712
- &__tabsFirst {
1713
- height: 100vh;
1714
-
1715
- &--window {
1716
- height: auto;
1717
- display: flex;
1718
- justify-content: flex-start;
1719
- }
1720
-
1721
- &__upload {
1722
- margin: rem(28) 0 0 0;
1723
- padding: 0;
1724
- max-width: 33.3%;
1725
- @include media('<tablet') {
1726
- max-width: 100%;
1727
- margin: 0;
1728
- }
1729
- }
1730
-
1731
- &__list {
1732
- padding: 0;
1733
- margin: rem(28) 0 0 rem(60);
1734
- &--upload {
1735
- margin: rem(28) 0 0 rem(48);
1736
- }
1737
- //height: calc(100vh - 70px);
1738
- //height: 100vh;
1739
- @include media('<tablet') {
1740
- width: 100%;
1741
- margin: 40px 0 0 0;
1742
- }
1743
- }
1744
- }
1745
-
1746
- @media screen and (max-width: 768px) {
1747
- .img-tabs__tabsFirst__upload {
1748
- margin-right: 0;
1749
- margin-bottom: 0;
1750
- margin-top: 20px!important;
1751
- }
1752
- }
1753
-
1754
- &__tabsSecond {
1755
- min-height: 100vh !important;
1756
- margin-left: 0px;
1757
- margin-right: 0px;
1758
- margin-bottom: 0px;
1759
-
1760
- .column {
1761
- padding: 0.75rem 0 0.75rem 0;
1762
- }
1763
- }
1764
-
1765
- &__tabsThird {
1766
- min-height: 100vh !important;
1767
- margin-left: 0px;
1768
- margin-right: 0px;
1769
- margin-bottom: 0px;
1770
-
1771
- .column {
1772
- padding: 0.75rem 0 0.75rem 0;
1773
- }
1774
- }
1775
- }
1776
-
1777
- @media screen and (max-width: 768px) {
1778
- .img-tabs__tabsFirst {
1779
- margin-top: 0;
1780
- }
1781
-
1782
- .img-tabs__tabsFirst--small {
1783
- height: 270px;
1784
- }
1785
- }
1786
-
1787
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1788
- margin: 0;
1789
- }
1790
-
1791
- .wrapper-tabs {
1792
- .tabs {
1793
- @include media('<tablet') {
1794
- display: none!important;
1795
- }
1796
- }
1797
- .select-mobile-page {
1798
- @include media('>=tablet') {
1799
- display: none;
1800
- }
1801
- padding: 20px 0;
1802
- }
1803
- }
1804
- .img-upload {
1805
- position: relative;
1806
- 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");
1807
- border-radius: 3px;
1808
- &:before {
1809
- content: '';
1810
- display: block;
1811
- padding-top: 110.82%;
1812
- }
1813
- &--small {
1814
- &:before {
1815
- padding-top: 202px;
1816
- }
1817
- .img-upload {
1818
- &__container {
1819
- .blueColor {
1820
- img {
1821
- min-width: rem(30);
1822
- }
1823
- }
1824
- &__or {
1825
- margin: rem(10) 0;
1826
- }
1827
- &__text {
1828
- padding: rem(8) rem(20);
1829
- }
1830
- }
1831
- }
1832
- }
1833
- &__container {
1834
- position: absolute;
1835
- top: 0;
1836
- left: 0;
1837
- width: 100%;
1838
- height: 100%;
1839
- display: flex;
1840
- flex-wrap: wrap;
1841
- flex-direction: column;
1842
- justify-content: center;
1843
- align-items: center;
1844
- &__loader {
1845
- position: absolute;
1846
- top: 50%;
1847
- left: 50%;
1848
- transform: translate(-50%,-50%);
1849
- max-width: 300px;
1850
- max-height: 300px;
1851
- display: flex;
1852
- flex-wrap: wrap;
1853
- flex-direction: column;
1854
- justify-content: center;
1855
- align-items: center;
1856
- }
1857
- &__dropImgIconDiv {
1858
- @include media('<720px') {
1859
- p {
1860
- display: none;
1861
- }
1862
- }
1863
- }
1864
- &__or {
1865
- @include media('<720px') {
1866
- display: none;
1867
- }
1868
- }
1869
- .blueColor {
1870
- img {
1871
- min-width: rem(65);
1872
- display: block;
1873
- max-width: rem(65);
1874
- margin: 0 auto rem(15);
1875
- transform: translate(10px);
1876
- }
1877
- p {
1878
- color: $border-upload-color;
1879
- font-size: rem(16);
1880
- line-height: rem(19);
1881
- font-weight: 500;
1882
- margin: 0 auto rem(20);
1883
- }
1884
- }
1885
- &__or {
1886
- font-size: rem(14);
1887
- line-height: rem(16);
1888
- margin: 0 0 rem(20) !important;
1889
- }
1890
- &__text {
1891
- display: flex;
1892
- align-items: center;
1893
- justify-content: center;
1894
- width: auto;
1895
- border-radius: 3px;
1896
- padding: rem(12) rem(20);
1897
- color: $white;
1898
- font-size: rem(14);
1899
- line-height: rem(16);
1900
- white-space: nowrap;
1901
- background-color: $img-green-color;
1902
- transition: .3s ease;
1903
- font-weight: 500;
1904
- cursor: pointer;
1905
- i {
1906
- margin: 0 rem(6) 0 0;
1907
- font-weight: 500;
1908
- }
1909
- &:hover, &:focus {
1910
- background-color: darken($img-green-color, 15%);
1911
- }
1912
- }
1913
- }
1914
- }
1915
- //.wz-img-manager useful to keep the css priority
1916
- .wz-img-manager .wz-loader {
1917
- &.is-small {
1918
- right: 0;
1919
- left: 0;
1920
- top: 0;
1921
- transform: scale(0.6);
1922
- }
1923
- margin-bottom: rem(80);
1924
-
1925
- @keyframes rotate {
1926
- 0% {
1927
- transform: rotate(0deg);
1928
- }
1929
- 50% {
1930
- transform: rotate(180deg);
1931
- }
1932
- 100% {
1933
- transform: rotate(360deg);
1934
- }
1935
- }
1936
-
1937
- @keyframes rotate2 {
1938
- 0% {
1939
- transform: rotate(0deg);
1940
- border-top-color: $img-color-loader;
1941
- }
1942
- 50% {
1943
- transform: rotate(180deg);
1944
- border-top-color: $img-color-loader2;
1945
- }
1946
- 100% {
1947
- transform: rotate(360deg);
1948
- border-top-color: $img-color-loader;
1949
- }
1950
- }
1951
-
1952
- @mixin loaderDivMixin {
1953
- border-radius: 50%;
1954
- padding: rem(8);
1955
- border: rem(2) solid transparent;
1956
- animation: rotate linear 3.5s infinite;
1957
- }
1958
-
1959
- .loader {
1960
- position: relative;
1961
- margin: rem(75) auto;
1962
- width: rem(150);
1963
- height: rem(150);
1964
- display: block;
1965
- overflow: hidden;
1966
- div {
1967
- height: 100%;
1968
- }
1969
- }
1970
-
1971
- /* loader 1 */
1972
- .loader1,
1973
- .loader1 div {
1974
- @include loaderDivMixin;
1975
- border-top-color: $img-color-loader;
1976
- border-bottom-color: $img-color-loader2;
1977
- }
1978
-
1979
- div:hover {
1980
- animation-play-state: paused;
1981
- }
1982
-
1983
- .loader,
1984
- .loader * {
1985
- will-change: transform;
1986
- }
1987
-
1988
- p {
1989
- margin-top: -50px;
1990
- font-weight: 500;
1991
- }
1992
- }
1993
- // .pexels-lib
1994
- //.wz-img-manager useful to keep the css priority
1995
- .wz-img-manager .pexels-lib {
1996
- width: 100%;
1997
- height: 100%;
1998
- max-height: 100%;
1999
- position: relative;
2000
-
2001
- &__scroll {
2002
- position: relative;
2003
- max-height: calc(100vh - 50px);
2004
- height: calc(100vh - 160px);
2005
-
2006
- &--smallDisplay {
2007
- max-height: 275px!important;
2008
- @include media('<tablet') {
2009
- max-height: calc(100vh - 90px)!important;
2010
- min-height: calc(100vh - 90px) !important;
2011
- }
2012
- }
2013
-
2014
- &--noResult {
2015
- max-height: 100px!important;
2016
- }
2017
-
2018
- &--hide {
2019
- display: none;
2020
- }
2021
- }
2022
-
2023
- &__search {
2024
- margin: 30px 0;
2025
-
2026
- &--smallDisplay {
2027
- margin-top: 10px;
2028
- }
2029
-
2030
- @include media('<tablet') {
2031
- wz-input-search {
2032
- display: block;
2033
- width: 100%;
2034
- max-width: 100%;
2035
- padding-right: 6px;
2036
- }
2037
- }
2038
- }
2039
-
2040
- // .pexels-lib__wrapper
2041
- &__wrapper {
2042
- margin: 30px 0;
2043
-
2044
- // .pexels-lib__wrapper__result
2045
- &__result {
2046
- width: calc(100% + 10px);
2047
- display: flex;
2048
- flex-direction: row;
2049
- justify-content: space-between;
2050
- margin-left: -5px;
2051
-
2052
- @include media('<tablet') {
2053
- flex-wrap: wrap;
2054
- }
2055
-
2056
- // .pexels-lib__wrapper__result__column
2057
- &__column {
2058
- flex: 1;
2059
- margin: 0 5px;
2060
-
2061
- @include media('<tablet') {
2062
- width: calc(50% - 10px);
2063
- flex: unset;
2064
- }
2065
-
2066
- // .pexels-lib__wrapper__result__column__element
2067
- &__element {
2068
- display: flex;
2069
- position: relative;
2070
-
2071
- // .pexels-lib__wrapper__result__column__element:hover
2072
- &:hover {
2073
- // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2074
- .pexels-lib__wrapper__result__column__element__wrapper {
2075
- opacity: 1;
2076
- transition: opacity .3s ease-in-out;
2077
- }
2078
- }
2079
-
2080
- // .pexels-lib__wrapper__result__column__element:not(:last-child)
2081
- &:not(:last-child) {
2082
- margin-bottom: 10px;
2083
- }
2084
-
2085
- // .pexels-lib__wrapper__result__column__element__img
2086
- &__img {
2087
- width: 100%;
2088
- min-height: auto;
2089
- max-height: 10000px;
2090
- height: auto;
2091
- }
2092
-
2093
- // .pexels-lib__wrapper__result__column__element__wrapper
2094
- &__wrapper {
2095
- position: absolute;
2096
- display: flex;
2097
- justify-content: space-between;
2098
- width: calc(100% - 10px);
2099
- bottom: 5px;
2100
- left: 5px;
2101
- opacity: 0;
2102
- transition: opacity .3s ease-in-out;
2103
- align-items: flex-end;
2104
-
2105
- // .pexels-lib__wrapper__result__column__element__wrapper__infos
2106
- &__infos {
2107
- font-size: 11px;
2108
- color: white;
2109
- border-radius: 3px;
2110
- padding: 5px 10px;
2111
- background-color: rgba(0, 0, 0, .7);
2112
- }
2113
-
2114
- // .pexels-lib__wrapper__result__column__element__wrapper__button
2115
- &__button {
2116
- background: $img-green-color url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='far' data-icon='file-upload' viewBox='0 0 384 512' class='svg-inline--fa fa-file-upload fa-w-12 fa-9x'%3E%3Cpath fill='%23fff' d='M369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95zM182.98 227.79l-72.31 71.77c-7.6 7.54-2.26 20.52 8.45 20.52H168v84c0 6.63 5.37 12 12 12h24c6.63 0 12-5.37 12-12v-84h48.88c10.71 0 16.05-12.97 8.45-20.52l-72.31-71.77c-4.99-4.95-13.05-4.95-18.04 0z'/%3E%3C/svg%3E") 10px center no-repeat;
2117
- border: none;
2118
- color: white;
2119
- padding: 5px 10px 5px 25px;
2120
- border-radius: 3px;
2121
- background-size: 11px 14px;
2122
- font-size: 11px;
2123
- cursor: pointer;
2124
- transition: background-color .3s ease-in-out;
2125
-
2126
- &:hover {
2127
- transition: background-color .3s ease-in-out;
2128
- background-color: darken($img-green-color, 10%);
2129
- }
2130
-
2131
- &__div {
2132
- display: flex;
2133
- justify-content: space-between;
2134
- align-items: center;
2135
- }
2136
-
2137
- &__spinner {
2138
- display: inline-block;
2139
- > * {
2140
- margin-top: 10px;
2141
- margin-right: 5px;
2142
- }
2143
-
2144
- }
2145
- }
2146
-
2147
- &__dropdown {
2148
- .dropdown-content {
2149
- padding: 3px 0;
2150
-
2151
- .dropdown-item {
2152
- display: flex;
2153
- justify-content: space-between;
2154
- align-items: center;
2155
-
2156
- p {
2157
- margin-top: 0;
2158
- margin-bottom: 0;
2159
- }
2160
-
2161
- .iPortrait, .iLandscape {
2162
- visibility: hidden;
2163
- }
2164
-
2165
- &:hover {
2166
- i {
2167
- visibility: unset;
2168
- }
2169
- }
2170
- }
2171
- }
2172
-
2173
- .dropdown-content__wrapper:hover {
2174
- .iOriginal {
2175
- visibility: hidden;
2176
- }
2177
- }
2178
-
2179
- }
2180
- }
2181
- }
2182
- }
2183
-
2184
- // .pexels-lib__wrapper__result-nb
2185
- &-nb {
2186
- font-size: 14px;
2187
- margin-top: 30px;
2188
- margin-bottom: 15px;
2189
- font-weight: 600;
2190
- line-height: 40px;
2191
- @include media('<tablet') {
2192
- margin: 20px auto;
2193
- }
2194
- }
2195
- }
2196
- }
2197
-
2198
- &__alert {
2199
- margin-right: 0.8rem;
2200
- margin-left: 0.3rem;
2201
- margin-top: 10px;
2202
- }
2203
- }
2204
-
2205
- .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2206
- min-width: 0;
2207
- width: 100%;
2208
- .dropdown-item:hover {
2209
- background-color: #fafafa;
2210
- cursor: pointer;
2211
- }
2212
- }
2213
- //.wz-img-manager useful to keep the css priority
2214
- .wz-img-manager .upload-list {
2215
- text-align: left;
2216
- font-size: 14px;
2217
- color: #23272B;
2218
-
2219
- &.smallDisplay {
2220
- .upload-list__box__cards__card {
2221
- width: 125px;
2222
- }
2223
- }
2224
-
2225
- &__scroll {
2226
- position: relative;
2227
- max-height: 1160px!important;
2228
- height: 1160px!important;
2229
-
2230
- &--smallDisplay {
2231
- max-height: 260px!important;
2232
- height: 260px!important;
2233
-
2234
- .upload-list__box {
2235
- margin-bottom: 20px;
2236
- }
2237
- }
2238
-
2239
- &--window {
2240
- max-height: none;
2241
- height: 500px;
2242
- }
2243
-
2244
- .ng-scroll-content {
2245
- margin-left: 0.5rem !important;
2246
- margin-right: 0.5rem !important;
2247
- min-width: calc(100% - 1rem) !important;
2248
- width: calc(100% - 1rem) !important;
2249
- }
2250
- }
2251
-
2252
- &__box {
2253
- margin: 0 0.8rem 30px 0.3rem;
2254
- padding: 30px;
2255
- background-color: $img-gray-background;
2256
- margin-right: 12px;
2257
- margin-left: 5px;
2258
- border-radius: 3px;
2259
-
2260
- &__container {
2261
- display: flex;
2262
- justify-content: space-between;
2263
- align-items: center;
2264
-
2265
- p {
2266
- display: inline;
2267
- }
2268
-
2269
- .dropdown {
2270
- vertical-align: baseline;
2271
- &:hover {
2272
- .dropdown-trigger i {
2273
- color: $img-main-color;
2274
- }
2275
- }
2276
- .dropdown-trigger {
2277
- display: inline;
2278
- i {
2279
- color: $img-secondary-text;
2280
- margin-left: 10px;
2281
- }
2282
- }
2283
-
2284
- .dropdown-menu {
2285
- padding: 0;
2286
- width: 370px;
2287
- left: -190px;
2288
- margin-top: 3px;
2289
-
2290
- .dropdown-item {
2291
- display: flex;
2292
- justify-content: left;
2293
- align-items: center;
2294
-
2295
- p {
2296
- margin: 0;
2297
- }
2298
-
2299
- p:first-child {
2300
- color: $img-main-text;
2301
- font-size: 14px;
2302
- }
2303
-
2304
- p:last-child {
2305
- color: $img-green-color;
2306
- font-size: 14px;
2307
- margin-left: 10px;
2308
- }
2309
- }
2310
- }
2311
- }
2312
- }
2313
-
2314
- &__cards {
2315
- padding-top: 15px;
2316
- margin-left: 5px;
2317
- display: flex;
2318
- justify-content: left;
2319
- flex-wrap: wrap;
2320
- align-items: center;
2321
- margin-right: -9px;
2322
- width: calc(100% + 24px);
2323
- transform: translateX(-12px);
2324
- &__card {
2325
- width: 198px;
2326
- margin: 0 12px 12px;
2327
- & > * {
2328
- width: 100%;
2329
- }
2330
-
2331
- &__btnBox {
2332
- text-align: center;
2333
- margin: rem(10) auto 0;
2334
-
2335
- &__btn {
2336
- height: 30px;
2337
- width: 30px;
2338
- font-size: 14px!important;
2339
-
2340
- cursor: default;
2341
-
2342
- &:focus {
2343
- box-shadow: none;
2344
- }
2345
- }
2346
- }
2347
- }
2348
- }
2349
- }
2350
- }
2351
-
2352
- @media screen and (max-width: 768px) {
2353
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2354
- max-height: none!important;
2355
-
2356
- .ng-scroll-content {
2357
- margin: 0 !important;
2358
- min-width: 100%!important;
2359
- width: 100%!important;
2360
- }
2361
- }
2362
- }
2363
- .mosaic {
2364
- width: 100%;
2365
- display: flex;
2366
- flex-wrap: wrap;
2367
- position: relative;
2368
- min-height: rem(512);
2369
-
2370
- &--displayPexelsImg {
2371
- min-height: unset;
2372
- }
2373
-
2374
- &:not(.fullSize) {
2375
- width: calc(100% + 24px);
2376
- transform: translateX(-12px);
2377
- .mosaic__container__cards {
2378
- padding-bottom: 40px;
2379
- > * {
2380
- width: calc(25% - 24px);
2381
- margin: 0 12px rem(24) 12px;
2382
- @include media('>=desktop','<1300px') {
2383
- width: calc(33.33% - 24px);
2384
- margin: 0 12px rem(24) 12px;
2385
- }
2386
- }
2387
- }
2388
- &.small {
2389
- min-height: 0;
2390
- .mosaic__container__loader {
2391
- top: 0;
2392
- transform: translateX(-50%);
2393
- max-height: 200px;
2394
- }
2395
- .mosaic {
2396
- &__container {
2397
- &__cards {
2398
- padding-bottom: 40px;
2399
- > * {
2400
- width: calc(12.5% - 24px);
2401
- margin: 0 12px rem(24) 12px;
2402
- @include media('>=1400px','<1600px') {
2403
- width: calc(14% - 24px);
2404
- margin: 0 12px rem(24) 12px;
2405
- }
2406
- @include media('>=1200px','<1400px') {
2407
- width: calc(16.66% - 24px);
2408
- margin: 0 12px rem(24) 12px;
2409
- }
2410
- @include media('>=desktop','<1200px') {
2411
- width: calc(20% - 24px);
2412
- margin: 0 12px rem(24) 12px;
2413
- }
2414
- }
2415
- }
2416
- }
2417
- }
2418
- }
2419
- }
2420
- &.fullSize {
2421
- width: calc(100% + 24px);
2422
- transform: translateX(-12px);
2423
- @include media('<420px') {
2424
- width: 100%;
2425
- transform: none;
2426
- }
2427
- .mosaic__container__cards {
2428
- > * {
2429
- width: calc(16.66% - 24px);
2430
- margin: 0 12px rem(24) 12px;
2431
- @include media('>=1400px','<1600px') {
2432
- width: calc(20% - 24px);
2433
- margin: 0 12px rem(24) 12px;
2434
- }
2435
- @include media('>=desktop','<1400px') {
2436
- width: calc(25% - 24px);
2437
- margin: 0 12px rem(24) 12px;
2438
- }
2439
- @include media('>=tablet','<desktop') {
2440
- width: calc(33.33% - 24px);
2441
- margin: 0 12px rem(24) 12px;
2442
- }
2443
- @include media('>=400px','<tablet') {
2444
- width: calc(50% - 24px);
2445
- margin: 0 12px rem(24) 12px;
2446
- }
2447
- @include media('<420px') {
2448
- width: 100%;
2449
- margin: 0 0 15px;
2450
- }
2451
- }
2452
- }
2453
- &.small {
2454
- .mosaic__container__loader {
2455
- top: 0;
2456
- transform: translateX(-50%);
2457
- max-height: 200px;
2458
- }
2459
- .mosaic {
2460
- &__search {
2461
- display: none;
2462
- @include media('<tablet') {
2463
- display: block;
2464
- margin: 0 0 20px;
2465
- padding: 0;
2466
- width: 97%;
2467
- wz-input-search {
2468
- display: block;
2469
- width: 100%;
2470
- max-width: 100%;
2471
- padding-right: 6px;
2472
- }
2473
- }
2474
- }
2475
- &__container {
2476
- &__cards {
2477
- > * {
2478
- width: calc(10% - 24px);
2479
- margin: 0 12px rem(24) 12px;
2480
- @include media('>=1400px','<1600px') {
2481
- width: calc(11.11% - 24px);
2482
- margin: 0 12px rem(24) 12px;
2483
- }
2484
- @include media('>=desktop','<1400px') {
2485
- width: calc(12.5% - 24px);
2486
- margin: 0 12px rem(24) 12px;
2487
- }
2488
- @include media('>=tablet','<desktop') {
2489
- width: calc(20% - 24px);
2490
- margin: 0 12px rem(24) 12px;
2491
- }
2492
- @include media('>=500px','<tablet') {
2493
- width: calc(33.33% - 24px);
2494
- margin: 0 12px rem(24) 12px;
2495
- }
2496
- @include media('<500px') {
2497
- width: calc(50% - 24px);
2498
- margin: 0 12px rem(24) 12px;
2499
- }
2500
- }
2501
- }
2502
- }
2503
- }
2504
- }
2505
- }
2506
- &__search {
2507
- width: calc(100% - 24px);
2508
- margin: 0 auto rem(20);
2509
- }
2510
- &__pagination {
2511
- width: 100%;
2512
- @include media('<tablet') {
2513
- width: 97%;
2514
- }
2515
- }
2516
- &__container {
2517
- &__loader {
2518
- position: absolute;
2519
- top: 50%;
2520
- left: 50%;
2521
- transform: translate(-50%,-50%);
2522
- max-width: 300px;
2523
- max-height: 300px;
2524
- display: flex;
2525
- flex-wrap: wrap;
2526
- flex-direction: column;
2527
- justify-content: center;
2528
- align-items: center;
2529
-
2530
- @include media('<=tablet') {
2531
- width: 100%;
2532
- max-width: unset;
2533
- }
2534
- }
2535
- &__cards {
2536
- width: 100%;
2537
- display: flex;
2538
- flex-wrap: wrap;
2539
- &--padding {
2540
- padding-right: 20px;
2541
- @include media('<tablet') {
2542
- width: calc(100% + 24px);
2543
- padding: 0;
2544
- }
2545
- }
2546
- }
2547
- }
2548
- }
2549
-
2550
- .mosaic__container__cards {
2551
- z-index: 1;
2552
- & + .mosaic__pagination {
2553
- position: relative;
2554
- z-index: 2;
2555
- }
2556
- }
2557
- //.wz-img-manager useful to keep the css priority
2558
- .wz-img-manager .table-view {
2559
-
2560
-
2561
- &__row {
2562
- td {
2563
- vertical-align: middle;
2564
- }
2565
- &__container {
2566
- display: flex;
2567
- align-items: center;
2568
- width: 100%;
2569
-
2570
- &__imgContainer {
2571
- margin-right: 20px;
2572
- position: relative;
2573
- display: block;
2574
- min-width: 60px;
2575
- cursor: pointer;
2576
-
2577
- &::before {
2578
- content: '';
2579
- display: block;
2580
- padding-top: 100%;
2581
- }
2582
-
2583
- &__img {
2584
- margin: 0!important;
2585
- position: absolute;
2586
- top: 50%;
2587
- left: 50%;
2588
- max-width: 100%;
2589
- max-height:100%;
2590
- width: auto;
2591
- height: auto;
2592
- transform: translate(-50%, -50%);
2593
- object-fit: contain;
2594
- }
2595
-
2596
- &.imgSelected {
2597
-
2598
- &:after {
2599
- z-index: 1000;
2600
- content: '';
2601
- display: block;
2602
- position: absolute;
2603
- width: 100%;
2604
- height: 4px;
2605
- background-color: $img-main-color;
2606
- bottom: 0;
2607
- left: 0;
2608
- transform: translateZ(0);
2609
- }
2610
- }
2611
-
2612
- &__overlay {
2613
- position: absolute;
2614
- top: 25%;
2615
- left: 25%;
2616
- height: 100%;
2617
- width: 100%;
2618
-
2619
- i {
2620
- font-size: 30px;
2621
- color: grey;
2622
- }
2623
- }
2624
- }
2625
-
2626
- &__name {
2627
- display: inline-block;
2628
- background-color: transparent;
2629
- white-space: nowrap;
2630
- overflow: hidden;
2631
- text-overflow: ellipsis;
2632
- color: $main-text;
2633
- font-size: 14px;
2634
- cursor: initial;
2635
- }
2636
- }
2637
- }
2638
-
2639
- &__dropdown-options {
2640
- &__label {
2641
- &--disable {
2642
- cursor: not-allowed;
2643
- i {
2644
- cursor: not-allowed;
2645
- }
2646
- }
2647
- }
2648
- }
2649
- }
2650
-
2651
- .wz-img-manager .table-view .checked {
2652
- color: $img-main-color;
2653
- }
2654
-
2655
- .wz-img-manager .table-view .checked.disabled {
2656
- color: grey;
2657
- }
2658
-
2659
-
2660
- .wz-img-manager .table-view .disabled {
2661
- cursor: not-allowed;
2662
- }
2663
-
2664
-
2665
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
2666
- width: 5rem;
2667
- }
2668
-
2669
- .table-view .wzImgMngInput {
2670
- border-radius: 3px;
2671
- }
2672
-
2673
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
2674
- border: solid transparent 1px;
2675
- }
2676
-
2677
- .wz-img-manager .table-view .dropdown-menu {
2678
- left: -165px;
2679
- }
2680
-
2681
- .grey {
2682
- color: $img-grey-color;
2683
- }
2684
- image-cropper {
2685
- max-height: 60vh;
2686
- }.img-editor__infoSection__propertySEO__tooltips {
2687
- i {
2688
- font-size: rem(16);
2689
- color: $main-text;
2690
- }
2691
- }$default-color-p-alert: #1e5568;
2692
- $success-color-p-alert: #11552e;
2693
- $warning-color-p-alert: #3a0505;
2694
- $primary-button: #e95656;
2695
- $link-color: #52aecd;
2696
- $green-color: #2ecc71;
2697
-
2698
- .wz-alert {
2699
- width: 100%;
2700
- background-color: scale-color($link-color, $alpha: -85%);
2701
- color: $link-color;
2702
- border-radius: 3px;
2703
- display: flex;
2704
- flex-wrap: nowrap;
2705
- justify-content: space-between;
2706
- padding: 20px;
2707
- &.success {
2708
- background-color: scale-color($green-color, $alpha: -85%);
2709
- p {
2710
- color: $success-color-p-alert;
2711
- > * {
2712
- color: $success-color-p-alert;
2713
- }
2714
- }
2715
- i {
2716
- color: $green-color;
2717
- }
2718
- }
2719
- &.warning {
2720
- background-color: scale-color($primary-button, $alpha: -85%);
2721
- p {
2722
- color: $warning-color-p-alert;
2723
- > * {
2724
- color: $warning-color-p-alert;
2725
- }
2726
- }
2727
- i {
2728
- color: $primary-button;
2729
- }
2730
- }
2731
- p {
2732
- width: 100%;
2733
- font-size: rem(14);
2734
- line-height: rem(25);
2735
- margin: 0;
2736
- padding: 0;
2737
- color: $default-color-p-alert;
2738
- > * {
2739
- color: $default-color-p-alert;
2740
- }
2741
- }
2742
- i {
2743
- width: auto;
2744
- margin: 0 10px 0 0;
2745
- color: inherit;
2746
- font-size: rem(14);
2747
- line-height: rem(25);
2748
- }
2749
- }
2750
- .wz-img-manager .is-checkradio[type='checkbox'] {
2751
- outline: 0 !important;
2752
- & + label {
2753
- font-size: rem(14);
2754
- line-height: rem(24);
2755
- color: $input-radio-color-label;
2756
- padding-left: 26px;
2757
- outline: 0 !important;
2758
- &:before {
2759
- width: 16px;
2760
- height: 16px;
2761
- border: 1px solid $border-color;
2762
- top: 4px;
2763
- transition: all 0.3s ease-in-out;
2764
- }
2765
- &:after {
2766
- top: 6.3px !important;
2767
- left: 3px !important;
2768
- width: 10px;
2769
- height: 12px;
2770
- border: none !important;
2771
- background: transparent
2772
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2773
- center center / 8px 8px no-repeat;
2774
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2775
- transition: all 0.3s ease-in-out;
2776
- }
2777
- &:hover,
2778
- &:focus {
2779
- &:before {
2780
- border-color: $input-active-color !important;
2781
- }
2782
- }
2783
- &:before,
2784
- &:after {
2785
- outline: 0 !important;
2786
- }
2787
- }
2788
- &:hover {
2789
- & + label {
2790
- color: $input-radio-color-active-label;
2791
- &:before {
2792
- border-color: $input-active-color !important;
2793
- }
2794
- &:after {
2795
- border-color: $white !important;
2796
- }
2797
- }
2798
- &:not([disabled]) {
2799
- & + label {
2800
- &:before {
2801
- border-color: $input-active-color !important;
2802
- }
2803
- }
2804
- }
2805
- }
2806
- &:checked + label {
2807
- color: $input-radio-color-active-label;
2808
- &:before {
2809
- border: 1px solid $input-active-color;
2810
- background-color: $input-active-color;
2811
- transition: all 0.3s ease-in-out;
2812
- }
2813
- &:after {
2814
- left: 7px;
2815
- top: 8px;
2816
- transition: all 0.3s ease-in-out;
2817
- }
2818
- }
2819
- }
2820
-
2821
- .wz-img-manager .field {
2822
- &__row {
2823
- min-width: 100%;
2824
- margin: 0 0 10px;
2825
- }
2826
- &--nowrap {
2827
- display: inline-block;
2828
- width: auto;
2829
- min-width: 0;
2830
- margin: 0 10px 10px 0;
2831
- .field {
2832
- &__row {
2833
- width: auto;
2834
- display: inline-block;
2835
- margin: 0;
2836
- }
2837
- }
2838
- }
2839
- &.alone {
2840
- .is-checkradio[type='checkbox'] {
2841
- & + label {
2842
- padding: 0;
2843
- &:before {
2844
- border-width: 1px;
2845
- width: 16px;
2846
- height: 16px;
2847
- border-radius: 2px;
2848
- }
2849
- }
2850
- &:checked + label {
2851
- &:after {
2852
- top: 7px;
2853
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2854
- }
2855
- }
2856
- }
2857
- }
2858
- }
2859
- .wz-img-manager .dropdownWizi {
2860
- padding: 10px;
2861
-
2862
- &.is-hoverable {
2863
- .rotate {
2864
- i {
2865
- @include simple_transition();
2866
- transform: rotate(90deg);
2867
- cursor: pointer;
2868
- }
2869
- }
2870
- &:hover,
2871
- &:active {
2872
- .rotate:not(.rotate--disable) {
2873
- i {
2874
- @include simple_transition();
2875
- transform: rotate(0deg);
2876
- }
2877
- }
2878
- }
2879
- }
2880
-
2881
- &:not(.is-hoverable) {
2882
- .rotate {
2883
- i {
2884
- @include simple_transition();
2885
- transform: rotate(90deg);
2886
- }
2887
- }
2888
- }
2889
-
2890
- .dropdown-item.active-item {
2891
- background-color: #F5F8FA;
2892
-
2893
- p, i {
2894
- color: #1D2A3B;
2895
- }
2896
- }
2897
-
2898
- .dropdown-item {
2899
- margin-left: 10px;
2900
- margin-right: 10px;
2901
- cursor: pointer;
2902
-
2903
- i {
2904
- margin-right: 8px;
2905
- }
2906
- p, i {
2907
- color: #526384;
2908
- display: inline-block;
2909
- }
2910
-
2911
- p {
2912
- margin-top: 0;
2913
- margin-bottom: 0;
2914
- }
2915
-
2916
- > * {
2917
- -webkit-touch-callout: none; /* iOS Safari */
2918
- -webkit-user-select: none; /* Safari */
2919
- -khtml-user-select: none; /* Konqueror HTML */
2920
- -moz-user-select: none; /* Old versions of Firefox */
2921
- -ms-user-select: none; /* Internet Explorer/Edge */
2922
- user-select: none; /* Non-prefixed version, currently
2923
- supported by Chrome, Edge, Opera and Firefox */
2924
- }
2925
-
2926
- &:hover {
2927
- background-color: #F5F8FA;
2928
- p, i {
2929
- color: $img-main-color;
2930
- }
2931
- }
2932
- }
2933
-
2934
- .dropdown-content {
2935
- &:before {
2936
- content: '';
2937
- display: block;
2938
- position: absolute;
2939
- bottom: 100%;
2940
- left: 90%;
2941
- transform: translateX(-50%) translateY(5px);
2942
- width: 0;
2943
- height: 0;
2944
- border-style: solid;
2945
- border-width: 0 6px 8px 6px;
2946
- border-color: transparent transparent #fff transparent;
2947
- z-index: 2;
2948
- }
2949
- &:after {
2950
- content: '';
2951
- display: block;
2952
- position: absolute;
2953
- bottom: 100%;
2954
- left: 90%;
2955
- transform: translateX(-50%) translateY(4px);
2956
- width: 0;
2957
- height: 0;
2958
- border-style: solid;
2959
- border-width: 0 6px 8px 6px;
2960
- border-color: transparent transparent #dddddd transparent;
2961
- opacity: 0.5;
2962
- z-index: 1;
2963
- }
2964
- }
2965
-
2966
- .dropdown-menu {
2967
- top: 80%;
2968
- }
2969
- }
2970
-
2971
- .dropdownWizi:not(.is-hoverable) {
2972
- cursor: not-allowed;
2973
- }.wz-img-manager .input-search.field {
2974
- padding: 10px 20px;
2975
- background-color: $gray-background;
2976
- @include media('<tablet') {
2977
- padding: 0!important;
2978
- background-color: $white;
2979
- }
2980
- &.small-padding {
2981
- padding: 10px 20px;
2982
- }
2983
- .input,
2984
- .input:focus,
2985
- .input.is-focused,
2986
- .input:active,
2987
- .input.is-active {
2988
- font-size: rem(14);
2989
- color: $main-text;
2990
- border: rem(1) solid $input-border-search;
2991
- box-shadow: none;
2992
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
2993
- border-radius: rem(3);
2994
- margin: 0;
2995
- height: auto;
2996
- min-height: unset;
2997
-
2998
- &::placeholder {
2999
- color: $placeholder-color;
3000
- font-weight: normal;
3001
- }
3002
- }
3003
-
3004
- .input:focus,
3005
- .input.is-focused,
3006
- .input:active,
3007
- .input.is-active {
3008
- border-color: $wizishop-blue;
3009
- }
3010
-
3011
- .icon {
3012
- position: absolute;
3013
- top: 50%;
3014
- left: 20px;
3015
- font-size: rem(18);
3016
- transform: translateY(-50%);
3017
- pointer-events: none;
3018
- font-weight: 400;
3019
- color: $placeholder-color;
3020
- margin: 0;
3021
- width: rem(18);
3022
- height: rem(18);
3023
- }
3024
- }
3025
-
3026
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3027
- padding: 0;
3028
- background-color: transparent;
3029
- }
3030
- .wz-img-manager .wz-pagination {
3031
- width: 100%;
3032
- padding: 0;
3033
-
3034
- &__wrapper {
3035
- @include flexbox();
3036
- @include justify-content(flex-end);
3037
- padding: 0 17px 0 0;
3038
-
3039
- @include media('<tablet') {
3040
- padding: 0;
3041
- justify-content: space-between;
3042
- }
3043
-
3044
- &__page {
3045
- margin-right: 30px;
3046
- padding: 4px 0 5px 0;
3047
-
3048
- @include media('<tablet') {
3049
- margin: 0 20px 20px 0;
3050
- }
3051
-
3052
- @include flexbox();
3053
-
3054
- p {
3055
- margin: 4px 11px 4px 0;
3056
- font-size: 14px;
3057
- line-height: 24px;
3058
- color: $second-color;
3059
- }
3060
-
3061
- select {
3062
- width: 50px;
3063
- font-size: 14px;
3064
- line-height: 24px;
3065
- color: $second-color;
3066
- padding: 3px 26px 3px 15px;
3067
- border: 1px solid $border-form;
3068
- border-radius: 3px;
3069
- -webkit-appearance: none;
3070
- -moz-appearance: none;
3071
- text-indent: 0;
3072
- text-overflow: '';
3073
- background: transparent
3074
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3075
- top 8px right 12px / 10px 10px no-repeat;
3076
- }
3077
-
3078
- select::-ms-expand {
3079
- display: none;
3080
- }
3081
- }
3082
-
3083
- &__elements {
3084
- margin-right: 30px;
3085
- @include media('<tablet') {
3086
- display: none;
3087
- }
3088
-
3089
- p {
3090
- margin: 8px 0 9px 0;
3091
- font-size: 14px;
3092
- line-height: 24px;
3093
- color: $dark;
3094
- }
3095
- }
3096
-
3097
- &__arrows {
3098
- @include flexbox();
3099
-
3100
- &__arrow {
3101
- width: 40px;
3102
- height: 40px;
3103
- padding: 9px 14px;
3104
- border: 1px solid $border-form;
3105
- border-radius: 3px;
3106
- cursor: pointer;
3107
- display: flex;
3108
- align-items: center;
3109
-
3110
- span {
3111
- display: inline-block;
3112
- width: 10px;
3113
- height: 15px;
3114
- }
3115
-
3116
- &--left {
3117
- margin-right: 10px;
3118
-
3119
- span {
3120
- background: transparent
3121
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-left' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3E%3C/svg%3E")
3122
- center center / 10px 12px no-repeat;
3123
- }
3124
- }
3125
-
3126
- &--right {
3127
- span {
3128
- background: transparent
3129
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-right' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E")
3130
- center center / 10px 12px no-repeat;
3131
- }
3132
- }
3133
-
3134
- &--disabled {
3135
- border-color: $background-color;
3136
- background-color: $background-color;
3137
- }
3138
- }
3139
- }
3140
- }
3141
- }
3142
-
3143
-
3144
- .wac {
3145
- &-select {
3146
- width: 100%;
3147
- position: relative;
3148
- height: 40px;
3149
- border: 1px solid $border-form;
3150
- margin: 0;
3151
- border-radius: 3px;
3152
- z-index: 2;
3153
- background-color: $white;
3154
- max-width: 100%;
3155
- &:hover,
3156
- &:focus {
3157
- z-index: 4;
3158
- }
3159
- &__label {
3160
- padding: 0;
3161
- font-size: rem(14);
3162
- line-height: rem(16);
3163
- margin: 0 0 rem(12);
3164
- font-weight: 500;
3165
- }
3166
- &__current {
3167
- display: flex;
3168
- width: 100%;
3169
- height: 38px;
3170
- justify-content: space-between;
3171
- align-items: center;
3172
- align-content: center;
3173
- padding: 0 0 0 20px;
3174
- color: $color-text-grey;
3175
- font-size: rem(14);
3176
- line-height: rem(16);
3177
- cursor: pointer;
3178
- white-space: nowrap;
3179
- text-overflow: ellipsis;
3180
- max-width: 100%;
3181
- overflow: hidden;
3182
- &--withSearch {
3183
- padding: 0;
3184
- span {
3185
- &:not(.icon):not(:last-child) {
3186
- display: block;
3187
- width: 100%;
3188
- height: rem(38);
3189
- line-height: rem(38);
3190
- padding: 0 20px;
3191
- }
3192
- &.icon {
3193
- & + span {
3194
- padding: 0;
3195
- }
3196
- }
3197
- &:last-child {
3198
- margin: 0;
3199
- }
3200
- }
3201
- &.open-search {
3202
- span {
3203
- &:not(.icon):not(:last-child) {
3204
- display: none;
3205
- }
3206
- &.icon {
3207
- display: none;
3208
- }
3209
- }
3210
- }
3211
- }
3212
- span.icon {
3213
- max-width: 24px;
3214
- margin: 0 10px 0 0;
3215
- i {
3216
- font-size: rem(17);
3217
- }
3218
- img {
3219
- display: block;
3220
- max-width: rem(24);
3221
- }
3222
- &:empty {
3223
- display: none;
3224
- }
3225
- }
3226
- > span:not([class]):not(:last-child) {
3227
- width: 100%;
3228
- text-align: left;
3229
- max-width: calc(100% - 58px);
3230
- overflow: hidden;
3231
- text-overflow: ellipsis;
3232
- }
3233
- span:last-child {
3234
- width: 38px;
3235
- min-width: 38px;
3236
- height: 38px;
3237
- margin: 0 0 0 20px;
3238
- display: flex;
3239
- justify-content: center;
3240
- align-items: center;
3241
- align-content: center;
3242
- background-color: $select-icon-background;
3243
- border-radius: 0 3px 3px 0;
3244
- z-index: 3;
3245
- i {
3246
- font-size: rem(12);
3247
- color: $second-color;
3248
- }
3249
- }
3250
- &__search {
3251
- position: relative;
3252
- top: 0;
3253
- left: 0;
3254
- width: 100%;
3255
- height: rem(38);
3256
- display: flex;
3257
- align-items: center;
3258
- align-content: center;
3259
- z-index: 2;
3260
- padding: 0 0 0 rem(20);
3261
- input {
3262
- border: none;
3263
- width: 100%;
3264
- box-shadow: none;
3265
- margin: 0 0 0 rem(10);
3266
- padding: 0;
3267
- height: rem(38);
3268
- line-height: rem(38);
3269
- &:focus {
3270
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3271
- opacity: 0;
3272
- }
3273
- &::-moz-placeholder { /* Firefox 19+ */
3274
- opacity: 0;
3275
- }
3276
- &:-ms-input-placeholder { /* IE 10+ */
3277
- opacity: 0;
3278
- }
3279
- &:-moz-placeholder { /* Firefox 18- */
3280
- opacity: 0;
3281
- }
3282
-
3283
- }
3284
- }
3285
- }
3286
- }
3287
- .select-disabled {
3288
- background-color: #f5f8fa;
3289
- cursor: not-allowed;
3290
- }
3291
- &__content {
3292
- position: absolute;
3293
- top: 100%;
3294
- margin-top: rem(14);
3295
- left: -1px;
3296
- width: auto;
3297
- min-width: calc(100% - 38px);
3298
- max-width: calc(100% + 2px);
3299
- border: 1px solid $border-light;
3300
- border-radius: 3px;
3301
- display: flex;
3302
- flex-direction: column;
3303
- justify-content: flex-start;
3304
- align-items: flex-start;
3305
- background-color: $white;
3306
- max-height: 260px;
3307
- height: auto;
3308
- visibility: visible;
3309
- opacity: 1;
3310
- box-shadow: 3px 3px 20px $select-box-shadow;
3311
- padding: 10px;
3312
- &.hidden {
3313
- visibility: hidden;
3314
- opacity: 0;
3315
- & > * {
3316
- opacity: 0;
3317
- transition: 0s;
3318
- }
3319
- }
3320
- .ps {
3321
- max-height: 240px;
3322
- }
3323
- &.open,
3324
- &.open.hidden {
3325
- position: relative;
3326
- left: auto;
3327
- top: 0;
3328
- transform: translateX(-1px);
3329
- visibility: visible;
3330
- opacity: 1;
3331
- & > * {
3332
- opacity: 1;
3333
- transition: 0s;
3334
- }
3335
- }
3336
- &__cta {
3337
- background-color: $color-CTA-select;
3338
- border: 1px solid $border-CTA-select;
3339
- color: $main-text;
3340
- font-size: rem(14);
3341
- min-height: rem(40);
3342
- display: flex;
3343
- align-items: center;
3344
- align-content: center;
3345
- width: 100%;
3346
- border-radius: 3px;
3347
- cursor: pointer;
3348
- transition: 0.3s ease;
3349
- margin: 0 0 rem(10);
3350
- padding: 0 20px;
3351
- > div {
3352
- display: flex;
3353
- align-items: center;
3354
- align-content: center;
3355
- justify-content: flex-start;
3356
- width: 100%;
3357
- i {
3358
- color: $wizishop-blue;
3359
- margin: 0 8px 0 0;
3360
- }
3361
- strong {
3362
- display: inline-block;
3363
- margin: 0 20px 0 0;
3364
- }
3365
- }
3366
- &:hover,
3367
- &:focus {
3368
- background-color: darken($color-CTA-select, 10%);
3369
- }
3370
- }
3371
- &__item {
3372
- width: 100%;
3373
- font-size: rem(14);
3374
- line-height: rem(30);
3375
- cursor: pointer;
3376
- transition: 0.3s ease;
3377
- position: relative;
3378
- display: flex;
3379
- justify-content: flex-start;
3380
- align-content: center;
3381
- align-items: center;
3382
- color: $second-color;
3383
- > div {
3384
- width: 100%;
3385
- display: flex;
3386
- align-items: center;
3387
- align-content: center;
3388
- }
3389
- .icon {
3390
- width: 24px;
3391
- margin: 0 10px 0 0;
3392
- height: auto;
3393
- max-height: 24px;
3394
- }
3395
- &:not(:last-child) {
3396
- margin: 0 0 rem(10);
3397
- }
3398
- &:empty {
3399
- display: none;
3400
- }
3401
- &:first-child {
3402
- border-width: 1px 0 1px;
3403
- }
3404
- &:hover,
3405
- &:focus {
3406
- background-color: $gray-background;
3407
- color: $main-text;
3408
- }
3409
- > div {
3410
- padding: 0 10px;
3411
- &.selected {
3412
- background-color: $gray-background;
3413
- color: $main-text;
3414
- }
3415
- }
3416
- }
3417
- &__empty {
3418
- display: flex;
3419
- width: 100%;
3420
- justify-content: center;
3421
- align-items: center;
3422
- padding: 10px;
3423
- span {
3424
- font-size: rem(16);
3425
- font-weight: 400;
3426
- text-align: center;
3427
- color: $second-color;
3428
- display: inline-block;
3429
- line-height: rem(25);
3430
- }
3431
- }
3432
- }
3433
- }
3434
- }
3435
- .wz-img-manager .wz-table {
3436
- width: 100%;
3437
-
3438
- &__head {
3439
- @include flexbox();
3440
- @include flex-flow(row nowrap);
3441
- width: 100%;
3442
- border-top: 1px solid $textarea-border-color;
3443
- border-bottom: 1px solid $textarea-border-color;
3444
- background-color: $gray-background;
3445
-
3446
- &__cell {
3447
- @include flexbox();
3448
- @include flex(1);
3449
- padding: 15px 20px;
3450
- font-size: 14px;
3451
- line-height: 20px;
3452
- color: $main-text;
3453
- font-weight: 600;
3454
-
3455
- &--checkbox {
3456
- @include flex(none);
3457
- width: 80px;
3458
- padding: 10px 20px 6px 20px;
3459
- > * {
3460
- transform: translateX(15px);
3461
- }
3462
- }
3463
-
3464
- &__search {
3465
- color: $main-text;
3466
- padding-right: 23px;
3467
- transition: background-image 0.3s ease-in-out;
3468
- cursor: text;
3469
-
3470
- &:hover {
3471
- color: $main-text;
3472
- }
3473
-
3474
- &--idle {
3475
- background: transparent
3476
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3477
- center right / 14px 14px no-repeat;
3478
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3479
- cursor: pointer;
3480
-
3481
- &:hover {
3482
- transition: color 0.3s ease-in-out;
3483
- }
3484
- }
3485
-
3486
- &--up {
3487
- background: transparent
3488
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3489
- center right / 14px 14px no-repeat;
3490
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3491
- cursor: pointer;
3492
-
3493
- &:hover {
3494
- transition: color 0.3s ease-in-out;
3495
- }
3496
- }
3497
-
3498
- &--down {
3499
- background: transparent
3500
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3501
- center right / 14px 14px no-repeat;
3502
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3503
- cursor: pointer;
3504
-
3505
- &:hover {
3506
- transition: color 0.3s ease-in-out;
3507
- }
3508
- }
3509
- }
3510
-
3511
- &--center--left {
3512
- @include align-items(center);
3513
- @include justify-content(left);
3514
- }
3515
- &--center--center {
3516
- @include align-items(center);
3517
- @include justify-content(center);
3518
- }
3519
- &--center--right {
3520
- @include align-items(center);
3521
- @include justify-content(right);
3522
- }
3523
- }
3524
- }
3525
-
3526
- // TODO delete __search
3527
- &__search {
3528
- height: 100px;
3529
- margin-top: 10px;
3530
- }
3531
-
3532
- &__body {
3533
- width: 100%;
3534
- margin-top: -10px;
3535
-
3536
- &__loader {
3537
- position: relative;
3538
- min-height: 200px;
3539
- }
3540
-
3541
- &__line {
3542
- @include flexbox();
3543
- @include flex-flow(row nowrap);
3544
- width: 100%;
3545
- border-bottom: 1px solid $textarea-border-color;
3546
-
3547
- &__cell {
3548
- @include flexbox();
3549
- @include flex(1);
3550
- padding: 20px 20px 20px 20px;
3551
- font-size: 14px;
3552
- line-height: 25px;
3553
- color: $secondary-color;
3554
-
3555
- &--checkbox {
3556
- @include flexbox();
3557
- @include flex(none);
3558
- @include justify-content(center);
3559
- @include align-items(center);
3560
- width: 80px;
3561
- padding: 8px 20px;
3562
- }
3563
-
3564
- &--center--left {
3565
- @include align-items(center);
3566
- @include justify-content(left);
3567
- }
3568
- &--center--center {
3569
- @include align-items(center);
3570
- @include justify-content(center);
3571
- }
3572
- &--center--right {
3573
- @include align-items(center);
3574
- @include justify-content(right);
3575
- }
3576
- }
3577
- }
3578
- }
3579
- }
3580
- $card-img-size: 100%;
3581
- $card-img-size-small: 140px;
3582
-
3583
- //.wz-img-manager useful to keep the css priority
3584
- .wz-img-manager .addCssPriority .img-card {
3585
- display: flex;
3586
- flex-wrap: wrap;
3587
- justify-content: center;
3588
- padding: 0 0 rem(5);
3589
- width: 100%;
3590
- overflow: hidden;
3591
-
3592
- @include media('<720px') {
3593
- width: 97%;
3594
- }
3595
-
3596
- &__container {
3597
- width: 100%!important;
3598
- height: auto!important;
3599
- display: flex;
3600
- border-radius: 3px;
3601
- border: 1px solid $img-light-white-color;
3602
- cursor: pointer;
3603
- overflow: hidden;
3604
- transition: .3s ease;
3605
- position: relative;
3606
- margin: 0 0 rem(10);
3607
- &:before {
3608
- content: '';
3609
- display: block;
3610
- padding-top: 100%;
3611
- }
3612
-
3613
- &.imgSelected {
3614
-
3615
- &:after {
3616
- z-index: 1000;
3617
- content: '';
3618
- display: block;
3619
- position: absolute;
3620
- width: 100%;
3621
- height: 4px;
3622
- background-color: $img-main-color;
3623
- bottom: 0;
3624
- left: 0;
3625
- transform: translateZ(0);
3626
- }
3627
- }
3628
-
3629
- &__valid {
3630
- display: flex;
3631
- position: absolute;
3632
- top: 100%;
3633
- left: 50%;
3634
- transform: translate(-50%,0);
3635
- justify-content: center;
3636
- align-items: center;
3637
- width: auto;
3638
- background-color: $img-green-color;
3639
- border-radius: 3px;
3640
- padding: 5px;
3641
- transition: .3s ease;
3642
- i {
3643
- font-size: rem(10);
3644
- color: $white;
3645
- margin: 0 5px 0 0;
3646
- }
3647
- span {
3648
- color: $white;
3649
- font-weight: 500;
3650
- font-size: rem(10);
3651
- }
3652
- }
3653
-
3654
- &:hover, &:focus {
3655
- .img-card__container {
3656
- &__valid {
3657
- transform: translate(-50%, -40px);
3658
- }
3659
- }
3660
- }
3661
-
3662
- &__img {
3663
- width: auto!important;
3664
- height: auto!important;
3665
- background-color: white;
3666
- margin: auto;
3667
- transition: .3s ease;
3668
- position: absolute;
3669
- object-fit: contain;
3670
- max-width: 100%;
3671
- max-height: 100%;
3672
- top: 50%;
3673
- left: 50%;
3674
- transform: translate(-50%,-50%);
3675
- }
3676
-
3677
- &__config {
3678
- position: relative;
3679
- top: 10px;
3680
- left: 10px;
3681
- transform: none;
3682
- z-index: 9999;
3683
- width: 30px;
3684
- opacity: 0;
3685
- transition: .3s ease;
3686
-
3687
- &--small {
3688
- .show-edit {
3689
- transition: .3s ease!important;
3690
- &:hover, &:focus {
3691
- background-color: darken(#1E2E43, 15%) !important;
3692
- }
3693
- }
3694
- }
3695
-
3696
- button {
3697
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3698
- margin: 0;
3699
- width: 30px;
3700
- height: 30px;
3701
- box-sizing: content-box;
3702
- border-radius: 3px;
3703
- border: none;
3704
- color: #fff;
3705
- transform: translateX(-40px);
3706
- will-change: transform;
3707
- cursor: pointer;
3708
- padding: 0;
3709
- display: flex;
3710
- justify-content: center;
3711
- align-content: center;
3712
- align-items: center;
3713
-
3714
- i {
3715
- font-size: 16px;
3716
- color: #fff;
3717
- position: relative;
3718
- z-index: 3;
3719
- }
3720
-
3721
- &:before {
3722
- content: '';
3723
- display: block;
3724
- position: absolute;
3725
- top: 0;
3726
- left: 0;
3727
- border-radius: 3px;
3728
- width: 100%;
3729
- height: 100%;
3730
- z-index: 2;
3731
- }
3732
-
3733
- span {
3734
- position: absolute;
3735
- left: 100%;
3736
- display: flex;
3737
- justify-content: center;
3738
- align-items: center;
3739
- align-content: center;
3740
- height: 100%;
3741
- margin-left: -10px;
3742
- width: auto;
3743
- padding: 0 10px 0 0;
3744
- color: #fff;
3745
- text-transform: capitalize;
3746
- font-size: 14px;
3747
- border-radius: 0 3px 3px 0;
3748
- max-width: 0;
3749
- overflow: hidden;
3750
- z-index: 1;
3751
- transition: .3s ease;
3752
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3753
- white-space: nowrap;
3754
- }
3755
-
3756
- &:not(:last-child) {
3757
- margin: 0 0 5px;
3758
- }
3759
- &.size, &.show-edit {
3760
- background-color: #1E2E43;
3761
- transition: transform .3s ease .6s;
3762
- span, &:before {
3763
- background-color: #1E2E43;
3764
- }
3765
- }
3766
- &.dl {
3767
- background-color: $img-bleu-action;
3768
- transition: transform .3s ease .45s;
3769
- span, &:before {
3770
- background-color: $img-bleu-action;
3771
- }
3772
- }
3773
- &.edit {
3774
- background-color: $img-orange-color;
3775
- transition: transform .3s ease .3s;
3776
- span, &:before {
3777
- background-color: $img-orange-color;
3778
- }
3779
- }
3780
- &.deleted {
3781
- background-color: $img-red-color;
3782
- transition: transform .3s ease .15s;
3783
- span, &:before {
3784
- background-color: $img-red-color;
3785
- }
3786
- }
3787
- &.selected {
3788
- background-color: #fff;
3789
- border-color: $img-light-white-color;
3790
- transition: transform .3s ease;
3791
- span, &:before {
3792
- background-color: #fff;
3793
- color: $img-grey-color;
3794
- }
3795
-
3796
- i {
3797
- color: $img-light-white-color;
3798
- }
3799
- .checked {
3800
- color: $img-bleu-color;
3801
- }
3802
- }
3803
- &:hover, &:focus, &.show-instant {
3804
- border-radius: 3px 0 0 3px;
3805
- &:before {
3806
- border-radius: 3px 0 0 3px;
3807
- }
3808
- span {
3809
- transition: max-width 1s ease, margin-left .3s ease;
3810
- max-width: 1000px;
3811
- margin-left: -1px;
3812
- padding-left: 4px;
3813
- will-change: transform, margin;
3814
- }
3815
- }
3816
- }
3817
- }
3818
-
3819
- &__overlay {
3820
- position: absolute;
3821
- top: 0;
3822
- left: 0;
3823
- height: 100%;
3824
- width: 100%;
3825
- display: flex;
3826
- justify-content: center;
3827
- align-items: center;
3828
-
3829
- i {
3830
- font-size: 100px;
3831
- color: grey;
3832
- }
3833
-
3834
- &--smallDisplay {
3835
- i {
3836
- font-size: 75px;
3837
- }
3838
- }
3839
- }
3840
-
3841
- &__delete {
3842
- position: absolute;
3843
- top: 0;
3844
- left: 0;
3845
- width: 100%;
3846
- height: 100%;
3847
- background-color: rgba(0,0,0,.45);
3848
- display: flex;
3849
- flex-direction: column;
3850
- justify-content: center;
3851
- align-items: center;
3852
- padding: 15px;
3853
- visibility: hidden;
3854
- transform: translateY(100%);
3855
- opacity: 0;
3856
- z-index: 9999;
3857
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3858
- &.show {
3859
- transform: translateY(0);
3860
- opacity: 1;
3861
- visibility: visible;
3862
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3863
- }
3864
- > span {
3865
- font-size: rem(14);
3866
- color: $img-white;
3867
- font-weight: 600;
3868
- text-align: center;
3869
- display: inline-block;
3870
- margin: 0 0 10px;
3871
- }
3872
- > div {
3873
- display: flex;
3874
- > button {
3875
- padding: 7px 12px;
3876
- font-size: rem(14);
3877
- color: $img-white;
3878
- background-color: $img-red-color;
3879
- font-weight: 600;
3880
- border: none;
3881
- margin: 0 0 0 5px;
3882
- text-transform: capitalize;
3883
- transition: .3s ease;
3884
- &:hover, &:focus {
3885
- background-color: darken($img-red-color, 15%);
3886
- }
3887
- &:first-child {
3888
- background-color: $img-main-color;
3889
- margin: 0 5px 0 0;
3890
- &:hover, &:focus {
3891
- background-color: darken($img-main-color, 15%);
3892
- }
3893
- }
3894
- }
3895
- }
3896
- }
3897
- }
3898
-
3899
- &__nameContainer {
3900
- text-align: center;
3901
- overflow: hidden;
3902
- max-width: 100%;
3903
- min-width: 100%;
3904
- position: relative;
3905
- width: auto;
3906
- display: flex;
3907
- justify-content: center;
3908
- align-items: center;
3909
- min-height: rem(16);
3910
-
3911
- &.focus {
3912
- overflow: visible;
3913
- }
3914
-
3915
- > span {
3916
- padding: 0 rem(10);
3917
- font-size: rem(12);
3918
- line-height: rem(14);
3919
- color: $img-grey-color;
3920
- width: auto;
3921
- white-space: nowrap;
3922
- overflow: hidden;
3923
- text-overflow: ellipsis;
3924
- text-align: center;
3925
- display: inline-block;
3926
- transition: .3s ease;
3927
- pointer-events: none;
3928
- max-width: 100%;
3929
- }
3930
-
3931
- &__name {
3932
- margin: 0;
3933
- padding: 5px;
3934
- font-size: rem(12);
3935
- color: $img-grey-color;
3936
- line-height: rem(14);
3937
- text-align: center;
3938
- width: 100%;
3939
- min-width: 100%;
3940
- white-space: nowrap;
3941
- overflow: hidden;
3942
- text-overflow: ellipsis;
3943
- transition: .3s ease;
3944
- cursor: initial;
3945
- max-width: 100%;
3946
- position: absolute;
3947
- top: 0;
3948
- left: 0;
3949
- opacity: 0;
3950
- &:focus {
3951
- opacity: 1;
3952
- transform: translateY(-5px);
3953
- & + span {
3954
- opacity: 0;
3955
- }
3956
- }
3957
- }
3958
- }
3959
-
3960
- &:hover, &:focus {
3961
- z-index: 3;
3962
- .img-card {
3963
- &__nameContainer {
3964
- overflow: visible;
3965
- &__name {
3966
- color: #52AECD;
3967
- transform: translateY(-5px);
3968
- }
3969
- }
3970
-
3971
- &__container {
3972
- border-color: $wizishop-blue;
3973
- &__img {
3974
- transform: scale(1.02) translate(-50%,-50%);
3975
- }
3976
- &__config {
3977
- @include media('<tablet') {
3978
- display: none;
3979
- }
3980
- opacity: 1;
3981
- button {
3982
- transform: translateX(0);
3983
- &.size {
3984
- transition: transform .3s ease;
3985
- }
3986
- &.dl {
3987
- transition: transform .3s ease .15s;
3988
- }
3989
- &.edit {
3990
- transition: transform .3s ease .3s;
3991
- }
3992
- &.deleted {
3993
- transition: transform .3s ease .45s;
3994
- }
3995
- &.selected {
3996
- transition: transform .3s ease .6s;
3997
- }
3998
- }
3999
- }
4000
- }
4001
- }
4002
- }
4003
- }
4004
-
4005
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
4006
- width: $card-img-size-small;
4007
- height: $card-img-size-small;
4008
- }
4009
-
4010
- .wz-img-manager .addCssPriority .smallNameDisplay {
4011
- .img-card__nameContainer__name, > span {
4012
- width: $card-img-size-small;
4013
- }
4014
- }
4015
- .wz-selector {
4016
- &__default {
4017
- position: relative;
4018
- &__base {
4019
- position: relative;
4020
- height: rem(32);
4021
- input {
4022
- font-size: rem(14);
4023
- line-height: rem(24);
4024
- color: $img-second-color;
4025
- border: 1px solid $border-form;
4026
- border-radius: 2px;
4027
- height: rem(32);
4028
- padding: 3px 26px 3px 15px;
4029
- cursor: pointer;
4030
- &:focus {
4031
- cursor: text;
4032
- padding: 3px 7px;
4033
- & + i {
4034
- opacity: 0;
4035
- }
4036
- }
4037
- }
4038
- i {
4039
- position: absolute;
4040
- font-size: rem(10);
4041
- height: 6px;
4042
- color: $img-second-color;
4043
- right: 12px;
4044
- top: 50%;
4045
- transform: translateY(-125%);
4046
- cursor: pointer;
4047
- }
4048
- }
4049
- &__absolute {
4050
- position: absolute;
4051
- bottom: 100%;
4052
- left: 0;
4053
- border-radius: 2px 2px 0 0;
4054
- background-color: $white;
4055
- transform: translateY(1px);
4056
- &__wrapper {
4057
- width: 100%;
4058
- display: flex;
4059
- flex-direction: column;
4060
- &:last-child {
4061
- > div {
4062
- border-bottom: 1px solid $border-form;
4063
- }
4064
- }
4065
- &__item {
4066
- padding: 3px 15px;
4067
- width: 100%;
4068
- color: $img-second-color;
4069
- font-size: rem(14);
4070
- line-height: rem(24);
4071
- border-left: 1px solid $border-form;
4072
- border-right: 1px solid $border-form;
4073
- border-top: 1px solid $border-form;
4074
- transition: .3s ease;
4075
- cursor: pointer;
4076
- text-align: center;
4077
- &:hover, &:focus, &.selected {
4078
- background-color: $wizishop-blue;
4079
- color: $white;
4080
- }
4081
- }
4082
- }
4083
- }
4084
- }
4085
- }