-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
47 lines (47 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="popup.js"></script>
<style>
body {
width: 500px;
background-color: rgb(200, 200, 200);
}
textarea {
margin: 5px 0 5px 0;
border-radius: 5px;
width: 100%;
}
ul {
list-style-type: none;
padding: 0;
}
span {
border-radius: 7px;
padding: 5px;
border: 1px solid transparent;
transition: .5s ease;
}
span:hover:not(.text-copied-message) {
border: 1px solid gray;
cursor: pointer;
background-color: white;
transition: .5s ease;
}
li {
margin: 5px;
user-select: none;
}
.text-copied-message {
color: green;
}
</style>
<title>Text clipboard</title>
</head>
<body>
<ul id="main-list"></ul>
<button id="add">Add sample</button>
</body>
</html>