Skip to content

Commit 2bb167a

Browse files
committed
Restore tools page with browser-only JS toolboxes
1 parent 7dd1071 commit 2bb167a

File tree

4 files changed

+957
-0
lines changed

4 files changed

+957
-0
lines changed

src/assets/css/tools.css

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
.tools-grid {
2+
display: grid;
3+
gap: 1rem;
4+
}
5+
6+
.tool-panel {
7+
border: 1px solid rgba(255, 255, 255, 0.14);
8+
border-radius: 12px;
9+
padding: 1rem;
10+
display: grid;
11+
gap: 0.6rem;
12+
}
13+
14+
.tool-panel label {
15+
display: grid;
16+
gap: 0.35rem;
17+
font-size: 0.9rem;
18+
}
19+
20+
.tool-panel input,
21+
.tool-panel textarea,
22+
.tool-panel select,
23+
.tool-panel button {
24+
width: 100%;
25+
}
26+
27+
.tool-panel textarea,
28+
.tool-panel pre,
29+
.tool-panel input,
30+
.tool-panel select {
31+
background: rgba(12, 17, 28, 0.92);
32+
color: #f3f7ff;
33+
border: 1px solid rgba(255, 255, 255, 0.16);
34+
border-radius: 8px;
35+
padding: 0.6rem 0.75rem;
36+
}
37+
38+
.tool-panel button {
39+
border: 0;
40+
border-radius: 8px;
41+
padding: 0.55rem 0.75rem;
42+
background: var(--accent);
43+
color: #05070f;
44+
font-weight: 700;
45+
cursor: pointer;
46+
}
47+
48+
.tool-actions {
49+
display: grid;
50+
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
51+
gap: 0.5rem;
52+
}
53+
54+
.tool-output {
55+
min-height: 120px;
56+
max-height: 280px;
57+
overflow: auto;
58+
white-space: pre-wrap;
59+
word-break: break-word;
60+
}
61+
62+
.embed-slot {
63+
min-height: 80px;
64+
border: 1px dashed rgba(255, 255, 255, 0.2);
65+
border-radius: 8px;
66+
padding: 0.4rem;
67+
}

0 commit comments

Comments
 (0)