-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
35 lines (29 loc) · 1.05 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
:root {
--pendle-section-duration: 1s;
--other-slide-duration: 0.3s;
--ease-function: cubic-bezier(0.680, -0.550, 0.240, 1.310);
--pendle-section-transition: all var(--pendle-section-duration) var(--ease-function);
--other-slide-transition: all var(--other-slide-duration) ease;
}
.pendle-section-enter-active.pendle-section,
.pendle-section-leave-active.pendle-section {
transition: var(--pendle-section-transition);
}
.pendle-section-enter-active.pendle-section *,
.pendle-section-leave-active.pendle-section * {
transition: var(--pendle-section-transition);
}
.pendle-section-enter-active:not(.pendle-section),
.pendle-section-leave-active:not(.pendle-section) {
transition: var(--other-slide-duration);
}
.pendle-section-enter-active.pendle-section * {
transition-delay: var(--other-slide-duration);
}
.pendle-section-enter-active:not(.pendle-section) {
transition-delay: var(--pendle-section-duration);
}
.pendle-section-enter-from:not(.pendle-section),
.pendle-section-leave-to:not(.pendle-section) {
opacity: 0;
}