@gem-sdk/styles 2.0.0-dev.895 → 2.0.0-staging.127
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 +141 -12
- package/dist/builder.min.css +1 -1
- package/dist/toolbar.css +166 -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 +128 -12
- package/src/css/builds/toolbar.css +181 -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
|
@@ -127,21 +127,16 @@
|
|
|
127
127
|
[data-toolbar-icon-parent],
|
|
128
128
|
[data-toolbar-zoom-out],
|
|
129
129
|
[data-toolbar-duplicate],
|
|
130
|
+
[data-toolbar-title],
|
|
130
131
|
[data-toolbar-delete] {
|
|
131
132
|
display: none;
|
|
132
133
|
}
|
|
133
|
-
|
|
134
|
-
.gp-gen-content-toolbar {
|
|
135
|
-
border-right-width: 0px;
|
|
136
|
-
button:hover {
|
|
137
|
-
background: transparent;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
134
|
}
|
|
141
135
|
|
|
142
136
|
[data-toolbar][data-toolbar-theme-section='true'] {
|
|
143
137
|
background-color: #9144da;
|
|
144
138
|
color: #fff;
|
|
139
|
+
border-width: 0;
|
|
145
140
|
|
|
146
141
|
&[data-toolbar-active] [data-toolbar-show-parent] {
|
|
147
142
|
&:before {
|
|
@@ -210,19 +205,19 @@
|
|
|
210
205
|
}
|
|
211
206
|
|
|
212
207
|
[data-toolbar][data-toolbar-shopify-section='true'][data-toolbar-hover][data-toolbar-hover-focus] {
|
|
213
|
-
background: #
|
|
208
|
+
background: #29845a;
|
|
214
209
|
padding: 4px;
|
|
215
210
|
}
|
|
216
211
|
|
|
217
212
|
[data-toolbar][data-toolbar-shopify-section='true'][data-toolbar-hover] {
|
|
218
213
|
&:hover {
|
|
219
|
-
background: #
|
|
214
|
+
background: #29845a;
|
|
220
215
|
}
|
|
221
216
|
}
|
|
222
217
|
|
|
223
218
|
[data-toolbar][data-toolbar-shopify-section='true'][data-toolbar-active] {
|
|
224
219
|
&:hover {
|
|
225
|
-
background: #
|
|
220
|
+
background: #29845a;
|
|
226
221
|
}
|
|
227
222
|
}
|
|
228
223
|
|
|
@@ -237,6 +232,14 @@
|
|
|
237
232
|
color: #fff;
|
|
238
233
|
border-radius: 8px;
|
|
239
234
|
|
|
235
|
+
.interaction-suffix {
|
|
236
|
+
display: flex !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.interaction-use-custom-element {
|
|
240
|
+
display: block;
|
|
241
|
+
}
|
|
242
|
+
|
|
240
243
|
&:hover {
|
|
241
244
|
background: #151515;
|
|
242
245
|
}
|
|
@@ -258,10 +261,10 @@
|
|
|
258
261
|
}
|
|
259
262
|
|
|
260
263
|
&[data-toolbar-shopify-section='true'] {
|
|
261
|
-
background: #
|
|
264
|
+
background: #29845a;
|
|
262
265
|
|
|
263
266
|
&[data-toolbar-hover-focus] {
|
|
264
|
-
background: #
|
|
267
|
+
background: #29845a;
|
|
265
268
|
}
|
|
266
269
|
}
|
|
267
270
|
|
|
@@ -320,6 +323,7 @@
|
|
|
320
323
|
|
|
321
324
|
[data-toolbar-duplicate],
|
|
322
325
|
[data-toolbar-delete],
|
|
326
|
+
[data-toolbar-title],
|
|
323
327
|
[data-toolbar-zoom-out],
|
|
324
328
|
[data-toolbar-active-create-theme-section] {
|
|
325
329
|
display: block;
|
|
@@ -374,13 +378,6 @@
|
|
|
374
378
|
[data-toolbar-create-theme-section] {
|
|
375
379
|
display: none;
|
|
376
380
|
}
|
|
377
|
-
|
|
378
|
-
.gp-gen-content-toolbar {
|
|
379
|
-
border-right-width: 1px;
|
|
380
|
-
button:hover {
|
|
381
|
-
background: #3B3B3B;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
381
|
}
|
|
385
382
|
|
|
386
383
|
[data-toolbar][data-toolbar-active-overflow],
|
|
@@ -403,13 +400,62 @@
|
|
|
403
400
|
border-color: #424242;
|
|
404
401
|
}
|
|
405
402
|
|
|
406
|
-
[data-toolbar][data-toolbar-section='true'][data-toolbar-hover-focus]
|
|
403
|
+
[data-toolbar][data-toolbar-section='true'][data-toolbar-hover-focus]
|
|
404
|
+
[data-toolbar-create-theme-section] {
|
|
407
405
|
border-color: #424242;
|
|
408
406
|
}
|
|
409
407
|
|
|
410
|
-
[data-toolbar][data-toolbar-section='true'][data-toolbar-hover-focus],
|
|
411
408
|
[data-toolbar][data-toolbar-section='true'][data-toolbar-active] {
|
|
412
409
|
border-color: #424242;
|
|
410
|
+
|
|
411
|
+
.gp-gen-content-btn {
|
|
412
|
+
border-right-width: 1px;
|
|
413
|
+
border-color: #6a6a6a;
|
|
414
|
+
|
|
415
|
+
button:hover {
|
|
416
|
+
background: #3b3b3b;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
[data-toolbar][data-toolbar-section='false'][data-toolbar-active] {
|
|
422
|
+
.gp-gen-content-btn {
|
|
423
|
+
&:before {
|
|
424
|
+
position: absolute;
|
|
425
|
+
content: '';
|
|
426
|
+
background: #424242;
|
|
427
|
+
width: 1px;
|
|
428
|
+
height: calc(100% - 4px);
|
|
429
|
+
right: 2px;
|
|
430
|
+
top: 2px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
button:hover,
|
|
434
|
+
button.gp-toolbar-ai-active {
|
|
435
|
+
background: #3b3b3b;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
[data-toolbar][data-toolbar-theme-section='true'][data-toolbar-active] {
|
|
441
|
+
.gp-gen-content-btn {
|
|
442
|
+
border-color: #af7edd;
|
|
443
|
+
|
|
444
|
+
&:before {
|
|
445
|
+
background: #af7edd;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
button:hover,
|
|
449
|
+
button.gp-toolbar-ai-active {
|
|
450
|
+
background: #af7edd;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
[data-toolbar][data-toolbar-hover-focus] {
|
|
456
|
+
.gp-gen-content-btn {
|
|
457
|
+
display: none;
|
|
458
|
+
}
|
|
413
459
|
}
|
|
414
460
|
|
|
415
461
|
[data-toolbar][data-toolbar-editor-inline-focus] {
|
|
@@ -423,7 +469,7 @@
|
|
|
423
469
|
|
|
424
470
|
[data-toolbar][data-toolbar-shopify-section='true'][data-toolbar-hover-focus],
|
|
425
471
|
[data-toolbar][data-toolbar-shopify-section='true'][data-toolbar-active] {
|
|
426
|
-
border-color: #
|
|
472
|
+
border-color: #29845a;
|
|
427
473
|
}
|
|
428
474
|
|
|
429
475
|
[data-toolbar][data-toolbar-active][data-toolbar-limit='true'],
|
|
@@ -455,12 +501,6 @@
|
|
|
455
501
|
transition: opacity 0ms ease-in-out;
|
|
456
502
|
}
|
|
457
503
|
|
|
458
|
-
&[data-section-exceeded][data-toolbar-wrap] {
|
|
459
|
-
[data-outline][data-outline-section='true'] {
|
|
460
|
-
border-color: #f44336;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
504
|
/* State Outline */
|
|
465
505
|
[data-outline][data-outline-hover],
|
|
466
506
|
[data-outline][data-outline-force-hover] {
|
|
@@ -519,15 +559,14 @@
|
|
|
519
559
|
top: 0px;
|
|
520
560
|
left: 0px;
|
|
521
561
|
width: calc(100% + 4px);
|
|
522
|
-
height: calc(100%
|
|
562
|
+
height: calc(100%);
|
|
523
563
|
z-index: 0;
|
|
524
564
|
}
|
|
525
565
|
}
|
|
526
566
|
|
|
527
567
|
[data-component-tag='Section'] {
|
|
528
|
-
|
|
529
568
|
/* disable divider */
|
|
530
|
-
>[data-toolbar] [data-toolbar-show-parent] {
|
|
569
|
+
> [data-toolbar] [data-toolbar-show-parent] {
|
|
531
570
|
margin-right: 0px;
|
|
532
571
|
|
|
533
572
|
&:before {
|
|
@@ -546,7 +585,7 @@
|
|
|
546
585
|
[data-outline][data-outline-shopify-section='true'],
|
|
547
586
|
[data-outline][data-outline-shopify-section='true'][data-outline-hover-focus],
|
|
548
587
|
[data-outline][data-outline-shopify-section='true'][data-outline-active] {
|
|
549
|
-
border-color: #
|
|
588
|
+
border-color: #29845a;
|
|
550
589
|
z-index: 0;
|
|
551
590
|
}
|
|
552
591
|
|
|
@@ -557,13 +596,18 @@
|
|
|
557
596
|
border-color: #f44336;
|
|
558
597
|
}
|
|
559
598
|
|
|
599
|
+
[data-outline][data-outline-error='true'] {
|
|
600
|
+
border-color: #f44336 !important;
|
|
601
|
+
opacity: 1 !important;
|
|
602
|
+
visibility: visible !important;
|
|
603
|
+
}
|
|
604
|
+
|
|
560
605
|
[data-outline][data-outline-parent-hover],
|
|
561
606
|
[data-outline][data-outline-section][data-outline-parent-hover] {
|
|
562
607
|
border-style: dashed;
|
|
563
608
|
}
|
|
564
609
|
|
|
565
610
|
[data-theme-section] {
|
|
566
|
-
|
|
567
611
|
/* disable delay animation on theme section */
|
|
568
612
|
[data-toolbar][data-toolbar-hover][data-toolbar-hover-focus],
|
|
569
613
|
[data-outline][data-outline-hover][data-outline-hover-focus],
|
|
@@ -587,7 +631,6 @@
|
|
|
587
631
|
}
|
|
588
632
|
|
|
589
633
|
[data-shopify-section] {
|
|
590
|
-
|
|
591
634
|
/* disable delay animation on shopify section */
|
|
592
635
|
[data-toolbar][data-toolbar-hover][data-toolbar-hover-focus],
|
|
593
636
|
[data-outline][data-outline-hover][data-outline-hover-focus],
|
|
@@ -598,7 +641,7 @@
|
|
|
598
641
|
|
|
599
642
|
[data-toolbar-add-top],
|
|
600
643
|
[data-toolbar-add-bottom] {
|
|
601
|
-
border-color: #
|
|
644
|
+
border-color: #29845a;
|
|
602
645
|
}
|
|
603
646
|
}
|
|
604
647
|
|
|
@@ -774,7 +817,7 @@
|
|
|
774
817
|
}
|
|
775
818
|
|
|
776
819
|
[data-value-number] {
|
|
777
|
-
font-family: Inter;
|
|
820
|
+
font-family: Inter, sans-serif;
|
|
778
821
|
background-color: #3c67ff;
|
|
779
822
|
border-radius: 6px;
|
|
780
823
|
color: #fff;
|
|
@@ -835,6 +878,15 @@
|
|
|
835
878
|
display: none;
|
|
836
879
|
}
|
|
837
880
|
|
|
881
|
+
[data-toolbar-title].active {
|
|
882
|
+
[data-toolbar-tooltip] {
|
|
883
|
+
opacity: 1;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
background-color: rgba(225, 225, 225, 0.2);
|
|
887
|
+
position: relative;
|
|
888
|
+
}
|
|
889
|
+
|
|
838
890
|
/* Tooltips */
|
|
839
891
|
[data-toolbar-tooltip-trigger] {
|
|
840
892
|
[data-toolbar-tooltip] {
|
|
@@ -932,7 +984,6 @@
|
|
|
932
984
|
[data-toolbar-tooltip] {
|
|
933
985
|
left: unset;
|
|
934
986
|
right: 0;
|
|
935
|
-
margin-top: 12px;
|
|
936
987
|
|
|
937
988
|
&[data-toolbar-tooltip-position='bottom'] {
|
|
938
989
|
&::after {
|
|
@@ -957,8 +1008,7 @@
|
|
|
957
1008
|
|
|
958
1009
|
&[data-toolbar-tooltip-position='top'] {
|
|
959
1010
|
margin-bottom: 12px;
|
|
960
|
-
|
|
961
|
-
transform: translateX(-50%);
|
|
1011
|
+
transform: translateX(-91px);
|
|
962
1012
|
}
|
|
963
1013
|
|
|
964
1014
|
&[data-toolbar-tooltip-position='bottom'] {
|
|
@@ -974,99 +1024,74 @@
|
|
|
974
1024
|
}
|
|
975
1025
|
}
|
|
976
1026
|
|
|
977
|
-
[data-toolbar-tooltip-trigger][data-toolbar-
|
|
978
|
-
|
|
979
|
-
[data-toolbar-tooltip] {
|
|
980
|
-
margin-bottom: 12px;
|
|
981
|
-
left: 50%;
|
|
982
|
-
transform: translateX(-50%);
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
/* Resize column */
|
|
987
|
-
[data-column] {
|
|
988
|
-
z-index: 10;
|
|
989
|
-
position: absolute;
|
|
990
|
-
width: 100%;
|
|
991
|
-
height: 100%;
|
|
992
|
-
top: 0;
|
|
993
|
-
left: 0;
|
|
994
|
-
pointer-events: none;
|
|
1027
|
+
[data-toolbar-tooltip-trigger][data-toolbar-delete] {
|
|
1028
|
+
position: relative;
|
|
995
1029
|
|
|
996
|
-
[data-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
[data-column-hand-visual] {
|
|
1005
|
-
border-radius: 2px;
|
|
1006
|
-
width: 3px;
|
|
1007
|
-
height: 80%;
|
|
1008
|
-
background-color: #d6d6d6;
|
|
1009
|
-
transition: all 0.2s;
|
|
1010
|
-
}
|
|
1030
|
+
[data-toolbar-tooltip] {
|
|
1031
|
+
width: 206px;
|
|
1032
|
+
white-space: normal;
|
|
1033
|
+
font-size: 12px;
|
|
1034
|
+
line-height: 20px;
|
|
1035
|
+
text-align: left;
|
|
1036
|
+
padding: 8px;
|
|
1011
1037
|
|
|
1012
|
-
[data-
|
|
1013
|
-
|
|
1014
|
-
top: 50%;
|
|
1038
|
+
&[data-toolbar-tooltip-position='top'] {
|
|
1039
|
+
margin-bottom: 12px;
|
|
1015
1040
|
left: 50%;
|
|
1016
|
-
transform:
|
|
1017
|
-
color: #3c67ff;
|
|
1018
|
-
visibility: hidden;
|
|
1019
|
-
opacity: 0;
|
|
1020
|
-
transition: all 0.2s;
|
|
1021
|
-
width: 16px;
|
|
1022
|
-
|
|
1023
|
-
svg {
|
|
1024
|
-
width: 16px;
|
|
1025
|
-
height: 16px;
|
|
1026
|
-
transform: rotate(45deg);
|
|
1027
|
-
}
|
|
1041
|
+
transform: translateX(-50%);
|
|
1028
1042
|
}
|
|
1029
1043
|
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
}
|
|
1044
|
+
&[data-toolbar-tooltip-position='bottom'] {
|
|
1045
|
+
top: 36px;
|
|
1046
|
+
right: -4px;
|
|
1047
|
+
left: unset;
|
|
1035
1048
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1049
|
+
&::after {
|
|
1050
|
+
right: 10px;
|
|
1051
|
+
left: unset;
|
|
1039
1052
|
}
|
|
1040
1053
|
}
|
|
1041
1054
|
}
|
|
1042
1055
|
}
|
|
1043
1056
|
|
|
1044
|
-
[data-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1057
|
+
[data-toolbar-title] {
|
|
1058
|
+
position: relative;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
[data-toolbar-tooltip-trigger],
|
|
1062
|
+
[data-toolbar-title] {
|
|
1063
|
+
[data-toolbar-tooltip] {
|
|
1064
|
+
width: 145px;
|
|
1065
|
+
white-space: normal;
|
|
1066
|
+
font-size: 12px;
|
|
1067
|
+
line-height: 20px;
|
|
1068
|
+
text-align: left;
|
|
1069
|
+
padding: 8px;
|
|
1070
|
+
|
|
1071
|
+
&[data-toolbar-tooltip-position='top'] {
|
|
1072
|
+
margin-bottom: 12px;
|
|
1073
|
+
transform: translateX(-64px);
|
|
1048
1074
|
}
|
|
1049
1075
|
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
}
|
|
1076
|
+
&[data-toolbar-tooltip-position='bottom'] {
|
|
1077
|
+
top: 36px;
|
|
1078
|
+
right: -4px;
|
|
1079
|
+
left: unset;
|
|
1055
1080
|
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1081
|
+
&::after {
|
|
1082
|
+
right: 10px;
|
|
1083
|
+
left: unset;
|
|
1059
1084
|
}
|
|
1060
1085
|
}
|
|
1061
1086
|
}
|
|
1062
1087
|
}
|
|
1063
1088
|
|
|
1064
|
-
[data-
|
|
1065
|
-
[data-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1089
|
+
[data-toolbar-tooltip-trigger][data-toolbar-add-top],
|
|
1090
|
+
[data-toolbar-tooltip-trigger][data-toolbar-add-bottom] {
|
|
1091
|
+
[data-toolbar-tooltip] {
|
|
1092
|
+
margin-bottom: 12px;
|
|
1093
|
+
left: 50%;
|
|
1094
|
+
transform: translateX(-50%);
|
|
1070
1095
|
}
|
|
1071
1096
|
}
|
|
1072
1097
|
}
|
|
@@ -1102,7 +1127,7 @@
|
|
|
1102
1127
|
min-width: 284px;
|
|
1103
1128
|
display: flex;
|
|
1104
1129
|
flex-direction: column;
|
|
1105
|
-
border-radius:
|
|
1130
|
+
border-radius: 3px;
|
|
1106
1131
|
position: absolute;
|
|
1107
1132
|
right: -4px;
|
|
1108
1133
|
top: 100%;
|
|
@@ -1122,7 +1147,7 @@
|
|
|
1122
1147
|
|
|
1123
1148
|
.theme-section-tooltip__image {
|
|
1124
1149
|
background: #212121;
|
|
1125
|
-
border-radius:
|
|
1150
|
+
border-radius: 3px 3px 0 0;
|
|
1126
1151
|
padding-top: 16px;
|
|
1127
1152
|
padding-bottom: 8px;
|
|
1128
1153
|
padding-left: 21px;
|
|
@@ -1151,11 +1176,38 @@
|
|
|
1151
1176
|
font-weight: 400;
|
|
1152
1177
|
line-height: 24px;
|
|
1153
1178
|
}
|
|
1179
|
+
|
|
1180
|
+
&-limit {
|
|
1181
|
+
border-radius: 8px;
|
|
1182
|
+
|
|
1183
|
+
&__title {
|
|
1184
|
+
font-size: 16px;
|
|
1185
|
+
font-weight: 600;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
&-desc {
|
|
1189
|
+
color: #f9f9f9;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
button {
|
|
1193
|
+
cursor: pointer;
|
|
1194
|
+
width: 100%;
|
|
1195
|
+
text-align: center;
|
|
1196
|
+
background: #3c67ff;
|
|
1197
|
+
border-radius: 3px;
|
|
1198
|
+
height: 40px;
|
|
1199
|
+
font-size: 12px;
|
|
1200
|
+
line-height: 20px;
|
|
1201
|
+
color: #f9f9f9;
|
|
1202
|
+
font-weight: 500;
|
|
1203
|
+
transition: all 0.15s ease-in;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1154
1206
|
}
|
|
1155
1207
|
|
|
1156
1208
|
.theme-section-tooltip__action {
|
|
1157
1209
|
padding: 16px;
|
|
1158
|
-
border-radius: 0 0
|
|
1210
|
+
border-radius: 0 0 3px 3px;
|
|
1159
1211
|
border-top: solid 1px #3b3b3b;
|
|
1160
1212
|
background: #151515;
|
|
1161
1213
|
display: flex;
|
|
@@ -1166,7 +1218,7 @@
|
|
|
1166
1218
|
width: 100%;
|
|
1167
1219
|
text-align: center;
|
|
1168
1220
|
background: #3c67ff;
|
|
1169
|
-
border-radius:
|
|
1221
|
+
border-radius: 3px;
|
|
1170
1222
|
height: 40px;
|
|
1171
1223
|
font-size: 14px;
|
|
1172
1224
|
line-height: 24px;
|
|
@@ -1228,7 +1280,8 @@
|
|
|
1228
1280
|
transition: opacity 0.25s;
|
|
1229
1281
|
}
|
|
1230
1282
|
|
|
1231
|
-
[data-onboarding-wrapper] {
|
|
1283
|
+
[data-onboarding-wrapper] {
|
|
1284
|
+
}
|
|
1232
1285
|
|
|
1233
1286
|
[data-icon] {
|
|
1234
1287
|
position: absolute;
|
|
@@ -1268,9 +1321,11 @@
|
|
|
1268
1321
|
top: -4px;
|
|
1269
1322
|
left: 16px;
|
|
1270
1323
|
/* Popover */
|
|
1271
|
-
box-shadow:
|
|
1324
|
+
box-shadow:
|
|
1325
|
+
0px 4px 16px 0px rgba(0, 0, 0, 0.12),
|
|
1326
|
+
0px -4px 16px 0px rgba(0, 0, 0, 0.06);
|
|
1272
1327
|
|
|
1273
|
-
&[data-position=
|
|
1328
|
+
&[data-position='top'] {
|
|
1274
1329
|
top: unset;
|
|
1275
1330
|
bottom: -4px;
|
|
1276
1331
|
}
|
|
@@ -1283,10 +1338,10 @@
|
|
|
1283
1338
|
z-index: 99;
|
|
1284
1339
|
border-radius: 8px;
|
|
1285
1340
|
background-color: transparent;
|
|
1286
|
-
transition: background .25s;
|
|
1341
|
+
transition: background 0.25s;
|
|
1287
1342
|
|
|
1288
1343
|
&:hover {
|
|
1289
|
-
background-color: #
|
|
1344
|
+
background-color: #e2e2e2;
|
|
1290
1345
|
}
|
|
1291
1346
|
|
|
1292
1347
|
svg {
|
|
@@ -1304,7 +1359,7 @@
|
|
|
1304
1359
|
|
|
1305
1360
|
h3 {
|
|
1306
1361
|
color: #212121;
|
|
1307
|
-
font-family: Inter;
|
|
1362
|
+
font-family: Inter, sans-serif;
|
|
1308
1363
|
font-size: 16px;
|
|
1309
1364
|
font-style: normal;
|
|
1310
1365
|
font-weight: 600;
|
|
@@ -1315,7 +1370,7 @@
|
|
|
1315
1370
|
|
|
1316
1371
|
p {
|
|
1317
1372
|
color: #676767;
|
|
1318
|
-
font-family: Inter;
|
|
1373
|
+
font-family: Inter, sans-serif;
|
|
1319
1374
|
font-size: 14px;
|
|
1320
1375
|
font-style: normal;
|
|
1321
1376
|
font-weight: 400;
|
|
@@ -1324,6 +1379,6 @@
|
|
|
1324
1379
|
}
|
|
1325
1380
|
}
|
|
1326
1381
|
|
|
1327
|
-
[data-slot=
|
|
1328
|
-
font-family: Inter;
|
|
1382
|
+
[data-slot='children'] {
|
|
1383
|
+
font-family: Inter, sans-serif;
|
|
1329
1384
|
}
|
|
@@ -2,22 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
.wrapper,
|
|
4
4
|
[style*="--$(prefix)wrapper:"] {
|
|
5
|
-
max-width: var(--$(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
max-width: var(--$(
|
|
6
|
+
prefix)wrapper
|
|
7
|
+
);
|
|
8
|
+
margin-left: auto;
|
|
9
|
+
margin-right: auto;
|
|
10
|
+
padding-left: var(--$(
|
|
11
|
+
prefix)gutter
|
|
12
|
+
);
|
|
13
|
+
padding-right: var(--$(
|
|
14
|
+
prefix)gutter
|
|
15
|
+
);
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
@media only screen and (min-width:640px) {
|
|
18
|
+
--$(prefix)gutter: var(--$(prefix)gutter-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media only screen and (min-width:768px) {
|
|
22
|
+
--$(prefix)gutter: var(--$(prefix)gutter-md);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media only screen and (min-width:1025px) {
|
|
26
|
+
--$(prefix)gutter: var(--$(prefix)gutter-lg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media only screen and (min-width:1280px) {
|
|
30
|
+
--$(prefix)gutter: var(--$(prefix)gutter-xl);
|
|
31
|
+
}
|
|
23
32
|
}
|
package/src/css/medias.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@custom-media --tablet-viewport (max-width:
|
|
2
|
-
@custom-media --mobile-viewport (max-width: 767px);
|
|
1
|
+
@custom-media --tablet-viewport (max-width: 1024px);
|
|
2
|
+
@custom-media --mobile-viewport (max-width: 767px);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@mixin svar white-space, ws;
|
package/src/preset.js
CHANGED
|
@@ -8,7 +8,7 @@ const preset = {
|
|
|
8
8
|
},
|
|
9
9
|
theme: {
|
|
10
10
|
screens: {
|
|
11
|
-
tablet: { max: '
|
|
11
|
+
tablet: { max: '1024px' },
|
|
12
12
|
mobile: { max: '767px' },
|
|
13
13
|
},
|
|
14
14
|
extend: {
|
|
@@ -131,7 +131,7 @@ const preset = {
|
|
|
131
131
|
},
|
|
132
132
|
},
|
|
133
133
|
maxWidth: {
|
|
134
|
-
tablet: '
|
|
134
|
+
tablet: '1024px',
|
|
135
135
|
mobile: '767px',
|
|
136
136
|
},
|
|
137
137
|
textColor: {
|
package/src/properties.js
CHANGED
|
@@ -336,12 +336,12 @@ module.exports = [
|
|
|
336
336
|
mediaQuery: true,
|
|
337
337
|
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/grid-gap',
|
|
338
338
|
},
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
339
|
+
{
|
|
340
|
+
property: 'grid-row',
|
|
341
|
+
shortHand: 'gr',
|
|
342
|
+
mediaQuery: true,
|
|
343
|
+
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row',
|
|
344
|
+
},
|
|
345
345
|
{
|
|
346
346
|
property: 'grid-template-columns',
|
|
347
347
|
shortHand: 'gtc',
|
|
@@ -489,7 +489,7 @@ module.exports = [
|
|
|
489
489
|
},
|
|
490
490
|
// {
|
|
491
491
|
// property: 'rotate',
|
|
492
|
-
// shortHand: '
|
|
492
|
+
// shortHand: 'rotate',
|
|
493
493
|
// mediaQuery: true,
|
|
494
494
|
// mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/rotate',
|
|
495
495
|
// },
|
|
@@ -709,12 +709,12 @@ module.exports = [
|
|
|
709
709
|
mediaQuery: true,
|
|
710
710
|
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/visibility',
|
|
711
711
|
},
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
712
|
+
{
|
|
713
|
+
property: 'white-space',
|
|
714
|
+
shortHand: 'ws',
|
|
715
|
+
mediaQuery: true,
|
|
716
|
+
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/white-space',
|
|
717
|
+
},
|
|
718
718
|
{
|
|
719
719
|
property: 'width',
|
|
720
720
|
shortHand: 'w',
|
|
@@ -739,4 +739,10 @@ module.exports = [
|
|
|
739
739
|
mediaQuery: true,
|
|
740
740
|
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/z-index',
|
|
741
741
|
},
|
|
742
|
+
{
|
|
743
|
+
property: 'writing-mode',
|
|
744
|
+
shortHand: 'wm',
|
|
745
|
+
mediaQuery: true,
|
|
746
|
+
mdnReference: 'https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode',
|
|
747
|
+
},
|
|
742
748
|
];
|