Diff -- /var/www/vhosts/3dshawn.com/site1/assets/styles/drift_sense.css
Diff
/var/www/vhosts/3dshawn.com/site1/assets/styles/drift_sense.css
modified on local at 2026-07-12 00:48:45
Added
+80
lines
Removed
-0
lines
Context
542
unchanged
Blobs
from 1369c2c778fe
to d2605008feac
to d2605008feac
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | 1 | /* ========================================================================= |
| 2 | 2 | * DriftSense -- design system + component styles |
| 3 | 3 | * ------------------------------------------------------------------------- |
| 4 | 4 | * Palette: midnight navy background + steel-teal primary + amber warnings. |
| 5 | 5 | * Distinct from every portfolio site (cyan/indigo/violet/emerald/burgundy/amber) |
| 6 | 6 | * -- reads as "watchtower / observatory / cool precision instrument." |
| 7 | 7 | * ========================================================================= */ |
| 8 | 8 | |
| 9 | 9 | :root { |
| 10 | 10 | /* Backgrounds -- deep, cool, with subtle blue tint */ |
| 11 | 11 | --bg-0: #030710; |
| 12 | 12 | --bg-1: #0a1220; |
| 13 | 13 | --bg-2: #131e30; |
| 14 | 14 | --bg-3: #1a2740; |
| 15 | 15 | --bg-panel: linear-gradient(180deg, #131e30 0%, #0a1220 100%); |
| 16 | 16 | |
| 17 | 17 | /* Borders */ |
| 18 | 18 | --border: #223050; |
| 19 | 19 | --border-hi: #2d3d5f; |
| 20 | 20 | --border-focus: #14b8a6; |
| 21 | 21 | |
| 22 | 22 | /* Text */ |
| 23 | 23 | --text: #e5edf5; |
| 24 | 24 | --text-dim: #96a3b8; |
| 25 | 25 | --text-muted: #6a7a94; |
| 26 | 26 | |
| 27 | 27 | /* Accents */ |
| 28 | 28 | --accent: #14b8a6; /* Teal -- primary, "sense" color */ |
| 29 | 29 | --accent-hi: #2dd4bf; |
| 30 | 30 | --accent-deep: #0f766e; |
| 31 | 31 | --accent-glow: rgba(20, 184, 166, 0.35); |
| 32 | 32 | |
| 33 | 33 | --accent-warn: #f59e0b; /* Amber -- drift alert */ |
| 34 | 34 | --accent-warn-hi: #fbbf24; |
| 35 | 35 | |
| 36 | 36 | --accent-danger: #f43f5e; /* Rose -- critical */ |
| 37 | 37 | --accent-danger-hi: #fb7185; |
| 38 | 38 | |
| 39 | 39 | --accent-ok: #34d399; /* Emerald -- clean baseline */ |
| 40 | 40 | --accent-ok-hi: #6ee7b7; |
| 41 | 41 | |
| 42 | 42 | --accent-info: #38bdf8; /* Sky-blue -- info notices */ |
| 43 | 43 | |
| 44 | 44 | /* Typography */ |
| 45 | 45 | --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace; |
| 46 | 46 | --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| 47 | 47 | |
| 48 | 48 | /* Sizing */ |
| 49 | 49 | --radius: 12px; |
| 50 | 50 | --radius-sm: 8px; |
| 51 | 51 | --radius-pill: 999px; |
| 52 | 52 | --sidebar-w: 240px; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | * { box-sizing: border-box; } |
| 56 | 56 | html, body { margin: 0; padding: 0; } |
| 57 | 57 | body { |
| 58 | 58 | font-family: var(--sans); |
| 59 | 59 | color: var(--text); |
| 60 | 60 | background: var(--bg-0); |
| 61 | 61 | background-image: |
| 62 | 62 | radial-gradient(ellipse 1000px 600px at 15% 0%, rgba(20, 184, 166, 0.10), transparent 65%), |
| 63 | 63 | radial-gradient(ellipse 900px 500px at 90% 100%, rgba(56, 189, 248, 0.08), transparent 65%); |
| 64 | 64 | background-attachment: fixed; |
| 65 | 65 | line-height: 1.6; |
| 66 | 66 | -webkit-font-smoothing: antialiased; |
| 67 | 67 | min-height: 100vh; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /* ========================================================================= |
| 71 | 71 | * APP SHELL -- sidebar + main |
| 72 | 72 | * ========================================================================= */ |
| 73 | 73 | .app { |
| 74 | 74 | display: grid; |
| 75 | 75 | grid-template-columns: var(--sidebar-w) 1fr; |
| 76 | 76 | min-height: 100vh; |
| 77 | 77 | } |
| 78 | 78 | @media (max-width: 780px) { |
| 79 | 79 | .app { grid-template-columns: 1fr; } |
| 80 | 80 | .sidebar { display: none; } |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /* Sidebar */ |
| 84 | 84 | .sidebar { |
| 85 | 85 | background: linear-gradient(180deg, #0a1220 0%, #050810 100%); |
| 86 | 86 | border-right: 1px solid var(--border); |
| 87 | 87 | padding: 20px 0; |
| 88 | 88 | position: sticky; top: 0; |
| 89 | 89 | height: 100vh; |
| 90 | 90 | overflow-y: auto; |
| 91 | 91 | } |
| 92 | 92 | .sidebar-brand { |
| 93 | 93 | padding: 8px 20px 20px; |
| 94 | 94 | display: flex; |
| 95 | 95 | align-items: center; |
| 96 | 96 | gap: 12px; |
| 97 | 97 | text-decoration: none; |
| 98 | 98 | color: var(--text); |
| 99 | 99 | border-bottom: 1px solid var(--border); |
| 100 | 100 | margin-bottom: 12px; |
| 101 | 101 | } |
| 102 | 102 | .sidebar-brand .logo { |
| 103 | 103 | width: 38px; height: 38px; |
| 104 | 104 | border-radius: 10px; |
| 105 | 105 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); |
| 106 | 106 | display: grid; place-items: center; |
| 107 | 107 | color: #030710; |
| 108 | 108 | font-family: var(--mono); |
| 109 | 109 | font-weight: 800; |
| 110 | 110 | font-size: 14px; |
| 111 | 111 | box-shadow: 0 4px 14px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15); |
| 112 | 112 | } |
| 113 | 113 | .sidebar-brand .name { |
| 114 | 114 | font-weight: 700; |
| 115 | 115 | font-size: 15px; |
| 116 | 116 | letter-spacing: -0.01em; |
| 117 | 117 | } |
| 118 | 118 | .sidebar-brand .name .accent { color: var(--accent-hi); } |
| 119 | 119 | .sidebar-brand .role { |
| 120 | 120 | font-size: 10px; |
| 121 | 121 | letter-spacing: 1.6px; |
| 122 | 122 | text-transform: uppercase; |
| 123 | 123 | color: var(--text-muted); |
| 124 | 124 | font-weight: 700; |
| 125 | 125 | margin-top: 2px; |
| 126 | 126 | } |
| 127 | 127 | .sidebar-section-label { |
| 128 | 128 | font-size: 10.5px; |
| 129 | 129 | letter-spacing: 1.6px; |
| 130 | 130 | text-transform: uppercase; |
| 131 | 131 | color: var(--text-muted); |
| 132 | 132 | font-weight: 700; |
| 133 | 133 | padding: 12px 20px 6px; |
| 134 | 134 | } |
| 135 | 135 | .sidebar-link { |
| 136 | 136 | display: flex; |
| 137 | 137 | align-items: center; |
| 138 | 138 | gap: 11px; |
| 139 | 139 | padding: 9px 20px; |
| 140 | 140 | color: var(--text-dim); |
| 141 | 141 | text-decoration: none; |
| 142 | 142 | font-size: 13.5px; |
| 143 | 143 | border-left: 2px solid transparent; |
| 144 | 144 | transition: color .12s ease, background .12s ease, border-left-color .12s ease; |
| 145 | 145 | } |
| 146 | 146 | .sidebar-link svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: 0.85; } |
| 147 | 147 | .sidebar-link:hover { color: var(--text); background: rgba(255,255,255,.02); } |
| 148 | 148 | .sidebar-link.active { |
| 149 | 149 | color: var(--accent-hi); |
| 150 | 150 | background: linear-gradient(90deg, rgba(20, 184, 166, .12), transparent 90%); |
| 151 | 151 | border-left-color: var(--accent); |
| 152 | 152 | } |
| 153 | 153 | .sidebar-link.active svg { opacity: 1; } |
| 154 | ||
| 155 | /* Trend arrows on KPI tiles (Wave 5) */ | |
| 156 | .ds-trend { | |
| 157 | display: inline-flex; | |
| 158 | align-items: center; | |
| 159 | gap: 3px; | |
| 160 | padding: 2px 8px; | |
| 161 | border-radius: 999px; | |
| 162 | font-size: 10.5px; | |
| 163 | font-weight: 700; | |
| 164 | letter-spacing: 0.3px; | |
| 165 | vertical-align: 3px; | |
| 166 | margin-left: 8px; | |
| 167 | } | |
| 168 | .ds-trend.ds-trend-up { | |
| 169 | background: rgba(52, 211, 153, .14); | |
| 170 | color: #86efac; | |
| 171 | border: 1px solid rgba(52, 211, 153, .35); | |
| 172 | } | |
| 173 | .ds-trend.ds-trend-down { | |
| 174 | background: rgba(244, 63, 94, .14); | |
| 175 | color: #fda4af; | |
| 176 | border: 1px solid rgba(244, 63, 94, .35); | |
| 177 | } | |
| 178 | .ds-trend.ds-trend-flat { | |
| 179 | background: rgba(148, 163, 184, .14); | |
| 180 | color: var(--text-dim); | |
| 181 | border: 1px solid rgba(148, 163, 184, .30); | |
| 182 | } | |
| 183 | .ds-trend svg { | |
| 184 | width: 10px; height: 10px; | |
| 185 | } | |
| 186 | ||
| 187 | /* Site links in sidebar (Wave 5) */ | |
| 188 | .ds-site-link { | |
| 189 | font-size: 12.5px; | |
| 190 | padding: 6px 20px 6px 20px; | |
| 191 | } | |
| 192 | .ds-site-badge { | |
| 193 | display: inline-grid; | |
| 194 | place-items: center; | |
| 195 | width: 22px; height: 22px; | |
| 196 | border-radius: 6px; | |
| 197 | background: linear-gradient(135deg, rgba(20, 184, 166, .18), rgba(6, 78, 74, .12)); | |
| 198 | border: 1px solid rgba(20, 184, 166, .25); | |
| 199 | color: var(--accent-hi); | |
| 200 | font-size: 9.5px; | |
| 201 | font-weight: 800; | |
| 202 | letter-spacing: 0; | |
| 203 | flex: 0 0 auto; | |
| 204 | } | |
| 205 | .ds-site-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| 206 | .ds-site-dot { | |
| 207 | width: 8px; height: 8px; border-radius: 50%; | |
| 208 | flex: 0 0 auto; | |
| 209 | background: #334155; | |
| 210 | } | |
| 211 | .ds-site-dot.ds-dot-live { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.6); } | |
| 212 | .ds-site-dot.ds-dot-warm { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.5); } | |
| 213 | .ds-site-dot.ds-dot-hot { background: #f43f5e; box-shadow: 0 0 8px rgba(244,63,94,.7); } | |
| 214 | .ds-site-dot.ds-dot-quiet { background: #334155; } | |
| 215 | ||
| 216 | /* Stable release links in sidebar (Wave 5) */ | |
| 217 | .ds-stable-link { | |
| 218 | font-size: 12.5px; | |
| 219 | padding: 6px 20px; | |
| 220 | } | |
| 221 | .ds-stable-tag { | |
| 222 | display: inline-grid; | |
| 223 | place-items: center; | |
| 224 | width: 20px; height: 20px; | |
| 225 | border-radius: 5px; | |
| 226 | background: linear-gradient(135deg, #34d399, #0f766e); | |
| 227 | color: #052e2b; | |
| 228 | font-size: 10.5px; | |
| 229 | font-weight: 900; | |
| 230 | flex: 0 0 auto; | |
| 231 | box-shadow: 0 0 0 1px rgba(52,211,153,.35); | |
| 232 | } | |
| 233 | .ds-stable-link:hover .ds-stable-tag { box-shadow: 0 0 12px rgba(52,211,153,.7); } | |
| 154 | 234 | |
| 155 | 235 | /* Main content area */ |
| 156 | 236 | .app-main { min-width: 0; } |
| 157 | 237 | .topbar { |
| 158 | 238 | padding: 16px 32px; |
| 159 | 239 | border-bottom: 1px solid var(--border); |
| 160 | 240 | display: flex; |
| 161 | 241 | align-items: center; |
| 162 | 242 | gap: 16px; |
| 163 | 243 | background: rgba(10, 18, 32, 0.5); |
| 164 | 244 | backdrop-filter: blur(8px); |
| 165 | 245 | position: sticky; top: 0; z-index: 10; |
| 166 | 246 | } |
| 167 | 247 | .topbar h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .3px; } |
| 168 | 248 | .topbar-spacer { flex: 1; } |
| 169 | 249 | .topbar-user { |
| 170 | 250 | display: flex; |
| 171 | 251 | align-items: center; |
| 172 | 252 | gap: 10px; |
| 173 | 253 | padding: 5px 12px 5px 5px; |
| 174 | 254 | background: var(--bg-2); |
| 175 | 255 | border: 1px solid var(--border); |
| 176 | 256 | border-radius: var(--radius-pill); |
| 177 | 257 | font-size: 12.5px; |
| 178 | 258 | } |
| 179 | 259 | .topbar-user .initials { |
| 180 | 260 | width: 26px; height: 26px; |
| 181 | 261 | border-radius: 50%; |
| 182 | 262 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); |
| 183 | 263 | color: #030710; |
| 184 | 264 | display: grid; place-items: center; |
| 185 | 265 | font-size: 11px; font-weight: 700; |
| 186 | 266 | font-family: var(--mono); |
| 187 | 267 | } |
| 188 | 268 | |
| 189 | 269 | .app-content { |
| 190 | 270 | padding: 32px 40px 96px; |
| 191 | 271 | max-width: 1400px; |
| 192 | 272 | } |
| 193 | 273 | |
| 194 | 274 | /* ========================================================================= |
| 195 | 275 | * PAGE HEAD |
| 196 | 276 | * ========================================================================= */ |
| 197 | 277 | .page-head { margin-bottom: 32px; } |
| 198 | 278 | .page-eyebrow { |
| 199 | 279 | display: inline-flex; |
| 200 | 280 | align-items: center; |
| 201 | 281 | gap: 8px; |
| 202 | 282 | font-size: 10.5px; |
| 203 | 283 | letter-spacing: 1.8px; |
| 204 | 284 | text-transform: uppercase; |
| 205 | 285 | color: var(--accent-hi); |
| 206 | 286 | font-weight: 700; |
| 207 | 287 | padding: 5px 12px; |
| 208 | 288 | background: rgba(20, 184, 166, .10); |
| 209 | 289 | border: 1px solid rgba(20, 184, 166, .30); |
| 210 | 290 | border-radius: var(--radius-pill); |
| 211 | 291 | margin-bottom: 14px; |
| 212 | 292 | text-decoration: none; |
| 213 | 293 | } |
| 214 | 294 | .page-eyebrow .dot { |
| 215 | 295 | width: 6px; height: 6px; border-radius: 50%; |
| 216 | 296 | background: var(--accent-hi); |
| 217 | 297 | box-shadow: 0 0 10px var(--accent-hi); |
| 218 | 298 | } |
| 219 | 299 | .page-title { |
| 220 | 300 | margin: 0 0 8px; |
| 221 | 301 | font-size: 32px; |
| 222 | 302 | font-weight: 800; |
| 223 | 303 | letter-spacing: -0.02em; |
| 224 | 304 | background: linear-gradient(135deg, #fff 0%, #cbd5e1 60%, var(--accent-hi) 100%); |
| 225 | 305 | -webkit-background-clip: text; |
| 226 | 306 | background-clip: text; |
| 227 | 307 | color: transparent; |
| 228 | 308 | } |
| 229 | 309 | .page-subtitle { |
| 230 | 310 | color: var(--text-dim); |
| 231 | 311 | font-size: 14.5px; |
| 232 | 312 | max-width: 780px; |
| 233 | 313 | margin: 0; |
| 234 | 314 | } |
| 235 | 315 | |
| 236 | 316 | /* ========================================================================= |
| 237 | 317 | * MODULES / CARDS |
| 238 | 318 | * ========================================================================= */ |
| 239 | 319 | .dash-grid { |
| 240 | 320 | display: grid; |
| 241 | 321 | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); |
| 242 | 322 | gap: 16px; |
| 243 | 323 | margin-bottom: 20px; |
| 244 | 324 | } |
| 245 | 325 | .module { |
| 246 | 326 | background: var(--bg-panel); |
| 247 | 327 | border: 1px solid var(--border); |
| 248 | 328 | border-radius: var(--radius); |
| 249 | 329 | overflow: hidden; |
| 250 | 330 | transition: border-color .15s ease, box-shadow .15s ease; |
| 251 | 331 | } |
| 252 | 332 | .module:hover { border-color: var(--border-hi); } |
| 253 | 333 | .module-head { |
| 254 | 334 | padding: 12px 16px; |
| 255 | 335 | border-bottom: 1px solid var(--border); |
| 256 | 336 | display: flex; |
| 257 | 337 | align-items: center; |
| 258 | 338 | justify-content: space-between; |
| 259 | 339 | gap: 12px; |
| 260 | 340 | background: rgba(20, 184, 166, .03); |
| 261 | 341 | } |
| 262 | 342 | .module-head .left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } |
| 263 | 343 | .module-icon { |
| 264 | 344 | width: 26px; height: 26px; |
| 265 | 345 | border-radius: 7px; |
| 266 | 346 | display: grid; place-items: center; |
| 267 | 347 | color: var(--accent-hi); |
| 268 | 348 | background: rgba(20, 184, 166, .10); |
| 269 | 349 | border: 1px solid rgba(20, 184, 166, .30); |
| 270 | 350 | } |
| 271 | 351 | .module-title { font-size: 13px; font-weight: 700; letter-spacing: .3px; } |
| 272 | 352 | .module-subtitle { |
| 273 | 353 | font-size: 11.5px; |
| 274 | 354 | font-weight: 400; |
| 275 | 355 | color: #b8c5d6; |
| 276 | 356 | margin-left: 8px; |
| 277 | 357 | padding-left: 10px; |
| 278 | 358 | border-left: 1px solid var(--border); |
| 279 | 359 | line-height: 1.35; |
| 280 | 360 | } |
| 281 | 361 | .module-body { padding: 16px; } |
| 282 | 362 | .module-body.tight { padding: 0; } |
| 283 | 363 | |
| 284 | 364 | /* Module glow variants */ |
| 285 | 365 | .module.glow-teal { box-shadow: 0 0 0 1px rgba(20, 184, 166, .20), 0 0 26px rgba(20, 184, 166, .10); } |
| 286 | 366 | .module.glow-amber { box-shadow: 0 0 0 1px rgba(245, 158, 11, .20), 0 0 26px rgba(245, 158, 11, .10); } |
| 287 | 367 | .module.glow-rose { box-shadow: 0 0 0 1px rgba(244, 63, 94, .20), 0 0 26px rgba(244, 63, 94, .10); } |
| 288 | 368 | .module.glow-emerald{ box-shadow: 0 0 0 1px rgba(52, 211, 153, .20), 0 0 26px rgba(52, 211, 153, .10); } |
| 289 | 369 | .module.glow-sky { box-shadow: 0 0 0 1px rgba(56, 189, 248, .20), 0 0 26px rgba(56, 189, 248, .10); } |
| 290 | 370 | |
| 291 | 371 | /* ========================================================================= |
| 292 | 372 | * KPI TILES |
| 293 | 373 | * ========================================================================= */ |
| 294 | 374 | .kpi { padding: 20px 22px; } |
| 295 | 375 | .kpi .num { |
| 296 | 376 | font-size: 34px; |
| 297 | 377 | font-weight: 800; |
| 298 | 378 | letter-spacing: -0.02em; |
| 299 | 379 | line-height: 1.1; |
| 300 | 380 | font-variant-numeric: tabular-nums; |
| 301 | 381 | } |
| 302 | 382 | .kpi .lbl { |
| 303 | 383 | font-size: 11px; |
| 304 | 384 | letter-spacing: 1.6px; |
| 305 | 385 | text-transform: uppercase; |
| 306 | 386 | color: var(--text-muted); |
| 307 | 387 | font-weight: 700; |
| 308 | 388 | margin-top: 6px; |
| 309 | 389 | } |
| 310 | 390 | .kpi .sub { font-size: 12px; color: var(--text-dim); margin-top: 10px; } |
| 311 | 391 | .kpi-teal .num { color: var(--accent-hi); text-shadow: 0 0 24px rgba(20, 184, 166, .35); } |
| 312 | 392 | .kpi-amber .num { color: var(--accent-warn-hi); text-shadow: 0 0 24px rgba(245, 158, 11, .30); } |
| 313 | 393 | .kpi-rose .num { color: var(--accent-danger-hi); text-shadow: 0 0 24px rgba(244, 63, 94, .30); } |
| 314 | 394 | .kpi-emerald .num { color: var(--accent-ok-hi); text-shadow: 0 0 24px rgba(52, 211, 153, .30); } |
| 315 | 395 | .kpi-sky .num { color: var(--accent-info); text-shadow: 0 0 24px rgba(56, 189, 248, .30); } |
| 316 | 396 | |
| 317 | 397 | /* ========================================================================= |
| 318 | 398 | * PILLS + STATUS BADGES |
| 319 | 399 | * ========================================================================= */ |
| 320 | 400 | .pill { |
| 321 | 401 | display: inline-flex; |
| 322 | 402 | align-items: center; |
| 323 | 403 | padding: 3px 9px; |
| 324 | 404 | border-radius: var(--radius-pill); |
| 325 | 405 | font-size: 10.5px; |
| 326 | 406 | letter-spacing: .6px; |
| 327 | 407 | text-transform: uppercase; |
| 328 | 408 | font-weight: 700; |
| 329 | 409 | border: 1px solid var(--border); |
| 330 | 410 | } |
| 331 | 411 | .pill-ok { background: rgba(52, 211, 153, .10); color: #a7f3d0; border-color: rgba(52, 211, 153, .35); } |
| 332 | 412 | .pill-warn { background: rgba(245, 158, 11, .10); color: var(--accent-warn-hi); border-color: rgba(245, 158, 11, .35); } |
| 333 | 413 | .pill-bad { background: rgba(244, 63, 94, .10); color: var(--accent-danger-hi); border-color: rgba(244, 63, 94, .35); } |
| 334 | 414 | .pill-info { background: rgba(56, 189, 248, .10); color: var(--accent-info); border-color: rgba(56, 189, 248, .35); } |
| 335 | 415 | .pill-mute { background: rgba(255,255,255,.03); color: var(--text-dim); } |
| 336 | 416 | |
| 337 | 417 | /* ========================================================================= |
| 338 | 418 | * TABLES |
| 339 | 419 | * ========================================================================= */ |
| 340 | 420 | .tbl { width: 100%; border-collapse: collapse; font-size: 13px; } |
| 341 | 421 | .tbl th { |
| 342 | 422 | text-align: left; |
| 343 | 423 | padding: 10px 14px; |
| 344 | 424 | font-size: 10.5px; |
| 345 | 425 | letter-spacing: 1.4px; |
| 346 | 426 | text-transform: uppercase; |
| 347 | 427 | color: var(--text-muted); |
| 348 | 428 | font-weight: 700; |
| 349 | 429 | border-bottom: 1px solid var(--border); |
| 350 | 430 | background: rgba(255,255,255,.02); |
| 351 | 431 | } |
| 352 | 432 | .tbl td { |
| 353 | 433 | padding: 12px 14px; |
| 354 | 434 | border-bottom: 1px solid rgba(255,255,255,.03); |
| 355 | 435 | vertical-align: middle; |
| 356 | 436 | } |
| 357 | 437 | .tbl tr:hover td { background: rgba(255,255,255,.02); } |
| 358 | 438 | .tbl .mono { font-family: var(--mono); font-size: 12.5px; } |
| 359 | 439 | .tbl .dim { color: var(--text-dim); } |
| 360 | 440 | |
| 361 | 441 | /* ========================================================================= |
| 362 | 442 | * CHIP RANGE PICKER (portfolio-canonical .tr-chip pattern) |
| 363 | 443 | * ========================================================================= */ |
| 364 | 444 | .tr-chip { |
| 365 | 445 | display: inline-flex; |
| 366 | 446 | align-items: center; |
| 367 | 447 | padding: 5px 12px; |
| 368 | 448 | border-radius: var(--radius-pill); |
| 369 | 449 | font-size: 12px; |
| 370 | 450 | font-weight: 600; |
| 371 | 451 | color: var(--text-muted); |
| 372 | 452 | text-decoration: none; |
| 373 | 453 | background: transparent; |
| 374 | 454 | border: 1px solid var(--border); |
| 375 | 455 | cursor: pointer; |
| 376 | 456 | transition: all .15s ease; |
| 377 | 457 | font-family: inherit; |
| 378 | 458 | } |
| 379 | 459 | .tr-chip:hover { color: var(--text); border-color: var(--accent); } |
| 380 | 460 | .tr-chip.is-active { |
| 381 | 461 | background: var(--accent); |
| 382 | 462 | color: #0a1220; |
| 383 | 463 | border-color: var(--accent); |
| 384 | 464 | } |
| 385 | 465 | .range-bar { |
| 386 | 466 | display: flex; |
| 387 | 467 | flex-wrap: wrap; |
| 388 | 468 | align-items: center; |
| 389 | 469 | gap: 8px; |
| 390 | 470 | padding: 10px 14px; |
| 391 | 471 | background: var(--bg-2); |
| 392 | 472 | border: 1px solid var(--border); |
| 393 | 473 | border-radius: var(--radius); |
| 394 | 474 | margin-bottom: 16px; |
| 395 | 475 | } |
| 396 | 476 | .range-bar .rb-label { |
| 397 | 477 | font-size: 11px; |
| 398 | 478 | letter-spacing: 1.4px; |
| 399 | 479 | text-transform: uppercase; |
| 400 | 480 | color: var(--text-muted); |
| 401 | 481 | font-weight: 700; |
| 402 | 482 | } |
| 403 | 483 | .range-bar input[type="text"], |
| 404 | 484 | .range-bar input[type="datetime-local"] { |
| 405 | 485 | background: var(--bg-1); |
| 406 | 486 | color: var(--text); |
| 407 | 487 | border: 1px solid var(--border); |
| 408 | 488 | border-radius: var(--radius-sm); |
| 409 | 489 | padding: 5px 10px; |
| 410 | 490 | font-size: 12.5px; |
| 411 | 491 | font-family: inherit; |
| 412 | 492 | } |
| 413 | 493 | .range-bar input[type="text"]:focus, |
| 414 | 494 | .range-bar input[type="datetime-local"]:focus { |
| 415 | 495 | outline: none; |
| 416 | 496 | border-color: var(--accent); |
| 417 | 497 | } |
| 418 | 498 | |
| 419 | 499 | /* ========================================================================= |
| 420 | 500 | * CHART TOOLTIP (activity timeline etc.) |
| 421 | 501 | * ========================================================================= */ |
| 422 | 502 | .chart-tooltip { |
| 423 | 503 | position: fixed; |
| 424 | 504 | z-index: 9999; |
| 425 | 505 | pointer-events: none; |
| 426 | 506 | background: var(--bg-3); |
| 427 | 507 | border: 1px solid var(--accent); |
| 428 | 508 | border-radius: var(--radius-sm); |
| 429 | 509 | padding: 8px 12px; |
| 430 | 510 | font-size: 12px; |
| 431 | 511 | color: var(--text); |
| 432 | 512 | box-shadow: 0 8px 24px rgba(0,0,0,0.5); |
| 433 | 513 | min-width: 160px; |
| 434 | 514 | transform: translate(-50%, calc(-100% - 10px)); |
| 435 | 515 | opacity: 0; |
| 436 | 516 | transition: opacity .1s ease; |
| 437 | 517 | } |
| 438 | 518 | .chart-tooltip.on { opacity: 1; } |
| 439 | 519 | .chart-tooltip .ct-date { |
| 440 | 520 | font-family: var(--mono); |
| 441 | 521 | font-size: 11px; |
| 442 | 522 | color: var(--text-muted); |
| 443 | 523 | letter-spacing: 0.5px; |
| 444 | 524 | margin-bottom: 4px; |
| 445 | 525 | } |
| 446 | 526 | .chart-tooltip .ct-row { |
| 447 | 527 | display: flex; |
| 448 | 528 | align-items: center; |
| 449 | 529 | gap: 6px; |
| 450 | 530 | line-height: 1.5; |
| 451 | 531 | } |
| 452 | 532 | .chart-tooltip .ct-swatch { |
| 453 | 533 | width: 9px; height: 9px; border-radius: 2px; display: inline-block; |
| 454 | 534 | } |
| 455 | 535 | .chart-tooltip .ct-hint { |
| 456 | 536 | margin-top: 4px; |
| 457 | 537 | font-size: 10.5px; |
| 458 | 538 | color: var(--text-muted); |
| 459 | 539 | font-style: italic; |
| 460 | 540 | } |
| 461 | 541 | |
| 462 | 542 | /* ========================================================================= |
| 463 | 543 | * BUTTONS |
| 464 | 544 | * ========================================================================= */ |
| 465 | 545 | .btn { |
| 466 | 546 | display: inline-flex; |
| 467 | 547 | align-items: center; |
| 468 | 548 | gap: 6px; |
| 469 | 549 | padding: 8px 16px; |
| 470 | 550 | background: var(--accent); |
| 471 | 551 | color: #030710; |
| 472 | 552 | border: none; |
| 473 | 553 | border-radius: var(--radius-pill); |
| 474 | 554 | font-family: inherit; |
| 475 | 555 | font-size: 12.5px; |
| 476 | 556 | font-weight: 700; |
| 477 | 557 | cursor: pointer; |
| 478 | 558 | text-decoration: none; |
| 479 | 559 | transition: transform .1s ease, box-shadow .1s ease, background .12s ease; |
| 480 | 560 | } |
| 481 | 561 | .btn:hover { background: var(--accent-hi); box-shadow: 0 4px 14px var(--accent-glow); transform: translateY(-1px); } |
| 482 | 562 | .btn-secondary { |
| 483 | 563 | background: transparent; |
| 484 | 564 | color: var(--text); |
| 485 | 565 | border: 1px solid var(--border); |
| 486 | 566 | } |
| 487 | 567 | .btn-secondary:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent-hi); } |
| 488 | 568 | .btn-danger { background: var(--accent-danger); } |
| 489 | 569 | .btn-danger:hover { background: var(--accent-danger-hi); box-shadow: 0 4px 14px rgba(244, 63, 94, .35); } |
| 490 | 570 | |
| 491 | 571 | /* ========================================================================= |
| 492 | 572 | * FORMS |
| 493 | 573 | * ========================================================================= */ |
| 494 | 574 | input[type=text], input[type=email], input[type=password], input[type=number], |
| 495 | 575 | input[type=date], input[type=datetime-local], textarea, select { |
| 496 | 576 | background: var(--bg-2); |
| 497 | 577 | color: var(--text); |
| 498 | 578 | border: 1px solid var(--border); |
| 499 | 579 | border-radius: var(--radius-sm); |
| 500 | 580 | padding: 8px 12px; |
| 501 | 581 | font-family: inherit; |
| 502 | 582 | font-size: 13px; |
| 503 | 583 | outline: none; |
| 504 | 584 | transition: border-color .12s ease; |
| 505 | 585 | color-scheme: dark; |
| 506 | 586 | } |
| 507 | 587 | input:focus, textarea:focus, select:focus { border-color: var(--accent); } |
| 508 | 588 | |
| 509 | 589 | /* ========================================================================= |
| 510 | 590 | * MISC UTILITIES |
| 511 | 591 | * ========================================================================= */ |
| 512 | 592 | code { |
| 513 | 593 | background: rgba(20, 184, 166, .10); |
| 514 | 594 | color: var(--accent-hi); |
| 515 | 595 | padding: 1px 6px; |
| 516 | 596 | border-radius: 4px; |
| 517 | 597 | font-family: var(--mono); |
| 518 | 598 | font-size: 0.88em; |
| 519 | 599 | border: 1px solid rgba(20, 184, 166, .20); |
| 520 | 600 | } |
| 521 | 601 | .mono { font-family: var(--mono); } |
| 522 | 602 | .dim { color: var(--text-dim); } |
| 523 | 603 | .muted { color: var(--text-muted); } |
| 524 | 604 | |
| 525 | 605 | /* Banner */ |
| 526 | 606 | .banner { |
| 527 | 607 | padding: 10px 14px; |
| 528 | 608 | border-radius: var(--radius-sm); |
| 529 | 609 | font-size: 13px; |
| 530 | 610 | margin: 10px 0; |
| 531 | 611 | border-left: 3px solid; |
| 532 | 612 | } |
| 533 | 613 | .banner-ok { background: rgba(52, 211, 153, .08); border-left-color: var(--accent-ok); color: #a7f3d0; } |
| 534 | 614 | .banner-warn { background: rgba(245, 158, 11, .08); border-left-color: var(--accent-warn); color: var(--accent-warn-hi); } |
| 535 | 615 | .banner-err { background: rgba(244, 63, 94, .08); border-left-color: var(--accent-danger); color: var(--accent-danger-hi); } |
| 536 | 616 | .banner-info { background: rgba(56, 189, 248, .08); border-left-color: var(--accent-info); color: var(--accent-info); } |
| 537 | 617 | |
| 538 | 618 | /* Scrollbar (webkit) */ |
| 539 | 619 | ::-webkit-scrollbar { width: 10px; height: 10px; } |
| 540 | 620 | ::-webkit-scrollbar-track { background: var(--bg-0); } |
| 541 | 621 | ::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; border: 2px solid var(--bg-0); } |
| 542 | 622 | ::-webkit-scrollbar-thumb:hover { background: var(--border-hi); } |