-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
112 lines (100 loc) · 2.41 KB
/
Copy pathpopup.css
File metadata and controls
112 lines (100 loc) · 2.41 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
/* Chalkboard theme */
:root {
--bg: #1f2a1e; /* deep chalkboard green */
--bg-2: #172017; /* darker panel for textarea */
--fg: #f6f6f3; /* chalk white */
--muted: #c9d1c8; /* softer chalk */
--border: #334533; /* chalkboard edge */
--hover: rgba(255,255,255,0.06);
--shadow: rgba(255,255,255,0.03);
}
html, body {
margin: 0;
padding: 0;
}
body {
width: 520px;
color: var(--fg);
font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
background:
radial-gradient(1200px 800px at -200px -200px, rgba(255,255,255,0.04), transparent 60%),
radial-gradient(800px 600px at 120% 120%, rgba(255,255,255,0.03), transparent 60%),
var(--bg);
}
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 10px 0 10px;
}
h1 {
font-size: 16px;
margin: 0;
letter-spacing: 0.3px;
text-shadow:
0 1px 0 var(--shadow),
0 0 1px rgba(255,255,255,0.06),
0 0 2px rgba(255,255,255,0.04);
}
.actions {
display: flex;
gap: 8px;
}
button {
padding: 6px 10px;
border: 1px solid var(--border);
background: transparent;
color: var(--fg);
border-radius: 6px;
cursor: pointer;
box-shadow: inset 0 1px 0 var(--shadow);
}
button:hover {
background: var(--hover);
}
/* Icon button styling */
.icon-btn {
width: 34px;
height: 30px;
padding: 0;
display: grid;
place-items: center;
}
.icon-btn svg {
width: 18px;
height: 18px;
color: var(--fg);
}
#urlList {
width: calc(100% - 20px);
/* Removed fixed height; we autosize with JS */
min-height: 120px;
margin: 10px;
padding: 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg-2);
color: var(--fg);
resize: none; /* prevent manual resize; we handle it */
white-space: pre;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 12px;
line-height: 1.35;
box-shadow:
inset 0 1px 0 var(--shadow),
inset 0 0 20px rgba(255,255,255,0.02);
/* Hide scrollbar by default; JS toggles overflow when needed */
overflow-y: hidden;
}
#urlList:focus {
outline: none;
box-shadow:
0 0 0 2px rgba(255,255,255,0.06),
inset 0 1px 0 var(--shadow),
inset 0 0 20px rgba(255,255,255,0.03);
}
footer {
padding: 0 10px 10px 10px;
color: var(--muted);
text-shadow: 0 1px 0 var(--shadow);
}