-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
106 lines (106 loc) · 2.67 KB
/
popup.html
File metadata and controls
106 lines (106 loc) · 2.67 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 220px;
padding: 20px;
font-family: 'Arial Black', sans-serif;
background-color: #d7fada;
position: relative;
overflow: hidden;
padding-bottom: 110px; /* Add bottom padding to make space for Pepe */
}
.toggle-container {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 15px;
}
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 26px;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #a8a8a8;
transition: .4s;
border-radius: 26px;
box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
.slider:before {
position: absolute;
content: "";
height: 22px;
width: 22px;
left: 2px;
bottom: 2px;
background-color: white;
transition: .4s;
border-radius: 50%;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
input:checked + .slider {
background-color: #5cb85c;
}
input:checked + .slider:before {
transform: translateX(24px);
}
label[for] {
color: #3a543a;
font-weight: bold;
text-shadow: 0.5px 0.5px 0px rgba(255,255,255,0.5);
}
body::after {
content: '';
position: absolute;
bottom: 10px; /* Closer to the bottom */
right: 10px; /* Closer to the right */
width: 70px; /* Slightly smaller Pepe */
height: 70px; /* Slightly smaller Pepe */
background-image: url('https://www.memeatlas.com/images/pepes/pepe-real-frog.png');
background-size: contain;
background-repeat: no-repeat;
opacity: 0.8;
z-index: -1;
background-color: transparent; /* No fallback color needed now */
}
</style>
</head>
<body>
<div class="toggle-container">
<label class="toggle-switch">
<input type="checkbox" id="toggleBoosts">
<span class="slider"></span>
</label>
<label for="toggleBoosts">Boosts</label>
</div>
<div class="toggle-container">
<label class="toggle-switch">
<input type="checkbox" id="toggleDuplicates">
<span class="slider"></span>
</label>
<label for="toggleDuplicates">Duplicate Rows</label>
</div>
<div class="toggle-container">
<label class="toggle-switch">
<input type="checkbox" id="toggleTwitter" checked>
<span class="slider"></span>
</label>
<label for="toggleTwitter">X Links</label>
</div>
<script src="popup.js"></script>
</body>
</html>