Repository navigation
Expand file tree
/
Copy pathpopup.css
More file actions
75 lines (66 loc) · 4.21 KB
/
Copy pathpopup.css
File metadata and controls
75 lines (66 loc) · 4.21 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
* { box-sizing: border-box; }
:root {
--bg: #0b0e13;
--surface: #121720;
--surface-raised: #181f2a;
--line: #27303d;
--line-strong: #344052;
--text: #f1f5f9;
--muted: #8b98aa;
--faint: #657184;
--accent: #67e8b0;
--accent-strong: #35c98b;
--accent-ink: #082017;
--danger: #ff8585;
--danger-bg: #311d24;
--danger-line: #713b46;
--font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
html, body { margin: 0; padding: 0; }
body {
width: 360px;
padding: 18px;
overflow: hidden;
color: var(--text);
background: var(--bg);
font: 12px/1.45 var(--font);
letter-spacing: .01em;
user-select: none;
}
.app-container { display: flex; flex-direction: column; gap: 16px; }
.card { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.header-badges { display: flex; align-items: center; gap: 6px; }
.section-title { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.id-badge { padding: 2px 6px; color: var(--faint); background: #0d1118; border: 1px solid var(--line); border-radius: 5px; font: 10px var(--mono); }
.bridge-badge { padding: 2px 7px; border-radius: 5px; font: 10px/1.2 var(--mono); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: all .2s ease; }
.bridge-wss { color: #67e8b0; background: #0c2b1e; border: 1px solid #1f5e42; }
.bridge-http { color: #ffd166; background: #2b2512; border: 1px solid #635021; }
.bridge-offline { color: var(--danger); background: var(--danger-bg); border: 1px solid var(--danger-line); }
.target-meta { min-width: 0; margin-bottom: 12px; padding: 11px 12px; background: #0d1219; border: 1px solid var(--line); border-radius: 8px; }
.target-name { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.target-link { overflow: hidden; margin-top: 3px; color: var(--muted); font: 10px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.action-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; }
button { font: inherit; }
.btn, .tool-btn { cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; font-size: 11px; font-weight: 650; transition: background .15s, border-color .15s, transform .15s; }
.btn:active, .tool-btn:active { transform: translateY(1px); }
.btn-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: #8af1c4; }
.btn-secondary { color: var(--text); background: var(--surface-raised); border-color: var(--line-strong); }
.btn-secondary:hover { background: #202a37; border-color: #536176; }
.btn-danger { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
.btn-danger:hover { background: #48252e; border-color: #a34f5c; }
.btn-icon { min-width: 12px; font-size: 16px; line-height: 12px; font-weight: 400; }
.tools-card { padding-bottom: 8px; }
.tools-list { display: flex; flex-direction: column; }
.tool-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 2px; color: var(--text); background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; }
.tool-btn:first-child { border-top: 0; }
.tool-btn:hover .tool-copy strong { color: var(--accent); }
.tool-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: var(--accent); background: #14271f; border: 1px solid #28523f; border-radius: 7px; font-size: 15px; }
.tool-copy { display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; }
.tool-copy strong { font-size: 11px; font-weight: 650; transition: color .15s; }
.tool-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.tool-arrow { color: var(--faint); font-size: 20px; line-height: 1; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }