@gem-sdk/styles 1.13.9 → 1.13.31

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/builder.css CHANGED
@@ -33,14 +33,14 @@
33
33
  background-image: none;
34
34
  background-color: #f4f4f4;
35
35
  color: #9e9e9e;
36
+ cursor: not-allowed;
36
37
  }
37
38
  .builder .generate-image-to-layout-btn:hover::before {
38
39
  opacity: 1;
39
40
  }
40
41
  .builder .image-to-layout-input-border {
41
- background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
42
+ border: 1px solid #3c38e1;
42
43
  border-radius: 3px;
43
- padding: 1px;
44
44
  }
45
45
  .builder .image-to-layout-input-wrapper-modal {
46
46
  position: relative;
@@ -53,7 +53,7 @@
53
53
  box-sizing: border-box;
54
54
  }
55
55
  .image-to-layout-input-wrapper-add-section {
56
- border: 1px solid #3c67ff !important;
56
+ border: 1px solid #3c67ff;
57
57
  }
58
58
  .gps-image-to-layout-progress-bar {
59
59
  background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
@@ -142,7 +142,6 @@
142
142
  #visual-content .fake-placeholder.visual-placeholder {
143
143
  z-index: 20;
144
144
  /* border-radius: 3px; */
145
- background-color: #d8e1ff;
146
145
  display: flex;
147
146
  align-items: center;
148
147
  justify-content: center;
@@ -151,6 +150,7 @@
151
150
  font-size: 14px;
152
151
  line-height: 150%;
153
152
  visibility: visible;
153
+ background-color: #8aa4ff66;
154
154
  }
155
155
  #visual-content .fake-placeholder.visual-placeholder-child-on-sections {
156
156
  margin: 16px !important;
@@ -166,9 +166,11 @@
166
166
  #visual-content .fake-placeholder.not-show {
167
167
  display: none;
168
168
  }
169
+ #visual-content .fake-placeholder[is-blank-page='true'] {
170
+ background-color: #d8e1ff !important;
171
+ }
169
172
  #visual-content .fake-placeholder[is-component-dragging='true'] {
170
- opacity: 0.5;
171
- background: #8aa4ff;
173
+ background-color: #8aa4ff66 !important;
172
174
  }
173
175
  /* section:last-child {
174
176
  [data-slot='children'] {
@@ -208,28 +210,19 @@
208
210
  background: #fff;
209
211
  border-radius: 3px;
210
212
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
213
+ box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.06), 0px 4px 16px rgba(0, 0, 0, 0.12);
211
214
  }
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 {
215
+ .gps-suggestion-item .gps-suggestion-item-btn {
226
216
  display: flex;
227
217
  }
228
- .gps-suggestion-item:hover .item-link {
218
+ .gps-suggestion-item .item-link {
229
219
  white-space: nowrap;
230
220
  overflow: hidden;
231
221
  text-overflow: ellipsis;
232
- width: 295px;
222
+ width: 360px;
223
+ }
224
+ .gps-suggestion-item:hover .item-link {
225
+ width: 360px;
233
226
  }
234
227
  .gps-base-font-family {
235
228
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
@@ -239,8 +232,19 @@
239
232
  background-color: #f4f4f4 !important;
240
233
  color: #9e9e9e;
241
234
  }
235
+ .gps-image-detection-section:hover .gps-generating-actions {
236
+ display: flex;
237
+ }
238
+ .gps-generating-section-text {
239
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
240
+ -webkit-background-clip: text;
241
+ -webkit-text-fill-color: transparent;
242
+ }
242
243
  @media (max-width: 768px) {
243
244
  .gps-suggestion-item:hover .item-link {
244
- width: 150px;
245
+ width: 196px;
246
+ }
247
+ .gps-suggestion-item .item-link {
248
+ width: 196px;
245
249
  }
246
250
  }
@@ -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 .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}}
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;cursor:not-allowed}.builder .generate-image-to-layout-btn:hover:before{opacity:1}.builder .image-to-layout-input-border{border:1px solid #3c38e1;border-radius:3px}.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}.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:#8aa4ff66;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-blank-page=true]{background-color:#d8e1ff!important}#visual-content .fake-placeholder[is-component-dragging=true]{background-color:#8aa4ff66!important}[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;box-shadow:0 4px 16px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.12)}.gps-suggestion-item .gps-suggestion-item-btn{display:flex}.gps-suggestion-item .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:360px}.gps-suggestion-item:hover .item-link{width:360px}.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}.gps-image-detection-section:hover .gps-generating-actions{display:flex}.gps-generating-section-text{-webkit-text-fill-color:transparent;background:-webkit-linear-gradient(#874cfd,#3c38e1);-webkit-background-clip:text}@media (max-width:768px){.gps-suggestion-item .item-link,.gps-suggestion-item:hover .item-link{width:196px}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/styles",
3
- "version": "1.13.9",
3
+ "version": "1.13.31",
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",
@@ -40,6 +40,7 @@
40
40
  background-image: none;
41
41
  background-color: #f4f4f4;
42
42
  color: #9e9e9e;
43
+ cursor: not-allowed;
43
44
  }
44
45
 
45
46
  .generate-image-to-layout-btn:hover::before {
@@ -47,9 +48,8 @@
47
48
  }
48
49
 
49
50
  .image-to-layout-input-border {
50
- background: linear-gradient(89.63deg, #874cfd 27.59%, #3c38e1 82.67%);
51
+ border: 1px solid #3c38e1;
51
52
  border-radius: 3px;
52
- padding: 1px;
53
53
  }
54
54
 
55
55
  .image-to-layout-input-wrapper-modal {
@@ -64,7 +64,7 @@
64
64
  }
65
65
  }
66
66
  .image-to-layout-input-wrapper-add-section {
67
- border: 1px solid #3c67ff !important;
67
+ border: 1px solid #3c67ff;
68
68
  }
69
69
 
70
70
  .gps-image-to-layout-progress-bar {
@@ -164,7 +164,6 @@
164
164
  &.visual-placeholder {
165
165
  z-index: 20;
166
166
  /* border-radius: 3px; */
