-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstepnav.css
61 lines (61 loc) · 1.13 KB
/
stepnav.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
.stepnav {
width: 100%;
text-align: center;
}
.stepnav > [type=radio] {display: none;}
.stepnav > [type=radio]:checked + a::after {
/*border: 2px solid black;*/
/*background-color: white;*/
background-color: #009faf;
}
.stepnav > [type=radio]:checked + a {
/*opacity: .5;*/
}
.stepnav > a {
float: none;
padding: 10px 40px 0px 40px;
margin: 4px -2px 10px -2px;
font-size: 18px;
color: black;
}
.stepnav > a[href] {
color: white;
}
.stepnav > a::before {
content: '';
position: absolute;
top: -6px;
left: 50%;
right:auto;
transform: translateX(-50%);
/*background-color: #009faf;*/
background-color: white;
width: 100%;
height: 5px;
}
.stepnav > a:nth-of-type(1)::before {
left: 50%;
transform: none;
width: 50%;
}
.stepnav > a:nth-last-of-type(1)::before {
left: 0%;
transform: none;
width: 50%;
}
.stepnav > a::after {
content: '';
position: absolute;
top: -14px;
left: 50%;
right:auto;
transform: translateX(-50%);
/*background-color: #009faf;*/
background-color: black;
border-radius: 50%;
width: 20px;
height: 20px;
}
.stepnav > a[href]::after {
background-color: white;
}