-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
95 lines (80 loc) · 1.57 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
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
font-family: sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #f4f6fa;
}
body .all {
width: 340px;
}
body .all .balls {
display: flex;
align-items: center;
justify-content: space-between;
}
body .all .balls .ball {
width: 32px;
height: 32px;
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
outline: 3px solid #dcdede;
position: relative;
z-index: 10;
background-color: white;
transition: outline-color 0.5s linear;
}
body .all .balls .ball::after {
content: "";
position: absolute;
width: 77px;
height: 3px;
right: -77px;
background-color: #dcdede;
z-index: -5;
transition: background-color 0.5s linear;
}
body .all .balls .ball.remove::after {
display: none;
transition: background-color 0.5s linear;
}
body .all .buttons {
margin-top: 30px;
width: 100%;
text-align: center;
}
body .all .buttons button {
padding: 8px 26px;
border-radius: 5px;
color: white;
border: none;
cursor: pointer;
background-color: #dcdede;
}
body .all .buttons button:hover {
opacity: 0.8;
}
body .all .buttons .prev {
margin-right: 15px;
}
body .all .buttons button.active {
background-color: #2687d5;
}
body .all .balls .ball.active {
outline-color: #2687d5;
transition: outline-color 0.5s linear;
}
body .all .balls .ball.line::after {
background-color: #2687d5;
transition: background-color 0.5s linear;
}