-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpopup.html
More file actions
120 lines (120 loc) · 2.63 KB
/
Copy pathpopup.html
File metadata and controls
120 lines (120 loc) · 2.63 KB
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
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vortex</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 300px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #ffffff;
color: #1a1a1a;
}
.popup-container {
padding: 20px;
}
.header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid #eee;
}
.logo {
width: 36px;
height: 36px;
}
.title-group h1 {
font-size: 18px;
font-weight: 600;
}
.title-group p {
font-size: 12px;
color: #666;
margin-top: 2px;
}
.actions {
display: flex;
flex-direction: column;
gap: 8px;
}
button {
width: 100%;
padding: 12px 16px;
background: #1a1a1a;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: background 0.15s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
button:hover {
background: #333;
}
button.secondary {
background: #f5f5f5;
color: #1a1a1a;
}
button.secondary:hover {
background: #eee;
}
.tab-count {
background: #1a1a1a;
color: white;
padding: 2px 8px;
border-radius: 10px;
font-size: 11px;
margin-left: auto;
}
.shortcuts {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid #eee;
}
.shortcuts h3 {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #999;
margin-bottom: 10px;
}
.shortcut-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
font-size: 12px;
color: #666;
}
.shortcut {
display: flex;
align-items: center;
gap: 8px;
}
.key {
background: #f5f5f5;
padding: 3px 6px;
border-radius: 4px;
font-family: monospace;
font-size: 10px;
color: #333;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/popup.jsx"></script>
</body>
</html>