-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
57 lines (57 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<title>Tab List</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
background-color: #f9f9f9;
color: #333;
}
h2 {
margin-top: 0;
color: #007bff;
}
.search-box {
margin-bottom: 10px;
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
.tab-list {
list-style-type: none;
padding: 0;
margin: 0;
}
.tab-item {
cursor: pointer;
padding: 10px;
border-bottom: 1px solid #e0e0e0;
background-color: #fff;
transition: background-color 0.3s;
}
.tab-item:hover {
background-color: #f0f0f0;
}
.tab-item-title {
font-weight: bold;
}
.tab-item-url {
color: #777;
font-size: 14px;
}
</style>
</head>
<body>
<div style="width: 600px; min-height: 300px; max-height: 500px">
<h2>Open Tabs</h2>
<input type="text" id="search-input" class="search-box" placeholder="Search by title or URL" />
<ul id="tab-list" class="tab-list"></ul>
<script src="popup.js"></script>
</div>
</body>
</html>