@sc-360-v2/storefront-cms-library 0.4.27 → 0.4.28

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.
@@ -0,0 +1,597 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+ @use "./embroider-preview-element.scss" as *;
5
+
6
+ $tmpWrapper: ".emb__tmp__wrapper";
7
+ $tmpHeaderV2: ".emb__tmp__header__v2";
8
+ $paListParent: ".emb__tmp__pa__list";
9
+ $pacListParent: ".emb__tmp__pac__parent";
10
+ $positionHeader: ".emb__tmp__psn__header";
11
+ $grpDiv: ".grp__div";
12
+ $positionToggleDiv: ".psn__tgle__parent";
13
+ $tmpDsWrapper: ".emb__tmp1__ds__wrapper";
14
+ $previewMain: ".emb__preview__me";
15
+ $previewMainWrapper: ".emb__preview__me__wrapper";
16
+ $previewMainOuput: ".output__ele__v1";
17
+
18
+ @mixin EmbroideryTemplate1StylesV2() {
19
+ & > #{$tmpWrapper} {
20
+ --_sf-prm-clr: #000;
21
+ --_sf-scd-clr: #fff;
22
+ display: var(--_d-flex);
23
+ height: 100%;
24
+ flex-direction: column;
25
+ --_sf-bm-ht: 48px;
26
+ // gap: 12px;
27
+
28
+ #{$tmpHeaderV2} {
29
+ display: var(--_d-flex);
30
+ align-items: center;
31
+ gap: 12px;
32
+ padding: 8px 12px;
33
+
34
+ & > #{$positionHeader} {
35
+ display: var(--_d-flex);
36
+ cursor: pointer;
37
+ align-items: center;
38
+ justify-content: center;
39
+ padding: 6px 8px;
40
+
41
+ font-size: 12px;
42
+ text-transform: uppercase;
43
+ line-height: 20px;
44
+ font-weight: var(--_sp-act-fw, 400);
45
+ background: var(--_sp-act-clr, transparent);
46
+ color: var(--_sp-act-cl, var(--_sf-prm-clr));
47
+ border-radius: 4px;
48
+ span {
49
+ display: var(--_d-flex);
50
+ align-items: center;
51
+ }
52
+
53
+ &[data-state="active"] {
54
+ --_sp-act-fw: 600;
55
+ --_sp-act-clr: var(--_sf-prm-clr);
56
+ --_sp-act-cl: var(--_sf-scd-clr);
57
+ }
58
+ }
59
+ }
60
+
61
+ & > #{$paListParent} {
62
+ display: var(--_d-flex);
63
+ flex-direction: column;
64
+ row-gap: 16px;
65
+ width: 100%;
66
+ background: #f2f2f2;
67
+ padding: 12px;
68
+ height: calc(100% - (2 * var(--_sf-bm-ht)));
69
+ overflow-y: auto;
70
+
71
+ & > #{$pacListParent} {
72
+ display: var(--_d-flex);
73
+ flex-direction: row;
74
+ gap: 12px;
75
+
76
+ // Header
77
+ & > #{$positionHeader} {
78
+ display: var(--_d-flex);
79
+ align-items: center;
80
+ justify-content: space-between;
81
+ gap: 8px;
82
+
83
+ & > span {
84
+ display: var(--_d-flex);
85
+ &.tt1 {
86
+ color: prepareMediaVariable(--_ctm-dn-te-cr, #101828);
87
+ font-size: prepareMediaVariable(--_ctm-dn-te-ft-se, 30px);
88
+ font-weight: prepareMediaVariable(--_ctm-dn-te-ft-wt, 500);
89
+ line-height: prepareMediaVariable(--_ctm-dn-te-le-ht, 125%);
90
+ font-style: prepareMediaVariable(--_ctm-dn-te-ft-se-ic, normal);
91
+ font-family: prepareMediaVariable(--_ctm-dn-te-ft-fy), sans-serif;
92
+ text-decoration: prepareMediaVariable(--_ctm-dn-te-ue);
93
+ letter-spacing: prepareMediaVariable(--_ctm-dn-te-lr-sg);
94
+ text-align: prepareMediaVariable(--_ctm-dn-te-tt-an);
95
+ }
96
+
97
+ &.icn1 {
98
+ --_sf-size: 24px;
99
+ width: var(--_sf-size);
100
+ height: var(--_sf-size);
101
+ align-items: center;
102
+ justify-content: center;
103
+ transition: transform 0.45s ease-in-out;
104
+ cursor: pointer;
105
+
106
+ &[data-is-open="true"] {
107
+ transform: rotate(180deg);
108
+ }
109
+
110
+ & > svg {
111
+ --_perc: 0.75;
112
+ width: calc(var(--_sf-size) * var(--_perc));
113
+ height: calc(var(--_sf-size) * var(--_perc));
114
+
115
+ path {
116
+ stroke: prepareMediaVariable(--_ctm-dn-te-cr, #667085);
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ & > .emb__rght__v2 {
124
+ display: var(--_d-flex);
125
+ flex-direction: column;
126
+ row-gap: 16px;
127
+ width: 100%;
128
+ }
129
+
130
+ // Preview
131
+
132
+ & > #{$previewMain} {
133
+ width: 100%;
134
+ display: var(--_d-flex);
135
+ align-items: flex-start;
136
+ justify-content: center;
137
+ max-width: 400px;
138
+ // --_perc-1: 20%;
139
+ // background: color-mix(
140
+ // in srgb,
141
+ // #000 calc(100% - var(--_perc-1, 0%)),
142
+ // transparent var(--_perc-1, 0%)
143
+ // );
144
+ --_alpha: 85%;
145
+ background: color-mix(
146
+ in srgb,
147
+ var(--_sf-prm-clr) calc(100% - var(--_alpha)),
148
+ transparent var(--_alpha)
149
+ );
150
+ padding: 8px;
151
+ border-radius: 6px;
152
+
153
+ flex-direction: column;
154
+ row-gap: 6px;
155
+
156
+ position: sticky;
157
+ top: 0;
158
+ align-self: flex-start;
159
+
160
+ & > .emb__preview__title {
161
+ // color: color-mix(in srgb, #fff 70%, transparent 30%);
162
+ --_alpha: 15%;
163
+ color: color-mix(
164
+ in srgb,
165
+ var(--_sf-prm-clr) calc(100% - var(--_alpha)),
166
+ transparent var(--_alpha)
167
+ );
168
+ font-size: 14px;
169
+ font-weight: 600;
170
+ }
171
+
172
+ & > #{$previewMainWrapper} {
173
+ display: var(--_d-flex);
174
+ // flex-direction: column;
175
+ max-width: min(500px, 100%);
176
+ align-items: center;
177
+ width: 100%;
178
+ justify-content: center;
179
+ position: var(--_p-relative);
180
+ --_blk-perc: 5%;
181
+ background: color-mix(
182
+ in srgb,
183
+ var(--_base-white) calc(100% - #{var(--_blk-perc)}),
184
+ var(--_base-black) var(--_blk-perc)
185
+ );
186
+ border-radius: 6px;
187
+ min-height: var(--_sf-emb-prw-mn-ht-vl, 150px);
188
+
189
+ & > #{$previewMainOuput} {
190
+ display: var(--_d-grid);
191
+ width: 100%;
192
+ align-self: stretch;
193
+
194
+ // Image Element CSS
195
+ @include FlexEmbroideryPreviewStyles(1);
196
+
197
+ // Text Element CSS
198
+ @include FlexEmbroideryPreviewStyles(2);
199
+ }
200
+ }
201
+ }
202
+
203
+ // Position Toggle
204
+ #{$positionToggleDiv} {
205
+ display: var(--_d-grid);
206
+ width: 100%;
207
+ --_gap: 12px;
208
+ --_col: 2;
209
+ gap: var(--_gap);
210
+ // grid-template-columns: getRepeatColWidth(--_col, --_gap);
211
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
212
+ align-items: center;
213
+
214
+ & > button {
215
+ min-height: 40px;
216
+ display: var(--_d-flex);
217
+ align-items: center;
218
+ justify-content: center;
219
+ padding: 8px 12px;
220
+ border-radius: 4px;
221
+ --_perc-clr-bb: 50%;
222
+ border: 0.5px solid
223
+ var(
224
+ --_sp-color,
225
+ color-mix(
226
+ in srgb,
227
+ #{prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467)}
228
+ calc(100% - var(--_perc-clr-bb)),
229
+ transparent var(--_perc-clr-bb)
230
+ )
231
+ );
232
+ background: color-mix(in srgb, var(--_sp-color, transparent) 6%, transparent 94%);
233
+ gap: 6px;
234
+
235
+ & > .icn__spn {
236
+ display: var(--_d-flex);
237
+ align-items: center;
238
+ justify-content: center;
239
+
240
+ svg {
241
+ width: 20px;
242
+ height: 20px;
243
+
244
+ path {
245
+ &:not(.acv *) {
246
+ stroke: color-mix(
247
+ in srgb,
248
+ var(
249
+ --_sp-color,
250
+ var(
251
+ --_ctm-mob-dn-dt-tt-cr,
252
+ var(--_ctm-tab-dn-dt-tt-cr, var(--_ctm-dn-dt-tt-cr, #475467))
253
+ )
254
+ )
255
+ 75%,
256
+ transparent 25%
257
+ );
258
+ }
259
+ }
260
+ }
261
+ }
262
+
263
+ & > .pac__name__div {
264
+ display: var(--_d-flex);
265
+ align-items: center;
266
+ gap: 8px;
267
+
268
+ & > .pac__name__span {
269
+ display: var(--_d-flex);
270
+ color: var(--_sp-color, #{prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467)});
271
+ font-size: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se, 16px);
272
+ font-family: prepareMediaVariable(--_ctm-dn-dt-tt-ft-fy), sans-serif;
273
+ font-style: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se-ic, normal);
274
+ font-weight: var(--_fw-wt, prepareMediaVariable(--_ctm-dn-dt-tt-ft-wt, 400));
275
+ line-height: prepareMediaVariable(--_ctm-dn-dt-tt-le-ht, 24px);
276
+ letter-spacing: prepareMediaVariable(--_ctm-dn-dt-tt-lr-sg);
277
+ text-transform: capitalize;
278
+
279
+ @include restrictToLinesShow(1);
280
+ }
281
+ }
282
+
283
+ &.acv {
284
+ --_sp-color: #{prepareMediaVariable(--_ctm-dn-ae-tt-cr, #243dc6)};
285
+ --_fw-wt: #{prepareMediaVariable(--_ctm-dn-ae-tt-ft-wt, 600)};
286
+
287
+ svg {
288
+ rect {
289
+ fill: var(
290
+ --_sp-color,
291
+ var(
292
+ --_ctm-mob-dn-dt-tt-cr,
293
+ var(--_ctm-tab-dn-dt-tt-cr, var(--_ctm-dn-dt-tt-cr, #475467))
294
+ )
295
+ );
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
301
+
302
+ // Data Settings Wrapper
303
+
304
+ #{$tmpDsWrapper} {
305
+ display: var(--_d-flex);
306
+ flex-direction: column;
307
+ row-gap: 16px;
308
+ }
309
+
310
+ #{$grpDiv} {
311
+ display: var(--_d-flex);
312
+ flex-direction: column;
313
+ row-gap: 6px;
314
+
315
+ & > label {
316
+ color: prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467);
317
+ font-family: prepareMediaVariable(--_ctm-dn-dt-tt-ft-fy), sans-serif;
318
+ font-style: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se-ic, normal);
319
+ font-size: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se, 16px);
320
+ font-weight: 500;
321
+ line-height: 24px;
322
+ }
323
+
324
+ // Image Upload
325
+
326
+ & > .img__div {
327
+ background: var(--_gray-100);
328
+ height: 100px;
329
+ width: 100%;
330
+ border-radius: var(--_br-6);
331
+ border: 1px dashed var(--_primary-100);
332
+ position: var(--_p-relative);
333
+ cursor: pointer;
334
+
335
+ &[data-has-content="true"] {
336
+ --_sf-vt-im: hidden;
337
+ --_sf-vt-op: 0;
338
+
339
+ & > .output__div {
340
+ display: var(--_d-flex);
341
+ align-self: stretch;
342
+ justify-self: stretch;
343
+ height: 100%;
344
+
345
+ img {
346
+ width: 100%;
347
+ height: 100%;
348
+ object-fit: contain;
349
+ }
350
+ }
351
+ }
352
+
353
+ & > span {
354
+ &.label__span {
355
+ position: var(--_p-absolute);
356
+ pointer-events: none;
357
+ left: 50%;
358
+ top: 50%;
359
+ transform: translate(-50%, -50%);
360
+ font-size: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se, 12px);
361
+ font-family: prepareMediaVariable(--_ctm-dn-dt-tt-ft-fy), sans-serif;
362
+ text-transform: uppercase;
363
+ line-height: 1;
364
+ cursor: pointer;
365
+ visibility: var(--_sf-vt-im, visible);
366
+ opacity: var(--_sf-op-im, 1);
367
+ }
368
+ }
369
+
370
+ & > input {
371
+ &[type="file"] {
372
+ position: var(--_p-absolute);
373
+ inset: 0 0 0 0;
374
+ opacity: 0;
375
+ height: 100%;
376
+ }
377
+ }
378
+ }
379
+
380
+ // Text Editor
381
+ & > .text__div {
382
+ --_perc-clr-bb: 50%;
383
+ border-radius: 4px;
384
+ border: 0.5px solid
385
+ var(
386
+ --_fcs-clr,
387
+ color-mix(
388
+ in srgb,
389
+ #{prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467)}
390
+ calc(100% - var(--_perc-clr-bb)),
391
+ transparent var(--_perc-clr-bb)
392
+ )
393
+ );
394
+ background: var(--_sf-scd-clr);
395
+ padding: 8px 12px;
396
+
397
+ &:has(input) {
398
+ width: min(350px, 100%);
399
+ }
400
+
401
+ &:has(:focus) {
402
+ --_fcs-clr: #{prepareMediaVariable(--_ctm-dn-ae-tt-cr, #243dc6)};
403
+ }
404
+
405
+ & > input {
406
+ color: prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467);
407
+ font-size: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se, 16px);
408
+ font-family: prepareMediaVariable(--_ctm-dn-dt-tt-ft-fy), sans-serif;
409
+ font-style: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se-ic, normal);
410
+ font-weight: var(--_fw-wt, prepareMediaVariable(--_ctm-dn-dt-tt-ft-wt, 400));
411
+ line-height: prepareMediaVariable(--_ctm-dn-dt-tt-le-ht, 24px);
412
+ letter-spacing: prepareMediaVariable(--_ctm-dn-dt-tt-lr-sg);
413
+ border: none;
414
+ height: auto;
415
+
416
+ &:focus {
417
+ outline: none;
418
+ }
419
+ }
420
+ }
421
+
422
+ // Common Dropdown
423
+
424
+ & > .cmn__drp__parent__v2 {
425
+ & > ul {
426
+ display: var(--_d-flex);
427
+ flex-wrap: wrap;
428
+ gap: 12px;
429
+
430
+ & > li {
431
+ display: var(--_d-flex);
432
+ align-content: center;
433
+ gap: 6px;
434
+ padding: 8px 12px;
435
+ border-radius: 4px;
436
+ --_perc-clr-bb: 50%;
437
+ border: 0.5px solid
438
+ var(
439
+ --_sp-color,
440
+ color-mix(
441
+ in srgb,
442
+ #{prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467)}
443
+ calc(100% - var(--_perc-clr-bb)),
444
+ transparent var(--_perc-clr-bb)
445
+ )
446
+ );
447
+ background: color-mix(in srgb, var(--_sp-color, transparent) 6%, transparent 94%);
448
+ cursor: pointer;
449
+
450
+ &:has(.list__img) {
451
+ --_size-w: 128px;
452
+ --_size-h: 48px;
453
+
454
+ width: var(--_size-w);
455
+ height: var(--_size-h);
456
+ position: var(--_p-relative);
457
+
458
+ & > .list__icon {
459
+ position: var(--_p-absolute);
460
+ left: 2px;
461
+ top: 2px;
462
+ visibility: var(--_sf-at-vt, hidden);
463
+ opacity: var(--_sf-at-op, 0);
464
+ }
465
+
466
+ &.active {
467
+ --_sf-at-vt: visible;
468
+ --_sf-at-op: 1;
469
+ }
470
+ }
471
+ &,
472
+ * {
473
+ user-select: none;
474
+ }
475
+
476
+ &.active {
477
+ --_sp-color: #{prepareMediaVariable(--_ctm-dn-ae-tt-cr, #243dc6)};
478
+ --_fw-wt: #{prepareMediaVariable(--_ctm-dn-ae-tt-ft-wt, 600)};
479
+ }
480
+
481
+ & > span {
482
+ display: var(--_d-flex);
483
+ &.list__text {
484
+ color: var(--_sp-color, #{prepareMediaVariable(--_ctm-dn-dt-tt-cr, #475467)});
485
+ font-size: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se, 16px);
486
+ font-family: prepareMediaVariable(--_ctm-dn-dt-tt-ft-fy), sans-serif;
487
+ font-style: prepareMediaVariable(--_ctm-dn-dt-tt-ft-se-ic, normal);
488
+ font-weight: var(--_fw-wt, prepareMediaVariable(--_ctm-dn-dt-tt-ft-wt, 400));
489
+ line-height: prepareMediaVariable(--_ctm-dn-dt-tt-le-ht, 24px);
490
+ letter-spacing: prepareMediaVariable(--_ctm-dn-dt-tt-lr-sg);
491
+ text-transform: capitalize;
492
+ }
493
+
494
+ &.list__icon {
495
+ display: var(--_d-flex);
496
+ align-items: center;
497
+ justify-content: center;
498
+
499
+ svg {
500
+ width: 20px;
501
+ height: 20px;
502
+
503
+ path {
504
+ &:not(.active *) {
505
+ stroke: color-mix(
506
+ in srgb,
507
+ var(
508
+ --_sp-color,
509
+ var(
510
+ --_ctm-mob-dn-dt-tt-cr,
511
+ var(--_ctm-tab-dn-dt-tt-cr, var(--_ctm-dn-dt-tt-cr, #475467))
512
+ )
513
+ )
514
+ 75%,
515
+ transparent 25%
516
+ );
517
+ }
518
+ }
519
+ &:is(.active *) {
520
+ rect {
521
+ fill: var(
522
+ --_sp-color,
523
+ var(
524
+ --_ctm-mob-dn-dt-tt-cr,
525
+ var(--_ctm-tab-dn-dt-tt-cr, var(--_ctm-dn-dt-tt-cr, #475467))
526
+ )
527
+ );
528
+ }
529
+ }
530
+ }
531
+ }
532
+
533
+ &.list__img {
534
+ width: 100%;
535
+ img {
536
+ width: 100%;
537
+ height: 100%;
538
+ object-fit: contain;
539
+ }
540
+ }
541
+ }
542
+ }
543
+ }
544
+ }
545
+ }
546
+ }
547
+ }
548
+
549
+ & > .emb__tmp__footer {
550
+ display: var(--_d-flex);
551
+ height: var(--_sf-bm-ht);
552
+ align-items: center;
553
+ justify-content: space-between;
554
+ gap: 12px;
555
+ padding: 8px 12px;
556
+
557
+ & > div {
558
+ display: var(--_d-flex);
559
+ align-items: center;
560
+ gap: 12px;
561
+
562
+ & > button {
563
+ display: flex;
564
+ align-items: center;
565
+ justify-content: center;
566
+ padding: 6px 8px;
567
+
568
+ font-size: 12px;
569
+ text-transform: uppercase;
570
+ line-height: 20px;
571
+
572
+ border-radius: 4px;
573
+
574
+ &.emb__clear {
575
+ color: var(
576
+ --_ctm-mob-dn-dt-tt-cr,
577
+ var(--_ctm-tab-dn-dt-tt-cr, var(--_ctm-dn-dt-tt-cr, #475467))
578
+ );
579
+ }
580
+
581
+ &.emb__save {
582
+ background: var(--_sf-prm-clr);
583
+ color: var(--_sf-scd-clr);
584
+ border: 1px solid var(--_sf-prm-clr);
585
+ }
586
+
587
+ &.emb__cancel {
588
+ background: transparent;
589
+ color: var(--_sf-prm-clr);
590
+ // border: 1px solid var(--_sf-prm-clr);
591
+ border: 1px solid transparent;
592
+ }
593
+ }
594
+ }
595
+ }
596
+ }
597
+ }
@@ -80,11 +80,17 @@ $previewMainOuput: ".output__ele__v1";
80
80
  display: var(--_d-flex);
81
81
  align-items: flex-start;
82
82
  justify-content: center;
83
- --_perc-1: 20%;
83
+ // --_perc-1: 20%;
84
+ // background: color-mix(
85
+ // in srgb,
86
+ // #000 calc(100% - var(--_perc-1, 0%)),
87
+ // transparent var(--_perc-1, 0%)
88
+ // );
89
+ --_alpha: 85%;
84
90
  background: color-mix(
85
91
  in srgb,
86
- #000 calc(100% - var(--_perc-1, 0%)),
87
- transparent var(--_perc-1, 0%)
92
+ #000 calc(100% - var(--_alpha)),
93
+ transparent var(--_alpha)
88
94
  );
89
95
  padding: 8px;
90
96
  border-radius: 6px;
@@ -93,8 +99,11 @@ $previewMainOuput: ".output__ele__v1";
93
99
  row-gap: 6px;
94
100
 
95
101
  & > .emb__preview__title {
96
- color: color-mix(in srgb, #fff 70%, transparent 30%);
102
+ // color: color-mix(in srgb, #fff 70%, transparent 30%);
103
+ --_alpha: 15%;
104
+ color: color-mix(in srgb, #000 calc(100% - var(--_alpha)), transparent var(--_alpha));
97
105
  font-size: 14px;
106
+ font-weight: 600;
98
107
  }
99
108
 
100
109
  & > #{$previewMainWrapper} {
@@ -229,7 +238,7 @@ $previewMainOuput: ".output__ele__v1";
229
238
 
230
239
  // Data Settings Wrapper
231
240
 
232
- & > #{$tmpDsWrapper} {
241
+ #{$tmpDsWrapper} {
233
242
  display: var(--_d-flex);
234
243
  flex-direction: column;
235
244
  row-gap: 16px;
@@ -1,7 +1,8 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
3
  @use "./functions.scss" as *;
4
- @use "./embroider-template-1.scss" as *;
4
+ // @use "./embroider-template-1.scss" as *;
5
+ @use "./embroider-template-1-v2.scss" as *;
5
6
 
6
7
  $mainWrapper: ".emb__main__wrapper";
7
8
  $libraryWrapper: ".emb__library__wrapper";
@@ -182,8 +183,30 @@ $apiLoader: '[data-spinner-state="loading"]';
182
183
 
183
184
  // Playground
184
185
  & > #{$mainWrapper} {
186
+ &.v2 {
187
+ position: var(--_p-fixed);
188
+ inset: 0 0 0 0;
189
+ z-index: calc(99999 + 25);
190
+ --_alpha: 40%;
191
+ background: color-mix(
192
+ in srgb,
193
+ var(--_base-black) calc(100% - var(--_alpha)),
194
+ transparent var(--_alpha)
195
+ );
196
+ }
185
197
  & > #{$libraryWrapper} {
186
- @include EmbroideryTemplate1Styles();
198
+ &:is(.v2 *) {
199
+ position: var(--_p-absolute);
200
+ background: var(--_white-v2);
201
+ border-radius: 8px;
202
+ width: min(960px, 95%);
203
+ left: 50%;
204
+ top: 50%;
205
+ transform: translate(-50%, -50%);
206
+ // min-height: 250px;
207
+ height: calc(100dvh - (2 * (24px)));
208
+ }
209
+ @include EmbroideryTemplate1StylesV2();
187
210
  }
188
211
  }
189
212
  }