-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
61 lines (60 loc) · 1.57 KB
/
popup.html
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
<!DOCTYPE html>
<html>
<head>
<title>ZenRead Settings</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 20px;
background-color: #F0F2F5;
color: #1C1E21;
}
h2 {
color: #1877F2;
text-align: center;
}
.slider-container {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 15px;
margin-bottom: 20px;
}
.slider-label {
font-size: 14px;
margin-bottom: 10px;
color: #606770;
}
.slider {
width: 100%;
margin: 10px 0;
}
#toggleButton {
background-color: #42B72A;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
#toggleButton.active {
background-color: #F44336; /* Red for active state */
}
#toggleButton:hover {
opacity: 0.9;
background-color: #36A420;
}
</style>
</head>
<body>
<h2>ZenRead Settings</h2>
<!-- <div class="slider-container">
<div class="slider-label">Adjust Intensity:</div>
<input type="range" min="1" max="100" value="50" class="slider" id="intensitySlider">
</div> -->
<button id="toggleButton">Toggle ZenRead</button>
<script src="popup.js"></script>
</body>
</html>