-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwizard.css
63 lines (56 loc) · 1.17 KB
/
wizard.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.wizard__steps {
list-style: none;
padding: 16px;
}
.wizard__step {
display: inline-block;
line-height: 26px;
margin: 0 9px 0 -10px;
padding: 0 20px;
position: relative;
font-size: 18px;
color: grey;
}
.wizard__step.is-active {
color: black;
}
.wizard__step:before,
.wizard__step:after {
border-right: 1px solid #666666;
content: '';
display: block;
height: 50%;
position: absolute;
left: 0;
right: 0;
top: 0;
z-index: -1;
-moz-transform: skewX(45deg);
-ms-transform: skewX(45deg);
-o-transform: skewX(45deg);
-webkit-transform: skewX(45deg);
transform: skewX(45deg);
}
.wizard__step:after {
bottom: 0;
top: auto;
-moz-transform: skewX(-45deg);
-ms-transform: skewX(-45deg);
-o-transform: skewX(-45deg);
-webkit-transform: skewX(-45deg);
transform: skewX(-45deg);
}
.wizard__step:last-of-type:before, .wizard__step:last-of-type:after {
display: none;
}
.wizard__content {
height: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease-out;
}
.wizard__content.is-active {
height: 100%;
max-height: 1500px;
transition: max-height 0.5s ease-in;
}