@seed-design/css 1.2.9 → 1.2.11
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/all.css +12 -564
- package/all.layered.css +12 -564
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/app-bar-main.css +6 -109
- package/recipes/app-bar-main.layered.css +6 -106
- package/recipes/app-bar.css +3 -279
- package/recipes/app-bar.d.ts +1 -1
- package/recipes/app-bar.layered.css +3 -266
- package/recipes/app-bar.layered.mjs +4 -0
- package/recipes/app-bar.mjs +4 -0
- package/recipes/app-screen.css +0 -203
- package/recipes/app-screen.layered.css +0 -190
- package/recipes/notification-badge.css +3 -2
- package/recipes/notification-badge.layered.css +3 -2
- package/vars/component/checkmark.d.ts +0 -2
- package/vars/component/index.d.ts +2 -0
- package/vars/component/index.mjs +2 -0
- package/vars/component/notification-badge.d.ts +5 -4
- package/vars/component/notification-badge.mjs +3 -2
- package/vars/component/radiomark.d.ts +0 -3
- package/vars/component/switchmark.d.ts +0 -3
- package/vars/component/top-navigation-icon-button.d.ts +36 -0
- package/vars/component/top-navigation-icon-button.mjs +36 -0
- package/vars/component/top-navigation-text-button.d.ts +52 -0
- package/vars/component/top-navigation-text-button.mjs +51 -0
- package/vars/component/top-navigation.d.ts +47 -25
- package/vars/component/top-navigation.mjs +39 -25
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
top: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.seed-app-
|
|
13
|
-
content: "";
|
|
12
|
+
.seed-app-bar__background {
|
|
14
13
|
pointer-events: none;
|
|
15
14
|
z-index: -1;
|
|
16
15
|
position: absolute;
|
|
@@ -108,269 +107,7 @@
|
|
|
108
107
|
padding-right: 16px;
|
|
109
108
|
}
|
|
110
109
|
|
|
111
|
-
|
|
112
|
-
--seed-enter-translate-x: 100%;
|
|
113
|
-
--seed-enter-translate-y: 0;
|
|
114
|
-
--seed-enter-opacity: 1;
|
|
115
|
-
--seed-enter-scale: 1;
|
|
116
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
117
|
-
transform: translate3d(0, 0, 0);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
121
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
122
|
-
--seed-exit-translate-x: 100%;
|
|
123
|
-
--seed-exit-translate-y: 0;
|
|
124
|
-
--seed-exit-opacity: 1;
|
|
125
|
-
--seed-exit-scale: 1;
|
|
126
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
[data-global-transition-state="enter-done"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
130
|
-
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
131
|
-
--seed-enter-translate-y: 0;
|
|
132
|
-
--seed-enter-opacity: 1;
|
|
133
|
-
--seed-enter-scale: 1;
|
|
134
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
135
|
-
transform: translate3d(0, 0, 0);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
[data-swipe-back-state="swiping"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
139
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
140
|
-
animation: none;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
[data-swipe-back-state="canceling"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
144
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
145
|
-
transform: translate3d(0, 0, 0);
|
|
146
|
-
animation: none !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
[data-swipe-back-state="completing"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
150
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
151
|
-
transform: translate3d(100%, 0, 0);
|
|
152
|
-
animation: none !important;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
[data-global-transition-state="enter-active"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
156
|
-
--seed-enter-translate-x: 0;
|
|
157
|
-
--seed-enter-translate-y: 0;
|
|
158
|
-
--seed-enter-opacity: 0;
|
|
159
|
-
--seed-enter-scale: 1;
|
|
160
|
-
opacity: 1;
|
|
161
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
[data-global-transition-state="exit-active"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
165
|
-
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
166
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
167
|
-
--seed-exit-translate-x: 0;
|
|
168
|
-
--seed-exit-translate-y: 0;
|
|
169
|
-
--seed-exit-opacity: 0;
|
|
170
|
-
--seed-exit-scale: 1;
|
|
171
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
[data-global-transition-state="enter-done"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
175
|
-
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
|
|
176
|
-
--seed-enter-translate-y: 0;
|
|
177
|
-
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
178
|
-
--seed-enter-scale: 1;
|
|
179
|
-
opacity: 1;
|
|
180
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
[data-swipe-back-state="swiping"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
184
|
-
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
185
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
186
|
-
animation: none;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
[data-swipe-back-state="canceling"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
190
|
-
opacity: 1;
|
|
191
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
192
|
-
animation: none !important;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
[data-swipe-back-state="completing"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
196
|
-
opacity: 0;
|
|
197
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
198
|
-
animation: none !important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
202
|
-
opacity: 1;
|
|
203
|
-
--seed-exit-translate-x: 0;
|
|
204
|
-
--seed-exit-translate-y: 0;
|
|
205
|
-
--seed-exit-opacity: 0;
|
|
206
|
-
--seed-exit-scale: 1;
|
|
207
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
211
|
-
--seed-enter-translate-x: 0;
|
|
212
|
-
--seed-enter-translate-y: 0;
|
|
213
|
-
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
214
|
-
--seed-enter-scale: 1;
|
|
215
|
-
opacity: 1;
|
|
216
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
220
|
-
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
221
|
-
--seed-exit-translate-x: 0;
|
|
222
|
-
--seed-exit-translate-y: 0;
|
|
223
|
-
--seed-exit-opacity: 0;
|
|
224
|
-
--seed-exit-scale: 1;
|
|
225
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
[data-swipe-back-state="swiping"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
229
|
-
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
230
|
-
animation: none;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
[data-swipe-back-state="canceling"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
234
|
-
opacity: 0;
|
|
235
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
236
|
-
animation: none !important;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
[data-swipe-back-state="completing"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
240
|
-
opacity: 1;
|
|
241
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
242
|
-
animation: none !important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
[data-global-transition-state="enter-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
246
|
-
--seed-enter-translate-x: 0;
|
|
247
|
-
--seed-enter-translate-y: 0;
|
|
248
|
-
--seed-enter-opacity: 0;
|
|
249
|
-
--seed-enter-scale: 1;
|
|
250
|
-
opacity: 1;
|
|
251
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
[data-global-transition-state="exit-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
255
|
-
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
256
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
257
|
-
--seed-exit-translate-x: 0;
|
|
258
|
-
--seed-exit-translate-y: 0;
|
|
259
|
-
--seed-exit-opacity: 0;
|
|
260
|
-
--seed-exit-scale: 1;
|
|
261
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
[data-global-transition-state="enter-done"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
265
|
-
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
|
|
266
|
-
--seed-enter-translate-y: 0;
|
|
267
|
-
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
268
|
-
--seed-enter-scale: 1;
|
|
269
|
-
opacity: 1;
|
|
270
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
274
|
-
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
275
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
276
|
-
animation: none;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
280
|
-
opacity: 1;
|
|
281
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
282
|
-
animation: none !important;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
286
|
-
opacity: 0;
|
|
287
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
288
|
-
animation: none !important;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
292
|
-
opacity: 1;
|
|
293
|
-
--seed-exit-translate-x: 0;
|
|
294
|
-
--seed-exit-translate-y: 0;
|
|
295
|
-
--seed-exit-opacity: 0;
|
|
296
|
-
--seed-exit-scale: 1;
|
|
297
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
301
|
-
--seed-enter-translate-x: 0;
|
|
302
|
-
--seed-enter-translate-y: 0;
|
|
303
|
-
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
304
|
-
--seed-enter-scale: 1;
|
|
305
|
-
opacity: 1;
|
|
306
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
310
|
-
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
311
|
-
--seed-exit-translate-x: 0;
|
|
312
|
-
--seed-exit-translate-y: 0;
|
|
313
|
-
--seed-exit-opacity: 0;
|
|
314
|
-
--seed-exit-scale: 1;
|
|
315
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
[data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
319
|
-
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
320
|
-
animation: none;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
[data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
324
|
-
opacity: 0;
|
|
325
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
326
|
-
animation: none !important;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
[data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
330
|
-
opacity: 1;
|
|
331
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
332
|
-
animation: none !important;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
336
|
-
--seed-enter-translate-x: 0;
|
|
337
|
-
--seed-enter-translate-y: 8vh;
|
|
338
|
-
--seed-enter-opacity: 0;
|
|
339
|
-
--seed-enter-scale: 1;
|
|
340
|
-
opacity: 1;
|
|
341
|
-
animation: .3s cubic-bezier(.23, .1, .32, 1) seed-enter;
|
|
342
|
-
transform: translate3d(0, 0, 0);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
346
|
-
opacity: 1;
|
|
347
|
-
--seed-exit-translate-x: 0;
|
|
348
|
-
--seed-exit-translate-y: 8vh;
|
|
349
|
-
--seed-exit-opacity: 0;
|
|
350
|
-
--seed-exit-scale: 1;
|
|
351
|
-
animation: .15s linear forwards seed-exit;
|
|
352
|
-
transform: translate3d(0, 0, 0);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
356
|
-
--seed-enter-translate-x: 0;
|
|
357
|
-
--seed-enter-translate-y: 0;
|
|
358
|
-
--seed-enter-opacity: 0;
|
|
359
|
-
--seed-enter-scale: 1;
|
|
360
|
-
opacity: 1;
|
|
361
|
-
animation: .3s ease-out seed-enter;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
365
|
-
opacity: 1;
|
|
366
|
-
--seed-exit-translate-x: 0;
|
|
367
|
-
--seed-exit-translate-y: 0;
|
|
368
|
-
--seed-exit-opacity: 0;
|
|
369
|
-
--seed-exit-scale: 1;
|
|
370
|
-
animation: .15s ease-in forwards seed-exit;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.seed-app-bar__root--tone_layer:before {
|
|
110
|
+
.seed-app-bar__background--tone_layer {
|
|
374
111
|
background: var(--seed-box-background, var(--seed-color-bg-layer-default));
|
|
375
112
|
}
|
|
376
113
|
|
|
@@ -386,7 +123,7 @@
|
|
|
386
123
|
color: var(--seed-icon-color, var(--seed-color-palette-static-white));
|
|
387
124
|
}
|
|
388
125
|
|
|
389
|
-
.seed-app-
|
|
126
|
+
.seed-app-bar__background--divider_true {
|
|
390
127
|
box-shadow: inset 0px calc(-1 * 1px) 0 var(--seed-color-stroke-neutral-subtle);
|
|
391
128
|
}
|
|
392
129
|
}
|
package/recipes/app-bar.mjs
CHANGED
package/recipes/app-screen.css
CHANGED
|
@@ -58,146 +58,10 @@
|
|
|
58
58
|
.seed-app-screen__layer--transitionStyle_slideFromRightIOS {
|
|
59
59
|
transform: translate3d(0, 0, 0);
|
|
60
60
|
}
|
|
61
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
62
|
-
animation: seed-enter;
|
|
63
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
64
|
-
animation-duration: 350ms;
|
|
65
|
-
--seed-enter-translate-x: 100%;
|
|
66
|
-
--seed-enter-translate-y: 0;
|
|
67
|
-
--seed-enter-opacity: 1;
|
|
68
|
-
--seed-enter-scale: 1;
|
|
69
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
70
|
-
}
|
|
71
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
72
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
73
|
-
animation: seed-exit;
|
|
74
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
75
|
-
animation-duration: 350ms;
|
|
76
|
-
animation-fill-mode: forwards;
|
|
77
|
-
--seed-exit-translate-x: 100%;
|
|
78
|
-
--seed-exit-translate-y: 0;
|
|
79
|
-
--seed-exit-opacity: 1;
|
|
80
|
-
--seed-exit-scale: 1;
|
|
81
|
-
}
|
|
82
|
-
[data-global-transition-state=enter-done] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
83
|
-
animation: seed-enter;
|
|
84
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
85
|
-
animation-duration: 350ms;
|
|
86
|
-
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
87
|
-
--seed-enter-translate-y: 0;
|
|
88
|
-
--seed-enter-opacity: 1;
|
|
89
|
-
--seed-enter-scale: 1;
|
|
90
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
91
|
-
}
|
|
92
|
-
[data-swipe-back-state=swiping] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
93
|
-
animation: none;
|
|
94
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
95
|
-
}
|
|
96
|
-
[data-swipe-back-state=canceling] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
97
|
-
animation: none !important;
|
|
98
|
-
transform: translate3d(0, 0, 0);
|
|
99
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
100
|
-
}
|
|
101
|
-
[data-swipe-back-state=completing] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
102
|
-
animation: none !important;
|
|
103
|
-
transform: translate3d(100%, 0, 0);
|
|
104
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
105
|
-
}
|
|
106
|
-
[data-global-transition-state=enter-active][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
107
|
-
transform: translate3d(0, 0, 0);
|
|
108
|
-
animation: seed-exit;
|
|
109
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
110
|
-
animation-duration: 350ms;
|
|
111
|
-
animation-fill-mode: forwards;
|
|
112
|
-
--seed-exit-translate-x: -30%;
|
|
113
|
-
--seed-exit-translate-y: 0;
|
|
114
|
-
--seed-exit-opacity: 1;
|
|
115
|
-
--seed-exit-scale: 1;
|
|
116
|
-
}
|
|
117
|
-
[data-global-transition-state=exit-active][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
118
|
-
animation: seed-enter;
|
|
119
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
120
|
-
animation-duration: 350ms;
|
|
121
|
-
--seed-enter-translate-x: calc(-30% + var(--swipe-back-displacement, 0) * 0.3);
|
|
122
|
-
--seed-enter-translate-y: 0;
|
|
123
|
-
--seed-enter-opacity: 1;
|
|
124
|
-
--seed-enter-scale: 1;
|
|
125
|
-
transform: translate3d(0, 0, 0);
|
|
126
|
-
}
|
|
127
|
-
[data-global-transition-state=enter-done][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
128
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * 0.3), 0, 0);
|
|
129
|
-
animation: seed-exit;
|
|
130
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
131
|
-
animation-duration: 350ms;
|
|
132
|
-
animation-fill-mode: forwards;
|
|
133
|
-
--seed-exit-translate-x: -30%;
|
|
134
|
-
--seed-exit-translate-y: 0;
|
|
135
|
-
--seed-exit-opacity: 1;
|
|
136
|
-
--seed-exit-scale: 1;
|
|
137
|
-
}
|
|
138
|
-
[data-swipe-back-state=swiping] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
139
|
-
animation: none;
|
|
140
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * 0.3), 0, 0);
|
|
141
|
-
}
|
|
142
|
-
[data-swipe-back-state=canceling] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
143
|
-
animation: none !important;
|
|
144
|
-
transform: translate3d(-30%, 0, 0);
|
|
145
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
146
|
-
}
|
|
147
|
-
[data-swipe-back-state=completing] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
148
|
-
animation: none !important;
|
|
149
|
-
transform: translate3d(0, 0, 0);
|
|
150
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
151
|
-
}
|
|
152
61
|
.seed-app-screen__dim--transitionStyle_slideFromRightIOS {
|
|
153
62
|
height: 100%;
|
|
154
63
|
background: var(--seed-color-bg-overlay);
|
|
155
64
|
}
|
|
156
|
-
[data-global-transition-state=enter-active] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
157
|
-
animation: seed-enter;
|
|
158
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
159
|
-
animation-duration: 350ms;
|
|
160
|
-
--seed-enter-translate-x: 0;
|
|
161
|
-
--seed-enter-translate-y: 0;
|
|
162
|
-
--seed-enter-opacity: 0;
|
|
163
|
-
--seed-enter-scale: 1;
|
|
164
|
-
opacity: 1;
|
|
165
|
-
}
|
|
166
|
-
[data-global-transition-state=exit-active] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
167
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
168
|
-
animation: seed-exit;
|
|
169
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
170
|
-
animation-duration: 350ms;
|
|
171
|
-
animation-fill-mode: forwards;
|
|
172
|
-
--seed-exit-translate-x: 0;
|
|
173
|
-
--seed-exit-translate-y: 0;
|
|
174
|
-
--seed-exit-opacity: 0;
|
|
175
|
-
--seed-exit-scale: 1;
|
|
176
|
-
}
|
|
177
|
-
[data-global-transition-state=enter-done] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
178
|
-
animation: seed-enter;
|
|
179
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
180
|
-
animation-duration: 350ms;
|
|
181
|
-
--seed-enter-translate-x: 0;
|
|
182
|
-
--seed-enter-translate-y: 0;
|
|
183
|
-
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
184
|
-
--seed-enter-scale: 1;
|
|
185
|
-
opacity: 1;
|
|
186
|
-
}
|
|
187
|
-
[data-swipe-back-state=swiping] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
188
|
-
animation: none;
|
|
189
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
190
|
-
}
|
|
191
|
-
[data-swipe-back-state=canceling] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
192
|
-
animation: none !important;
|
|
193
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
194
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
195
|
-
}
|
|
196
|
-
[data-swipe-back-state=completing] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
197
|
-
animation: none !important;
|
|
198
|
-
opacity: 0;
|
|
199
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
200
|
-
}
|
|
201
65
|
.seed-app-screen__root--transitionStyle_fadeFromBottomAndroid {
|
|
202
66
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
203
67
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -208,55 +72,9 @@
|
|
|
208
72
|
height: 160px;
|
|
209
73
|
background: linear-gradient(var(--seed-color-bg-overlay), rgba(0, 0, 0, 0));
|
|
210
74
|
}
|
|
211
|
-
[data-global-transition-state=enter-active] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
212
|
-
animation: seed-enter;
|
|
213
|
-
animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
|
|
214
|
-
animation-duration: 300ms;
|
|
215
|
-
--seed-enter-translate-x: 0;
|
|
216
|
-
--seed-enter-translate-y: 0;
|
|
217
|
-
--seed-enter-opacity: 0;
|
|
218
|
-
--seed-enter-scale: 1;
|
|
219
|
-
transform: translate3d(0, -8vh, 0);
|
|
220
|
-
opacity: 1;
|
|
221
|
-
}
|
|
222
|
-
[data-global-transition-state=exit-active] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
223
|
-
transform: translate3d(0, -8vh, 0);
|
|
224
|
-
opacity: 1;
|
|
225
|
-
animation: seed-exit;
|
|
226
|
-
animation-timing-function: linear;
|
|
227
|
-
animation-duration: 150ms;
|
|
228
|
-
animation-fill-mode: forwards;
|
|
229
|
-
--seed-exit-translate-x: 0;
|
|
230
|
-
--seed-exit-translate-y: 0;
|
|
231
|
-
--seed-exit-opacity: 0;
|
|
232
|
-
--seed-exit-scale: 1;
|
|
233
|
-
}
|
|
234
75
|
.seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid {
|
|
235
76
|
transform: translate3d(0, 0, 0);
|
|
236
77
|
}
|
|
237
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
238
|
-
animation: seed-enter;
|
|
239
|
-
animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
|
|
240
|
-
animation-duration: 300ms;
|
|
241
|
-
--seed-enter-translate-x: 0;
|
|
242
|
-
--seed-enter-translate-y: 8vh;
|
|
243
|
-
--seed-enter-opacity: 0;
|
|
244
|
-
--seed-enter-scale: 1;
|
|
245
|
-
transform: translate3d(0, 0, 0);
|
|
246
|
-
opacity: 1;
|
|
247
|
-
}
|
|
248
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
249
|
-
transform: translate3d(0, 0, 0);
|
|
250
|
-
opacity: 1;
|
|
251
|
-
animation: seed-exit;
|
|
252
|
-
animation-timing-function: linear;
|
|
253
|
-
animation-duration: 150ms;
|
|
254
|
-
animation-fill-mode: forwards;
|
|
255
|
-
--seed-exit-translate-x: 0;
|
|
256
|
-
--seed-exit-translate-y: 8vh;
|
|
257
|
-
--seed-exit-opacity: 0;
|
|
258
|
-
--seed-exit-scale: 1;
|
|
259
|
-
}
|
|
260
78
|
.seed-app-screen__root--transitionStyle_fadeIn {
|
|
261
79
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
262
80
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -266,27 +84,6 @@
|
|
|
266
84
|
.seed-app-screen__dim--transitionStyle_fadeIn {
|
|
267
85
|
display: none;
|
|
268
86
|
}
|
|
269
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
270
|
-
animation: seed-enter;
|
|
271
|
-
animation-timing-function: ease-out;
|
|
272
|
-
animation-duration: 300ms;
|
|
273
|
-
--seed-enter-translate-x: 0;
|
|
274
|
-
--seed-enter-translate-y: 0;
|
|
275
|
-
--seed-enter-opacity: 0;
|
|
276
|
-
--seed-enter-scale: 1;
|
|
277
|
-
opacity: 1;
|
|
278
|
-
}
|
|
279
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
280
|
-
opacity: 1;
|
|
281
|
-
animation: seed-exit;
|
|
282
|
-
animation-timing-function: ease-in;
|
|
283
|
-
animation-duration: 150ms;
|
|
284
|
-
animation-fill-mode: forwards;
|
|
285
|
-
--seed-exit-translate-x: 0;
|
|
286
|
-
--seed-exit-translate-y: 0;
|
|
287
|
-
--seed-exit-opacity: 0;
|
|
288
|
-
--seed-exit-scale: 1;
|
|
289
|
-
}
|
|
290
87
|
.seed-app-screen__layer--layerOffsetTop_safeArea {
|
|
291
88
|
padding-top: var(--seed-safe-area-top);
|
|
292
89
|
}
|