@gem-sdk/styles 1.13.0-next.8 → 1.13.7

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 CHANGED
@@ -134,6 +134,14 @@ h5,
134
134
  h6 {
135
135
  word-break: normal;
136
136
  }
137
+ p {
138
+ font-weight: inherit;
139
+ line-height: inherit;
140
+ font-size: inherit;
141
+ font-family: inherit;
142
+ text-align: inherit;
143
+ color: inherit;
144
+ }
137
145
  .gp-p-description-text ul,
138
146
  .gp-p-description-text ol {
139
147
  display: block;
@@ -252,9 +260,9 @@ h6 {
252
260
  }
253
261
  .gps-page-suggestion {
254
262
  background: #fff;
255
- border: solid 1px transparent;
256
- background-clip: padding-box;
257
- box-sizing: border-box;
263
+ border: solid 1px transparent;
264
+ background-clip: padding-box;
265
+ box-sizing: border-box;
258
266
  border-radius: 3px;
259
267
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
260
268
  }
@@ -267,7 +275,7 @@ h6 {
267
275
  left: -1px;
268
276
  z-index: -2;
269
277
  border-radius: inherit; /* !importanté */
270
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
278
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
271
279
  height: calc(100% + 2px);
272
280
  width: calc(100% + 2px);
273
281
  }
@@ -282,4 +290,4 @@ h6 {
282
290
  }
283
291
  .gps-base-font-family {
284
292
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
285
- }
293
+ }
package/dist/base.min.css CHANGED
@@ -1 +1 @@
1
- @tailwind base;@tailwind components;@tailwind utilities;html{-webkit-tap-highlight-color:transparent;scroll-behavior:smooth}#__next{height:100%;overflow-x:clip}.wrapper{margin-left:auto;margin-right:auto;max-width:var(--g-ct-w,1200px);padding-left:var(--g-ct-p);padding-right:var(--g-ct-p);width:100%}.gem-slider:not([data-keen-slider-disabled]){align-content:flex-start;display:flex;min-height:100%;overflow:hidden;position:relative;width:100%}.gem-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse]{flex-direction:row-reverse}.gem-slider:not([data-keen-slider-disabled])[data-keen-slider-v]{flex-wrap:wrap}[data-keen-slider-moves] *{pointer-events:none}.pb-safe{padding-bottom:env(safe-area-inset-bottom)}.pt-safe{padding-top:env(safe-area-inset-top)}.pl-safe{padding-left:env(safe-area-inset-left)}.pr-safe{padding-right:env(safe-area-inset-right)}.p-safe{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.px-safe{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.py-safe{padding-bottom:env(safe-area-inset-bottom);padding-top:env(safe-area-inset-top)}.h-safe{height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.min-h-safe{min-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.gp-text ol,.gp-text ul{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:0;margin-inline-start:0;padding-inline-start:40px;padding-left:40px}.gp-text ul{list-style-type:disc}.gp-text li{list-style-position:inside}.gp-text ol{list-style-type:decimal}[data-slot=children]{align-items:center;border:1px dashed #9e9e9e;border-radius:3px;display:inline-flex;height:100%;justify-content:center;min-height:60px;overflow:hidden;visibility:hidden;width:100%}[data-slot=children]:after{content:"Drop element here";font-size:14px;font-weight:700;overflow:hidden;text-align:center;text-overflow:ellipsis;visibility:hidden;white-space:nowrap}.gp-dialog{display:none}.gp-dialog[open]{display:block}.gp-dialog:modal{position:fixed}h1,h2,h3,h4,h5,h6{word-break:normal}.gp-p-description-text ol,.gp-p-description-text ul{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:0;margin-inline-start:0;padding-inline-start:40px;padding-left:40px}.gp-p-description-text ol ol{-webkit-margin-before:0;-webkit-margin-after:0;margin-block-end:0;margin-block-start:0}.gp-p-description-text h1{-webkit-margin-before:.67em;-webkit-margin-after:.67em;-webkit-margin-start:0;-webkit-margin-end:0;display:block;font-size:2em;font-weight:700;line-height:1.4;margin-block-end:.67em;margin-block-start:.67em;margin-inline-end:0;margin-inline-start:0;margin:0 0 1em}.gp-p-description-text h2{font-size:1.5em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h3{font-size:1.17em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text a{color:-webkit-link;cursor:text;text-decoration:underline}.gp-p-description-text h4{font-size:1em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h5{font-size:.83em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h6{font-size:.67em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text ul{list-style-type:disc}.gp-p-description-text ol{list-style-type:decimal}.gp-p-description-text p{line-height:1.4;margin:0 0 1em}.gp-p-description-text ul li{display:list-item;list-style:disc none outside;text-align:-webkit-match-parent;word-break:break-word}.gp-p-description-text blockquote{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:40px;-webkit-margin-end:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:40px;margin-inline-start:40px}.gp-p-description-text table,.gp-p-description-text td,.gp-p-description-text th{border:1px dashed #ccc;padding:unset}.gp-p-description-text table{border-collapse:separate;border-spacing:2px;box-sizing:border-box;display:table;text-indent:0}.gp-tab-header-list::-webkit-scrollbar{display:none}.gps-page-suggestion{background:#fff;background-clip:padding-box;border:1px solid transparent;border-radius:3px;box-sizing:border-box;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.gps-page-suggestion:before{background:linear-gradient(89.63deg,#874cfd 27.59%,#3c38e1 82.67%);border-radius:inherit; /* !importanté */bottom:-1px;content:"";height:calc(100% + 2px);left:-1px;position:absolute;right:-1px;top:-1px;width:calc(100% + 2px);z-index:-2}.gps-suggestion-item:hover .gps-suggestion-item-btn{visibility:visible}.gps-suggestion-item:hover .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:295px}.gps-base-font-family{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}
1
+ @tailwind base;@tailwind components;@tailwind utilities;html{-webkit-tap-highlight-color:transparent;scroll-behavior:smooth}#__next{height:100%;overflow-x:clip}.wrapper{margin-left:auto;margin-right:auto;max-width:var(--g-ct-w,1200px);padding-left:var(--g-ct-p);padding-right:var(--g-ct-p);width:100%}.gem-slider:not([data-keen-slider-disabled]){align-content:flex-start;display:flex;min-height:100%;overflow:hidden;position:relative;width:100%}.gem-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse]{flex-direction:row-reverse}.gem-slider:not([data-keen-slider-disabled])[data-keen-slider-v]{flex-wrap:wrap}[data-keen-slider-moves] *{pointer-events:none}.pb-safe{padding-bottom:env(safe-area-inset-bottom)}.pt-safe{padding-top:env(safe-area-inset-top)}.pl-safe{padding-left:env(safe-area-inset-left)}.pr-safe{padding-right:env(safe-area-inset-right)}.p-safe{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.px-safe{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.py-safe{padding-bottom:env(safe-area-inset-bottom);padding-top:env(safe-area-inset-top)}.h-safe{height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.min-h-safe{min-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.gp-text ol,.gp-text ul{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:0;margin-inline-start:0;padding-inline-start:40px;padding-left:40px}.gp-text ul{list-style-type:disc}.gp-text li{list-style-position:inside}.gp-text ol{list-style-type:decimal}[data-slot=children]{align-items:center;border:1px dashed #9e9e9e;border-radius:3px;display:inline-flex;height:100%;justify-content:center;min-height:60px;overflow:hidden;visibility:hidden;width:100%}[data-slot=children]:after{content:"Drop element here";font-size:14px;font-weight:700;overflow:hidden;text-align:center;text-overflow:ellipsis;visibility:hidden;white-space:nowrap}.gp-dialog{display:none}.gp-dialog[open]{display:block}.gp-dialog:modal{position:fixed}h1,h2,h3,h4,h5,h6{word-break:normal}p{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;text-align:inherit}.gp-p-description-text ol,.gp-p-description-text ul{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:0;margin-inline-start:0;padding-inline-start:40px;padding-left:40px}.gp-p-description-text ol ol{-webkit-margin-before:0;-webkit-margin-after:0;margin-block-end:0;margin-block-start:0}.gp-p-description-text h1{-webkit-margin-before:.67em;-webkit-margin-after:.67em;-webkit-margin-start:0;-webkit-margin-end:0;display:block;font-size:2em;font-weight:700;line-height:1.4;margin-block-end:.67em;margin-block-start:.67em;margin-inline-end:0;margin-inline-start:0;margin:0 0 1em}.gp-p-description-text h2{font-size:1.5em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h3{font-size:1.17em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text a{color:-webkit-link;cursor:text;text-decoration:underline}.gp-p-description-text h4{font-size:1em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h5{font-size:.83em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text h6{font-size:.67em;font-weight:700;line-height:1.4;margin:0 0 1em}.gp-p-description-text ul{list-style-type:disc}.gp-p-description-text ol{list-style-type:decimal}.gp-p-description-text p{line-height:1.4;margin:0 0 1em}.gp-p-description-text ul li{display:list-item;list-style:disc none outside;text-align:-webkit-match-parent;word-break:break-word}.gp-p-description-text blockquote{-webkit-margin-before:1em;-webkit-margin-after:1em;-webkit-margin-start:40px;-webkit-margin-end:40px;display:block;margin-block-end:1em;margin-block-start:1em;margin-inline-end:40px;margin-inline-start:40px}.gp-p-description-text table,.gp-p-description-text td,.gp-p-description-text th{border:1px dashed #ccc;padding:unset}.gp-p-description-text table{border-collapse:separate;border-spacing:2px;box-sizing:border-box;display:table;text-indent:0}.gp-tab-header-list::-webkit-scrollbar{display:none}.gps-page-suggestion{background:#fff;background-clip:padding-box;border:1px solid transparent;border-radius:3px;box-sizing:border-box;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.gps-page-suggestion:before{background:linear-gradient(89.63deg,#874cfd 27.59%,#3c38e1 82.67%);border-radius:inherit; /* !importanté */bottom:-1px;content:"";height:calc(100% + 2px);left:-1px;position:absolute;right:-1px;top:-1px;width:calc(100% + 2px);z-index:-2}.gps-suggestion-item:hover .gps-suggestion-item-btn{visibility:visible}.gps-suggestion-item:hover .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:295px}.gps-base-font-family{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}
package/dist/builder.css CHANGED
@@ -13,13 +13,12 @@
13
13
  }
