-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (81 loc) · 1.42 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
body {
padding: 5px;
background-color: rgb(32, 29, 29);
width: 130px;
}
.header {
text-align: center;
}
.closeBtn{
background-color: rgb(14, 14, 14);
border: none;
color: rgb(68, 66, 66);
display: block;
text-align: center;
margin: auto;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 20px;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 3px solid rgb(14, 14, 14);
margin: 1em 0;
padding: 0;
}
/*SWITCH*/
.ButtonLabel{
display: inline-block;
font-size: 20px;
color: rgb(165, 165, 165);
width: 85px;
}
.switch {
position: relative;
display: inline-block;
width: 40px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: -10px;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(10, 10, 10, 0.479);
-webkit-transition: .4s;
transition: .4s;
height: 16px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 5px;
bottom: 1px;
background-color: rgb(195, 195, 195);
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider:before {
-webkit-transform: translateX(15px);
-ms-transform: translateX(15px);
transform: translateX(15px);
background-color: rgb(194, 40, 40);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}