-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
56 lines (56 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
html {
border-radius: 0 0 10px 10px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
background-color: white;
}
body {
width: 350px;
padding: 10px;
font-family: Arial, sans-serif;
}
h2 {
color: #333;
}
button {
background-color: #007BFF;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
#workspaceList {
list-style-type: none;
padding: 0;
}
#workspaceList li {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 5px 8px;
}
.selected {
border-radius: 5px;
background-color: #007bff2c;
font-weight: bold;
}
</style>
</head>
<body>
<h2>TabNest</h2>
<input id="workspaceName" type="text" placeholder="Workspace's name">
<button id="saveButton">Save Workspace</button>
<h2>Saved workspaces (<span id="workspaceCount">0</span>)</h2>
<ul id="workspaceList"></ul>
<script src="popup.js"></script>
</body>
</html>