14
14
  .builder .generate-image-to-layout-btn {
15
15
  position: relative;
16
-
17
- background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
18
- z-index: 1;
16
+ background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
17
+ z-index: 1;
19
18
  }
20
19
  .builder .generate-image-to-layout-btn::before {
21
20
  position: absolute;
22
- content: "";
21
+ content: '';
23
22
  top: 0;
24
23
  right: 0;
25
24
  bottom: 0;
@@ -30,31 +29,34 @@
30
29
  opacity: 0;
31
30
  border-radius: 3px;
32
31
  }
32
+ .builder .btn-disable {
33
+ background-image: none;
34
+ background-color: #f4f4f4;
35
+ color: #9e9e9e;
36
+ }
33
37
  .builder .generate-image-to-layout-btn:hover::before {
34
38
  opacity: 1;
35
39
  }
36
40
  .builder .image-to-layout-input-border {
37
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
41
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
38
42
  border-radius: 3px;
39
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
43
+ padding: 1px;
40
44
  }
41
45
  .builder .image-to-layout-input-wrapper-modal {
42
46
  position: relative;
43
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
44
47
  }
45
- .builder .image-to-layout-input-wrapper, .builder .image-to-layout-input-wrapper-add-section {
48
+ .builder .image-to-layout-input-wrapper,
49
+ .builder .image-to-layout-input-wrapper-add-section {
46
50
  position: relative;
47
51
  background: #fff;
48
- border: solid 1px transparent;
49
52
  background-clip: padding-box;
50
53
  box-sizing: border-box;
51
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
52
54
  }
53
55
  .image-to-layout-input-wrapper-add-section {
54
- border: 1px solid #3C67FF !important;
56
+ border: 1px solid #3c67ff !important;
55
57
  }
56
58
  .gps-image-to-layout-progress-bar {
57
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
59
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
58
60
  }
59
61
  .drag-placeholder {
60
62
  display: none;
@@ -73,6 +75,7 @@
73
75
  top: 0;
74
76
  left: 0;
75
77
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
78
+ min-height: 100vh;
76
79
  }
77
80
  #visual-content .fake-placeholder {
78
81
  position: absolute;
@@ -163,6 +166,10 @@
163
166
  #visual-content .fake-placeholder.not-show {
164
167
  display: none;
165
168
  }
