-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
111 lines (108 loc) · 2.56 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
106
107
108
109
110
111
<!DOCTYPE html>
<html>
<head>
<title>LinkLoader Popup</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
min-width: 300px;
min-height: 200px;
background-color: #f2f2f2;
}
h1 {
margin-top: 0;
text-align: center;
color: #333;
}
ul {
margin-top: 20px;
padding-left: 0;
max-height: 150px;
overflow-y: scroll;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 10px;
}
li {
list-style-type: none;
margin-bottom: 5px;
}
a {
text-decoration: none;
color: #0066cc;
word-break: break-all;
}
.link-item {
display: flex;
align-items: center;
}
.link-item input[type="text"] {
margin-right: 10px;
flex-grow: 1;
padding: 5px;
border: none;
background-color: #f2f2f2;
border-radius: 3px;
font-size: 14px;
color: #333;
}
.link-item .delete-button,
.link-item .copy-button {
margin-left: 10px;
cursor: pointer;
background-color: #0066cc;
color: #fff;
border: none;
padding: 5px 10px;
border-radius: 3px;
font-size: 14px;
transition: background-color 0.3s ease;
}
.link-item .delete-button:hover,
.link-item .copy-button:hover {
background-color: #004d99;
}
#add-link-container {
margin-top: 20px;
display: flex;
align-items: center;
}
#add-link-input {
margin-right: 10px;
flex-grow: 1;
padding: 5px;
border: none;
background-color: #f2f2f2;
border-radius: 3px;
font-size: 14px;
color: #333;
}
#add-link-button {
cursor: pointer;
background-color: #0066cc;
color: #fff;
border: none;
padding: 5px 10px;
border-radius: 3px;
font-size: 14px;
transition: background-color 0.3s ease;
}
#add-link-button:hover {
background-color: #004d99;
}
</style>
</head>
<body>
<h1>LinkLoader</h1>
<ul id="link-list">
<!-- Links will be dynamically added here -->
</ul>
<div id="add-link-container">
<input type="text" id="add-link-input" placeholder="Enter URL">
<button id="add-link-button">Add Link</button>
</div>
<script src="popup.js"></script>
</body>
</html>