@gem-sdk/styles 1.14.0-next.22 → 1.14.0-next.234

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
@@ -1,4 +1,9 @@
1
- .builder [disabled] {
1
+ .builder {
2
+ -webkit-user-select: none;
3
+ -webkit-touch-callout: none;
4
+ user-select: none;
5
+ }
6
+ .builder [disabled] {
2
7
  pointer-events: auto;
3
8
  }
4
9
  .builder [data-slot='children'] {
@@ -13,13 +18,12 @@
13
18
  }
14
19
  .builder .generate-image-to-layout-btn {
15
20
  position: relative;
16
-
17
- background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
18
- z-index: 1;
21
+ background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
22
+ z-index: 1;
19
23
  }
20
24
  .builder .generate-image-to-layout-btn::before {
21
25
  position: absolute;
22
- content: "";
26
+ content: '';
23
27
  top: 0;
24
28
  right: 0;
25
29
  bottom: 0;
@@ -30,31 +34,34 @@
30
34
  opacity: 0;
31
35
  border-radius: 3px;
32
36
  }
37
+ .builder .btn-disable {
38
+ background-image: none;
39
+ background-color: #f4f4f4;
40
+ color: #9e9e9e;
41
+ cursor: not-allowed;
42
+ }
33
43
  .builder .generate-image-to-layout-btn:hover::before {
34
44
  opacity: 1;
35
45
  }
36
46
  .builder .image-to-layout-input-border {
37
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
47
+ border: 1px solid #3c38e1;
38
48
  border-radius: 3px;
39
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
40
49
  }
41
50
  .builder .image-to-layout-input-wrapper-modal {
42
51
  position: relative;
43
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
44
52
  }
45
- .builder .image-to-layout-input-wrapper, .builder .image-to-layout-input-wrapper-add-section {
53
+ .builder .image-to-layout-input-wrapper,
54
+ .builder .image-to-layout-input-wrapper-add-section {
46
55
  position: relative;
47
56
  background: #fff;
48
- border: solid 1px transparent;
49
57
  background-clip: padding-box;
50
58
  box-sizing: border-box;
51
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
52
59
  }
53
60
  .image-to-layout-input-wrapper-add-section {
54
- border: 1px solid #3C67FF !important;
61
+ border: 1px solid #3c67ff;
55
62
  }
56
63
  .gps-image-to-layout-progress-bar {
57
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
64
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
58
65
  }
59
66
  .drag-placeholder {
60
67
  display: none;
@@ -140,7 +147,6 @@
140
147
  #visual-content .fake-placeholder.visual-placeholder {
141
148
  z-index: 20;
142
149
  /* border-radius: 3px; */
143
- background-color: #d8e1ff;
144
150
  display: flex;
145
151
  align-items: center;
146
152
  justify-content: center;
@@ -149,6 +155,7 @@
149
155
  font-size: 14px;
150
156
  line-height: 150%;
151
157
  visibility: visible;
158
+ background-color: #8aa4ff66;
152
159
  }
153
160
  #visual-content .fake-placeholder.visual-placeholder-child-on-sections {
154
161
  margin: 16px !important;
@@ -164,9 +171,11 @@
164
171
  #visual-content .fake-placeholder.not-show {
165
172
  display: none;
166
173
  }
167
- #visual-content .fake-placeholder[is-component-dragging="true"] {
168
- opacity: 0.5;
169
- background: #8AA4FF;
174
+ #visual-content .fake-placeholder[is-blank-page='true'] {
175
+ background-color: #d8e1ff !important;
176
+ }
177
+ #visual-content .fake-placeholder[is-component-dragging='true'] {
178
+ background-color: #8aa4ff66 !important;
170
179
  }
