-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.css
42 lines (38 loc) · 824 Bytes
/
next.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
36
37
38
39
40
41
42
.next {
display: flex;
width: var(--size);
height: calc(var(--size) * 1.5);
border-top-left-radius: var(--size);
border-top-right-radius: var(--size);
color: #3f3f46;
border: 2px solid;
animation-name: next;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-direction: alternate;
animation-fill-mode: forwards;
animation-play-state: paused;
}
.next:focus-within {
animation-play-state: running;
}
.next form {
opacity: 0;
visibility: hidden;
}
.next:focus-within ~ .wizard {
left: calc(
var(--gap) * 4 + var(--steps) * 4 + var(--size) + var(--l2-size) +
var(--l4-size) + var(--size) / 2
);
}
@keyframes next {
from {
color: #3f3f46;
}
to {
color: #f0f9ff;
background-color: currentColor;
box-shadow: 0 0 16px currentColor;
}
}