-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
135 lines (133 loc) · 3.09 KB
/
index.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
.Main-Section{
height: 100vh;
min-width:100%;
background-image: radial-gradient(#4d4b4d, #323132);
display: flex;
align-items: center;
justify-content: center;
}
.Main-Section .Content-Wrapper{
height: 100%;
width: 100%;
padding: 20px;
position: relative;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
gap:20px;
justify-content: space-evenly;
flex-wrap: wrap;
}
@media screen and (max-width:1210px)
{
.Main-Section{
height: auto;
min-width: 100%;
}
.Main-Section .Content-Wrapper{
display: flex;
flex-direction: row;
}
.Main-Section .Content-Wrapper .Toogle-t{
min-height: 300px;
width: 80%;
}
.Toogle-5,.Toogle-6,.Toogle-7,.Toogle-8{
min-height: 300px;
width: 80%;
}
}
.Main-Section .Content-Wrapper .Toogle-t{
position: relative;
display: flex;
align-items: center;
background-color: #333;
justify-content: center;
border-radius: 20px;
box-shadow: 0 0 20px #222;
}
.Content-Wrapper .Toogle-t .Toogle-Switch{
position: absolute;
top:0;
opacity: 0;
}
.Content-Wrapper .Toogle-t .Label-Toogle-Switch{
height: 70px;
width: 150px;
background-color: #3f3d3f;
border-radius: 50px;
margin:0 20px;
border: 2px solid #323133;
cursor: pointer;
transition: all 0.5s linear;
box-shadow: 0 0 20px #444;
}
.Content-Wrapper .Toogle-t .Label-Toogle-Switch .Toogle{
position: relative;
left: 0;
height: 67px;
width: 67px;
background-color: #777;
border-radius: 50%;
transition: all 0.5s linear;
}
.Content-Wrapper .Toogle-t p{
color:#fff;
font-size: 1.5rem;
}
.Content-Wrapper .Toogle-t .ON{
user-select:none;
}
.Content-Wrapper .Toogle-t .OFF{
user-select:none;
}
.Content-Wrapper .Toogle-3 .Label-Toogle-Switch .fa{
position: absolute;
font-size: 2rem;
}
.Content-Wrapper .Toogle-3 .Label-Toogle-Switch{
position: relative;
}
.Content-Wrapper .Toogle-3 .Label-Toogle-Switch .fa-times{
color:#f00;
right: 25%;
top:17px;
opacity: 0;
z-index: -2;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:not(:checked) ~ .Label-Toogle-Switch .fa-times{
opacity: 1;
z-index: 1;
transition: all 0.5s ease-in;
}
.Content-Wrapper .Toogle-3 .Label-Toogle-Switch .fa-check{
color:#0f0;
left: 25%;
top:18px;
opacity: 0;
text-shadow: 0 0 20px #0f0;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:checked ~ .Label-Toogle-Switch .fa-check{
opacity: 1;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:checked ~ .ON{
text-shadow: 0 0 10px #FFF;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:checked ~ .Label-Toogle-Switch .Toogle{
left:83px;
background-color: #fff;
transition: all 0.5s ease;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:checked ~ .Label-Toogle-Switch {
background-color: #aaa;
transition: all 0.5s ease;
box-shadow: 0 0 20px #aaa;
}
.Content-Wrapper .Toogle-3 .Toogle-Switch:not(:checked) ~ .OFF{
text-shadow: 0 0 30px #FFF;
}