171
180
  /* section:last-child {
172
181
  [data-slot='children'] {
@@ -177,6 +186,7 @@
177
186
  [contenteditable='true']:focus,
178
187
  [contenteditable='true']:focus-visible {
179
188
  outline: none;
189
+ overflow: hidden;
180
190
  }
181
191
  [data-component-is-third-party='true'] {
182
192
  background-color: #f4f4f4;
@@ -204,34 +214,106 @@
204
214
  }
205
215
  .gps-page-suggestion {
206
216
  background: #fff;
207
- border: solid 1px transparent;
208
- background-clip: padding-box;
209
- box-sizing: border-box;
210
217
  border-radius: 3px;
211
218
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
219
+ box-shadow:
220
+ 0px 4px 16px rgba(0, 0, 0, 0.06),
221
+ 0px 4px 16px rgba(0, 0, 0, 0.12);
212
222
  }
213
- .gps-page-suggestion:before {
214
- content: '';
215
- position: absolute;
216
- top: -1px;
217
- right: -1px;
218
- bottom: -1px;
219
- left: -1px;
220
- z-index: -2;
221
- border-radius: inherit; /* !importanté */
222
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
223
- height: calc(100% + 2px);
224
- width: calc(100% + 2px);
225
- }
226
- .gps-suggestion-item:hover .gps-suggestion-item-btn {
227
- visibility: visible;
223
+ .gps-suggestion-item .gps-suggestion-item-btn {
224
+ display: flex;
228
225
  }
229
- .gps-suggestion-item:hover .item-link {
226
+ .gps-suggestion-item .item-link {
230
227
  white-space: nowrap;
231
228
  overflow: hidden;
232
229
  text-overflow: ellipsis;
233
- width: 295px;
230
+ width: 360px;
231
+ }
232
+ .gps-suggestion-item:hover .item-link {
233
+ width: 360px;
234
234
  }
235
235
  .gps-base-font-family {
236
236
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
237
- }
237
+ }
238
+ .btn-disable::before {
239
+ background: none !important;
240
+ background-color: #f4f4f4 !important;
241
+ color: #9e9e9e;
242
+ }
243
+ .gps-image-detection-section:hover .gps-generating-actions {
244
+ display: flex;
245
+ }
246
+ .gps-generating-section-text {
247
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
248
+ -webkit-background-clip: text;
249
+ -webkit-text-fill-color: transparent;
250
+ }
251
+ .ck-blurred {
252
+ cursor: pointer;
253
+ }
254
+ .ck-focused {
255
+ cursor: text;
256
+ }
257
+ .button-text {
258
+ position: relative;
259
+ }
260
+ .button-text.ck-focused,
261
+ .child-item-text.ck-focused {
262
+ border-color: transparent !important;
263
+ box-shadow:
264
+ rgba(255, 255, 255, 0) 0px 0px 0px 2px,
265
+ #3c67ff 0px 0px 0px 1px,
266
+ #3c67ff3d 0px 0px 0px 5px;
267
+ }
268
+ .button-text.ck p {
269
+ overflow: hidden;
270
+ text-overflow: ellipsis;
271
+ white-space: nowrap;
272
+ }
273
+ .gp-text.ck p {
274
+ word-break: break-word;
275
+ }
276
+ .button-text:hover::after {
277
+ content: '';
278
+ position: absolute;
279
+ width: 100%;
280
+ height: 100%;
281
+ top: 0;
282
+ left: 0;
283
+ border: 1px solid #3c67ff;
284
+ pointer-events: none;
285
+ }
286
+ .button-text.ck-focused:hover::after {
287
+ border: 0 !important;
288
+ }
289
+ .sticky-overlay {
290
+ position: fixed;
291
+ top: 0;
292
+ left: 0;
293
+ width: 100%;
294
+ height: 100%;
295
+ background-color: #3c67ff26;
296
+ z-index: 1;
297
+ border: 2px solid #3c67ff;
298
+ color: #3c67ff;
299
+ display: flex;
300
+ align-items: center;
301
+ justify-content: center;
302
+ }
303
+ .sticky-overlay.highlight-top {
304
+ border-top-width: 6px;
305
+ }
306
+ .sticky-overlay.highlight-bottom {
307
+ border-bottom-width: 6px;
308
+ }
309
+ .sticky-overlay.is-blank-page {
310
+ background-color: #d8e1ff !important;
311
+ }
312
+ @media (max-width: 768px) {
313
+ .gps-suggestion-item:hover .item-link {
314
+ width: 196px;
315
+ }
316
+ .gps-suggestion-item .item-link {
317
+ width: 196px;
318
+ }
319
+ }
@@ -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;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;background-clip:padding-box;border:1px solid transparent;border-radius:3px;box-sizing:border-box}.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
+ .builder{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.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;overflow:hidden}[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}.ck-blurred{cursor:pointer}.ck-focused{cursor:text}.button-text{position:relative}.button-text.ck-focused,.child-item-text.ck-focused{border-color:transparent!important;box-shadow:0 0 0 2px hsla(0,0%,100%,0),0 0 0 1px #3c67ff,0 0 0 5px #3c67ff3d}.button-text.ck p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gp-text.ck p{word-break:break-word}.button-text:hover:after{border:1px solid #3c67ff;content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.button-text.ck-focused:hover:after{border:0!important}.sticky-overlay{align-items:center;background-color:#3c67ff26;border:2px solid #3c67ff;color:#3c67ff;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1}.sticky-overlay.highlight-top{border-top-width:6px}.sticky-overlay.highlight-bottom{border-bottom-width:6px}.sticky-overlay.is-blank-page{background-color:#d8e1ff!important}@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.14.0-next.22",
3
+ "version": "1.14.0-next.234",
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",
@@ -15,7 +15,7 @@
15
15
  "build": "gulp build"
16
16
  },
