-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (91 loc) · 1.83 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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
:root{
--line-border--fill: #3498db ;
--line-border--empty: #e0e0e0;
}
*{
box-sizing: border-box;
}
body{
background-color: #f6f7fb;
align-items: center;
margin: 0;
display: flex;
justify-content: center;
overflow: hidden;
height: 100vh;
}
.container{
/* border: 1px solid red; */
text-align: center;
}
.progress-container{
/* border: 1px solid blue; */
display:flex;
justify-content: space-between;
position:relative;
margin-bottom: 30px;
width: 350px;
max-width: 100%;
}
.progress-container::before{
content: '';
/* border: 1px solid red; */
background-color: var(--line-border--empty);
position: absolute;
top: 50%;
left: 0;
/* transform: translateY(-50%); */
height: 4px;
width: 100%;
z-index: -1;
transition: .4s ease;
}
.progress{
/* border: 1px solid red; */
background-color:var(--line-border--fill);
position: absolute;
top: 50%;
left: 0;
/* transform: translateY(-50%); */
height: 4px;
width: 0%;
z-index: -1;
transition: .4s ease;
}
#progress{
/* border: 1px solid blue; */
}
.circle{
background-color: #fff;
color:#999;
border-radius:50%;
height:30px;
width: 30px;
display: flex;
align-items: center;
justify-content: center ;
border: 3px solid var(--line-border--empty);
transition: .4s ease;
}
.circle.active{
border-color: #3498db;
}
.btn{
background-color: var(--line-border--fill);
color: white;
border-radius: 6px;
cursor: pointer;
padding: 8px 30px;
margin: 5px;
font-size: 14px;
}
.btn.active{
transform: scale(.1);
}
.btn.focus{
outline: 0;
}
.btn:disabled{
background-color: var(--line-border--empty);
cursor: not-allowed;
}