-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
94 lines (79 loc) · 1.78 KB
/
popup.html
File metadata and controls
94 lines (79 loc) · 1.78 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tab Count Tracker</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
width: 250px;
padding: 15px;
margin: 0;
}
h1 {
font-size: 18px;
margin-top: 0;
color: #333;
text-align: center;
}
.stats-container {
background-color: #f7f7f7;
border-radius: 8px;
padding: 12px;
margin-bottom: 10px;
}
.count {
font-size: 36px;
font-weight: bold;
text-align: center;
margin-bottom: 10px;
}
.stats-row {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
font-size: 14px;
}
.change {
font-weight: bold;
}
.positive {
color: green;
}
.negative {
color: red;
}
.neutral {
color: #777;
}
.settings-link {
display: block;
text-align: center;
margin-top: 10px;
color: #0366d6;
text-decoration: none;
font-size: 13px;
}
.settings-link:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Tab Count Tracker</h1>
<div class="stats-container">
<div class="count" id="tabCount">0</div>
<div class="stats-row">
<span>Today:</span>
<span id="todayChange" class="change neutral">+0</span>
</div>
<div class="stats-row">
<span>This week:</span>
<span id="weekChange" class="change neutral">+0</span>
</div>
</div>
<a href="#" id="settingsLink" class="settings-link">Customize Color Ranges</a>
<script src="popup.js"></script>
</body>
</html>