fraudTech commited on
Commit
1601e8a
·
verified ·
1 Parent(s): 90742e2

Update src/index.css

Browse files
Files changed (1) hide show
  1. src/index.css +385 -9
src/index.css CHANGED
@@ -1,13 +1,389 @@
1
- body {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  margin: 0;
3
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5
- sans-serif;
6
- -webkit-font-smoothing: antialiased;
7
- -moz-osx-font-smoothing: grayscale;
8
  }
9
 
10
- code {
11
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12
- monospace;
 
 
 
 
13
  }
 
1
+ /* Global reset-ish */
2
+ *,
3
+ *::before,
4
+ *::after {
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ html,
9
+ body,
10
+ #root {
11
+ margin: 0;
12
+ padding: 0;
13
+ height: 100%;
14
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
15
+ "Segoe UI", sans-serif;
16
+ }
17
+
18
+ /* App background */
19
+ .app-root {
20
+ position: relative;
21
+ min-height: 100vh;
22
+ background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617);
23
+ color: #e5e7eb;
24
+ display: flex;
25
+ align-items: stretch;
26
+ justify-content: center;
27
+ padding: 32px 16px;
28
+ }
29
+
30
+ .app-bg-gradient {
31
+ position: absolute;
32
+ inset: 0;
33
+ pointer-events: none;
34
+ background: radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.2), transparent 55%),
35
+ radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 50%),
36
+ radial-gradient(circle at 50% 100%, rgba(148, 163, 184, 0.08), transparent 55%);
37
+ opacity: 0.9;
38
+ }
39
+
40
+ /* Shell */
41
+ .app-shell {
42
+ position: relative;
43
+ z-index: 1;
44
+ width: 100%;
45
+ max-width: 1120px;
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: 20px;
49
+ }
50
+
51
+ /* Header */
52
+ .app-header {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: space-between;
56
+ gap: 16px;
57
+ }
58
+
59
+ .app-header h1 {
60
+ font-size: 1.7rem;
61
+ margin: 0 0 4px;
62
+ letter-spacing: -0.02em;
63
+ }
64
+
65
+ .app-header p {
66
+ margin: 0;
67
+ font-size: 0.9rem;
68
+ color: #9ca3af;
69
+ }
70
+
71
+ .app-badge {
72
+ font-size: 0.75rem;
73
+ padding: 4px 10px;
74
+ border-radius: 999px;
75
+ background: linear-gradient(135deg, #22c55e, #0ea5e9);
76
+ color: #020617;
77
+ font-weight: 600;
78
+ text-transform: uppercase;
79
+ letter-spacing: 0.08em;
80
+ }
81
+
82
+ /* Layout */
83
+ .app-layout {
84
+ display: grid;
85
+ grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
86
+ gap: 20px;
87
+ }
88
+
89
+ @media (max-width: 900px) {
90
+ .app-layout {
91
+ grid-template-columns: 1fr;
92
+ }
93
+ }
94
+
95
+ .app-main-panel,
96
+ .app-side-panel {
97
+ display: flex;
98
+ flex-direction: column;
99
+ gap: 16px;
100
+ }
101
+
102
+ /* Cards */
103
+ .card {
104
+ border-radius: 18px;
105
+ border: 1px solid rgba(148, 163, 184, 0.35);
106
+ background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), rgba(15, 23, 42, 0.92));
107
+ box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
108
+ padding: 16px 18px;
109
+ backdrop-filter: blur(18px);
110
+ }
111
+
112
+ .card-query {
113
+ padding-bottom: 18px;
114
+ }
115
+
116
+ .card-results {
117
+ padding-bottom: 14px;
118
+ }
119
+
120
+ .card-header {
121
+ margin-bottom: 10px;
122
+ }
123
+
124
+ .card-header h2 {
125
+ margin: 0;
126
+ font-size: 0.95rem;
127
+ font-weight: 600;
128
+ }
129
+
130
+ .card-subtitle {
131
+ display: inline-block;
132
+ margin-top: 4px;
133
+ font-size: 0.8rem;
134
+ color: #9ca3af;
135
+ }
136
+
137
+ /* Fields */
138
+ .field-label {
139
+ display: block;
140
+ font-size: 0.75rem;
141
+ font-weight: 500;
142
+ color: #94a3b8;
143
+ margin-bottom: 6px;
144
+ }
145
+
146
+ .field-textarea {
147
+ width: 100%;
148
+ border-radius: 12px;
149
+ border: 1px solid rgba(148, 163, 184, 0.45);
150
+ background-color: rgba(15, 23, 42, 0.9);
151
+ color: #e5e7eb;
152
+ font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace;
153
+ font-size: 0.85rem;
154
+ padding: 10px 11px;
155
+ resize: vertical;
156
+ min-height: 80px;
157
+ }
158
+
159
+ .field-textarea:focus {
160
+ outline: 2px solid rgba(45, 212, 191, 0.8);
161
+ outline-offset: 1px;
162
+ border-color: transparent;
163
+ }
164
+
165
+ .field-row {
166
+ display: flex;
167
+ align-items: center;
168
+ gap: 10px;
169
+ margin-top: 12px;
170
+ }
171
+
172
+ .field-inline {
173
+ display: flex;
174
+ flex-direction: column;
175
+ gap: 4px;
176
+ }
177
+
178
+ .field-input {
179
+ border-radius: 10px;
180
+ border: 1px solid rgba(148, 163, 184, 0.45);
181
+ background-color: rgba(15, 23, 42, 0.95);
182
+ color: #e5e7eb;
183
+ padding: 6px 9px;
184
+ font-size: 0.8rem;
185
+ min-width: 72px;
186
+ }
187
+
188
+ .field-input.small {
189
+ max-width: 90px;
190
+ }
191
+
192
+ .field-input:focus {
193
+ outline: 2px solid rgba(59, 130, 246, 0.9);
194
+ outline-offset: 1px;
195
+ border-color: transparent;
196
+ }
197
+
198
+ .spacer {
199
+ flex: 1;
200
+ }
201
+
202
+ /* Buttons */
203
+ .button-primary {
204
+ border: none;
205
+ border-radius: 999px;
206
+ padding: 8px 18px;
207
+ font-size: 0.85rem;
208
+ font-weight: 600;
209
+ cursor: pointer;
210
+ background: linear-gradient(135deg, #22c55e, #0ea5e9);
211
+ color: #020617;
212
+ box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
213
+ display: inline-flex;
214
+ align-items: center;
215
+ justify-content: center;
216
+ transition: transform 0.09s ease, box-shadow 0.12s ease, filter 0.12s ease,
217
+ opacity 0.12s ease;
218
+ }
219
+
220
+ .button-primary:hover {
221
+ filter: brightness(1.05);
222
+ transform: translateY(-1px);
223
+ box-shadow: 0 14px 35px rgba(5, 150, 105, 0.45);
224
+ }
225
+
226
+ .button-primary:active {
227
+ transform: translateY(0);
228
+ box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
229
+ }
230
+
231
+ .button-primary:disabled {
232
+ opacity: 0.55;
233
+ cursor: not-allowed;
234
+ }
235
+
236
+ /* Alerts */
237
+ .alert {
238
+ margin-top: 10px;
239
+ padding: 8px 10px;
240
+ border-radius: 12px;
241
+ font-size: 0.78rem;
242
+ }
243
+
244
+ .alert-error {
245
+ border: 1px solid rgba(248, 113, 113, 0.9);
246
+ background-color: rgba(127, 29, 29, 0.85);
247
+ color: #fee2e2;
248
+ }
249
+
250
+ /* Results */
251
+ .results-body {
252
+ margin-top: 4px;
253
+ }
254
+
255
+ .muted {
256
+ font-size: 0.8rem;
257
+ color: #9ca3af;
258
+ }
259
+
260
+ .solutions-list {
261
+ list-style: none;
262
+ padding: 0;
263
+ margin: 0;
264
+ display: flex;
265
+ flex-direction: column;
266
+ gap: 8px;
267
+ }
268
+
269
+ .solution-item {
270
+ border-radius: 12px;
271
+ border: 1px solid rgba(148, 163, 184, 0.5);
272
+ background-color: rgba(15, 23, 42, 0.95);
273
+ padding: 8px 9px;
274
+ }
275
+
276
+ .solution-header {
277
+ font-size: 0.78rem;
278
+ color: #cbd5f5;
279
+ margin-bottom: 4px;
280
+ }
281
+
282
+ .solution-json {
283
+ margin: 0;
284
+ padding: 6px 7px;
285
+ border-radius: 8px;
286
+ background-color: rgba(15, 23, 42, 0.9);
287
+ font-size: 0.75rem;
288
+ font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace;
289
+ color: #bbf7d0;
290
+ overflow-x: auto;
291
+ }
292
+
293
+ /* Raw output */
294
+ .raw-output {
295
+ margin-top: 12px;
296
+ border-top: 1px dashed rgba(148, 163, 184, 0.4);
297
+ padding-top: 10px;
298
+ }
299
+
300
+ .raw-header {
301
+ font-size: 0.78rem;
302
+ color: #cbd5f5;
303
+ margin-bottom: 6px;
304
+ }
305
+
306
+ .raw-body {
307
+ border-radius: 10px;
308
+ background-color: rgba(15, 23, 42, 0.95);
309
+ border: 1px solid rgba(148, 163, 184, 0.5);
310
+ padding: 7px 9px;
311
+ }
312
+
313
+ .raw-pre {
314
+ margin: 0;
315
+ font-size: 0.78rem;
316
+ font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace;
317
+ color: #e5e7eb;
318
+ white-space: pre-wrap;
319
+ }
320
+
321
+ /* History */
322
+ .card-history {
323
+ max-height: 380px;
324
+ display: flex;
325
+ flex-direction: column;
326
+ }
327
+
328
+ .history-list {
329
+ margin-top: 4px;
330
+ overflow: auto;
331
+ max-height: 320px;
332
+ display: flex;
333
+ flex-direction: column;
334
+ gap: 6px;
335
+ }
336
+
337
+ .history-item {
338
+ border-radius: 12px;
339
+ border: 1px solid rgba(148, 163, 184, 0.4);
340
+ background-color: rgba(15, 23, 42, 0.92);
341
+ padding: 7px 9px;
342
+ text-align: left;
343
+ cursor: pointer;
344
+ display: flex;
345
+ flex-direction: column;
346
+ gap: 3px;
347
+ transition: border-color 0.12s ease, background-color 0.12s ease,
348
+ transform 0.08s ease;
349
+ }
350
+
351
+ .history-item:hover {
352
+ border-color: rgba(45, 212, 191, 0.9);
353
+ background-color: rgba(15, 23, 42, 1);
354
+ transform: translateY(-1px);
355
+ }
356
+
357
+ .history-query {
358
+ font-size: 0.78rem;
359
+ color: #e5e7eb;
360
+ white-space: nowrap;
361
+ overflow: hidden;
362
+ text-overflow: ellipsis;
363
+ font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace;
364
+ }
365
+
366
+ .history-meta {
367
+ font-size: 0.7rem;
368
+ color: #9ca3af;
369
+ }
370
+
371
+ /* Footer card */
372
+ .card-footer {
373
+ padding: 10px 12px;
374
+ }
375
+
376
+ .footer-text {
377
  margin: 0;
378
+ font-size: 0.75rem;
379
+ color: #9ca3af;
 
 
 
380
  }
381
 
382
+ .code-inline {
383
+ font-family: ui-monospace, Menlo, Monaco, "SF Mono", Consolas, monospace;
384
+ font-size: 0.75rem;
385
+ background-color: rgba(15, 23, 42, 0.9);
386
+ padding: 1px 4px;
387
+ border-radius: 4px;
388
+ border: 1px solid rgba(148, 163, 184, 0.4);
389
  }