@uxfront/ui 0.9.1 → 0.9.2
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/README.md +46 -46
- package/package.json +4 -4
- package/src/components/UxAnchor.vue +100 -100
- package/src/components/UxChapter.vue +157 -157
- package/src/components/UxChips.vue +32 -32
- package/src/components/UxCode.vue +42 -42
- package/src/components/UxErrorPage.vue +37 -37
- package/src/components/UxFeatures.vue +70 -70
- package/src/components/UxFinale.vue +148 -148
- package/src/components/UxHeader.vue +171 -171
- package/src/components/UxHero.vue +179 -179
- package/src/components/UxHeroLine.vue +18 -18
- package/src/components/UxHud.vue +139 -137
- package/src/components/UxPillLink.vue +41 -41
- package/src/components/UxPillars.vue +22 -22
- package/src/components/UxSection.vue +60 -60
- package/src/components/UxSite.vue +52 -48
- package/src/components/UxSpec.vue +21 -21
- package/src/components/UxSplit.vue +138 -138
- package/src/components/UxStage.vue +40 -38
- package/src/components/UxStageFallback.vue +28 -28
- package/src/components/UxTraits.vue +55 -55
- package/src/components/UxVideo.vue +50 -40
- package/src/components/icons/UxArrowIcon.vue +4 -4
- package/src/components/icons/UxFrameworkLogo.vue +4 -4
- package/src/components/icons/UxFrontMark.vue +10 -10
- package/src/components/icons/UxGithubIcon.vue +6 -6
- package/src/components/icons/UxStarIcon.vue +6 -6
- package/src/composables/experience.ts +58 -53
- package/src/directives/scramble.ts +41 -37
- package/src/frameworks.ts +12 -12
- package/src/styles/base.css +88 -88
- package/src/styles/tokens.css +28 -28
- package/src/types.ts +26 -26
|
@@ -5,27 +5,27 @@ import { useExperience } from "../composables/experience";
|
|
|
5
5
|
import UxPillLink from "./UxPillLink.vue";
|
|
6
6
|
|
|
7
7
|
const { align = "start" } = defineProps<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
id: string;
|
|
9
|
+
/** Eyebrow before the rule, like `01`. */
|
|
10
|
+
index?: string;
|
|
11
|
+
/** Eyebrow after the rule. */
|
|
12
|
+
role?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
/** Label of the link; defaults to `href` without its protocol. */
|
|
16
|
+
linkLabel?: string;
|
|
17
|
+
/** Items (`data-step-item="0"`, `"1"`, …) highlighted one after another as the chapter scrolls by. */
|
|
18
|
+
steps?: number;
|
|
19
|
+
/** "center" centres the copy in one column, for a section with no aside. */
|
|
20
|
+
align?: "start" | "center";
|
|
21
21
|
}>();
|
|
22
22
|
|
|
23
23
|
defineSlots<{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
lead?(): unknown;
|
|
25
|
+
/** Details below the lead, like `UxTraits`. */
|
|
26
|
+
default?(): unknown;
|
|
27
|
+
/** The code or a picture, beside the copy, or below it on stacked screens. */
|
|
28
|
+
aside?(): unknown;
|
|
29
29
|
}>();
|
|
30
30
|
|
|
31
31
|
// The code panel or picture (`[data-outline]`) fades in once the `outline`
|
|
@@ -37,118 +37,118 @@ const fade = computed(() => state.status === "ready" && state.motion);
|
|
|
37
37
|
</script>
|
|
38
38
|
|
|
39
39
|
<template>
|
|
40
|
-
|
|
40
|
+
<!-- A chapter with its code or a picture beside the copy. Like UxChapter, it
|
|
41
41
|
holds a formation while it's on screen, from its stage (`data-stage`),
|
|
42
42
|
which starts 15vh above the section: the formation morphs in by the time
|
|
43
43
|
the section's top is 40% down the screen, which leaves the aside room to
|
|
44
44
|
fade in once it has. The stage carries the chapter's `id`, since the
|
|
45
45
|
scene names the active chapter after it and the header marks the link
|
|
46
46
|
to it. -->
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
47
|
+
<section
|
|
48
|
+
class="ux-split"
|
|
49
|
+
:class="{ 'ux-split--center': align === 'center' }"
|
|
50
|
+
:data-fade="fade || undefined"
|
|
51
|
+
:aria-labelledby="`${id}-title`"
|
|
52
|
+
>
|
|
53
|
+
<div :id="id" class="ux-split__stage" data-stage :data-steps="steps">
|
|
54
|
+
<div class="ux-split__grid">
|
|
55
|
+
<div class="ux-split__copy" data-reveal>
|
|
56
|
+
<p v-if="index || role" class="ux-split__eyebrow">
|
|
57
|
+
<span>{{ index }}</span>
|
|
58
|
+
<span class="ux-split__rule" />
|
|
59
|
+
<span>{{ role }}</span>
|
|
60
|
+
</p>
|
|
61
|
+
<h2 :id="`${id}-title`" class="ux-split__title">{{ title }}</h2>
|
|
62
|
+
<p v-if="$slots.lead" class="ux-split__lead"><slot name="lead" /></p>
|
|
63
|
+
<slot />
|
|
64
|
+
<UxPillLink
|
|
65
|
+
v-if="href"
|
|
66
|
+
class="ux-split__link"
|
|
67
|
+
:href="href"
|
|
68
|
+
:label="linkLabel ?? href.replace(/^https?:\/\//, '')"
|
|
69
|
+
/>
|
|
70
|
+
</div>
|
|
71
|
+
<div v-if="$slots.aside" class="ux-split__aside">
|
|
72
|
+
<slot name="aside" />
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</section>
|
|
77
77
|
</template>
|
|
78
78
|
|
|
79
79
|
<style scoped>
|
|
80
80
|
.ux-split {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
--ux-split-lead: 15vh;
|
|
82
|
+
position: relative;
|
|
83
|
+
display: flex;
|
|
84
|
+
min-height: 100vh;
|
|
85
|
+
min-height: 100svh;
|
|
86
|
+
padding: 0 var(--ux-gutter);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/* The whole section, and 15vh above it, over the end of the one before,
|
|
90
90
|
without moving the copy; the part above takes no clicks. A link to the
|
|
91
91
|
chapter still lands on the section's top. */
|
|
92
92
|
.ux-split__stage {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
scroll-margin-top: calc(-1 * var(--ux-split-lead));
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
width: 100%;
|
|
97
|
+
margin-top: calc(-1 * var(--ux-split-lead));
|
|
98
|
+
padding: calc(var(--ux-split-lead) + 6rem) 0 5rem;
|
|
99
|
+
pointer-events: none;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* No column gap: the aside's own padding sets the space beside the copy. */
|
|
103
103
|
.ux-split__grid {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
display: grid;
|
|
105
|
+
align-items: center;
|
|
106
|
+
row-gap: clamp(2rem, 1rem + 3vw, 4rem);
|
|
107
|
+
width: 100%;
|
|
108
|
+
pointer-events: auto;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.ux-split__eyebrow {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: 0.75rem;
|
|
115
|
+
margin: 0 0 1.5rem;
|
|
116
|
+
font-family: var(--font-ux-mono);
|
|
117
|
+
font-size: 0.75rem;
|
|
118
|
+
letter-spacing: 0.08em;
|
|
119
|
+
text-transform: uppercase;
|
|
120
|
+
color: var(--ux-fg-2);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.ux-split__rule {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
width: 2.5rem;
|
|
125
|
+
height: 1px;
|
|
126
|
+
background: var(--ux-line-strong);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.ux-split__title {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
margin: 0 0 1.5rem;
|
|
131
|
+
font-size: clamp(2.75rem, 1.2rem + 4.6vw, 5.75rem);
|
|
132
|
+
font-weight: 500;
|
|
133
|
+
line-height: 0.92;
|
|
134
|
+
letter-spacing: -0.055em;
|
|
135
|
+
text-wrap: balance;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ux-split__lead {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
margin: 0 0 2rem;
|
|
140
|
+
font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
|
|
141
|
+
line-height: 1.45;
|
|
142
|
+
color: var(--ux-fg);
|
|
143
|
+
text-wrap: pretty;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ux-split__link {
|
|
147
|
-
|
|
147
|
+
margin-top: 2.25rem;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.ux-split__aside {
|
|
151
|
-
|
|
151
|
+
min-width: 0;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
/* Side by side (outside STACKED_QUERY in @uxfront/scene), the copy takes
|
|
@@ -157,87 +157,87 @@ const fade = computed(() => state.status === "ready" && state.motion);
|
|
|
157
157
|
frame on its left. Its media and code panels centre in it, whatever their
|
|
158
158
|
own margins. */
|
|
159
159
|
@media not ((max-aspect-ratio: 5/4) or ((max-width: 1099px) and (max-aspect-ratio: 8/5))) {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
.ux-split__grid {
|
|
161
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
162
|
+
}
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
.ux-split__copy {
|
|
165
|
+
width: min(100%, 33rem, 40vw);
|
|
166
|
+
}
|
|
167
167
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
.ux-split__aside {
|
|
169
|
+
padding-left: var(--ux-gutter-base);
|
|
170
|
+
}
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
.ux-split .ux-split__aside :deep([data-outline]) {
|
|
173
|
+
max-width: 52rem;
|
|
174
|
+
margin-inline: auto;
|
|
175
|
+
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/* Portrait, squarish and small screens (STACKED_QUERY in @uxfront/scene):
|
|
179
179
|
the aside goes below the copy. */
|
|
180
180
|
@media (max-aspect-ratio: 5/4), (max-width: 1099px) and (max-aspect-ratio: 8/5) {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
.ux-split__grid {
|
|
182
|
+
grid-template-columns: minmax(0, 1fr);
|
|
183
|
+
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/* In once the `outline` formation has gathered: hidden until its first
|
|
187
187
|
frame sets `--ux-reveal`. Only the opacity changes, so the panel stays
|
|
188
188
|
put. */
|
|
189
189
|
.ux-split[data-fade] .ux-split__aside :deep([data-outline]) {
|
|
190
|
-
|
|
190
|
+
opacity: var(--ux-reveal, 0);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.ux-split--center .ux-split__grid {
|
|
194
|
-
|
|
194
|
+
grid-template-columns: minmax(0, 1fr);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/* The eyebrow, title, lead and link are centred; the details below keep
|
|
198
198
|
their own alignment. */
|
|
199
199
|
.ux-split--center .ux-split__copy {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
justify-self: center;
|
|
201
|
+
width: min(100%, 48rem);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
.ux-split--center .ux-split__eyebrow {
|
|
205
|
-
|
|
205
|
+
justify-content: center;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.ux-split--center .ux-split__title,
|
|
209
209
|
.ux-split--center .ux-split__lead {
|
|
210
|
-
|
|
210
|
+
text-align: center;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.ux-split--center .ux-split__link {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
display: flex;
|
|
215
|
+
width: fit-content;
|
|
216
|
+
margin-inline: auto;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
/* Short screens: tighter, like UxChapter. */
|
|
220
220
|
@media (max-height: 860px) {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
221
|
+
.ux-split__stage {
|
|
222
|
+
padding-top: calc(var(--ux-split-lead) + 5rem);
|
|
223
|
+
padding-bottom: 4rem;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.ux-split__eyebrow {
|
|
227
|
+
margin-bottom: 1rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ux-split__title {
|
|
231
|
+
margin-bottom: 1rem;
|
|
232
|
+
font-size: clamp(2.5rem, 8vh, 5.75rem);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.ux-split__lead {
|
|
236
|
+
margin-bottom: 1.25rem;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ux-split__link {
|
|
240
|
+
margin-top: 1.5rem;
|
|
241
|
+
}
|
|
242
242
|
}
|
|
243
243
|
</style>
|
|
@@ -10,73 +10,75 @@ const anchors = useTemplateRef("anchors");
|
|
|
10
10
|
const controls = useTemplateRef("controls");
|
|
11
11
|
|
|
12
12
|
onMounted(() => {
|
|
13
|
-
|
|
13
|
+
if (canvas.value && anchors.value && controls.value) {
|
|
14
|
+
host.attachStage({ canvas: canvas.value, anchorRoots: [anchors.value, controls.value] });
|
|
15
|
+
}
|
|
14
16
|
});
|
|
15
17
|
</script>
|
|
16
18
|
|
|
17
19
|
<template>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
<div
|
|
21
|
+
class="ux-stage"
|
|
22
|
+
:data-status="state.status"
|
|
23
|
+
:data-hero="state.chapter === 0"
|
|
24
|
+
aria-hidden="true"
|
|
25
|
+
>
|
|
26
|
+
<div class="ux-stage__fallback"><slot name="fallback" /></div>
|
|
27
|
+
<canvas ref="canvas" class="ux-stage__canvas" />
|
|
28
|
+
<div ref="anchors" class="ux-stage__anchors"><slot name="anchors" /></div>
|
|
29
|
+
</div>
|
|
30
|
+
<!-- Above the copy, so labels placed here can take clicks. -->
|
|
31
|
+
<div ref="controls" class="ux-stage__controls"><slot name="controls" /></div>
|
|
30
32
|
</template>
|
|
31
33
|
|
|
32
34
|
<style scoped>
|
|
33
35
|
.ux-stage {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
position: fixed;
|
|
37
|
+
inset: 0;
|
|
38
|
+
z-index: 0;
|
|
39
|
+
pointer-events: none;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
.ux-stage__canvas {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: 0;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100vh;
|
|
47
|
+
height: 100lvh;
|
|
48
|
+
opacity: 0;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
.ux-stage[data-status="ready"] .ux-stage__canvas {
|
|
50
|
-
|
|
52
|
+
opacity: 1;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
/* Without a capable GPU: a quiet, static echo of the scene. */
|
|
54
56
|
.ux-stage__fallback {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset: 0;
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transition: opacity 1.4s var(--ux-ease-out);
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.ux-stage[data-status="fallback"] .ux-stage__fallback {
|
|
62
|
-
|
|
64
|
+
opacity: 0.25;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.ux-stage[data-status="fallback"][data-hero="true"] .ux-stage__fallback {
|
|
66
|
-
|
|
68
|
+
opacity: 1;
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
.ux-stage__anchors {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
position: absolute;
|
|
73
|
+
inset: 0;
|
|
74
|
+
overflow: hidden;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
.ux-stage__controls {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
position: fixed;
|
|
79
|
+
inset: 0;
|
|
80
|
+
z-index: 2;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
pointer-events: none;
|
|
81
83
|
}
|
|
82
84
|
</style>
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
<!-- The monolith and its mark, drawn in CSS: shown when the GPU can't run the scene. -->
|
|
3
|
+
<div class="ux-stage-fallback" />
|
|
4
4
|
</template>
|
|
5
5
|
|
|
6
6
|
<style scoped>
|
|
7
7
|
.ux-stage-fallback {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
position: absolute;
|
|
9
|
+
inset: 0;
|
|
10
|
+
background:
|
|
11
|
+
radial-gradient(38% 52% at 68% 46%, rgb(120 140 255 / 0.12), transparent 70%),
|
|
12
|
+
radial-gradient(60% 30% at 68% 78%, rgb(120 140 255 / 0.06), transparent 70%);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ux-stage-fallback::before,
|
|
16
16
|
.ux-stage-fallback::after {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
content: "";
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: 68%;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.ux-stage-fallback::before {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
top: 46%;
|
|
24
|
+
width: min(13vw, 20vh);
|
|
25
|
+
aspect-ratio: 4 / 9;
|
|
26
|
+
translate: -50% -50%;
|
|
27
|
+
border: 1px solid rgb(210 220 255 / 0.55);
|
|
28
|
+
/* The mark as the scene draws it: an outline around a faint stroke, placed on the
|
|
29
29
|
slab's face (the 120 × 270 box) where the monolith formation carries it. */
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
background:
|
|
31
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-60 -135 120 270'%3E%3Cdefs%3E%3Cpath id='m' transform='translate(0 -35) scale(.85)' d='M-21-38V-16A14 14 0 0 0-7-2H7A14 14 0 0 0 21-16V-38M38-21H16A14 14 0 0 0 2-7V7A14 14 0 0 0 16 21H38M21 38V16A14 14 0 0 0 7 2H-7A14 14 0 0 0-21 16V38M-38 21H-16A14 14 0 0 0-2 7V-7A14 14 0 0 0-16-21H-38' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cmask id='o'%3E%3Cuse href='%23m' stroke='%23fff' stroke-width='8.8'/%3E%3Cuse href='%23m' stroke='%23000' stroke-width='7.2'/%3E%3C/mask%3E%3C/defs%3E%3Cuse href='%23m' stroke='%23a0afff' stroke-opacity='.12' stroke-width='8'/%3E%3Crect x='-60' y='-135' width='120' height='270' fill='%23d2dcff' fill-opacity='.55' mask='url(%23o)'/%3E%3C/svg%3E")
|
|
32
|
+
center / 100% no-repeat,
|
|
33
|
+
linear-gradient(180deg, rgb(160 175 255 / 0.12), rgb(160 175 255 / 0.03));
|
|
34
|
+
box-shadow:
|
|
35
|
+
0 0 60px rgb(140 160 255 / 0.18),
|
|
36
|
+
inset 0 0 40px rgb(140 160 255 / 0.08);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ux-stage-fallback::after {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
top: calc(46% + min(13vw, 20vh) * 9 / 8);
|
|
41
|
+
width: 20vw;
|
|
42
|
+
height: 1px;
|
|
43
|
+
translate: -50% 0;
|
|
44
|
+
background: linear-gradient(90deg, transparent, rgb(210 220 255 / 0.5), transparent);
|
|
45
45
|
}
|
|
46
46
|
</style>
|