-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
100 lines (89 loc) · 2.01 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Series Saver</title>
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="mystyles.css">
<style>
#savedUrlName {
cursor: pointer;
}
#content {
width: 350px;
height: 2000px;
margin: 0 auto;
background-color: white;
padding: 20px;
}
.saved-url {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.saved-url button {
flex: 1;
margin: 0 5px;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
.save-button {
background-color: goldenrod;
color: white;
border: none;
border-radius: 5px;
padding: 5px 7.5px;
cursor: pointer;
}
.name-input {
background-color: lightgray;
color: black;
border: none;
border-radius: 5px;
padding: 5px 7.5px;
cursor: pointer;
}
:root {
--scrollbar-bg: rgb(240, 240, 240);
--scrollbar-color: lightgray;
}
html::-webkit-scrollbar {
background-color: var(--scrollbar-bg);
border-radius: 5px;
}
html::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-color);
border-radius: 5px;
}
#sun {
display: none;
position: fixed;
bottom: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}
#moon {
display: inline-block;
position: fixed;
bottom: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}
</style>
</head>
<body>
<div id="content">
<p id="savedUrlName" style="display: block;"></p>
<input type="text" id="nameInput" placeholder="URL Name" />
<button id="saveButton">Save</button>
</div>
<i class='bx bx-sun' id = "sun"></i>
<i class='bx bx-moon' id = "moon"></i>
<script src="popup.js"></script>
</body>
</html>