169
+ #visual-content .fake-placeholder[is-component-dragging='true'] {
170
+ opacity: 0.5;
171
+ background: #8aa4ff;
172
+ }
166
173
  /* section:last-child {
167
174
  [data-slot='children'] {
168
175
  min-height: 358px;
@@ -197,3 +204,43 @@
197
204
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
198
205
  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' stroke='%233C67FFFF' stroke-width='2' stroke-dasharray='12%2c12' stroke-dashoffset='72' stroke-linecap='square'/%3e%3c/svg%3e");
199
206
  }
207
+ .gps-page-suggestion {
208
+ background: #fff;
209
+ border-radius: 3px;
210
+ font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
211
+ }
212
+ .gps-page-suggestion:before {
213
+ content: '';
214
+ position: absolute;
215
+ top: -1px;
216
+ right: -1px;
217
+ bottom: -1px;
218
+ left: -1px;
219
+ z-index: -2;
220
+ border-radius: inherit; /* !importanté */
221
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
222
+ height: calc(100% + 2px);
223
+ width: calc(100% + 2px);
224
+ }
225
+ .gps-suggestion-item:hover .gps-suggestion-item-btn {
226
+ display: flex;
227
+ }
228
+ .gps-suggestion-item:hover .item-link {
229
+ white-space: nowrap;
230
+ overflow: hidden;
231
+ text-overflow: ellipsis;
232
+ width: 295px;
233
+ }
234
+ .gps-base-font-family {
235
+ font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
236
+ }
237
+ .btn-disable::before {
238
+ background: none !important;
239
+ background-color: #f4f4f4 !important;
240
+ color: #9e9e9e;
241
+ }
242
+ @media (max-width: 768px) {
243
+ .gps-suggestion-item:hover .item-link {
244
+ width: 150px;
245
+ }
246
+ }
@@ -1 +1 @@
1
- .builder [disabled]{pointer-events:auto}.builder [data-slot=children]{visibility:visible}.builder [data-slot=children]:after{color:#aaa;visibility:visible}.builder [data-slot=children] .drag-placeholder{height:100%}.builder .generate-image-to-layout-btn{background-image:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%);position:relative;z-index:1}.builder .generate-image-to-layout-btn:before{background-image:linear-gradient(270.07deg,#3633cc .03%,#6d3dcc 99.92%);border-radius:3px;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease-out;z-index:-1}.builder .generate-image-to-layout-btn:hover:before{opacity:1}.builder .image-to-layout-input-border{background:linear-gradient(89.63deg,#874cfd 27.59%,#3c38e1 82.67%);border-radius:3px;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.builder .image-to-layout-input-wrapper-modal{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;position:relative}.builder .image-to-layout-input-wrapper,.builder .image-to-layout-input-wrapper-add-section{background:#fff;background-clip:padding-box;border:1px solid transparent;box-sizing:border-box;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;position:relative}.image-to-layout-input-wrapper-add-section{border:1px solid #3c67ff!important}.gps-image-to-layout-progress-bar{background:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%)}.drag-placeholder{display:none;width:100%}#storefront{position:relative;z-index:20}#visual-content{display:none;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;height:100%;left:0;position:absolute;top:0;width:100%;z-index:50}#visual-content .fake-placeholder{background:transparent;background-image:url(//d1um8515vdn9kb.cloudfront.net/images/background-pattern.png);left:0;position:absolute;top:0;visibility:hidden;z-index:10}#visual-content .fake-placeholder.fake-placeholder-slot{background:transparent}#visual-content .fake-placeholder.has-section{background-color:#3c67ff!important;background-image:none;border:none!important;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error{background-color:#fee4e3!important}#visual-content .fake-placeholder.visual-placeholder-error .limitation-error-content{display:none}#visual-content .fake-placeholder.visual-placeholder-error{border:1px dashed #f44336!important;color:#f44336!important;font-family:Inter,sans-serif,ui-sans-serif,system-ui;font-size:14px;font-weight:500;line-height:150%;position:relative;text-align:center;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error.children-error{background-color:#f44336!important;border:none!important}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content{align-items:center;background-color:#fee4e3!important;border-radius:3px;display:flex;height:29px;padding:4px 8px}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content span{font-size:14px;font-weight:500;line-height:150%;margin-left:8px}#visual-content .fake-placeholder.visual-placeholder{align-items:center;background-color:#d8e1ff;color:#3c67ff;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:150%;visibility:visible;z-index:20}#visual-content .fake-placeholder.visual-placeholder-child-on-sections{margin:16px!important}#visual-content .fake-placeholder.visual-placeholder-between-sections{background-color:#3c67ff;background-image:none;border:none;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.not-show{display:none}[contenteditable=true]:active,[contenteditable=true]:focus,[contenteditable=true]:focus-visible{outline:none}[data-component-is-third-party=true]{background-color:#f4f4f4}[data-component-tag=ProductDescription],[data-component-tag=ProductPrice],[data-component-tag=ProductTag],[data-component-tag=ProductTitle]{cursor:default}:root{--selection-bg:#accef7}.builder ::selection{background:var(--selection-bg);color:currentColor}.builder ::-moz-selection{background:var(--selection-bg);color:currentColor}.gps-drag-element-here{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%233C67FFFF' stroke-dasharray='12,12' stroke-dashoffset='72' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E");font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}
1
+ .builder [disabled]{pointer-events:auto}.builder [data-slot=children]{visibility:visible}.builder [data-slot=children]:after{color:#aaa;visibility:visible}.builder [data-slot=children] .drag-placeholder{height:100%}.builder .generate-image-to-layout-btn{background-image:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%);position:relative;z-index:1}.builder .generate-image-to-layout-btn:before{background-image:linear-gradient(270.07deg,#3633cc .03%,#6d3dcc 99.92%);border-radius:3px;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease-out;z-index:-1}.builder .btn-disable{background-color:#f4f4f4;background-image:none;color:#9e9e9e}.builder .generate-image-to-layout-btn:hover:before{opacity:1}.builder .image-to-layout-input-border{background:linear-gradient(89.63deg,#874cfd 27.59%,#3c38e1 82.67%);border-radius:3px;padding:1px}.builder .image-to-layout-input-wrapper-modal{position:relative}.builder .image-to-layout-input-wrapper,.builder .image-to-layout-input-wrapper-add-section{background:#fff;background-clip:padding-box;box-sizing:border-box;position:relative}.image-to-layout-input-wrapper-add-section{border:1px solid #3c67ff!important}.gps-image-to-layout-progress-bar{background:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%)}.drag-placeholder{display:none;width:100%}#storefront{position:relative;z-index:20}#visual-content{display:none;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;height:100%;left:0;min-height:100vh;position:absolute;top:0;width:100%;z-index:50}#visual-content .fake-placeholder{background:transparent;background-image:url(//d1um8515vdn9kb.cloudfront.net/images/background-pattern.png);left:0;position:absolute;top:0;visibility:hidden;z-index:10}#visual-content .fake-placeholder.fake-placeholder-slot{background:transparent}#visual-content .fake-placeholder.has-section{background-color:#3c67ff!important;background-image:none;border:none!important;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error{background-color:#fee4e3!important}#visual-content .fake-placeholder.visual-placeholder-error .limitation-error-content{display:none}#visual-content .fake-placeholder.visual-placeholder-error{border:1px dashed #f44336!important;color:#f44336!important;font-family:Inter,sans-serif,ui-sans-serif,system-ui;font-size:14px;font-weight:500;line-height:150%;position:relative;text-align:center;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error.children-error{background-color:#f44336!important;border:none!important}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content{align-items:center;background-color:#fee4e3!important;border-radius:3px;display:flex;height:29px;padding:4px 8px}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content span{font-size:14px;font-weight:500;line-height:150%;margin-left:8px}#visual-content .fake-placeholder.visual-placeholder{align-items:center;background-color:#d8e1ff;color:#3c67ff;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:150%;visibility:visible;z-index:20}#visual-content .fake-placeholder.visual-placeholder-child-on-sections{margin:16px!important}#visual-content .fake-placeholder.visual-placeholder-between-sections{background-color:#3c67ff;background-image:none;border:none;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.not-show{display:none}#visual-content .fake-placeholder[is-component-dragging=true]{background:#8aa4ff;opacity:.5}[contenteditable=true]:active,[contenteditable=true]:focus,[contenteditable=true]:focus-visible{outline:none}[data-component-is-third-party=true]{background-color:#f4f4f4}[data-component-tag=ProductDescription],[data-component-tag=ProductPrice],[data-component-tag=ProductTag],[data-component-tag=ProductTitle]{cursor:default}:root{--selection-bg:#accef7}.builder ::selection{background:var(--selection-bg);color:currentColor}.builder ::-moz-selection{background:var(--selection-bg);color:currentColor}.gps-drag-element-here{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%233C67FFFF' stroke-dasharray='12,12' stroke-dashoffset='72' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E")}.gps-drag-element-here,.gps-page-suggestion{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.gps-page-suggestion{background:#fff;border-radius:3px}.gps-page-suggestion:before{background:linear-gradient(89.63deg,#874cfd 27.59%,#3c38e1 82.67%);border-radius:inherit; /* !importanté */bottom:-1px;content:"";height:calc(100% + 2px);left:-1px;position:absolute;right:-1px;top:-1px;width:calc(100% + 2px);z-index:-2}.gps-suggestion-item:hover .gps-suggestion-item-btn{display:flex}.gps-suggestion-item:hover .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:295px}.gps-base-font-family{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.btn-disable:before{background:none!important;background-color:#f4f4f4!important;color:#9e9e9e}@media (max-width:768px){.gps-suggestion-item:hover .item-link{width:150px}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/styles",
3
- "version": "1.13.0-next.8",
3
+ "version": "1.13.7",
4
4
  "description": "Largely classless, blazing fast and super light-weight. Bonsai, a base CSS framework for modern browsers",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
@@ -141,6 +141,15 @@ h6 {
141
141
  word-break: normal;
142
142
  }
143
143
 
144
+ p {
145
+ font-weight: inherit;
146
+ line-height: inherit;
147
+ font-size: inherit;
148
+ font-family: inherit;
149
+ text-align: inherit;
150
+ color: inherit;
151
+ }
152
+
144
153
  .gp-p-description-text ul,
145
154
  .gp-p-description-text ol {
146
155
  display: block;
@@ -263,9 +272,9 @@ h6 {
263
272
 
264
273
  .gps-page-suggestion {
265
274
  background: #fff;
266
- border: solid 1px transparent;
267
- background-clip: padding-box;
268
- box-sizing: border-box;
275
+ border: solid 1px transparent;
276
+ background-clip: padding-box;
277
+ box-sizing: border-box;
269
278
  border-radius: 3px;
270
279
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
271
280
  }
@@ -279,7 +288,7 @@ h6 {
279
288
  left: -1px;
280
289
  z-index: -2;
281
290
  border-radius: inherit; /* !importanté */
282
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
291
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
283
292
  height: calc(100% + 2px);
284
293
  width: calc(100% + 2px);
285
294
  }
@@ -297,4 +306,4 @@ h6 {
297
306
 
298
307
  .gps-base-font-family {
299
308
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
300
- }
309
+ }
@@ -18,13 +18,13 @@
18
18
 
19
19
  .generate-image-to-layout-btn {
20
20
  position: relative;
21
-
22
- background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
23
- z-index: 1;
21
+ background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
22
+ z-index: 1;
24
23
  }
24
+
25
25
  .generate-image-to-layout-btn::before {
26
26
  position: absolute;
27
- content: "";
27
+ content: '';
28
28
  top: 0;
29
29
  right: 0;
30
30
  bottom: 0;
@@ -35,36 +35,40 @@
35
35
  opacity: 0;
36
36
  border-radius: 3px;
37
37
  }
38
+
39
+ .btn-disable {
40
+ background-image: none;
41
+ background-color: #f4f4f4;
42
+ color: #9e9e9e;
43
+ }
44
+
38
45
  .generate-image-to-layout-btn:hover::before {
39
46
  opacity: 1;
40
47
  }
41
48
 
42
49
  .image-to-layout-input-border {
43
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
50
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
44
51
  border-radius: 3px;
45
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
52
+ padding: 1px;
46
53
  }
47
-
54
+
48
55
  .image-to-layout-input-wrapper-modal {
49
56
  position: relative;
50
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
51
57
  }
52
- .image-to-layout-input-wrapper, .image-to-layout-input-wrapper-add-section {
58
+ .image-to-layout-input-wrapper,
59
+ .image-to-layout-input-wrapper-add-section {
53
60
  position: relative;
54
61
  background: #fff;
55
- border: solid 1px transparent;
56
62
  background-clip: padding-box;
57
63
  box-sizing: border-box;
58
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
59
64
  }
60
65
  }
61
66
  .image-to-layout-input-wrapper-add-section {
62
- border: 1px solid #3C67FF !important;
67
+ border: 1px solid #3c67ff !important;
63
68
  }
64
69
 
65
-
66
70
  .gps-image-to-layout-progress-bar {
67
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
71
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
68
72
  }
69
73
 
70
74
  .drag-placeholder {
@@ -86,6 +90,7 @@
86
90
  top: 0;
87
91
  left: 0;
88
92
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
93
+ min-height: 100vh;
89
94
 
90
95
  .fake-placeholder {
91
96
  position: absolute;
@@ -186,6 +191,10 @@
186
191
  &.not-show {
187
192
  display: none;
188
193
  }
194
+ &[is-component-dragging='true'] {
195
+ opacity: 0.5;
196
+ background: #8aa4ff;
197
+ }
189
198
  }
190
199
  }
191
200
 
@@ -229,3 +238,50 @@
229
238
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
230
239
  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' stroke='%233C67FFFF' stroke-width='2' stroke-dasharray='12%2c12' stroke-dashoffset='72' stroke-linecap='square'/%3e%3c/svg%3e");
231
240
  }
241
+
242
+ .gps-page-suggestion {
243
+ background: #fff;
244
+ border-radius: 3px;
245
+ font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
246
+ }
247
+
248
+ .gps-page-suggestion:before {
249
+ content: '';
250
+ position: absolute;
251
+ top: -1px;
252
+ right: -1px;
253
+ bottom: -1px;
254
+ left: -1px;
255
+ z-index: -2;
256
+ border-radius: inherit; /* !importanté */
257
+ background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
258
+ height: calc(100% + 2px);
259
+ width: calc(100% + 2px);
260
+ }
261
+
262
+ .gps-suggestion-item:hover .gps-suggestion-item-btn {
263
+ display: flex;
264
+ }
265
+
266
+ .gps-suggestion-item:hover .item-link {
267
+ white-space: nowrap;
268
+ overflow: hidden;
269
+ text-overflow: ellipsis;
270
+ width: 295px;
271
+ }
272
+
273
+ @media(max-width: 768px) {
274
+ .gps-suggestion-item:hover .item-link {
275
+ width: 150px;
276
+ }
277
+ }
278
+
279
+ .gps-base-font-family {
280
+ font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
281
+ }
282
+
283
+ .btn-disable::before {
284
+ background: none !important;
285
+ background-color: #f4f4f4 !important;
286
+ color: #9e9e9e;
287
+ }