-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitems.css
105 lines (95 loc) · 1.75 KB
/
items.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
body
{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
background: #000;
height: 60vh;
}
ul
{
position: relative;
margin: 0;
padding: 0;
display: flex;
}
ul li
{
position: relative;
list-style: none;
width: 100px;
text-align: center;
}
ul li label
{
position: relative;
}
ul li label i, ul li label input[type="checkbox"]
{
display: block;
text-align: center;
}
ul li label i.fa
{
font-size: 40px;
color: #222;
transition: 0.5s;
}
ul li label input[type="checkbox"]
{
position: absolute;
cursor: pointer;
}
ul li label .check
{
position: relative;
display: block;
width: 50px;
height: 50px;
background: linear-gradient(#000,#333);
border-radius: 50%;
margin: 10px auto 0;
display: flex;
justify-content: center;
align-items: center;
}
ul li label .check:before
{
content: '';
position: absolute;
width: 8px;
height:8px;
border-radius: 50%;
background: #ffffff;
transition: 0.5s;
z-index: 3;
}
ul li label .check:after
{
content: '';
position: absolute;
top: 6px;
left: 6px;
right: 6px;
bottom: 6px;
background: #222;
border-radius: 50%;
z-index: 2;
border: 2px solid #161616;
}
ul li label input[type="checkbox"]:checked ~ .check:before
{
background: rgba(0, 176,255, 1);
box-shadow: 0 0 10px rgba(0, 176,255, 1),
0 0 15px rgba(0, 176,255, 1),
0 0 20px rgba(0, 176,255, 1),
0 0 25px rgba(0, 176,255, 1),
0 0 30px rgba(0, 176,255, 1),
0 0 2px rgba(0, 176,255, 1);
}
ul li label input[type="checkbox"]:checked ~ i.fa
{
color: rgba(0, 176,255, 1);
}