-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
119 lines (117 loc) · 2.63 KB
/
Copy pathpopup.html
File metadata and controls
119 lines (117 loc) · 2.63 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
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nostalgia Theme Options</title>
<style>
body {
font-family: 'Caslon Antique', serif !important;
padding: 15px;
background: #f5f3ed;
color: #5a4e3c;
max-width: 320px;
}
h2 {
font-size: 18px;
margin-bottom: 10px;
}
label {
display: block;
margin: 8px 0;
}
.slider-container {
margin: 12px 0;
}
input[type="range"] {
width: 100%;
}
.whitelist-container {
margin: 12px 0;
border-top: 1px solid #ccc;
padding-top: 10px;
}
.whitelist-container h3 {
margin-top: 0;
font-size: 16px;
}
ul {
list-style: none;
padding: 0;
margin: 0 0 10px 0;
max-height: 100px;
overflow-y: auto;
}
li {
margin: 4px 0;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
padding: 4px 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
button, .remove-btn {
background-color: #704214;
color: #fff;
border: none;
padding: 4px 8px;
cursor: pointer;
border-radius: 4px;
font-size: 12px;
}
button:hover, .remove-btn:hover {
background-color: #583517;
}
#saveBtn {
width: 100%;
margin-top: 10px;
padding: 8px;
}
.add-whitelist {
display: flex;
margin-top: 8px;
}
.add-whitelist input {
flex: 1;
padding: 4px;
border: 1px solid #ddd;
border-radius: 4px 0 0 4px;
font-size: 14px;
}
.add-whitelist button {
border-radius: 0 4px 4px 0;
font-size: 14px;
}
</style>
</head>
<body>
<h2>Nostalgia Theme Options</h2>
<label>
<input type="checkbox" id="sepiaImages">
Apply Sepia Filter to Images
</label>
<label>
<input type="checkbox" id="textGlow">
Apply Text Glow & Change Font Color
</label>
<div class="slider-container">
<label for="glowIntensity">Text Glow Intensity: <span id="glowValue">5</span></label>
<input type="range" id="glowIntensity" min="1" max="20" value="5">
</div>
<label>
<input type="checkbox" id="pageTheme">
Apply Sepia Theme to Page Background
</label>
<div class="whitelist-container">
<h3>Whitelist Domains</h3>
<ul id="whitelist"></ul>
<div class="add-whitelist">
<input type="text" id="newDomain" placeholder="Add domain (e.g., example.com)">
<button id="addDomainBtn">Add</button>
</div>
</div>
<button id="saveBtn">Save Settings</button>
<script src="popup.js"></script>
</body>
</html>