-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (99 loc) · 1.93 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
--line-border-fill: #3498db;
--line-border-empty: #e0e0e0;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
font-family: roboto;
}
body{
display: flex;
align-items: center;
justify-content: center;
background-color: lightblue;
}
.container{
display: flex;
flex-direction: column;
gap: 2em;
max-width: 100%;
/* background-color: red; */
text-align: center;
position: relative;
}
.top{
display: flex;
gap: 8em;
align-items: center;
justify-content: space-between;
}
.top::before{
content: "";
position: absolute;
background-color: var(--line-border-empty);
/* transform: translateY(-50%); */
height: 4px;
width: 100%;
z-index: -1;
/* transition: 0.4s ease; */
}
.top .line{
position: absolute;
background-color: var(--line-border-fill);
/* transform: translateY(-50%); */
height: 4px;
width: 0%;
z-index: -1;
transition: 0.4s ease;
}
.top .line .blue{
position: absolute;
background-color: red;
height: 4px;
width: 100%;
z-index: 2;
}
.circle{
background-color: white;
color: #999;
border-radius: 50%;
height: 30px;
width: 30px;
display: flex;
align-items: center;
justify-content: center;
border: var(--line-border-empty) solid 3px;
transition: 0.4s ease;
}
.circle.active{
border-color: var(--line-border-fill);
}
.btn {
background-color: var(--line-border-fill);
color: white;
padding: 1em 3em;
border-radius: 5px;
cursor: pointer;
border: none;
/* outline: none; */
margin: 1em;
}
.btn:active{
transform: scale(0.9);
}
/* .btn:focus{
outline: 0;
} */
.btn:disabled{
background-color: var(--line-border-empty);
color: black;
cursor: not-allowed;
pointer-events: none;
}