Repository navigation
Expand file tree
/
Copy pathquick.css
More file actions
54 lines (54 loc) · 1.88 KB
/
Copy pathquick.css
File metadata and controls
54 lines (54 loc) · 1.88 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
:root {
--bg: rgba(245, 245, 244, 0.92);
--fg: #1c1c1e;
--fg2: #6e6e73;
--line: rgba(0, 0, 0, 0.1);
--accent: #e8562a;
--cellhover: rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
:root {
--bg: rgba(32, 32, 34, 0.94);
--fg: #f2f2f3;
--fg2: #98989e;
--line: rgba(255, 255, 255, 0.12);
--cellhover: rgba(255, 255, 255, 0.09);
}
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: transparent; overflow: hidden; }
body { font: 13px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; color: var(--fg); }
#panel {
margin: 8px;
background: var(--bg);
border: 1px solid var(--line);
border-radius: 16px;
box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
display: flex; flex-direction: column;
height: calc(100vh - 16px);
overflow: hidden;
}
#qsearch { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.glyph { width: 17px; height: 17px; color: var(--fg2); flex: none; }
#qinput { flex: 1; border: none; outline: none; background: none; color: var(--fg); font-size: 17px; }
#qbadge { color: var(--fg2); font-size: 11px; white-space: nowrap; }
#qgrid {
flex: 1;
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 4px;
padding: 10px 14px;
overflow-y: auto;
align-content: start;
}
.qcell {
aspect-ratio: 1;
display: flex; align-items: center; justify-content: center;
border-radius: 9px;
border: none; background: none; color: var(--fg); cursor: pointer;
}
.qcell svg { width: 58%; height: 58%; pointer-events: none; }
.qcell:hover { background: var(--cellhover); }
.qcell.sel { outline: 2px solid var(--accent); background: var(--cellhover); }
#qhint { padding: 8px 16px; border-top: 1px solid var(--line); color: var(--fg2); font-size: 11px; text-align: center; }
#qempty { grid-column: 1 / -1; text-align: center; color: var(--fg2); padding: 30px 0; }