-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
60 lines (59 loc) · 1.42 KB
/
popup.html
File metadata and controls
60 lines (59 loc) · 1.42 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
<!DOCTYPE html>
<html>
<head>
<title>Tab Time Tracker</title>
<style>
body {
width: 400px;
padding: 10px;
font-family: Arial, sans-serif;
background-color: white;
color: black;
transition: background-color 0.5s, color 0.5s;
}
body:hover {
background-color: black;
color: white;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
transition: background-color 0.2s, color 0.2s;
border-radius: 10px;
overflow: hidden;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
transition: background-color 0.2s, color 0.2s;
}
th {
background-color: #f2f2f2;
}
body:hover th {
background-color: #333;
}
body:hover th, body:hover td {
border-color: #444;
}
</style>
</head>
<body>
<h2>Time Spent</h2>
<div id="time">Loading...</div>
<h2>Time Comparison Across Tabs</h2>
<table id="comparisonTable">
<thead>
<tr>
<th>Tab</th>
<th>Time Spent</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<script src="popup.js"></script>
</body>
</html>