-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
353 lines (308 loc) · 7.49 KB
/
styles.css
File metadata and controls
353 lines (308 loc) · 7.49 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
/* =========================================================
AEM Protocol, DEMO — COMMENTED STYLESHEET
---------------------------------------------------------
Main goals of this stylesheet:
1. Give the prototype a coherent dark UI
2. Organize the editor / verifier layout
3. Support the subtle watermark + hover reveal concept
4. Keep the styling readable for future reviewers
This is still prototype CSS, not a production design system.
========================================================= */
/* Use border-box sizing so padding and widths behave predictably */
* {
box-sizing: border-box;
}
/* Global page defaults */
html,
body {
margin: 0;
padding: 0;
font-family: Inter, Arial, sans-serif;
background: #0b1020;
color: #eef2ff;
}
body {
min-height: 100vh;
}
/* Basic link color */
a {
color: #9cc3ff;
}
/* ---------------------------------------------------------
SHARED CONTROLS
---------------------------------------------------------
Buttons, file input buttons, and textareas share one visual
language so the app feels cohesive.
--------------------------------------------------------- */
button,
input[type="file"]::file-selector-button,
textarea {
border: 1px solid #334155;
background: #111827;
color: #eef2ff;
border-radius: 10px;
padding: 10px 14px;
cursor: pointer;
font-size: 14px;
}
textarea {
width: 100%;
min-height: 120px;
resize: vertical;
cursor: text;
}
button:hover,
input[type="file"]::file-selector-button:hover {
background: #1f2937;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* ---------------------------------------------------------
OVERALL PAGE LAYOUT
--------------------------------------------------------- */
.container {
max-width: 1460px;
margin: 0 auto;
padding: 24px;
}
.header {
margin-bottom: 18px;
}
.header h1 {
margin: 0 0 8px;
font-size: 28px;
}
.header p {
margin: 0;
color: #cbd5e1;
}
/* Top row for mode switching and current state display */
.topRow {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin: 14px 0 0;
}
/* Three-column app layout:
left = controls / logs
center = canvas preview
right = manifest / verification output */
.grid {
display: grid;
grid-template-columns: 380px 1fr 380px;
gap: 18px;
align-items: start;
}
/* Shared panel/card styling */
.panel {
background: rgba(17, 24, 39, 0.92);
border: 1px solid #243042;
border-radius: 16px;
padding: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.panel h2 {
margin: 0 0 12px;
font-size: 18px;
}
.panel h3 {
margin: 16px 0 10px;
font-size: 13px;
color: #bfdbfe;
text-transform: uppercase;
letter-spacing: 0.06em;
}
/* Small reusable layout helpers */
.stack {
display: flex;
flex-direction: column;
gap: 10px;
}
.row {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.small {
font-size: 12px;
color: #94a3b8;
line-height: 1.45;
}
/* ---------------------------------------------------------
STATUS BADGES
--------------------------------------------------------- */
.badge {
display: inline-flex;
align-items: center;
border: 1px solid #31435c;
border-radius: 999px;
padding: 6px 10px;
font-size: 12px;
background: #0f172a;
}
/* Verification result colors */
.good {
border-color: #166534;
background: rgba(20, 83, 45, 0.35);
}
.warn {
border-color: #92400e;
background: rgba(146, 64, 14, 0.28);
}
.bad {
border-color: #991b1b;
background: rgba(127, 29, 29, 0.28);
}
/* ---------------------------------------------------------
CANVAS SURFACE
---------------------------------------------------------
The checkerboard-like surface makes the preview area feel
like an editing surface and helps overlays stand out.
--------------------------------------------------------- */
.canvasWrap {
display: flex;
justify-content: center;
align-items: center;
min-height: 640px;
overflow: auto;
background:
linear-gradient(45deg, #101827 25%, transparent 25%),
linear-gradient(-45deg, #101827 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #101827 75%),
linear-gradient(-45deg, transparent 75%, #101827 75%);
background-size: 24px 24px;
background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
border-radius: 16px;
border: 1px solid #243042;
padding: 18px;
}
canvas {
max-width: 100%;
height: auto;
border-radius: 10px;
background: #111827;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
/* ---------------------------------------------------------
JSON / DEBUG BLOCKS
--------------------------------------------------------- */
pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
background: #09101d;
border: 1px solid #213048;
border-radius: 12px;
padding: 12px;
font-size: 12px;
color: #dbeafe;
max-height: 620px;
overflow: auto;
}
/* Event log styling */
.log {
max-height: 240px;
overflow: auto;
border: 1px solid #213048;
border-radius: 12px;
background: #09101d;
padding: 12px;
}
.logItem {
padding: 8px 0;
border-bottom: 1px solid #172338;
font-size: 13px;
}
.logItem:last-child {
border-bottom: 0;
}
/* Key/value explanation blocks */
.kv {
display: grid;
grid-template-columns: 126px 1fr;
gap: 8px;
font-size: 13px;
padding: 6px 0;
}
.kv .k {
color: #93c5fd;
}
.kv .v {
color: #e2e8f0;
}
/* Small labels above sliders */
.sliderLabel {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
color: #bfdbfe;
}
input[type="range"] {
width: 100%;
}
/* ---------------------------------------------------------
RESPONSIVE FALLBACK
---------------------------------------------------------
Collapse to one column on smaller screens.
--------------------------------------------------------- */
@media (max-width: 1220px) {
.grid {
grid-template-columns: 1fr;
}
.canvasWrap {
min-height: 420px;
}
}
/* ---------------------------------------------------------
VIEW-SPECIFIC BUTTON ACCENTS
---------------------------------------------------------
These classes make key actions stand out a bit more while
keeping the palette restrained and calm.
--------------------------------------------------------- */
.btnMode, .btnGenerate, .btnEdit, .btnSpecial, .btnExport {
background: linear-gradient(180deg, #17324a 0%, #112638 100%);
border-color: #3d6282;
}
.btnMode:hover, .btnGenerate:hover, .btnEdit:hover, .btnSpecial:hover, .btnExport:hover {
background: linear-gradient(180deg, #214364 0%, #16324a 100%);
}
/* Alternative colors for more visual distinction between button types:
.btnMode {
background: linear-gradient(180deg, #162033 0%, #121a2a 100%);
border-color: #3a4a63;
}
.btnMode:hover {
background: linear-gradient(180deg, #1d2a42 0%, #172133 100%);
}
.btnGenerate {
background: linear-gradient(180deg, #17324a 0%, #112638 100%);
border-color: #3d6282;
}
.btnGenerate:hover {
background: linear-gradient(180deg, #214364 0%, #16324a 100%);
}
.btnEdit {
background: linear-gradient(180deg, #233223 0%, #192519 100%);
border-color: #4a6a4a;
}
.btnEdit:hover {
background: linear-gradient(180deg, #304730 0%, #203120 100%);
}
.btnSpecial {
background: linear-gradient(180deg, #3b231f 0%, #2b1916 100%);
border-color: #7a4a44;
}
.btnSpecial:hover {
background: linear-gradient(180deg, #4d2d28 0%, #361f1b 100%);
}
.btnExport {
background: linear-gradient(180deg, #2d2342 0%, #211930 100%);
border-color: #5d4a86;
}
.btnExport:hover {
background: linear-gradient(180deg, #3b2d57 0%, #291f3c 100%);
}
*/