@gem-sdk/styles 2.0.0-dev.895 → 2.0.0
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.
- package/dist/base.css +133 -10
- package/dist/base.min.css +1 -1
- package/dist/builder.css +130 -12
- package/dist/builder.min.css +1 -1
- package/dist/toolbar.css +161 -111
- package/dist/toolbar.min.css +1 -1
- package/dist/utility.css +193 -1
- package/dist/utility.min.css +1 -1
- package/package.json +2 -2
- package/src/css/all.css +3 -0
- package/src/css/builds/base.css +129 -7
- package/src/css/builds/builder.css +112 -12
- package/src/css/builds/toolbar.css +175 -126
- package/src/css/helpers/_layout.css +26 -17
- package/src/css/medias.css +2 -2
- package/src/css/utilities/_whitespace.css +1 -0
- package/src/preset.js +2 -2
- package/src/properties.js +19 -13
- package/types/globals.d.ts +81 -0
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +4 -1
package/src/css/builds/base.css
CHANGED
|
@@ -82,7 +82,9 @@ html {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.gp-text ul,
|
|
85
|
-
.gp-text ol
|
|
85
|
+
.gp-text ol,
|
|
86
|
+
.gp-text-instant ul,
|
|
87
|
+
.gp-text-instant ol {
|
|
86
88
|
display: block;
|
|
87
89
|
margin-block-start: 1em;
|
|
88
90
|
margin-block-end: 1em;
|
|
@@ -97,18 +99,31 @@ html {
|
|
|
97
99
|
padding-left: 40px;
|
|
98
100
|
}
|
|
99
101
|
|
|
100
|
-
.gp-text ul
|
|
101
|
-
|
|
102
|
+
.gp-text ul>li,
|
|
103
|
+
.gp-text-instant ul>li {
|
|
104
|
+
list-style: disc inside !important;
|
|
102
105
|
}
|
|
103
106
|
|
|
104
|
-
.gp-text li
|
|
105
|
-
|
|
107
|
+
.gp-text ol>li,
|
|
108
|
+
.gp-text-instant ol>li {
|
|
109
|
+
list-style: decimal inside !important;
|
|
106
110
|
}
|
|
107
111
|
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
[display-init='hide'] {
|
|
113
|
+
> div {
|
|
114
|
+
visibility: hidden !important;
|
|
115
|
+
max-height: 0 !important;
|
|
116
|
+
max-width: 0 !important;
|
|
117
|
+
overflow: hidden !important;
|
|
118
|
+
display: inline !important;
|
|
119
|
+
* {
|
|
120
|
+
max-height: 0 !important;
|
|
121
|
+
max-width: 0 !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
110
124
|
}
|
|
111
125
|
|
|
126
|
+
|
|
112
127
|
[data-slot='children'] {
|
|
113
128
|
width: 100%;
|
|
114
129
|
min-height: 60px;
|
|
@@ -121,6 +136,12 @@ html {
|
|
|
121
136
|
visibility: hidden;
|
|
122
137
|
overflow: hidden;
|
|
123
138
|
|
|
139
|
+
&.product-feature-image {
|
|
140
|
+
visibility: visible !important;
|
|
141
|
+
border: unset;
|
|
142
|
+
border-radius: 0px;
|
|
143
|
+
}
|
|
144
|
+
|
|
124
145
|
&:not(.product-feature-image) {
|
|
125
146
|
&:after {
|
|
126
147
|
content: 'Drop element here';
|
|
@@ -138,6 +159,23 @@ html {
|
|
|
138
159
|
}
|
|
139
160
|
}
|
|
140
161
|
|
|
162
|
+
.gp-instant-page {
|
|
163
|
+
[data-slot='children'].product-feature-image {
|
|
164
|
+
visibility: visible !important;
|
|
165
|
+
border: unset;
|
|
166
|
+
|
|
167
|
+
&:after {
|
|
168
|
+
visibility: visible;
|
|
169
|
+
color: #aaa;
|
|
170
|
+
border: unset;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.drag-placeholder {
|
|
174
|
+
height: 100%;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
141
179
|
.gp-dialog {
|
|
142
180
|
display: none;
|
|
143
181
|
}
|
|
@@ -284,6 +322,90 @@ p {
|
|
|
284
322
|
width: 100%;
|
|
285
323
|
}
|
|
286
324
|
|
|
325
|
+
.gp-p-description-text p:last-child {
|
|
326
|
+
margin-bottom: 0 !important;
|
|
327
|
+
}
|
|
328
|
+
|
|
287
329
|
.gp-tab-header-list::-webkit-scrollbar {
|
|
288
330
|
display: none;
|
|
289
331
|
}
|
|
332
|
+
|
|
333
|
+
.rfm-marquee-container {
|
|
334
|
+
display: flex;
|
|
335
|
+
flex-direction: row;
|
|
336
|
+
position: relative;
|
|
337
|
+
width: var(--width);
|
|
338
|
+
transform: var(--transform);
|
|
339
|
+
max-width: unset !important;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@media (min-width: 1025px) {
|
|
343
|
+
.rfm-marquee-container:hover div {
|
|
344
|
+
animation-play-state: var(--pause-on-hover);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.rfm-marquee-container:active div {
|
|
348
|
+
animation-play-state: var(--pause-on-click);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.rfm-overlay {
|
|
354
|
+
position: absolute;
|
|
355
|
+
width: 100%;
|
|
356
|
+
height: 100%;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.rfm-overlay::after {
|
|
360
|
+
right: 0;
|
|
361
|
+
top: 0;
|
|
362
|
+
transform: rotateZ(180deg);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.rfm-overlay::before {
|
|
366
|
+
left: 0;
|
|
367
|
+
top: 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.rfm-marquee {
|
|
371
|
+
flex: 0 0 auto;
|
|
372
|
+
min-width: var(--min-width);
|
|
373
|
+
z-index: 1;
|
|
374
|
+
max-width: unset !important;
|
|
375
|
+
display: flex;
|
|
376
|
+
flex-direction: row;
|
|
377
|
+
align-items: center;
|
|
378
|
+
animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
|
|
379
|
+
animation-play-state: var(--play);
|
|
380
|
+
animation-delay: var(--delay);
|
|
381
|
+
animation-direction: var(--direction);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
@keyframes scroll {
|
|
385
|
+
0% {
|
|
386
|
+
transform: translateX(0%);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
100% {
|
|
390
|
+
transform: translateX(-100%);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.rfm-initial-child-container {
|
|
395
|
+
flex: 0 0 auto;
|
|
396
|
+
display: flex;
|
|
397
|
+
min-width: auto;
|
|
398
|
+
flex-direction: row;
|
|
399
|
+
align-items: center;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.rfm-child {
|
|
403
|
+
transform: var(--transform);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
[style*="--grchild:"]> :first-child {
|
|
407
|
+
grid-row: var(--grchild);
|
|
408
|
+
}
|
|
409
|
+
[style*="--mbchild:"]> :first-child {
|
|
410
|
+
margin-bottom: var(--mbchild);
|
|
411
|
+
}
|
|
@@ -134,7 +134,10 @@
|
|
|
134
134
|
display: none;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
font-family: Inter,
|
|
137
|
+
font-family: Inter,
|
|
138
|
+
sans-serif,
|
|
139
|
+
ui-sans-serif,
|
|
140
|
+
system-ui;
|
|
138
141
|
border: 1px dashed #f44336 !important;
|
|
139
142
|
/* border-radius: 3px; */
|
|
140
143
|
visibility: visible;
|
|
@@ -191,9 +194,7 @@
|
|
|
191
194
|
background-color: #ebddf866;
|
|
192
195
|
}
|
|
193
196
|
|
|
194
|
-
&.visual-placeholder-theme-section.visual-placeholder-error.has-section:not(
|
|
195
|
-
[is-component-dragging='true']
|
|
196
|
-
) {
|
|
197
|
+
&.visual-placeholder-theme-section.visual-placeholder-error.has-section:not([is-component-dragging='true']) {
|
|
197
198
|
background-color: #f44336 !important;
|
|
198
199
|
}
|
|
199
200
|
|
|
@@ -222,7 +223,8 @@
|
|
|
222
223
|
background-color: #d8e1ff !important;
|
|
223
224
|
}
|
|
224
225
|
|
|
225
|
-
&[is-drag-to-theme-section='true'],
|
|
226
|
+
&[is-drag-to-theme-section='true'],
|
|
227
|
+
&[is-drag-to-shopify-section='true'] {
|
|
226
228
|
background-color: rgba(254, 228, 227, 0.24) !important;
|
|
227
229
|
display: block;
|
|
228
230
|
|
|
@@ -261,11 +263,6 @@
|
|
|
261
263
|
}
|
|
262
264
|
}
|
|
263
265
|
|
|
264
|
-
&[is-drag-to-exceeded-section='true'] {
|
|
265
|
-
background-color: rgba(244,67,54, 0.08) !important;
|
|
266
|
-
border: 1px solid rgba(244,67,54) !important;
|
|
267
|
-
display: block;
|
|
268
|
-
}
|
|
269
266
|
&[is-component-dragging='true'] {
|
|
270
267
|
background-color: #8aa4ff66 !important;
|
|
271
268
|
}
|
|
@@ -418,15 +415,15 @@
|
|
|
418
415
|
|
|
419
416
|
.post-purchase-page {
|
|
420
417
|
font-size: 14px;
|
|
421
|
-
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
418
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
422
419
|
line-height: 15px;
|
|
420
|
+
|
|
423
421
|
select:focus {
|
|
424
422
|
border-color: #1879b9;
|
|
425
423
|
box-shadow: 0 0 0 1px #1879b9;
|
|
426
424
|
}
|
|
427
425
|
}
|
|
428
426
|
|
|
429
|
-
|
|
430
427
|
/* .button-text.ck p {
|
|
431
428
|
overflow: hidden;
|
|
432
429
|
text-overflow: ellipsis;
|
|
@@ -481,4 +478,107 @@
|
|
|
481
478
|
|
|
482
479
|
.editor-content {
|
|
483
480
|
font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.rfm-marquee-container {
|
|
484
|
+
display: flex;
|
|
485
|
+
flex-direction: row;
|
|
486
|
+
position: relative;
|
|
487
|
+
width: var(--width);
|
|
488
|
+
transform: var(--transform);
|
|
489
|
+
max-width: unset !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.rfm-marquee-container:hover div {
|
|
493
|
+
animation-play-state: var(--pause-on-hover);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.rfm-marquee-container:active div {
|
|
497
|
+
animation-play-state: var(--pause-on-click);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.rfm-overlay {
|
|
501
|
+
position: absolute;
|
|
502
|
+
width: 100%;
|
|
503
|
+
height: 100%;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.rfm-overlay::after {
|
|
507
|
+
right: 0;
|
|
508
|
+
top: 0;
|
|
509
|
+
transform: rotateZ(180deg);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.rfm-overlay::before {
|
|
513
|
+
left: 0;
|
|
514
|
+
top: 0;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.rfm-marquee {
|
|
518
|
+
flex: 0 0 auto;
|
|
519
|
+
min-width: var(--min-width);
|
|
520
|
+
z-index: 1;
|
|
521
|
+
max-width: unset !important;
|
|
522
|
+
display: flex;
|
|
523
|
+
flex-direction: row;
|
|
524
|
+
align-items: center;
|
|
525
|
+
animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
|
|
526
|
+
animation-play-state: var(--play);
|
|
527
|
+
animation-delay: var(--delay);
|
|
528
|
+
animation-direction: var(--direction);
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
@keyframes scroll {
|
|
534
|
+
0% {
|
|
535
|
+
transform: translateX(0%);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
100% {
|
|
539
|
+
transform: translateX(-100%);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
.rfm-initial-child-container {
|
|
545
|
+
flex: 0 0 auto;
|
|
546
|
+
display: flex;
|
|
547
|
+
min-width: auto;
|
|
548
|
+
flex-direction: row;
|
|
549
|
+
align-items: center;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.rfm-child {
|
|
553
|
+
transform: var(--transform);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.product-badge.inside-image {
|
|
557
|
+
[data-outline] {
|
|
558
|
+
visibility: visible;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.interaction-select-mode-header {
|
|
563
|
+
font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
[display-init='hide'] {
|
|
568
|
+
visibility: hidden !important;
|
|
569
|
+
max-height: 0 !important;
|
|
570
|
+
overflow: hidden !important;
|
|
571
|
+
display: inline !important;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
[display-init='hide'] * {
|
|
575
|
+
max-height: 0 !important;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.interaction-select-mode [data-component-tag] * {
|
|
579
|
+
cursor: default !important;
|
|
580
|
+
|
|
581
|
+
& [data-toolbar] * {
|
|
582
|
+
cursor: pointer !important;
|
|
583
|
+
}
|
|
484
584
|
}
|