-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
110 lines (98 loc) · 2.81 KB
/
Copy pathpopup.html
File metadata and controls
110 lines (98 loc) · 2.81 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Popup Window</title>
<style>
body {
background-color: red;
color: white;
font-family: "DejaVu Sans", sans-serif;
font-weight: bold;
}
.bcontainer {
display: grid;
grid-template-columns: 1fr 0.3fr;
grid-gap: 10px;
margin-bottom: 5px;
}
.bcontainer_alt {
margin-left: 20px;
font-size: 15px;
background-color: darkred;
border-radius: 5px;
padding-left: 3px;
}
.switch {
position: relative;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: darkred;
border: black solid 2px;
border-radius: 5px;
transition: .4s;
text-align: center;
font-size: 13px;
}
.slider_alt {
font-size: 12px;
}
input:checked + .slider {
border: lightslategray solid 2px;
background-color: white;
color: black;
}
.infos_button {
font-family: "DejaVu Sans", sans-serif;
font-weight: bold;
}
</style>
</head>
<body>
<div class="bcontainer">
<div class="btext">Disable Homepage Videos</div>
<label class="switch" id="dhomepage">
<input type="checkbox">
<span class="slider">Disabled</span>
</label>
</div>
<div class="bcontainer bcontainer_alt">
<div class="btext">Disable Shorts Suggestions</div>
<label class="switch" id="dshortssuggestions">
<input type="checkbox">
<span class="slider slider_alt">Disabled</span>
</label>
</div>
<div class="bcontainer">
<div class="btext">Disable Shorts Button</div>
<label class="switch" id="dshortsbutton">
<input type="checkbox">
<span class="slider">Disabled</span>
</label>
</div>
<div class="bcontainer">
<div class="btext">Disable Suggestions Video End</div>
<label class="switch" id="dendvideo">
<input type="checkbox">
<span class="slider">Disabled</span>
</label>
</div>
<div class="bcontainer">
<div class="btext">Disable Video Suggestions On The Left</div>
<label class="switch" id="dsuggestionpart">
<input type="checkbox">
<span class="slider">Disabled</span>
</label>
</div>
<div>
<button class="infos_button" id="about">About</button>
</div>
<script src="popup.js"></script>
</body>
</html>