-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpopup.css
67 lines (58 loc) · 1.19 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
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
background-color: rgba(0, 0, 0, 0.25);
border-radius: 20px;
transition: all 0.3s;
}
.switch::after {
content: '';
position: absolute;
width: 18px;
height: 18px;
border-radius:50%;
background-color: white;
top: 1px;
left: 1px;
transition: all 0.3s;
}
.checkbox:checked + .switch::after {
left : 20px;
}
.checkbox:checked + .switch {
background-color: #7983ff;
}
.checkbox {
display : none;
}
body {
background-color: #DBF0F1;
font-family: 'Roboto', sans-serif;
display: flex; /* Flexbox elrendezés */
justify-content: center; /* Középre igazítás vízszintesen */
align-items: center; /* Középre igazítás függőlegesen */
min-height: 100vh; /* Teljes magasság */
margin: 0; /* Eltávolítja az alapértelmezett margót */
}
.main {
background-color: white;
border-radius: 10px;
padding: auto;
margin: 10px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Doboz árnyék hozzáadása */
}
.blue {
width: 100%;
color: #858FF3;
text-align: center;
}
.control {
text-align: center;
margin-bottom: 15px;
padding: 10px;
}
img {
width:200px;
}