jeeva780 commited on
Commit
a66b9c8
·
verified ·
1 Parent(s): 899ee7e

Delete styles

Browse files
Files changed (1) hide show
  1. styles/style.css +0 -428
styles/style.css DELETED
@@ -1,428 +0,0 @@
1
- /*
2
- * DESIGN INTENT
3
- * Tone: industrial trading terminal — data-dense, blueprint precision
4
- * Fonts: JetBrains Mono (labels/numbers) + Inter (body)
5
- * Palette: #0a0e13 bg · #10161d surface · #d7e0e9 text · #ff7a1a accent
6
- * Layout signature: left parameter rail + stacked data sections, ticker tape
7
- * Memorable element: live-style ticker tape + SEC.0X section labels
8
- */
9
-
10
- :root {
11
- --bg: #0a0e13;
12
- --surface: #10161d;
13
- --surface-2: #141c25;
14
- --line: #223041;
15
- --line-soft: #1a2532;
16
- --text: #d7e0e9;
17
- --muted: #7d8fa3;
18
- --dim: #4d5d70;
19
- --accent: #ff7a1a;
20
- --accent-soft: rgba(255, 122, 26, 0.12);
21
- --green: #2fd67b;
22
- --green-soft: rgba(47, 214, 123, 0.12);
23
- --red: #ff5c6c;
24
- --red-soft: rgba(255, 92, 108, 0.12);
25
- --amber: #ffb347;
26
- --mono: 'JetBrains Mono', ui-monospace, monospace;
27
- --sans: 'Inter', system-ui, sans-serif;
28
- }
29
-
30
- * { box-sizing: border-box; }
31
-
32
- ::selection { background: var(--accent); color: #0a0e13; }
33
-
34
- ::-webkit-scrollbar { width: 10px; height: 10px; }
35
- ::-webkit-scrollbar-track { background: var(--bg); }
36
- ::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid var(--bg); }
37
- ::-webkit-scrollbar-thumb:hover { background: var(--dim); }
38
-
39
- html { scroll-behavior: smooth; }
40
-
41
- body {
42
- margin: 0;
43
- background: var(--bg);
44
- color: var(--text);
45
- font-family: var(--sans);
46
- font-size: 14px;
47
- min-height: 100vh;
48
- background-image:
49
- linear-gradient(var(--line-soft) 1px, transparent 1px),
50
- linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
51
- background-size: 48px 48px;
52
- background-attachment: fixed;
53
- }
54
-
55
- .hidden { display: none !important; }
56
- .dim { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
57
-
58
- /* ══════════ TICKER TAPE ══════════ */
59
- .tape {
60
- border-bottom: 1px solid var(--line);
61
- background: var(--surface);
62
- overflow: hidden;
63
- white-space: nowrap;
64
- position: relative;
65
- height: 30px;
66
- display: flex;
67
- align-items: center;
68
- }
69
- .tape::before {
70
- content: 'LIVE';
71
- position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
72
- display: flex; align-items: center; padding: 0 12px;
73
- background: var(--accent); color: #0a0e13;
74
- font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
75
- }
76
- .tape-track {
77
- display: inline-flex;
78
- padding-left: 80px;
79
- animation: tapeScroll 40s linear infinite;
80
- will-change: transform;
81
- }
82
- .tape-track span {
83
- font-family: var(--mono); font-size: 11px;
84
- color: var(--muted);
85
- padding: 0 22px;
86
- border-right: 1px solid var(--line-soft);
87
- }
88
- .tape-track b { color: var(--text); font-weight: 600; }
89
- .tape-track .up { color: var(--green); }
90
- .tape-track .dn { color: var(--red); }
91
- @keyframes tapeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
92
-
93
- /* ══════════ TOP BAR ══════════ */
94
- .topbar {
95
- position: sticky; top: 0; z-index: 50;
96
- display: flex; align-items: center; justify-content: space-between;
97
- padding: 0 20px; height: 56px;
98
- background: var(--bg);
99
- border-bottom: 1px solid var(--line);
100
- }
101
- .brand { display: flex; align-items: baseline; gap: 10px; }
102
- .brand-mark { color: var(--accent); font-size: 18px; }
103
- .brand-name { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; }
104
- .brand-sub { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.18em; }
105
- .topbar-right { display: flex; align-items: center; gap: 14px; }
106
- .readout { font-family: var(--mono); font-size: 12px; color: var(--muted); }
107
- .readout b { color: var(--text); }
108
- .pill {
109
- font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
110
- padding: 4px 10px; border: 1px solid var(--line);
111
- }
112
- .pill.online { color: var(--green); border-color: rgba(47,214,123,0.4); background: var(--green-soft); }
113
- .pill.offline { color: var(--red); border-color: rgba(255,92,108,0.4); background: var(--red-soft); }
114
- .ghost-btn {
115
- font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
116
- background: none; border: 1px solid var(--line); color: var(--muted);
117
- padding: 6px 12px; cursor: pointer; transition: all 0.12s;
118
- }
119
- .ghost-btn:hover { border-color: var(--red); color: var(--red); }
120
-
121
- /* ══════════ SHARED ══════════ */
122
- .sec-label {
123
- font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
124
- color: var(--accent); margin-bottom: 12px;
125
- }
126
- .panel {
127
- background: var(--surface);
128
- border: 1px solid var(--line);
129
- padding: 16px;
130
- }
131
- .panel-head {
132
- display: flex; justify-content: space-between; align-items: center;
133
- font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
134
- color: var(--muted); margin-bottom: 12px;
135
- padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
136
- }
137
- .field-label {
138
- display: block;
139
- font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
140
- color: var(--muted); margin: 14px 0 6px;
141
- }
142
- .field {
143
- width: 100%;
144
- background: var(--bg);
145
- border: 1px solid var(--line);
146
- color: var(--text);
147
- font-family: var(--mono); font-size: 13px;
148
- padding: 9px 10px;
149
- transition: border-color 0.12s;
150
- border-radius: 0;
151
- -webkit-appearance: none;
152
- appearance: none;
153
- }
154
- .field:focus { outline: none; border-color: var(--accent); }
155
- .field::placeholder { color: var(--dim); }
156
- input[type="date"].field::-webkit-calendar-picker-indicator,
157
- input[type="time"].field::-webkit-calendar-picker-indicator {
158
- filter: invert(0.6); cursor: pointer;
159
- }
160
- .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
161
-
162
- .btn {
163
- width: 100%;
164
- background: var(--surface-2);
165
- border: 1px solid var(--line);
166
- color: var(--text);
167
- font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
168
- padding: 11px 14px; cursor: pointer;
169
- transition: all 0.12s;
170
- }
171
- .btn:hover { border-color: var(--accent); color: var(--accent); }
172
- .btn:active { transform: translateY(1px); }
173
- .btn.primary {
174
- background: var(--accent); border-color: var(--accent); color: #0a0e13;
175
- }
176
- .btn.primary:hover { background: #ff8f3d; border-color: #ff8f3d; color: #0a0e13; }
177
- .btn.big { padding: 14px; font-size: 13px; }
178
- .btn:disabled { opacity: 0.4; cursor: not-allowed; }
179
-
180
- /* ══════════ LOGIN VIEW ══════════ */
181
- .login-grid {
182
- max-width: 1100px; margin: 0 auto;
183
- padding: 56px 24px;
184
- display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
185
- align-items: start;
186
- }
187
- .hero {
188
- font-family: var(--mono);
189
- font-size: clamp(2.2rem, 5vw, 3.6rem);
190
- font-weight: 700; line-height: 1.04;
191
- margin: 0 0 18px; letter-spacing: -0.01em;
192
- }
193
- .hero .accent { color: var(--accent); }
194
- .hero-sub { color: var(--muted); font-size: 14px; margin: 0 0 28px; max-width: 46ch; }
195
- .flow { border: 1px solid var(--line); background: var(--surface); }
196
- .flow-row {
197
- display: grid; grid-template-columns: 52px 1fr auto 1fr auto;
198
- align-items: center; gap: 12px;
199
- padding: 10px 14px;
200
- border-bottom: 1px solid var(--line-soft);
201
- font-family: var(--mono); font-size: 11px;
202
- }
203
- .flow-row:last-child { border-bottom: none; }
204
- .flow-day { color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
205
- .flow-t { color: var(--text); }
206
- .flow-arrow { color: var(--dim); }
207
- .flow-tag { color: var(--dim); border: 1px solid var(--line); padding: 2px 8px; font-size: 10px; }
208
- .facts {
209
- list-style: none; margin: 24px 0 0; padding: 0;
210
- display: grid; grid-template-columns: repeat(4, 1fr);
211
- border: 1px solid var(--line);
212
- }
213
- .facts li {
214
- padding: 12px 14px; border-right: 1px solid var(--line-soft);
215
- font-family: var(--mono);
216
- }
217
- .facts li:last-child { border-right: none; }
218
- .facts span { display: block; font-size: 9px; letter-spacing: 0.15em; color: var(--dim); margin-bottom: 6px; }
219
- .facts b { font-size: 13px; font-weight: 600; }
220
-
221
- .login-right { position: relative; }
222
- .term {
223
- margin-top: 16px;
224
- background: var(--bg);
225
- border: 1px solid var(--line-soft);
226
- font-family: var(--mono); font-size: 11px; line-height: 1.8;
227
- color: var(--muted);
228
- padding: 12px; min-height: 120px; max-height: 190px; overflow-y: auto;
229
- }
230
- .term .ok { color: var(--green); }
231
- .term .err { color: var(--red); }
232
- .demo-note {
233
- margin-top: 14px; font-size: 11px; color: var(--dim); line-height: 1.6;
234
- border-left: 2px solid var(--accent); padding-left: 10px;
235
- }
236
-
237
- /* ══════════ DASHBOARD LAYOUT ══════════ */
238
- .dash {
239
- display: grid;
240
- grid-template-columns: 290px 1fr;
241
- max-width: 1440px; margin: 0 auto;
242
- gap: 0;
243
- }
244
- .sidebar {
245
- border-right: 1px solid var(--line);
246
- padding: 20px 18px 40px;
247
- position: sticky; top: 56px;
248
- align-self: start;
249
- max-height: calc(100vh - 56px);
250
- overflow-y: auto;
251
- }
252
- .sidebar-meta {
253
- margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 14px;
254
- display: grid; gap: 8px;
255
- }
256
- .sidebar-meta div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; }
257
- .sidebar-meta span { color: var(--dim); letter-spacing: 0.12em; font-size: 10px; }
258
- .run-zone { margin-top: 22px; }
259
- .progress { margin-top: 12px; }
260
- .progress-bar { height: 4px; background: var(--line-soft); }
261
- .progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.2s; }
262
- .progress-label { margin-top: 6px; }
263
- .strategy-box { margin-top: 22px; }
264
- .strategy-box p { margin: 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
265
-
266
- .dash-main { padding: 24px 28px 60px; min-width: 0; }
267
- .block { margin-bottom: 36px; }
268
- .block-head {
269
- display: flex; justify-content: space-between; align-items: baseline;
270
- margin-bottom: 12px;
271
- }
272
- .block-head .sec-label { margin-bottom: 0; }
273
- .two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
274
-
275
- /* ══════════ PRERUN ══════════ */
276
- .prerun { padding-top: 8px; }
277
- .prerun-box {
278
- border: 1px dashed var(--line);
279
- background: var(--surface);
280
- text-align: center;
281
- padding: 70px 30px;
282
- }
283
- .prerun-glyph { font-size: 44px; color: var(--line); margin-bottom: 18px; }
284
- .prerun-box h2 { font-family: var(--mono); font-size: 18px; letter-spacing: 0.2em; margin: 0 0 10px; }
285
- .prerun-box p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 26px; }
286
- .prerun-box .btn { width: auto; display: inline-block; padding: 12px 28px; }
287
-
288
- /* ══════════ METRICS ══════════ */
289
- .metrics {
290
- display: grid;
291
- grid-template-columns: repeat(4, 1fr);
292
- gap: 1px;
293
- background: var(--line);
294
- border: 1px solid var(--line);
295
- }
296
- .metric {
297
- background: var(--surface);
298
- padding: 16px 18px;
299
- position: relative;
300
- transition: background 0.12s;
301
- }
302
- .metric:hover { background: var(--surface-2); }
303
- .metric .m-label {
304
- font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
305
- color: var(--dim); margin-bottom: 10px;
306
- display: flex; justify-content: space-between;
307
- }
308
- .metric .m-value {
309
- font-family: var(--mono); font-size: 22px; font-weight: 700;
310
- letter-spacing: -0.01em;
311
- }
312
- .metric .m-sub { font-family: var(--mono); font-size: 10px; color: var(--dim); margin-top: 6px; }
313
- .metric.hero-m { background: var(--surface-2); }
314
- .metric.hero-m .m-value { font-size: 28px; }
315
- .m-up { color: var(--green); }
316
- .m-dn { color: var(--red); }
317
- .m-accent { color: var(--accent); }
318
-
319
- /* ══════════ CHART ══════════ */
320
- .chart-panel { padding: 10px 6px 6px 0; }
321
- .chart-wrap { width: 100%; }
322
- .chart-wrap svg { display: block; width: 100%; height: auto; }
323
- .chart-legend {
324
- display: flex; gap: 18px; padding: 0 14px 10px;
325
- font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em;
326
- }
327
- .chart-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
328
- .dot { display: inline-block; width: 8px; height: 8px; margin: 0 4px 0 10px; }
329
- .dot.up { background: var(--green); }
330
- .dot.dn { background: var(--red); }
331
- .legend { display: flex; align-items: center; }
332
- .legend .dot { margin-left: 14px; }
333
-
334
- /* ══════════ TABLES ══════════ */
335
- .table-wrap { padding: 0; overflow-x: auto; max-height: 520px; overflow-y: auto; }
336
- .table-wrap.short { max-height: 380px; }
337
- table.data {
338
- width: 100%; border-collapse: collapse;
339
- font-family: var(--mono); font-size: 11.5px;
340
- }
341
- table.data thead th {
342
- position: sticky; top: 0; z-index: 2;
343
- background: var(--surface-2);
344
- color: var(--dim);
345
- font-size: 9.5px; letter-spacing: 0.14em; font-weight: 600;
346
- text-align: right;
347
- padding: 10px 12px;
348
- border-bottom: 1px solid var(--line);
349
- white-space: nowrap;
350
- }
351
- table.data thead th:first-child, table.data td:first-child { text-align: left; }
352
- table.data tbody td {
353
- text-align: right;
354
- padding: 8px 12px;
355
- border-bottom: 1px solid var(--line-soft);
356
- color: var(--muted);
357
- white-space: nowrap;
358
- font-variant-numeric: tabular-nums;
359
- }
360
- table.data tbody tr { transition: background 0.1s; }
361
- table.data tbody tr:hover { background: var(--surface-2); }
362
- td.pos, .pos { color: var(--green); font-weight: 600; }
363
- td.neg, .neg { color: var(--red); font-weight: 600; }
364
- td.flat { color: var(--muted); }
365
- .tag {
366
- display: inline-block; padding: 2px 8px; font-size: 10px; letter-spacing: 0.08em;
367
- border: 1px solid var(--line);
368
- }
369
- .tag.TARGET { color: var(--green); border-color: rgba(47,214,123,0.4); background: var(--green-soft); }
370
- .tag.SL { color: var(--red); border-color: rgba(255,92,108,0.4); background: var(--red-soft); }
371
- .tag.NEXT_DAY_SQUAREOFF { color: var(--amber); border-color: rgba(255,179,71,0.4); background: rgba(255,179,71,0.1); }
372
- .tag.NO_DATA, .tag.NO_NEXT_DAY_DATA { color: var(--dim); }
373
-
374
- /* ══════════ REASON PANEL ══════════ */
375
- .reason-row { margin-bottom: 16px; }
376
- .reason-row:last-child { margin-bottom: 0; }
377
- .reason-top {
378
- display: flex; justify-content: space-between; align-items: center;
379
- margin-bottom: 8px;
380
- }
381
- .reason-top .tag { font-size: 11px; padding: 3px 10px; }
382
- .reason-count { font-family: var(--mono); font-size: 13px; font-weight: 600; }
383
- .reason-bar { height: 6px; background: var(--line-soft); }
384
- .reason-bar-fill { height: 100%; transition: width 0.6s ease; }
385
-
386
- /* ══════════ RULES / DOWNLOADS ══════════ */
387
- .rules { font-size: 12px; line-height: 2; color: var(--muted); }
388
- .rules b { color: var(--text); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
389
- .rules .r-group { margin-bottom: 14px; }
390
- .rules .r-group:last-child { margin-bottom: 0; }
391
- .rules span.val { font-family: var(--mono); color: var(--accent); }
392
- .downloads { display: grid; gap: 10px; }
393
- .export-note { margin: 4px 0 0; line-height: 1.6; }
394
-
395
- /* ══════════ TOAST ══════════ */
396
- .toast {
397
- position: fixed; bottom: 24px; right: 24px; z-index: 100;
398
- background: var(--surface-2); border: 1px solid var(--accent);
399
- color: var(--text); font-family: var(--mono); font-size: 12px;
400
- padding: 12px 18px;
401
- animation: toastIn 0.15s ease;
402
- }
403
- @keyframes toastIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
404
-
405
- /* ══════════ RESPONSIVE ══════════ */
406
- @media (max-width: 1080px) {
407
- .dash { grid-template-columns: 1fr; }
408
- .sidebar {
409
- position: static; max-height: none;
410
- border-right: none; border-bottom: 1px solid var(--line);
411
- }
412
- .two-col { grid-template-columns: 1fr; }
413
- .metrics { grid-template-columns: repeat(2, 1fr); }
414
- }
415
- @media (max-width: 760px) {
416
- .login-grid { grid-template-columns: 1fr; gap: 32px; padding: 36px 18px; }
417
- .facts { grid-template-columns: repeat(2, 1fr); }
418
- .facts li { border-bottom: 1px solid var(--line-soft); }
419
- .brand-sub { display: none; }
420
- .readout { display: none; }
421
- .dash-main { padding: 18px 14px 50px; }
422
- .flow-row { grid-template-columns: 44px 1fr auto; }
423
- .flow-tag { display: none; }
424
- }
425
- @media (max-width: 520px) {
426
- .metrics { grid-template-columns: 1fr; }
427
- .field-pair { grid-template-columns: 1fr; }
428
- }