Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
222 lines (194 loc) · 4.32 KB
/
Copy pathstyle.css
File metadata and controls
222 lines (194 loc) · 4.32 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
:root {
--primary-dark: #1e272e;
--accent-red: #c0392b;
--accent-blue: #2980b9;
--bg-sidebar: #ffffff;
--border-muted: #dcdde1;
--text-main: #2f3640;
--text-muted: #7f8c8d;
}
body {
margin: 0; padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
display: flex;
color: var(--text-main);
background-color: #f5f6fa;
}
#map {
height: 100vh;
flex-grow: 1;
z-index: 1;
}
#side-panel {
width: 340px;
height: 100vh;
background: var(--bg-sidebar);
border-left: 1px solid var(--border-muted);
padding: 28px;
box-sizing: border-box;
overflow-y: auto;
z-index: 2;
}
/* Technical Floating UI */
.floating-ui {
position: absolute;
z-index: 1000;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(4px);
padding: 12px;
border-radius: 2px;
border: 1px solid var(--border-muted);
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
font-size: 11px;
font-weight: 500;
}
/* This targets the SVG path created by Leaflet */
/* Apply the uniform opacity to modified areas */
.modified-pc6 {
fill-opacity: 0.55 !important;
transition: fill-opacity 0.2s ease;
}
/* Ensure the SVG patterns are treated as fills by the browser */
path {
transition: fill 0.2s ease, stroke 0.2s ease;
}
/* SLIDERS */
.sidebar-controls {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid var(--border-muted);
}
.slider-unit {
margin-bottom: 20px;
}
.slider-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.slider-label {
font-size: 10px;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
}
.slider-pct {
font-size: 11px;
font-family: monospace;
font-weight: 600;
color: var(--primary-dark);
background: #eee;
padding: 2px 6px;
border-radius: 3px;
}
input[type="range"].side-slider {
width: 100%;
accent-color: var(--primary-dark);
cursor: ew-resize;
}
/* SEARCH BOX ON TOP */
#search-box {
top: 20px;
left: 60px; /* Same left as controls */
display: flex;
gap: 8px;
}
/* CONTROLS SELECTION BELOW */
#controls {
top: 80px; /* Pushed down to clear the search box */
left: 60px;
}
input[type="text"] {
border: 1px solid var(--border-muted);
padding: 6px 10px;
border-radius: 2px;
font-size: 11px;
width: 120px;
outline: none;
}
button {
background: var(--primary-dark);
color: white;
border: none;
padding: 6px 14px;
border-radius: 2px;
cursor: pointer;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.5px;
}
/* Column Layout for Comparison */
.data-grid {
display: grid;
grid-template-columns: 1fr 1fr; /* Two equal columns */
gap: 20px;
margin-bottom: 30px;
}
.column-header {
font-size: 9px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 12px;
border-bottom: 1px solid var(--border-muted);
padding-bottom: 4px;
}
/* Hide the simulated column by default */
.sim-column {
opacity: 0;
transition: opacity 0.3s ease;
}
.sim-column.active {
opacity: 1;
}
.sim-value {
color: var(--accent-red); /* Highlight simulated changes */
}
/* Sidebar Typography */
.pc6-header {
font-size: 20px;
font-weight: 700;
color: var(--primary-dark);
margin-bottom: 30px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-muted);
}
.data-group { margin-bottom: 24px; }
.data-label {
font-size: 10px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.8px;
margin-bottom: 6px;
}
.data-value {
font-size: 16px;
font-weight: 600;
color: var(--primary-dark);
font-variant-numeric: tabular-nums;
}
.placeholder-text {
font-size: 12px;
color: var(--text-muted);
text-align: center;
margin-top: 80px;
line-height: 1.8;
}
/* Legend Enhancement */
.info.legend {
background: white;
padding: 12px;
border: 1px solid var(--border-muted);
font-size: 10px;
line-height: 1.6;
border-radius: 2px;
}
.info.legend i {
width: 12px;
height: 12px;
float: left;
margin-right: 8px;
opacity: 0.6;
}