17
17
  "devDependencies": {
18
- "cssnano": "6.0.0",
18
+ "cssnano": "6.0.1",
19
19
  "csstype": "3.1.2",
20
20
  "del": "^6.0.0",
21
21
  "gulp": "^4.0.2",
@@ -1,4 +1,9 @@
1
1
  .builder {
2
+ -webkit-user-select: none;
3
+ -webkit-touch-callout: none;
4
+ -moz-user-select: none;
5
+ -ms-user-select: none;
6
+ user-select: none;
2
7
  [disabled] {
3
8
  pointer-events: auto;
4
9
  }
@@ -18,13 +23,13 @@
18
23
 
19
24
  .generate-image-to-layout-btn {
20
25
  position: relative;
21
-
22
- background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
23
- z-index: 1;
26
+ background-image: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
27
+ z-index: 1;
24
28
  }
29
+
25
30
  .generate-image-to-layout-btn::before {
26
31
  position: absolute;
27
- content: "";
32
+ content: '';
28
33
  top: 0;
29
34
  right: 0;
30
35
  bottom: 0;
@@ -35,36 +40,40 @@
35
40
  opacity: 0;
36
41
  border-radius: 3px;
37
42
  }
43
+
44
+ .btn-disable {
45
+ background-image: none;
46
+ background-color: #f4f4f4;
47
+ color: #9e9e9e;
48
+ cursor: not-allowed;
49
+ }
50
+
38
51
  .generate-image-to-layout-btn:hover::before {
39
52
  opacity: 1;
40
53
  }
41
54
 
42
55
  .image-to-layout-input-border {
43
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
56
+ border: 1px solid #3c38e1;
44
57
  border-radius: 3px;
45
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
46
58
  }
47
-
59
+
48
60
  .image-to-layout-input-wrapper-modal {
49
61
  position: relative;
50
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
51
62
  }
52
- .image-to-layout-input-wrapper, .image-to-layout-input-wrapper-add-section {
63
+ .image-to-layout-input-wrapper,
64
+ .image-to-layout-input-wrapper-add-section {
53
65
  position: relative;
54
66
  background: #fff;
55
- border: solid 1px transparent;
56
67
  background-clip: padding-box;
57
68
  box-sizing: border-box;
58
- font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
59
69
  }
60
70
  }
61
71
  .image-to-layout-input-wrapper-add-section {
62
- border: 1px solid #3C67FF !important;
72
+ border: 1px solid #3c67ff;
63
73
  }
64
74
 
65
-
66
75
  .gps-image-to-layout-progress-bar {
67
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
76
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
68
77
  }
69
78
 
70
79
  .drag-placeholder {
@@ -160,7 +169,6 @@
160
169
  &.visual-placeholder {
161
170
  z-index: 20;
162
171
  /* border-radius: 3px; */
163
- background-color: #d8e1ff;
164
172
  display: flex;
165
173
  align-items: center;
166
174
  justify-content: center;
@@ -169,6 +177,7 @@
169
177
  font-size: 14px;
170
178
  line-height: 150%;
171
179
  visibility: visible;
180
+ background-color: #8aa4ff66;
172
181
  }
173
182
 
174
183
  &.visual-placeholder-child-on-sections {
@@ -187,9 +196,11 @@
187
196
  &.not-show {
188
197
  display: none;
189
198
  }
190
- &[is-component-dragging="true"] {
191
- opacity: 0.5;
192
- background: #8AA4FF;
199
+ &[is-blank-page='true'] {
200
+ background-color: #d8e1ff !important;
201
+ }
202
+ &[is-component-dragging='true'] {
203
+ background-color: #8aa4ff66 !important;
193
204
  }
194
205
  }
195
206
  }
@@ -203,6 +214,7 @@
203
214
  [contenteditable='true']:focus,
204
215
  [contenteditable='true']:focus-visible {
205
216
  outline: none;
217
+ overflow: hidden;
206
218
  }
207
219
 
208
220
  [data-component-is-third-party='true'] {
@@ -237,38 +249,116 @@
237
249
 
238
250
  .gps-page-suggestion {
239
251
  background: #fff;
240
- border: solid 1px transparent;
241
- background-clip: padding-box;
242
- box-sizing: border-box;
243
252
  border-radius: 3px;
244
253
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
254
+ box-shadow:
255
+ 0px 4px 16px rgba(0, 0, 0, 0.06),
256
+ 0px 4px 16px rgba(0, 0, 0, 0.12);
245
257
  }
246
258
 
247
- .gps-page-suggestion:before {
248
- content: '';
249
- position: absolute;
250
- top: -1px;
251
- right: -1px;
252
- bottom: -1px;
253
- left: -1px;
254
- z-index: -2;
255
- border-radius: inherit; /* !importanté */
256
- background: linear-gradient(89.63deg, #874CFD 27.59%, #3C38E1 82.67%);
257
- height: calc(100% + 2px);
258
- width: calc(100% + 2px);
259
+ .gps-suggestion-item .gps-suggestion-item-btn {
260
+ display: flex;
259
261
  }
260
262
 
261
- .gps-suggestion-item:hover .gps-suggestion-item-btn {
262
- visibility: visible;
263
- }
264
-
265
- .gps-suggestion-item:hover .item-link {
263
+ .gps-suggestion-item .item-link {
266
264
  white-space: nowrap;
267
265
  overflow: hidden;
268
266
  text-overflow: ellipsis;
269
- width: 295px;
267
+ width: 360px;
268
+ }
269
+
270
+ .gps-suggestion-item:hover .item-link {
271
+ width: 360px;
272
+ }
273
+
274
+ @media (max-width: 768px) {
275
+ .gps-suggestion-item:hover .item-link {
276
+ width: 196px;
277
+ }
278
+ .gps-suggestion-item .item-link {
279
+ width: 196px;
280
+ }
270
281
  }
271
282
 
272
283
  .gps-base-font-family {
273
284
  font-family: Inter, sans-serif, ui-sans-serif, system-ui !important;
274
- }
285
+ }
286
+
287
+ .btn-disable::before {
288
+ background: none !important;
289
+ background-color: #f4f4f4 !important;
290
+ color: #9e9e9e;
291
+ }
292
+
293
+ .gps-image-detection-section:hover .gps-generating-actions {
294
+ display: flex;
295
+ }
296
+ .gps-generating-section-text {
297
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
298
+ -webkit-background-clip: text;
299
+ -webkit-text-fill-color: transparent;
300
+ }
301
+ .ck-blurred {
302
+ cursor: pointer;
303
+ }
304
+ .ck-focused {
305
+ cursor: text;
306
+ }
307
+ .button-text {
308
+ position: relative;
309
+ }
310
+ .button-text.ck-focused,
311
+ .child-item-text.ck-focused {
312
+ border-color: transparent !important;
313
+ box-shadow:
314
+ rgba(255, 255, 255, 0) 0px 0px 0px 2px,
315
+ #3c67ff 0px 0px 0px 1px,
316
+ #3c67ff3d 0px 0px 0px 5px;
317
+ }
318
+ .button-text.ck p {
319
+ overflow: hidden;
320
+ text-overflow: ellipsis;
321
+ white-space: nowrap;
322
+ }
323
+ .gp-text.ck p {
324
+ word-break: break-word;
325
+ }
326
+ .button-text:hover::after {
327
+ content: '';
328
+ position: absolute;
329
+ width: 100%;
330
+ height: 100%;
331
+ top: 0;
332
+ left: 0;
333
+ border: 1px solid #3c67ff;
334
+ pointer-events: none;
335
+ }
336
+ .button-text.ck-focused:hover::after {
337
+ border: 0 !important;
338
+ }
339
+
340
+ .sticky-overlay {
341
+ position: fixed;
342
+ top: 0;
343
+ left: 0;
344
+ width: 100%;
345
+ height: 100%;
346
+ background-color: #3c67ff26;
347
+ z-index: 1;
348
+ border: 2px solid #3c67ff;
349
+ color: #3c67ff;
350
+ display: flex;
351
+ align-items: center;
352
+ justify-content: center;
353
+
354
+ &.highlight-top {
355
+ border-top-width: 6px;
356
+ }
357
+
358
+ &.highlight-bottom {
359
+ border-bottom-width: 6px;
360
+ }
361
+ &.is-blank-page {
362
+ background-color: #d8e1ff !important;
363
+ }
364
+ }