-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
109 lines (87 loc) · 2 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
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
<!DOCTYPE html>
<html>
<head>
<title>Web Reading Enhancer</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
background-color: #f0f0f0;
color: #333;
width: 300px;
height: 400px;
}
#noteInput, #taskInput {
width: calc(100% - 22px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
#saveNote, #addTask {
width: 100%;
padding: 10px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#saveNote:hover, #addTask:hover {
background-color: #0056b3;
}
#toggleDistractionFree {
width: 100%;
padding: 10px;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#toggleDistractionFree:hover {
background-color: #218838;
}
#taskList {
margin-top: 10px;
}
.task {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
border-bottom: 1px solid #ddd;
}
.task button {
background-color: #dc3545;
border: none;
color: white;
padding: 5px;
cursor: pointer;
}
.task button:hover {
background-color: #c82333;
}
h1, h2 {
margin-top: 0;
}
</style>
</head>
<body>
<h1>Web Reading Enhancer & Task Manager</h1>
<hr>
<br>
<h2 style="display: inline;">Notes</h2>
<input type="text" id="noteInput" placeholder="Enter your note here...">
<button id="saveNote">Save Note</button>
<br>
<div>
<br>
<h2>Tasks</h2>
<input type="text" id="taskInput" placeholder="Enter your task here...">
<button id="addTask">Add Task</button>
<div id="taskList"></div>
</div>
<script src="popup.js"></script>
</body>
</html>