Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (96 loc) · 7.56 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (96 loc) · 7.56 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
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f1117; color: #e0e0e0; padding: 20px; }
.mi { font-family: 'Material Symbols Rounded'; font-size: inherit; vertical-align: middle; font-style: normal; }
td .mi { font-size: 1.1em; }
.rec-rank .mi { font-size: 1.6rem; color: #4a7cff; }
h1 { text-align: center; margin-bottom: 4px; font-size: 1.6rem; color: #fff; }
.subtitle { text-align: center; color: #888; margin-bottom: 20px; font-size: 0.9rem; }
/* Input panel */
.controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; padding: 16px; background: #1a1d27; border-radius: 10px; }
.control-group { display: flex; flex-direction: column; gap: 4px; }
.control-group label { font-size: 0.75rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }
.control-group select { background: #2a2d3a; color: #fff; border: 1px solid #444; border-radius: 6px; padding: 6px 10px; font-size: 0.9rem; }
.control-group input[type="number"] { background: #2a2d3a; color: #fff; border: 1px solid #444; border-radius: 6px; padding: 6px 10px; font-size: 0.9rem; width: 100%; }
button { background: #4a7cff; color: #fff; border: none; border-radius: 6px; padding: 10px 24px; font-size: 0.95rem; cursor: pointer; align-self: flex-end; font-weight: 600; }
button:hover { background: #3a6aee; }
/* Advanced panel */
.advanced-panel { background: #1a1d27; border-radius: 10px; margin-bottom: 24px; border: 1px solid #2a2d3a; }
.advanced-panel summary { padding: 14px 16px; cursor: pointer; color: #aaa; font-size: 0.9rem; font-weight: 600; }
.advanced-panel summary:hover { color: #fff; }
.advanced-panel[open] summary { border-bottom: 1px solid #2a2d3a; }
.advanced-panel[open] { padding-bottom: 16px; }
.advanced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 16px; }
.advanced-grid fieldset { border: 1px solid #2a2d3a; border-radius: 8px; padding: 12px; }
.advanced-grid legend { color: #4a7cff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 0 6px; }
.adv-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.adv-row label { font-size: 0.8rem; color: #aaa; }
.adv-row input { background: #2a2d3a; color: #fff; border: 1px solid #444; border-radius: 4px; padding: 4px 8px; width: 80px; text-align: right; font-size: 0.85rem; }
/* Charts grid */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.chart-card { background: #1a1d27; border-radius: 10px; padding: 16px; }
.chart-card h3 { font-size: 0.85rem; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
canvas { width: 100% !important; }
/* Strategy output */
.strategy-output { background: #1a1d27; border-radius: 10px; padding: 20px; }
.strategy-output h2 { font-size: 1.1rem; margin-bottom: 4px; }
.strategy-summary { display: flex; gap: 24px; margin: 12px 0 16px; flex-wrap: wrap; }
.stat { background: #2a2d3a; border-radius: 8px; padding: 12px 18px; }
.stat .val { font-size: 1.4rem; font-weight: 700; color: #4a7cff; }
.stat .lbl { font-size: 0.7rem; color: #888; text-transform: uppercase; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th { text-align: left; padding: 8px; border-bottom: 2px solid #333; color: #aaa; font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; }
td { padding: 6px 8px; border-bottom: 1px solid #222; }
tr:hover td { background: #22253a; }
.phase-warmup { border-left: 3px solid #f0ad4e; }
.phase-ramp { border-left: 3px solid #5bc0de; }
.phase-peak { border-left: 3px solid #5cb85c; }
.phase-fatigue { border-left: 3px solid #d9534f; }
@media (max-width: 800px) { .charts { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
#chartTimeline { min-height: 280px; }
.projections-section { padding: 10px; }
.live-section { padding: 12px; }
}
table { width: 100%; }
th.r, td.r { text-align: right; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Live Competition Mode */
.live-section { background: #1a1d27; border-radius: 10px; padding: 20px; margin-top: 24px; border: 1px solid #2a2d3a; }
.live-section h2 { font-size: 1.2rem; margin-bottom: 16px; }
.live-setup { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.live-setup input[type="time"] { background: #2a2d3a; color: #fff; border: 1px solid #444; border-radius: 6px; padding: 6px 10px; font-size: 0.9rem; }
.live-header { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.timer-display { text-align: center; min-width: 120px; }
.timer-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.timer-value { font-size: 2.4rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #5cb85c; }
.timer-warning { color: #f0ad4e; }
.timer-urgent { color: #d9534f; animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.log-form { background: #22253a; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.log-form h3 { font-size: 0.85rem; color: #aaa; text-transform: uppercase; margin-bottom: 10px; }
.log-inputs { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.log-inputs select { background: #2a2d3a; color: #fff; border: 1px solid #444; border-radius: 6px; padding: 6px 10px; font-size: 0.85rem; }
.grade-toggle { width: 80px; height: 30px; }
.grade-toggle input { display: none; }
.grade-toggle label { height: 100%; width: 100%; display: block; }
.gt-switch { cursor: pointer; width: 100%; height: 100%; position: relative; background: #444; color: #aaa; border-radius: 4px; padding: 2px; transition: background 0.3s; }
.gt-switch::before, .gt-switch::after { border-radius: 3px; height: calc(100% - 4px); width: calc(50% - 3px); display: flex; align-items: center; justify-content: center; position: absolute; font-size: 0.75rem; font-weight: 600; transition: all 0.3s; }
.gt-switch::before { background: #fff; color: #222; box-shadow: 0 1px 3px rgba(0,0,0,0.3); left: 2px; z-index: 1; content: attr(data-unchecked); }
.gt-switch::after { right: 2px; content: attr(data-checked); }
.grade-toggle input:checked + label .gt-switch { background: #444; }
.grade-toggle input:checked + label .gt-switch::after { left: 2px; right: auto; content: attr(data-unchecked); color: #aaa; }
.grade-toggle input:checked + label .gt-switch::before { left: calc(50% + 1px); content: attr(data-checked); color: #222; }
.recommendations { margin-bottom: 20px; }
.recommendations h3 { font-size: 0.85rem; color: #aaa; text-transform: uppercase; margin-bottom: 10px; }
.rec-card { display: flex; align-items: center; gap: 12px; background: #22253a; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; border-left: 3px solid #4a7cff; }
.rec-rank { font-size: 1.4rem; }
.rec-info { flex: 1; }
.rec-route { font-weight: 600; font-size: 1rem; }
.rec-detail { font-size: 0.8rem; color: #aaa; margin-top: 2px; }
.rec-ev { font-size: 1.1rem; font-weight: 700; color: #4a7cff; }
.climb-history h3 { font-size: 0.85rem; color: #aaa; text-transform: uppercase; margin-bottom: 10px; }
.projections-section { background: #1a1d27; border-radius: 10px; padding: 16px; margin-top: 20px; border: 1px solid #2a2d3a; }
.projections-section > h3 { font-size: 0.95rem; margin-bottom: 14px; }
.log-failed td { opacity: 0.5; }
.btn-sm { background: #444; color: #aaa; border: none; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; cursor: pointer; }
.btn-sm:hover { background: #d9534f; color: #fff; }