Spaces:
Sleeping
Sleeping
File size: 9,375 Bytes
c993983 53db9b8 ab7559f c993983 53db9b8 c993983 53db9b8 c993983 53db9b8 c993983 53db9b8 ab7559f c993983 53db9b8 ab7559f 53db9b8 c993983 53db9b8 c993983 ab7559f c993983 ab7559f 53db9b8 c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 7c893d7 c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 ab7559f c993983 | 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 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 | @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
/* ββ Reset & base ββββββββββββββββββββββββββββββββββββββββ */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--sidebar-width: 260px;
--sidebar-collapsed-width: 64px;
--header-height: 48px;
/* HeatTransPlan Signature Brand Colors */
--primary: #2B589C;
--primary-hover: #1b3d73;
--primary-light: #F4F6FB;
--primary-gradient: linear-gradient(90deg, #2B589C 0%, #B4396E 50%, #E13945 100%);
--brand-red: #E13945;
--brand-magenta: #B4396E;
--danger: #EF4444;
--success: #10B981;
--warning: #F59E0B;
/* Core Surfaces - Azure Tinted */
--bg: #F8FAFC;
--surface: #FFFFFF;
--surface-hover: #F1F5F9;
--surface-active: #E2E8F0;
--surface-rgb: 255, 255, 255;
/* Typography - Deep Slate instead of Gray */
--text-main: #0F172A;
--text-muted: #64748B;
--text-on-primary: #FFFFFF;
/* Borders - Softer blue-gray */
--border: #E2E8F0;
--border-strong: #CBD5E1;
--radius-sm: 4px;
--radius: 8px;
--radius-lg: 12px;
/* Modern Layered Shadows */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
font-size: 13px;
}
.dark {
--primary: #60A5FA; /* Brighter blue for navy backgrounds */
--primary-hover: #93C5FD;
--primary-light: rgba(96, 165, 250, 0.1);
--primary-gradient: linear-gradient(90deg, #60A5FA 0%, #B4396E 50%, #E13945 100%);
--bg: #0F172A; /* Deep Navy Slate */
--surface: #1E293B; /* Lighter Slate Blue */
--surface-hover: #334155;
--surface-active: #475569;
--surface-rgb: 30, 41, 59;
--text-main: #F8FAFC;
--text-muted: #94A3B8;
--text-on-primary: #FFFFFF;
--border: #334155;
--border-strong: #475569;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
--shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.6);
}
body {
font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--text-main);
background: var(--bg);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a {
color: var(--primary);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: var(--primary-hover);
}
button {
cursor: pointer;
font-family: inherit;
}
/* ββ Utility classes ββββββββββββββββββββββββββββββββββββ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 2px; }
.gap-sm { gap: 4px; }
.gap-md { gap: 8px; }
.gap-lg { gap: 16px; }
.p-sm { padding: 4px; }
.p-md { padding: 8px; }
.p-lg { padding: 12px; }
.mt-sm { margin-top: 4px; }
.mt-md { margin-top: 8px; }
.mb-sm { margin-bottom: 4px; }
.mb-md { margin-bottom: 8px; }
/* ββ Card ββββββββββββββββββββββββββββββββββββββββββββββββ */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: 12px;
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
/* ββ Buttons ββββββββββββββββββββββββββββββββββββββββββββ */
.body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
top: 0 !important; /* Prevent Google Translate from pushing body down */
}
/* Hide Google Translate UI elements */
.skiptranslate iframe {
display: none !important;
}
body {
top: 0 !important;
}
.goog-te-combo {
display: none !important;
}
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--surface);
color: var(--text-main);
font-size: 13px;
font-weight: 500;
transition: all 0.1s ease-out;
}
.btn:hover {
background: var(--surface-hover);
border-color: var(--border-strong);
}
.btn:active {
background: var(--border);
transform: none;
}
.btn-primary {
background: var(--primary-gradient);
color: #fff;
border: none;
box-shadow: 0 2px 4px rgba(43, 88, 156, 0.2);
}
.btn-primary:hover {
background: linear-gradient(90deg, #1b3d73 0%, #902956 50%, #c42634 100%);
color: #fff;
box-shadow: 0 4px 8px rgba(43, 88, 156, 0.3);
}
.btn-danger {
background: var(--danger);
color: #fff;
border: none;
}
.btn-danger:hover {
background: #DC2626;
color: #fff;
}
.btn-sm {
padding: 4px 10px;
font-size: 12px;
border-radius: var(--radius-sm);
}
/* ββ Form controls ββββββββββββββββββββββββββββββββββββββ */
input[type='text'],
input[type='number'],
input[type='search'],
select,
textarea {
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 12px;
font-family: inherit;
background: var(--surface);
color: var(--text-main);
transition: border-color 0.15s;
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--primary-light);
}
label {
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.3px;
}
/* ββ Tables βββββββββββββββββββββββββββββββββββββββββββββ */
table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
th,
td {
padding: 10px 14px;
border-bottom: 1px solid var(--border);
text-align: left;
}
th {
background: var(--bg);
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
color: var(--text-muted);
}
tr:hover td {
background: var(--surface-hover);
}
/* ββ Tabs βββββββββββββββββββββββββββββββββββββββββββββββ */
.tabs {
display: flex;
border-bottom: 2px solid var(--border);
gap: 0;
}
.tab {
padding: 8px 16px;
border: none;
background: none;
font-size: 12px;
font-weight: 500;
color: var(--text-muted);
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: all 0.15s;
}
.tab:hover {
color: var(--text);
}
.tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
font-weight: 600;
}
/* ββ Collapsible sections βββββββββββββββββββββββββββββββ */
.collapsible-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
cursor: pointer;
user-select: none;
border-radius: var(--radius);
transition: background 0.15s;
}
.collapsible-header:hover {
background: var(--surface-hover);
}
.collapsible-arrow {
transition: transform 0.2s;
font-size: 10px;
}
.collapsible-arrow.open {
transform: rotate(90deg);
}
/* ββ Scrollbar ββββββββββββββββββββββββββββββββββββββββββ */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-strong);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* ββ Leaflet overrides ββββββββββββββββββββββββββββββββββ */
.leaflet-container {
border-radius: var(--radius);
border: 1px solid var(--border);
}
/* ββ Plotly overrides βββββββββββββββββββββββββββββββββββ */
.js-plotly-plot .plotly .modebar {
top: 4px !important;
right: 4px !important;
}
/* ββ Loading spinner ββββββββββββββββββββββββββββββββββββ */
.spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid var(--border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.6s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* ββ Toast / notification βββββββββββββββββββββββββββββββ */
.toast {
position: fixed;
bottom: 20px;
right: 20px;
padding: 10px 18px;
border-radius: var(--radius);
color: #fff;
font-size: 12px;
z-index: 10000;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
animation: slide-up 0.3s ease;
}
.toast.success {
background: var(--success);
}
.toast.error {
background: var(--danger);
}
.toast.warning {
background: var(--warning);
}
@keyframes slide-up {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
|