-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.css
88 lines (81 loc) · 1.56 KB
/
popup.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
#main {
padding: 10px 0px 0px 0px;
min-height: 250px;
max-width: 300px;
}
#heading {
text-align: center;
font-size: 200%;
margin: auto;
width: 60%;
border:3px solid #8AC007;
padding: 10px;
/*padding: 10px 10px 10px 10px;*/
}
.button {
padding: 5px;
}
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
}
#buttons {
padding: 30px 33px 19px 90px;
text-overflow: ellipsis;
font-size: 150%;
overflow: hidden;
min-width: 300px;
}
#toggler {
padding: 30px 10px 10px 10px;
text-align: center;
font-size: 130%;
font-family: sans-serif;
}
.cmn-toggle {
position: absolute;
margin-left: -9999px;
visibility: hidden;
}
.cmn-toggle + label {
display: block;
position: relative;
cursor: pointer;
outline: none;
user-select: none;
}
input.cmn-toggle-round + label {
padding: 2px;
width: 120px;
height: 60px;
background-color: #dddddd;
border-radius: 60px;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
display: block;
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
content: "";
}
input.cmn-toggle-round + label:before {
right: 1px;
background-color: #f1f1f1;
border-radius: 60px;
transition: background 0.4s;
}
input.cmn-toggle-round + label:after {
width: 58px;
background-color: #fff;
border-radius: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: margin 0.4s;
}
input.cmn-toggle-round:checked + label:before {
background-color: #8ce196;
}
input.cmn-toggle-round:checked + label:after {
margin-left: 60px;
}