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-10 23:21:47
Added
+101
lines
Removed
-0
lines
Context
441
unchanged
Blobs
from 2fb9e1d29755
to 1369c2c778fe
to 1369c2c778fe
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 | 154 | |
| 155 | 155 | /* Main content area */ |
| 156 | 156 | .app-main { min-width: 0; } |
| 157 | 157 | .topbar { |
| 158 | 158 | padding: 16px 32px; |
| 159 | 159 | border-bottom: 1px solid var(--border); |
| 160 | 160 | display: flex; |
| 161 | 161 | align-items: center; |
| 162 | 162 | gap: 16px; |
| 163 | 163 | background: rgba(10, 18, 32, 0.5); |
| 164 | 164 | backdrop-filter: blur(8px); |
| 165 | 165 | position: sticky; top: 0; z-index: 10; |
| 166 | 166 | } |
| 167 | 167 | .topbar h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .3px; } |
| 168 | 168 | .topbar-spacer { flex: 1; } |
| 169 | 169 | .topbar-user { |
| 170 | 170 | display: flex; |
| 171 | 171 | align-items: center; |
| 172 | 172 | gap: 10px; |
| 173 | 173 | padding: 5px 12px 5px 5px; |
| 174 | 174 | background: var(--bg-2); |
| 175 | 175 | border: 1px solid var(--border); |
| 176 | 176 | border-radius: var(--radius-pill); |
| 177 | 177 | font-size: 12.5px; |
| 178 | 178 | } |
| 179 | 179 | .topbar-user .initials { |
| 180 | 180 | width: 26px; height: 26px; |
| 181 | 181 | border-radius: 50%; |
| 182 | 182 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); |
| 183 | 183 | color: #030710; |
| 184 | 184 | display: grid; place-items: center; |
| 185 | 185 | font-size: 11px; font-weight: 700; |
| 186 | 186 | font-family: var(--mono); |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | .app-content { |
| 190 | 190 | padding: 32px 40px 96px; |
| 191 | 191 | max-width: 1400px; |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | /* ========================================================================= |
| 195 | 195 | * PAGE HEAD |
| 196 | 196 | * ========================================================================= */ |
| 197 | 197 | .page-head { margin-bottom: 32px; } |
| 198 | 198 | .page-eyebrow { |
| 199 | 199 | display: inline-flex; |
| 200 | 200 | align-items: center; |
| 201 | 201 | gap: 8px; |
| 202 | 202 | font-size: 10.5px; |
| 203 | 203 | letter-spacing: 1.8px; |
| 204 | 204 | text-transform: uppercase; |
| 205 | 205 | color: var(--accent-hi); |
| 206 | 206 | font-weight: 700; |
| 207 | 207 | padding: 5px 12px; |
| 208 | 208 | background: rgba(20, 184, 166, .10); |
| 209 | 209 | border: 1px solid rgba(20, 184, 166, .30); |
| 210 | 210 | border-radius: var(--radius-pill); |
| 211 | 211 | margin-bottom: 14px; |
| 212 | 212 | text-decoration: none; |
| 213 | 213 | } |
| 214 | 214 | .page-eyebrow .dot { |
| 215 | 215 | width: 6px; height: 6px; border-radius: 50%; |
| 216 | 216 | background: var(--accent-hi); |
| 217 | 217 | box-shadow: 0 0 10px var(--accent-hi); |
| 218 | 218 | } |
| 219 | 219 | .page-title { |
| 220 | 220 | margin: 0 0 8px; |
| 221 | 221 | font-size: 32px; |
| 222 | 222 | font-weight: 800; |
| 223 | 223 | letter-spacing: -0.02em; |
| 224 | 224 | background: linear-gradient(135deg, #fff 0%, #cbd5e1 60%, var(--accent-hi) 100%); |
| 225 | 225 | -webkit-background-clip: text; |
| 226 | 226 | background-clip: text; |
| 227 | 227 | color: transparent; |
| 228 | 228 | } |
| 229 | 229 | .page-subtitle { |
| 230 | 230 | color: var(--text-dim); |
| 231 | 231 | font-size: 14.5px; |
| 232 | 232 | max-width: 780px; |
| 233 | 233 | margin: 0; |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 | /* ========================================================================= |
| 237 | 237 | * MODULES / CARDS |
| 238 | 238 | * ========================================================================= */ |
| 239 | 239 | .dash-grid { |
| 240 | 240 | display: grid; |
| 241 | 241 | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); |
| 242 | 242 | gap: 16px; |
| 243 | 243 | margin-bottom: 20px; |
| 244 | 244 | } |
| 245 | 245 | .module { |
| 246 | 246 | background: var(--bg-panel); |
| 247 | 247 | border: 1px solid var(--border); |
| 248 | 248 | border-radius: var(--radius); |
| 249 | 249 | overflow: hidden; |
| 250 | 250 | transition: border-color .15s ease, box-shadow .15s ease; |
| 251 | 251 | } |
| 252 | 252 | .module:hover { border-color: var(--border-hi); } |
| 253 | 253 | .module-head { |
| 254 | 254 | padding: 12px 16px; |
| 255 | 255 | border-bottom: 1px solid var(--border); |
| 256 | 256 | display: flex; |
| 257 | 257 | align-items: center; |
| 258 | 258 | justify-content: space-between; |
| 259 | 259 | gap: 12px; |
| 260 | 260 | background: rgba(20, 184, 166, .03); |
| 261 | 261 | } |
| 262 | 262 | .module-head .left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } |
| 263 | 263 | .module-icon { |
| 264 | 264 | width: 26px; height: 26px; |
| 265 | 265 | border-radius: 7px; |
| 266 | 266 | display: grid; place-items: center; |
| 267 | 267 | color: var(--accent-hi); |
| 268 | 268 | background: rgba(20, 184, 166, .10); |
| 269 | 269 | border: 1px solid rgba(20, 184, 166, .30); |
| 270 | 270 | } |
| 271 | 271 | .module-title { font-size: 13px; font-weight: 700; letter-spacing: .3px; } |
| 272 | 272 | .module-subtitle { |
| 273 | 273 | font-size: 11.5px; |
| 274 | 274 | font-weight: 400; |
| 275 | 275 | color: #b8c5d6; |
| 276 | 276 | margin-left: 8px; |
| 277 | 277 | padding-left: 10px; |
| 278 | 278 | border-left: 1px solid var(--border); |
| 279 | 279 | line-height: 1.35; |
| 280 | 280 | } |
| 281 | 281 | .module-body { padding: 16px; } |
| 282 | 282 | .module-body.tight { padding: 0; } |
| 283 | 283 | |
| 284 | 284 | /* Module glow variants */ |
| 285 | 285 | .module.glow-teal { box-shadow: 0 0 0 1px rgba(20, 184, 166, .20), 0 0 26px rgba(20, 184, 166, .10); } |
| 286 | 286 | .module.glow-amber { box-shadow: 0 0 0 1px rgba(245, 158, 11, .20), 0 0 26px rgba(245, 158, 11, .10); } |
| 287 | 287 | .module.glow-rose { box-shadow: 0 0 0 1px rgba(244, 63, 94, .20), 0 0 26px rgba(244, 63, 94, .10); } |
| 288 | 288 | .module.glow-emerald{ box-shadow: 0 0 0 1px rgba(52, 211, 153, .20), 0 0 26px rgba(52, 211, 153, .10); } |
| 289 | 289 | .module.glow-sky { box-shadow: 0 0 0 1px rgba(56, 189, 248, .20), 0 0 26px rgba(56, 189, 248, .10); } |
| 290 | 290 | |
| 291 | 291 | /* ========================================================================= |
| 292 | 292 | * KPI TILES |
| 293 | 293 | * ========================================================================= */ |
| 294 | 294 | .kpi { padding: 20px 22px; } |
| 295 | 295 | .kpi .num { |
| 296 | 296 | font-size: 34px; |
| 297 | 297 | font-weight: 800; |
| 298 | 298 | letter-spacing: -0.02em; |
| 299 | 299 | line-height: 1.1; |
| 300 | 300 | font-variant-numeric: tabular-nums; |
| 301 | 301 | } |
| 302 | 302 | .kpi .lbl { |
| 303 | 303 | font-size: 11px; |
| 304 | 304 | letter-spacing: 1.6px; |
| 305 | 305 | text-transform: uppercase; |
| 306 | 306 | color: var(--text-muted); |
| 307 | 307 | font-weight: 700; |
| 308 | 308 | margin-top: 6px; |
| 309 | 309 | } |
| 310 | 310 | .kpi .sub { font-size: 12px; color: var(--text-dim); margin-top: 10px; } |
| 311 | 311 | .kpi-teal .num { color: var(--accent-hi); text-shadow: 0 0 24px rgba(20, 184, 166, .35); } |
| 312 | 312 | .kpi-amber .num { color: var(--accent-warn-hi); text-shadow: 0 0 24px rgba(245, 158, 11, .30); } |
| 313 | 313 | .kpi-rose .num { color: var(--accent-danger-hi); text-shadow: 0 0 24px rgba(244, 63, 94, .30); } |
| 314 | 314 | .kpi-emerald .num { color: var(--accent-ok-hi); text-shadow: 0 0 24px rgba(52, 211, 153, .30); } |
| 315 | 315 | .kpi-sky .num { color: var(--accent-info); text-shadow: 0 0 24px rgba(56, 189, 248, .30); } |
| 316 | 316 | |
| 317 | 317 | /* ========================================================================= |
| 318 | 318 | * PILLS + STATUS BADGES |
| 319 | 319 | * ========================================================================= */ |
| 320 | 320 | .pill { |
| 321 | 321 | display: inline-flex; |
| 322 | 322 | align-items: center; |
| 323 | 323 | padding: 3px 9px; |
| 324 | 324 | border-radius: var(--radius-pill); |
| 325 | 325 | font-size: 10.5px; |
| 326 | 326 | letter-spacing: .6px; |
| 327 | 327 | text-transform: uppercase; |
| 328 | 328 | font-weight: 700; |
| 329 | 329 | border: 1px solid var(--border); |
| 330 | 330 | } |
| 331 | 331 | .pill-ok { background: rgba(52, 211, 153, .10); color: #a7f3d0; border-color: rgba(52, 211, 153, .35); } |
| 332 | 332 | .pill-warn { background: rgba(245, 158, 11, .10); color: var(--accent-warn-hi); border-color: rgba(245, 158, 11, .35); } |
| 333 | 333 | .pill-bad { background: rgba(244, 63, 94, .10); color: var(--accent-danger-hi); border-color: rgba(244, 63, 94, .35); } |
| 334 | 334 | .pill-info { background: rgba(56, 189, 248, .10); color: var(--accent-info); border-color: rgba(56, 189, 248, .35); } |
| 335 | 335 | .pill-mute { background: rgba(255,255,255,.03); color: var(--text-dim); } |
| 336 | 336 | |
| 337 | 337 | /* ========================================================================= |
| 338 | 338 | * TABLES |
| 339 | 339 | * ========================================================================= */ |
| 340 | 340 | .tbl { width: 100%; border-collapse: collapse; font-size: 13px; } |
| 341 | 341 | .tbl th { |
| 342 | 342 | text-align: left; |
| 343 | 343 | padding: 10px 14px; |
| 344 | 344 | font-size: 10.5px; |
| 345 | 345 | letter-spacing: 1.4px; |
| 346 | 346 | text-transform: uppercase; |
| 347 | 347 | color: var(--text-muted); |
| 348 | 348 | font-weight: 700; |
| 349 | 349 | border-bottom: 1px solid var(--border); |
| 350 | 350 | background: rgba(255,255,255,.02); |
| 351 | 351 | } |
| 352 | 352 | .tbl td { |
| 353 | 353 | padding: 12px 14px; |
| 354 | 354 | border-bottom: 1px solid rgba(255,255,255,.03); |
| 355 | 355 | vertical-align: middle; |
| 356 | 356 | } |
| 357 | 357 | .tbl tr:hover td { background: rgba(255,255,255,.02); } |
| 358 | 358 | .tbl .mono { font-family: var(--mono); font-size: 12.5px; } |
| 359 | 359 | .tbl .dim { color: var(--text-dim); } |
| 360 | ||
| 361 | /* ========================================================================= | |
| 362 | * CHIP RANGE PICKER (portfolio-canonical .tr-chip pattern) | |
| 363 | * ========================================================================= */ | |
| 364 | .tr-chip { | |
| 365 | display: inline-flex; | |
| 366 | align-items: center; | |
| 367 | padding: 5px 12px; | |
| 368 | border-radius: var(--radius-pill); | |
| 369 | font-size: 12px; | |
| 370 | font-weight: 600; | |
| 371 | color: var(--text-muted); | |
| 372 | text-decoration: none; | |
| 373 | background: transparent; | |
| 374 | border: 1px solid var(--border); | |
| 375 | cursor: pointer; | |
| 376 | transition: all .15s ease; | |
| 377 | font-family: inherit; | |
| 378 | } | |
| 379 | .tr-chip:hover { color: var(--text); border-color: var(--accent); } | |
| 380 | .tr-chip.is-active { | |
| 381 | background: var(--accent); | |
| 382 | color: #0a1220; | |
| 383 | border-color: var(--accent); | |
| 384 | } | |
| 385 | .range-bar { | |
| 386 | display: flex; | |
| 387 | flex-wrap: wrap; | |
| 388 | align-items: center; | |
| 389 | gap: 8px; | |
| 390 | padding: 10px 14px; | |
| 391 | background: var(--bg-2); | |
| 392 | border: 1px solid var(--border); | |
| 393 | border-radius: var(--radius); | |
| 394 | margin-bottom: 16px; | |
| 395 | } | |
| 396 | .range-bar .rb-label { | |
| 397 | font-size: 11px; | |
| 398 | letter-spacing: 1.4px; | |
| 399 | text-transform: uppercase; | |
| 400 | color: var(--text-muted); | |
| 401 | font-weight: 700; | |
| 402 | } | |
| 403 | .range-bar input[type="text"], | |
| 404 | .range-bar input[type="datetime-local"] { | |
| 405 | background: var(--bg-1); | |
| 406 | color: var(--text); | |
| 407 | border: 1px solid var(--border); | |
| 408 | border-radius: var(--radius-sm); | |
| 409 | padding: 5px 10px; | |
| 410 | font-size: 12.5px; | |
| 411 | font-family: inherit; | |
| 412 | } | |
| 413 | .range-bar input[type="text"]:focus, | |
| 414 | .range-bar input[type="datetime-local"]:focus { | |
| 415 | outline: none; | |
| 416 | border-color: var(--accent); | |
| 417 | } | |
| 418 | ||
| 419 | /* ========================================================================= | |
| 420 | * CHART TOOLTIP (activity timeline etc.) | |
| 421 | * ========================================================================= */ | |
| 422 | .chart-tooltip { | |
| 423 | position: fixed; | |
| 424 | z-index: 9999; | |
| 425 | pointer-events: none; | |
| 426 | background: var(--bg-3); | |
| 427 | border: 1px solid var(--accent); | |
| 428 | border-radius: var(--radius-sm); | |
| 429 | padding: 8px 12px; | |
| 430 | font-size: 12px; | |
| 431 | color: var(--text); | |
| 432 | box-shadow: 0 8px 24px rgba(0,0,0,0.5); | |
| 433 | min-width: 160px; | |
| 434 | transform: translate(-50%, calc(-100% - 10px)); | |
| 435 | opacity: 0; | |
| 436 | transition: opacity .1s ease; | |
| 437 | } | |
| 438 | .chart-tooltip.on { opacity: 1; } | |
| 439 | .chart-tooltip .ct-date { | |
| 440 | font-family: var(--mono); | |
| 441 | font-size: 11px; | |
| 442 | color: var(--text-muted); | |
| 443 | letter-spacing: 0.5px; | |
| 444 | margin-bottom: 4px; | |
| 445 | } | |
| 446 | .chart-tooltip .ct-row { | |
| 447 | display: flex; | |
| 448 | align-items: center; | |
| 449 | gap: 6px; | |
| 450 | line-height: 1.5; | |
| 451 | } | |
| 452 | .chart-tooltip .ct-swatch { | |
| 453 | width: 9px; height: 9px; border-radius: 2px; display: inline-block; | |
| 454 | } | |
| 455 | .chart-tooltip .ct-hint { | |
| 456 | margin-top: 4px; | |
| 457 | font-size: 10.5px; | |
| 458 | color: var(--text-muted); | |
| 459 | font-style: italic; | |
| 460 | } | |
| 360 | 461 | |
| 361 | 462 | /* ========================================================================= |
| 362 | 463 | * BUTTONS |
| 363 | 464 | * ========================================================================= */ |
| 364 | 465 | .btn { |
| 365 | 466 | display: inline-flex; |
| 366 | 467 | align-items: center; |
| 367 | 468 | gap: 6px; |
| 368 | 469 | padding: 8px 16px; |
| 369 | 470 | background: var(--accent); |
| 370 | 471 | color: #030710; |
| 371 | 472 | border: none; |
| 372 | 473 | border-radius: var(--radius-pill); |
| 373 | 474 | font-family: inherit; |
| 374 | 475 | font-size: 12.5px; |
| 375 | 476 | font-weight: 700; |
| 376 | 477 | cursor: pointer; |
| 377 | 478 | text-decoration: none; |
| 378 | 479 | transition: transform .1s ease, box-shadow .1s ease, background .12s ease; |
| 379 | 480 | } |
| 380 | 481 | .btn:hover { background: var(--accent-hi); box-shadow: 0 4px 14px var(--accent-glow); transform: translateY(-1px); } |
| 381 | 482 | .btn-secondary { |
| 382 | 483 | background: transparent; |
| 383 | 484 | color: var(--text); |
| 384 | 485 | border: 1px solid var(--border); |
| 385 | 486 | } |
| 386 | 487 | .btn-secondary:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent-hi); } |
| 387 | 488 | .btn-danger { background: var(--accent-danger); } |
| 388 | 489 | .btn-danger:hover { background: var(--accent-danger-hi); box-shadow: 0 4px 14px rgba(244, 63, 94, .35); } |
| 389 | 490 | |
| 390 | 491 | /* ========================================================================= |
| 391 | 492 | * FORMS |
| 392 | 493 | * ========================================================================= */ |
| 393 | 494 | input[type=text], input[type=email], input[type=password], input[type=number], |
| 394 | 495 | input[type=date], input[type=datetime-local], textarea, select { |
| 395 | 496 | background: var(--bg-2); |
| 396 | 497 | color: var(--text); |
| 397 | 498 | border: 1px solid var(--border); |
| 398 | 499 | border-radius: var(--radius-sm); |
| 399 | 500 | padding: 8px 12px; |
| 400 | 501 | font-family: inherit; |
| 401 | 502 | font-size: 13px; |
| 402 | 503 | outline: none; |
| 403 | 504 | transition: border-color .12s ease; |
| 404 | 505 | color-scheme: dark; |
| 405 | 506 | } |
| 406 | 507 | input:focus, textarea:focus, select:focus { border-color: var(--accent); } |
| 407 | 508 | |
| 408 | 509 | /* ========================================================================= |
| 409 | 510 | * MISC UTILITIES |
| 410 | 511 | * ========================================================================= */ |
| 411 | 512 | code { |
| 412 | 513 | background: rgba(20, 184, 166, .10); |
| 413 | 514 | color: var(--accent-hi); |
| 414 | 515 | padding: 1px 6px; |
| 415 | 516 | border-radius: 4px; |
| 416 | 517 | font-family: var(--mono); |
| 417 | 518 | font-size: 0.88em; |
| 418 | 519 | border: 1px solid rgba(20, 184, 166, .20); |
| 419 | 520 | } |
| 420 | 521 | .mono { font-family: var(--mono); } |
| 421 | 522 | .dim { color: var(--text-dim); } |
| 422 | 523 | .muted { color: var(--text-muted); } |
| 423 | 524 | |
| 424 | 525 | /* Banner */ |
| 425 | 526 | .banner { |
| 426 | 527 | padding: 10px 14px; |
| 427 | 528 | border-radius: var(--radius-sm); |
| 428 | 529 | font-size: 13px; |
| 429 | 530 | margin: 10px 0; |
| 430 | 531 | border-left: 3px solid; |
| 431 | 532 | } |
| 432 | 533 | .banner-ok { background: rgba(52, 211, 153, .08); border-left-color: var(--accent-ok); color: #a7f3d0; } |
| 433 | 534 | .banner-warn { background: rgba(245, 158, 11, .08); border-left-color: var(--accent-warn); color: var(--accent-warn-hi); } |
| 434 | 535 | .banner-err { background: rgba(244, 63, 94, .08); border-left-color: var(--accent-danger); color: var(--accent-danger-hi); } |
| 435 | 536 | .banner-info { background: rgba(56, 189, 248, .08); border-left-color: var(--accent-info); color: var(--accent-info); } |
| 436 | 537 | |
| 437 | 538 | /* Scrollbar (webkit) */ |
| 438 | 539 | ::-webkit-scrollbar { width: 10px; height: 10px; } |
| 439 | 540 | ::-webkit-scrollbar-track { background: var(--bg-0); } |
| 440 | 541 | ::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; border: 2px solid var(--bg-0); } |
| 441 | 542 | ::-webkit-scrollbar-thumb:hover { background: var(--border-hi); } |