-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
105 lines (92 loc) · 2.43 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
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>arXiv Autolink</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;700&display=swap">
<style>
body {
width: 350px;
font-family: 'Figtree', sans-serif;
padding: 10px;
}
h1 {
color: #b31b1b;
margin-top: 5px;
font-family: 'Figtree', sans-serif;
}
h3 {
color: #b31b1b;
font-family: 'Figtree', serif;
}
h4 {
color: black;
margin-bottom: 10px;
font-family: 'Figtree', serif;
}
button {
background-color: #b31b1b;
color: white;
border: none;
padding: 2px 4px;
border-radius: 5px;
cursor: pointer;
font-family: 'Figtree', serif;
}
ul {
padding: 0;
margin: 0;
list-style-type: disc;
}
li {
margin-bottom: 10px;
display: flex;
align-items: flex-start;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding-bottom: 10px;
}
a {
color: #167ac6;
text-decoration: none;
display: inline-block;
flex-grow: 1;
}
a:hover {
text-decoration: none;
}
.arrow-container {
margin-left: 15px;
cursor: pointer;
color: #167ac6;
}
.arrow-container:hover {
background-color: transparent;
}
.count-and-download {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: -15px;
margin-bottom: -10px;
}
#count {
margin-right: 15px;
}
h4 {
margin-top: 5px;
}
</style>
</head>
<body>
<h1>arXiv Autolink</h1>
<div class="count-and-download">
<h3 id="count">Found 0 links.</h3>
<button id="download">Export to CSV</button>
</div>
<h4>Click ↓ to jump to page content.</h4>
<ul id="links"></ul>
<a id="downloadLink" style="display: none;"></a>
<script src="popup.js"></script>
</body>
</html>