-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
51 lines (44 loc) · 1.43 KB
/
options.html
File metadata and controls
51 lines (44 loc) · 1.43 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>YouTube Timer Settings</title>
<style>
body { font-family: sans-serif; padding: 20px; max-width: 500px; }
h1 { font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
.input-group { display: flex; gap: 10px; margin-bottom: 20px; }
input { flex: 1; padding: 8px; font-size: 14px; }
button { padding: 8px 16px; cursor: pointer; }
ul { list-style: none; padding: 0; border: 1px solid #eee; border-radius: 4px; }
li {
padding: 10px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}
li:last-child { border-bottom: none; }
li:hover { background-color: #f9f9f9; }
.delete-btn {
background: #ff4444; color: white; border: none;
border-radius: 4px; padding: 4px 8px; font-size: 12px;
}
.note { font-size: 12px; color: #666; margin-top: 20px; }
</style>
</head>
<body>
<!-- 文言はJSで入ります -->
<h1 id="settingsTitle"></h1>
<div class="input-group">
<input type="text" id="newUrl" placeholder="">
<button id="addBtn"></button>
</div>
<ul id="urlList"></ul>
<div class="note">
<span id="noteAutoSave"></span>
<br>
<button id="resetBtn" style="margin-top:10px; background:#eee; border:none; color:#333;"></button>
</div>
<script src="options.js"></script>
</body>
</html>