-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
93 lines (83 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Extension Popup</title>
<style>
body {
width: 300px;
padding: 10px;
text-align: center;
}
button {
margin: 10px;
padding: 10px;
width: 80%;
border: none;
background-color: #007bff;
color: white;
font-size: 16px;
border-radius: 5px;
transition: all 0.1s ease;
}
button:active {
transform: scale(0.95);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
.dateInfo {
font-size: 12px;
}
/* Style for the horizontal divider */
.divider {
width: 80%;
border: 0;
border-top: 1px solid #ccc;
margin: 15px auto;
}
/* Style for the date fields */
.dateFields {
margin-top: 10px;
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
}
.dateFields input {
width: 65%;
padding: 8px;
margin: 5px 0;
border-radius: 5px;
border: 1px solid #ccc;
}
/* Style for the date range button */
#dateRange {
width: 80%;
margin-top: 10px;
padding: 10px;
border-radius: 5px;
border: none;
background-color: #28a745;
color: white;
font-size: 16px;
}
</style>
</head>
<body>
<button id="today">
<p>Today</p>
<p class="dateInfo" id="todayDate"></p>
</button>
<button id="week">
<p>Week</p>
<p class="dateInfo" id="weekRange"></p>
</button>
<!-- Horizontal Divider -->
<hr class="divider" />
<button id="Copy">
<p>Copy Results</p>
</button>
<div id="leaderboard"></div>
<script src="popup.js"></script>
</body>
</html>