167
- background-color: #d8e1ff;
168
167
  display: flex;
169
168
  align-items: center;
170
169
  justify-content: center;
@@ -173,6 +172,7 @@
173
172
  font-size: 14px;
174
173
  line-height: 150%;
175
174
  visibility: visible;
175
+ background-color: #8aa4ff66;
176
176
  }
177
177
 
178
178
  &.visual-placeholder-child-on-sections {
@@ -191,9 +191,11 @@
191
191
  &.not-show {
192
192
  display: none;
193
193
  }
194
+ &[is-blank-page='true'] {
195
+ background-color: #d8e1ff !important;
196
+ }
194
197
  &[is-component-dragging='true'] {
195
- opacity: 0.5;
196
- background: #8aa4ff;
198
+ background-color: #8aa4ff66 !important;
197
199
  }
198
200
  }
199
201
  }
@@ -243,36 +245,30 @@
243
245
  background: #fff;
244
246
  border-radius: 3px;
245
247
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
248
+ box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.06), 0px 4px 16px rgba(0, 0, 0, 0.12);
246
249
  }
247
250
 
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 {
251
+ .gps-suggestion-item .gps-suggestion-item-btn {
263
252
  display: flex;
264
253
  }
265
254
 
266
- .gps-suggestion-item:hover .item-link {
255
+ .gps-suggestion-item .item-link {
267
256
  white-space: nowrap;
268
257
  overflow: hidden;
269
258
  text-overflow: ellipsis;
270
- width: 295px;
259
+ width: 360px;
260
+ }
261
+
262
+ .gps-suggestion-item:hover .item-link {
263
+ width: 360px;
271
264
  }
272
265
 
273
266
  @media (max-width: 768px) {
274
267
  .gps-suggestion-item:hover .item-link {
275
- width: 150px;
268
+ width: 196px;
269
+ }
270
+ .gps-suggestion-item .item-link {
271
+ width: 196px;
276
272
  }
277
273
  }
278
274
 
@@ -285,3 +281,12 @@
285
281
  background-color: #f4f4f4 !important;
286
282
  color: #9e9e9e;
287
283
  }
284
+
285
+ .gps-image-detection-section:hover .gps-generating-actions {
286
+ display: flex;
287
+ }
288
+ .gps-generating-section-text {
289
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
290
+ -webkit-background-clip: text;
291
+ -webkit-text-fill-color: transparent;
292
+ }