@wix/thunderbolt-common-css 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.global.css +389 -0
- package/dist/index.global.css.map +1 -0
- package/dist/viewer.global.css +162 -0
- package/dist/viewer.global.css.map +1 -0
- package/package.json +11 -3
- package/src/index.global.scss +1 -1
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
div, span, applet, object, iframe,
|
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
3
|
+
a, abbr, acronym, address, big, cite, code,
|
|
4
|
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
|
5
|
+
small, strike, strong, sub, sup, tt, var,
|
|
6
|
+
b, u, i, center,
|
|
7
|
+
dl, dt, dd, ol, ul, li,
|
|
8
|
+
fieldset, form, label, legend,
|
|
9
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
10
|
+
nav, button, section, header, footer, title {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
border: 0;
|
|
14
|
+
outline: 0;
|
|
15
|
+
vertical-align: baseline;
|
|
16
|
+
background: transparent;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
textarea, input, select {
|
|
20
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ol, ul {
|
|
25
|
+
list-style: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
blockquote, q {
|
|
29
|
+
quotes: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
ins {
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
del {
|
|
37
|
+
text-decoration: line-through;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
table {
|
|
41
|
+
border-collapse: collapse;
|
|
42
|
+
border-spacing: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
a {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.testStyles {
|
|
51
|
+
overflow-y: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.reset-button {
|
|
55
|
+
background: none;
|
|
56
|
+
border: 0;
|
|
57
|
+
outline: 0;
|
|
58
|
+
color: inherit;
|
|
59
|
+
/* cursor: default; */
|
|
60
|
+
font: inherit;
|
|
61
|
+
line-height: normal;
|
|
62
|
+
overflow: visible;
|
|
63
|
+
padding: 0;
|
|
64
|
+
-webkit-appearance: none;
|
|
65
|
+
-webkit-user-select: none;
|
|
66
|
+
-moz-user-select: none;
|
|
67
|
+
-ms-user-select: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:focus {
|
|
71
|
+
outline: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
body.device-mobile-optimized:not(.disable-site-overflow) {
|
|
75
|
+
overflow-x: hidden;
|
|
76
|
+
overflow-y: scroll;
|
|
77
|
+
}
|
|
78
|
+
body.device-mobile-optimized:not(.responsive) #SITE_CONTAINER {
|
|
79
|
+
width: 320px;
|
|
80
|
+
overflow-x: visible;
|
|
81
|
+
position: relative;
|
|
82
|
+
margin-left: auto;
|
|
83
|
+
margin-right: auto;
|
|
84
|
+
}
|
|
85
|
+
body.device-mobile-optimized:not(.responsive):not(.blockSiteScrolling) #SITE_CONTAINER {
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
}
|
|
88
|
+
body.device-mobile-optimized > * {
|
|
89
|
+
max-width: 100% !important;
|
|
90
|
+
}
|
|
91
|
+
body.device-mobile-optimized #site-root {
|
|
92
|
+
overflow-x: hidden;
|
|
93
|
+
overflow-y: hidden;
|
|
94
|
+
}
|
|
95
|
+
@supports (overflow: clip) {
|
|
96
|
+
body.device-mobile-optimized #site-root {
|
|
97
|
+
overflow-x: clip;
|
|
98
|
+
overflow-y: clip;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
body.device-mobile-non-optimized #SITE_CONTAINER #site-root {
|
|
102
|
+
overflow-x: clip;
|
|
103
|
+
overflow-y: clip;
|
|
104
|
+
}
|
|
105
|
+
body.device-mobile-non-optimized.fullScreenMode {
|
|
106
|
+
background-color: #5f6360;
|
|
107
|
+
}
|
|
108
|
+
body.device-mobile-non-optimized.fullScreenMode #site-root,
|
|
109
|
+
body.device-mobile-non-optimized.fullScreenMode #SITE_BACKGROUND,
|
|
110
|
+
body.device-mobile-non-optimized.fullScreenMode #MOBILE_ACTIONS_MENU {
|
|
111
|
+
visibility: hidden;
|
|
112
|
+
}
|
|
113
|
+
body.fullScreenMode #WIX_ADS {
|
|
114
|
+
visibility: hidden;
|
|
115
|
+
}
|
|
116
|
+
body.fullScreenMode {
|
|
117
|
+
overflow-x: hidden !important;
|
|
118
|
+
overflow-y: hidden !important;
|
|
119
|
+
}
|
|
120
|
+
body.fullScreenMode.device-mobile-optimized #TINY_MENU {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
pointer-events: none;
|
|
123
|
+
}
|
|
124
|
+
body.fullScreenMode-scrollable.device-mobile-optimized {
|
|
125
|
+
overflow-x: hidden !important;
|
|
126
|
+
overflow-y: auto !important;
|
|
127
|
+
}
|
|
128
|
+
body.fullScreenMode-scrollable.device-mobile-optimized #site-root,
|
|
129
|
+
body.fullScreenMode-scrollable.device-mobile-optimized #masterPage {
|
|
130
|
+
overflow-x: hidden !important;
|
|
131
|
+
overflow-y: hidden !important;
|
|
132
|
+
}
|
|
133
|
+
body.fullScreenMode-scrollable.device-mobile-optimized #masterPage,
|
|
134
|
+
body.fullScreenMode-scrollable.device-mobile-optimized #SITE_BACKGROUND {
|
|
135
|
+
height: auto !important;
|
|
136
|
+
}
|
|
137
|
+
body.fullScreenMode-scrollable.device-mobile-optimized #masterPage.mesh-layout {
|
|
138
|
+
height: 0 !important;
|
|
139
|
+
}
|
|
140
|
+
body.blockSiteScrolling, body.siteScrollingBlocked {
|
|
141
|
+
position: fixed;
|
|
142
|
+
width: 100%;
|
|
143
|
+
}
|
|
144
|
+
body.siteScrollingBlockedIOSFix {
|
|
145
|
+
overflow: hidden !important;
|
|
146
|
+
}
|
|
147
|
+
body.blockSiteScrolling #SITE_CONTAINER {
|
|
148
|
+
margin-top: calc(var(--blocked-site-scroll-margin-top) * -1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
#site-root {
|
|
152
|
+
top: var(--wix-ads-height);
|
|
153
|
+
min-height: 100%;
|
|
154
|
+
position: relative;
|
|
155
|
+
margin: 0 auto;
|
|
156
|
+
}
|
|
157
|
+
#site-root img:not([src]) {
|
|
158
|
+
visibility: hidden;
|
|
159
|
+
}
|
|
160
|
+
#site-root svg img:not([src]) {
|
|
161
|
+
visibility: visible;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.auto-generated-link {
|
|
165
|
+
color: inherit;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
#SCROLL_TO_TOP {
|
|
169
|
+
height: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
#SCROLL_TO_BOTTOM {
|
|
173
|
+
height: 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.has-click-trigger {
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.fullScreenOverlay {
|
|
181
|
+
z-index: 1005;
|
|
182
|
+
position: fixed;
|
|
183
|
+
left: 0;
|
|
184
|
+
top: -60px;
|
|
185
|
+
right: 0;
|
|
186
|
+
bottom: 0;
|
|
187
|
+
display: flex;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
overflow-y: hidden;
|
|
190
|
+
}
|
|
191
|
+
.fullScreenOverlay > .fullScreenOverlayContent {
|
|
192
|
+
margin: 0 auto;
|
|
193
|
+
position: absolute;
|
|
194
|
+
right: 0;
|
|
195
|
+
top: 60px;
|
|
196
|
+
left: 0;
|
|
197
|
+
bottom: 0;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
transform: translateZ(0);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
[data-mesh-id$=inlineContent],
|
|
203
|
+
[data-mesh-id$=centeredContent],
|
|
204
|
+
[data-mesh-id$=form] {
|
|
205
|
+
position: relative;
|
|
206
|
+
pointer-events: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
[data-mesh-id$=-gridWrapper],
|
|
210
|
+
[data-mesh-id$=-rotated-wrapper] {
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[data-mesh-id$=-gridContainer] > *,
|
|
215
|
+
[data-mesh-id$=-rotated-wrapper] > *,
|
|
216
|
+
[data-mesh-id$=inlineContent] > :not([data-mesh-id$=-gridContainer]) {
|
|
217
|
+
pointer-events: auto;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.device-mobile-optimized #masterPage.mesh-layout #SOSP_CONTAINER_CUSTOM_ID {
|
|
221
|
+
-ms-grid-row: 2;
|
|
222
|
+
grid-area: 2/1/3/2;
|
|
223
|
+
position: relative;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
#masterPage.mesh-layout {
|
|
227
|
+
display: -ms-grid;
|
|
228
|
+
display: grid;
|
|
229
|
+
-ms-grid-rows: max-content max-content min-content max-content;
|
|
230
|
+
grid-template-rows: max-content max-content min-content max-content;
|
|
231
|
+
-ms-grid-columns: 100%;
|
|
232
|
+
grid-template-columns: 100%;
|
|
233
|
+
align-items: start;
|
|
234
|
+
justify-content: stretch;
|
|
235
|
+
}
|
|
236
|
+
#masterPage.mesh-layout #SITE_HEADER_WRAPPER,
|
|
237
|
+
#masterPage.mesh-layout #SITE_HEADER-placeholder,
|
|
238
|
+
#masterPage.mesh-layout #SOSP_CONTAINER_CUSTOM_ID[data-state~=mobileView],
|
|
239
|
+
#masterPage.mesh-layout #PAGES_CONTAINER,
|
|
240
|
+
#masterPage.mesh-layout #soapBeforePagesContainer,
|
|
241
|
+
#masterPage.mesh-layout #soapAfterPagesContainer,
|
|
242
|
+
#masterPage.mesh-layout #SITE_FOOTER_WRAPPER,
|
|
243
|
+
#masterPage.mesh-layout #SITE_FOOTER-placeholder {
|
|
244
|
+
-ms-grid-column: 1;
|
|
245
|
+
-ms-grid-row-align: start;
|
|
246
|
+
-ms-grid-column-align: start;
|
|
247
|
+
}
|
|
248
|
+
#masterPage.mesh-layout #SITE_HEADER_WRAPPER,
|
|
249
|
+
#masterPage.mesh-layout #SITE_HEADER-placeholder {
|
|
250
|
+
-ms-grid-row: 1;
|
|
251
|
+
grid-area: 1/1/2/2;
|
|
252
|
+
}
|
|
253
|
+
#masterPage.mesh-layout #PAGES_CONTAINER,
|
|
254
|
+
#masterPage.mesh-layout #soapBeforePagesContainer,
|
|
255
|
+
#masterPage.mesh-layout #soapAfterPagesContainer {
|
|
256
|
+
-ms-grid-row: 3;
|
|
257
|
+
grid-area: 3/1/4/2;
|
|
258
|
+
}
|
|
259
|
+
#masterPage.mesh-layout #soapBeforePagesContainer,
|
|
260
|
+
#masterPage.mesh-layout #soapAfterPagesContainer {
|
|
261
|
+
width: 100%;
|
|
262
|
+
}
|
|
263
|
+
#masterPage.mesh-layout #PAGES_CONTAINER {
|
|
264
|
+
align-self: stretch;
|
|
265
|
+
}
|
|
266
|
+
#masterPage.mesh-layout main#PAGES_CONTAINER {
|
|
267
|
+
display: block;
|
|
268
|
+
}
|
|
269
|
+
#masterPage.mesh-layout #SITE_FOOTER_WRAPPER,
|
|
270
|
+
#masterPage.mesh-layout #SITE_FOOTER-placeholder {
|
|
271
|
+
-ms-grid-row: 4;
|
|
272
|
+
grid-area: 4/1/5/2;
|
|
273
|
+
}
|
|
274
|
+
#masterPage.mesh-layout [data-mesh-id=PAGES_CONTAINERcenteredContent],
|
|
275
|
+
#masterPage.mesh-layout [data-mesh-id=PAGES_CONTAINERinlineContent],
|
|
276
|
+
#masterPage.mesh-layout #SITE_PAGES {
|
|
277
|
+
height: 100%;
|
|
278
|
+
}
|
|
279
|
+
#masterPage.mesh-layout.desktop > * {
|
|
280
|
+
width: 100%;
|
|
281
|
+
}
|
|
282
|
+
#masterPage.mesh-layout #SITE_PAGES,
|
|
283
|
+
#masterPage.mesh-layout #SITE_HEADER_WRAPPER,
|
|
284
|
+
#masterPage.mesh-layout #SITE_FOOTER_WRAPPER,
|
|
285
|
+
#masterPage.mesh-layout #PAGES_CONTAINER,
|
|
286
|
+
#masterPage.mesh-layout #masterPageinlineContent {
|
|
287
|
+
position: relative;
|
|
288
|
+
}
|
|
289
|
+
#masterPage.mesh-layout #SITE_FOOTER,
|
|
290
|
+
#masterPage.mesh-layout #SITE_HEADER {
|
|
291
|
+
position: relative;
|
|
292
|
+
}
|
|
293
|
+
#masterPage.mesh-layout #SITE_HEADER {
|
|
294
|
+
grid-area: 1/1/2/2;
|
|
295
|
+
}
|
|
296
|
+
#masterPage.mesh-layout #SITE_FOOTER {
|
|
297
|
+
grid-area: 4/1/5/2;
|
|
298
|
+
}
|
|
299
|
+
#masterPage.mesh-layout.overflow-x-clip #SITE_HEADER,
|
|
300
|
+
#masterPage.mesh-layout.overflow-x-clip #SITE_FOOTER {
|
|
301
|
+
overflow-x: clip;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
[data-z-counter] {
|
|
305
|
+
z-index: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
[data-z-counter="0"] {
|
|
309
|
+
z-index: auto;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.wixSiteProperties {
|
|
313
|
+
-webkit-font-smoothing: antialiased;
|
|
314
|
+
-moz-osx-font-smoothing: grayscale;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
:root {
|
|
318
|
+
--wst-button-color-fill-primary: rgb(var(--color_48));
|
|
319
|
+
--wst-button-color-border-primary: rgb(var(--color_49));
|
|
320
|
+
--wst-button-color-text-primary: rgb(var(--color_50));
|
|
321
|
+
--wst-button-color-fill-primary-hover: rgb(var(--color_51));
|
|
322
|
+
--wst-button-color-border-primary-hover: rgb(var(--color_52));
|
|
323
|
+
--wst-button-color-text-primary-hover: rgb(var(--color_53));
|
|
324
|
+
--wst-button-color-fill-primary-disabled: rgb(var(--color_54));
|
|
325
|
+
--wst-button-color-border-primary-disabled: rgb(var(--color_55));
|
|
326
|
+
--wst-button-color-text-primary-disabled: rgb(var(--color_56));
|
|
327
|
+
--wst-button-color-fill-secondary: rgb(var(--color_57));
|
|
328
|
+
--wst-button-color-border-secondary: rgb(var(--color_58));
|
|
329
|
+
--wst-button-color-text-secondary: rgb(var(--color_59));
|
|
330
|
+
--wst-button-color-fill-secondary-hover: rgb(var(--color_60));
|
|
331
|
+
--wst-button-color-border-secondary-hover: rgb(var(--color_61));
|
|
332
|
+
--wst-button-color-text-secondary-hover: rgb(var(--color_62));
|
|
333
|
+
--wst-button-color-fill-secondary-disabled: rgb(var(--color_63));
|
|
334
|
+
--wst-button-color-border-secondary-disabled: rgb(var(--color_64));
|
|
335
|
+
--wst-button-color-text-secondary-disabled: rgb(var(--color_65));
|
|
336
|
+
--wst-color-fill-base-1: rgb(var(--color_36));
|
|
337
|
+
--wst-color-fill-base-2: rgb(var(--color_37));
|
|
338
|
+
--wst-color-fill-base-shade-1: rgb(var(--color_38));
|
|
339
|
+
--wst-color-fill-base-shade-2: rgb(var(--color_39));
|
|
340
|
+
--wst-color-fill-base-shade-3: rgb(var(--color_40));
|
|
341
|
+
--wst-color-fill-accent-1: rgb(var(--color_41));
|
|
342
|
+
--wst-color-fill-accent-2: rgb(var(--color_42));
|
|
343
|
+
--wst-color-fill-accent-3: rgb(var(--color_43));
|
|
344
|
+
--wst-color-fill-accent-4: rgb(var(--color_44));
|
|
345
|
+
--wst-color-fill-background-primary: rgb(var(--color_11));
|
|
346
|
+
--wst-color-fill-background-secondary: rgb(var(--color_12));
|
|
347
|
+
--wst-color-text-primary: rgb(var(--color_15));
|
|
348
|
+
--wst-color-text-secondary: rgb(var(--color_14));
|
|
349
|
+
--wst-color-action: rgb(var(--color_18));
|
|
350
|
+
--wst-color-disabled: rgb(var(--color_39));
|
|
351
|
+
--wst-color-title: rgb(var(--color_45));
|
|
352
|
+
--wst-color-subtitle: rgb(var(--color_46));
|
|
353
|
+
--wst-color-line: rgb(var(--color_47));
|
|
354
|
+
--wst-font-style-h2: var(--font_2);
|
|
355
|
+
--wst-font-style-h3: var(--font_3);
|
|
356
|
+
--wst-font-style-h4: var(--font_4);
|
|
357
|
+
--wst-font-style-h5: var(--font_5);
|
|
358
|
+
--wst-font-style-h6: var(--font_6);
|
|
359
|
+
--wst-font-style-body-large: var(--font_7);
|
|
360
|
+
--wst-font-style-body-medium: var(--font_8);
|
|
361
|
+
--wst-font-style-body-small: var(--font_9);
|
|
362
|
+
--wst-font-style-body-x-small: var(--font_10);
|
|
363
|
+
--wst-color-custom-1: rgb(var(--color_13));
|
|
364
|
+
--wst-color-custom-2: rgb(var(--color_16));
|
|
365
|
+
--wst-color-custom-3: rgb(var(--color_17));
|
|
366
|
+
--wst-color-custom-4: rgb(var(--color_19));
|
|
367
|
+
--wst-color-custom-5: rgb(var(--color_20));
|
|
368
|
+
--wst-color-custom-6: rgb(var(--color_21));
|
|
369
|
+
--wst-color-custom-7: rgb(var(--color_22));
|
|
370
|
+
--wst-color-custom-8: rgb(var(--color_23));
|
|
371
|
+
--wst-color-custom-9: rgb(var(--color_24));
|
|
372
|
+
--wst-color-custom-10: rgb(var(--color_25));
|
|
373
|
+
--wst-color-custom-11: rgb(var(--color_26));
|
|
374
|
+
--wst-color-custom-12: rgb(var(--color_27));
|
|
375
|
+
--wst-color-custom-13: rgb(var(--color_28));
|
|
376
|
+
--wst-color-custom-14: rgb(var(--color_29));
|
|
377
|
+
--wst-color-custom-15: rgb(var(--color_30));
|
|
378
|
+
--wst-color-custom-16: rgb(var(--color_31));
|
|
379
|
+
--wst-color-custom-17: rgb(var(--color_32));
|
|
380
|
+
--wst-color-custom-18: rgb(var(--color_33));
|
|
381
|
+
--wst-color-custom-19: rgb(var(--color_34));
|
|
382
|
+
--wst-color-custom-20: rgb(var(--color_35));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.wix-presets-wrapper {
|
|
386
|
+
display: contents;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/*# sourceMappingURL=index.global.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../node_modules/@wix/thunderbolt-app-reset-css/src/assets/scss/renderer/reset_renderer.scss","../../../node_modules/@wix/thunderbolt-app-reset-css/src/assets/scss/mobile.scss","../src/assets/scss/root_renderer.scss","../src/assets/scss/mobile_renderer.scss","../src/assets/scss/mesh.scss","../src/assets/scss/transforms.scss","../src/assets/scss/wixSites.scss","../src/assets/scss/themeWiringVars.scss","../src/assets/scss/builder.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;ACjEE;EACE;EACA;;AAIA;EACE;EACA;EACA;EACA;EACA;;AAIA;EACE;;AAMN;EACE;;AAIF;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAOF;EACE;EACA;;AAIJ;EACE;;AAEA;AAAA;AAAA;EAGE;;AAKN;EACE;;AAIF;EACE;EACA;;AAEA;EACE;EACA;;AAOJ;EACE;EACA;;AAGA;AAAA;EAEE;EACA;;AAGF;AAAA;EAEE;;AAGF;EACE;;AAIJ;EAEE;EACA;;AAGF;EACE;;AAIA;EACE;;;ACnHN;EACC;EACA;EACA;EACA;;AAEA;EACC;;AAKD;EACC;;;AAIF;EACC;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;EACC;;;AC9BD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACnBJ;AAAA;AAAA;EAGI;EACA;;;AAIJ;AAAA;EAEI;;;AAGJ;AAAA;AAAA;EAGI;;;AAKI;EACI;EACA;EACA;;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQI;EACA;EACA;;AAGJ;AAAA;EAEI;EACA;;AAGJ;AAAA;AAAA;EAGI;EACA;;AAGJ;AAAA;EAEI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;AAAA;EAEI;EACA;;AAGJ;AAAA;AAAA;EAGI;;AAIA;EACI;;AAIR;AAAA;AAAA;AAAA;AAAA;EAKI;;AAIJ;AAAA;EAEI;;AAIJ;EACI;;AAGJ;EACI;;AAKA;AAAA;EAEI;;;AC1HZ;EACE;;;AAGF;EACE;;;ACNF;EACE;EACA;;;ACFF;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACjEJ;EACI","file":"index.global.css"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@keyframes slide-horizontal-new {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(100%);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
@keyframes slide-horizontal-old {
|
|
7
|
+
80% {
|
|
8
|
+
opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
transform: translateX(-100%);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@keyframes slide-vertical-new {
|
|
16
|
+
from {
|
|
17
|
+
transform: translateY(-100%);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@keyframes slide-vertical-old {
|
|
21
|
+
80% {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translateY(100%);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
@keyframes out-in-new {
|
|
30
|
+
from {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
@keyframes out-in-old {
|
|
35
|
+
to {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
:root:active-view-transition {
|
|
40
|
+
view-transition-name: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
::view-transition {
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:root:active-view-transition::view-transition-old(page-group),
|
|
48
|
+
:root:active-view-transition::view-transition-new(page-group) {
|
|
49
|
+
pointer-events: all;
|
|
50
|
+
cursor: wait;
|
|
51
|
+
animation-duration: 600ms;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:root:active-view-transition-type(SlideHorizontal)::view-transition-old(page-group) {
|
|
55
|
+
mix-blend-mode: normal;
|
|
56
|
+
animation: slide-horizontal-old 600ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:root:active-view-transition-type(SlideHorizontal)::view-transition-new(page-group) {
|
|
60
|
+
mix-blend-mode: normal;
|
|
61
|
+
animation: slide-horizontal-new 600ms cubic-bezier(0.83, 0, 0.17, 1) backwards;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:root:active-view-transition-type(SlideVertical)::view-transition-old(page-group) {
|
|
65
|
+
mix-blend-mode: normal;
|
|
66
|
+
animation: slide-vertical-old 600ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:root:active-view-transition-type(SlideVertical)::view-transition-new(page-group) {
|
|
70
|
+
mix-blend-mode: normal;
|
|
71
|
+
animation: slide-vertical-new 600ms cubic-bezier(0.83, 0, 0.17, 1) backwards;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:root:active-view-transition-type(OutIn)::view-transition-old(page-group) {
|
|
75
|
+
animation: out-in-old 350ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:root:active-view-transition-type(OutIn)::view-transition-new(page-group) {
|
|
79
|
+
animation: out-in-new 350ms 350ms cubic-bezier(0.64, 0, 0.78, 0) backwards;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (prefers-reduced-motion: reduce) {
|
|
83
|
+
::view-transition-group(*),
|
|
84
|
+
::view-transition-old(*),
|
|
85
|
+
::view-transition-new(*) {
|
|
86
|
+
animation: none !important;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/* Global reset rules: */
|
|
90
|
+
html,
|
|
91
|
+
body {
|
|
92
|
+
margin: 0;
|
|
93
|
+
padding: 0;
|
|
94
|
+
border: 0;
|
|
95
|
+
outline: 0;
|
|
96
|
+
vertical-align: baseline;
|
|
97
|
+
background: transparent;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
body {
|
|
101
|
+
font-size: 10px;
|
|
102
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
103
|
+
--scrollbar-width: 0px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
html,
|
|
107
|
+
body {
|
|
108
|
+
height: 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
body {
|
|
112
|
+
overflow-x: auto;
|
|
113
|
+
overflow-y: scroll;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Global root rules: */
|
|
117
|
+
body:not(.responsive) #site-root {
|
|
118
|
+
width: 100%;
|
|
119
|
+
min-width: var(--site-width);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
body:not([data-js-loaded]) [data-hide-prejs] {
|
|
123
|
+
visibility: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
interact-element {
|
|
127
|
+
display: contents;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
#SITE_CONTAINER {
|
|
131
|
+
position: relative;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:root {
|
|
135
|
+
--one-unit: 1vw;
|
|
136
|
+
--section-max-width: 9999px;
|
|
137
|
+
--spx-stopper-max: 9999px;
|
|
138
|
+
--spx-stopper-min: 0px;
|
|
139
|
+
--browser-zoom: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
|
|
143
|
+
:root {
|
|
144
|
+
--safari-sticky-fix: opacity;
|
|
145
|
+
--experimental-safari-sticky-fix: translateZ(0);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
@supports (container-type: inline-size) {
|
|
149
|
+
:root {
|
|
150
|
+
--one-unit: 1cqw;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
[id^=oldHoverBox-] {
|
|
154
|
+
transition: opacity 0.5s ease, visibility 0.5s ease;
|
|
155
|
+
mix-blend-mode: plus-lighter;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[data-mesh-id$=inlineContent-gridContainer]:has(> [id^=oldHoverBox-]) {
|
|
159
|
+
isolation: isolate;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/*# sourceMappingURL=viewer.global.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/assets/scss/view-transitions.scss","../src/viewer.global.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;IACE;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AASJ;EACE;;;AAIF;EACE;;;AAGF;AAAA;EAEE;EACA;EACA;;;AAGF;EACE;EACA;;;AAEF;EACE;EACA;;;AAGF;EACE;EACA;;;AAEF;EACE;EACA;;;AAGF;EACE;;;AAEF;EACE;;;AAGF;EACE;AAAA;AAAA;IAGE;;;AC5FJ;AAEA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAOF;AAAA;EAEE;;;AAQF;EACE;EACA;;;AAGF;AAGE;EACE;EACA;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAOF;EACE;IACE;IACA;;;AAIJ;EACE;IACE;;;AAKJ;EACE;EACA;;;AAGF;EACE","file":"viewer.global.css"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/thunderbolt-common-css",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"main": "dist/index.css",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./index.global.css": "./dist/index.global.css",
|
|
8
|
+
"./viewer.global.css": "./dist/viewer.global.css",
|
|
9
|
+
"./src/index.global.scss": "./src/index.global.scss",
|
|
10
|
+
"./src/viewer.global.scss": "./src/viewer.global.scss"
|
|
11
|
+
},
|
|
6
12
|
"files": [
|
|
7
13
|
"dist",
|
|
8
14
|
"src"
|
|
@@ -13,7 +19,9 @@
|
|
|
13
19
|
},
|
|
14
20
|
"scripts": {
|
|
15
21
|
"lint": "echo 'No linting configured'",
|
|
16
|
-
"build": "
|
|
22
|
+
"build": "yarn build:index && yarn build:viewer",
|
|
23
|
+
"build:index": "sass --load-path=node_modules --load-path=../../node_modules src/index.global.scss dist/index.global.css",
|
|
24
|
+
"build:viewer": "sass --load-path=node_modules --load-path=../../node_modules src/viewer.global.scss dist/viewer.global.css",
|
|
17
25
|
"test": "echo 'No tests configured'"
|
|
18
26
|
},
|
|
19
27
|
"devDependencies": {
|
|
@@ -36,5 +44,5 @@
|
|
|
36
44
|
]
|
|
37
45
|
}
|
|
38
46
|
},
|
|
39
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "dcc89987bcdea84e33d9df189281a8ea659b9491c603de999db55fe1"
|
|
40
48
|
}
|
package/src/index.global.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import '@wix/thunderbolt-app-reset-css';
|
|
1
|
+
@import '@wix/thunderbolt-app-reset-css/src/index.scss';
|
|
2
2
|
@import './assets/scss/root_renderer.scss';
|
|
3
3
|
@import './assets/scss/mobile_renderer.scss'; // TODO load mobile css only when needed˜
|
|
4
4
|
@import './assets/scss/mesh.scss';
|