Diff -- /var/www/vhosts/3dshawn.com/site1/assets/styles/drift_sense.css
Diff
/var/www/vhosts/3dshawn.com/site1/assets/styles/drift_sense.css
added on local at 2026-07-10 18:57:29
Added
+441
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 2fb9e1d29755
to 2fb9e1d29755
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | /* ========================================================================= | |
| 2 | * DriftSense -- design system + component styles | |
| 3 | * ------------------------------------------------------------------------- | |
| 4 | * Palette: midnight navy background + steel-teal primary + amber warnings. | |
| 5 | * Distinct from every portfolio site (cyan/indigo/violet/emerald/burgundy/amber) | |
| 6 | * -- reads as "watchtower / observatory / cool precision instrument." | |
| 7 | * ========================================================================= */ | |
| 8 | ||
| 9 | :root { | |
| 10 | /* Backgrounds -- deep, cool, with subtle blue tint */ | |
| 11 | --bg-0: #030710; | |
| 12 | --bg-1: #0a1220; | |
| 13 | --bg-2: #131e30; | |
| 14 | --bg-3: #1a2740; | |
| 15 | --bg-panel: linear-gradient(180deg, #131e30 0%, #0a1220 100%); | |
| 16 | ||
| 17 | /* Borders */ | |
| 18 | --border: #223050; | |
| 19 | --border-hi: #2d3d5f; | |
| 20 | --border-focus: #14b8a6; | |
| 21 | ||
| 22 | /* Text */ | |
| 23 | --text: #e5edf5; | |
| 24 | --text-dim: #96a3b8; | |
| 25 | --text-muted: #6a7a94; | |
| 26 | ||
| 27 | /* Accents */ | |
| 28 | --accent: #14b8a6; /* Teal -- primary, "sense" color */ | |
| 29 | --accent-hi: #2dd4bf; | |
| 30 | --accent-deep: #0f766e; | |
| 31 | --accent-glow: rgba(20, 184, 166, 0.35); | |
| 32 | ||
| 33 | --accent-warn: #f59e0b; /* Amber -- drift alert */ | |
| 34 | --accent-warn-hi: #fbbf24; | |
| 35 | ||
| 36 | --accent-danger: #f43f5e; /* Rose -- critical */ | |
| 37 | --accent-danger-hi: #fb7185; | |
| 38 | ||
| 39 | --accent-ok: #34d399; /* Emerald -- clean baseline */ | |
| 40 | --accent-ok-hi: #6ee7b7; | |
| 41 | ||
| 42 | --accent-info: #38bdf8; /* Sky-blue -- info notices */ | |
| 43 | ||
| 44 | /* Typography */ | |
| 45 | --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace; | |
| 46 | --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| 47 | ||
| 48 | /* Sizing */ | |
| 49 | --radius: 12px; | |
| 50 | --radius-sm: 8px; | |
| 51 | --radius-pill: 999px; | |
| 52 | --sidebar-w: 240px; | |
| 53 | } | |
| 54 | ||
| 55 | * { box-sizing: border-box; } | |
| 56 | html, body { margin: 0; padding: 0; } | |
| 57 | body { | |
| 58 | font-family: var(--sans); | |
| 59 | color: var(--text); | |
| 60 | background: var(--bg-0); | |
| 61 | background-image: | |
| 62 | radial-gradient(ellipse 1000px 600px at 15% 0%, rgba(20, 184, 166, 0.10), transparent 65%), | |
| 63 | radial-gradient(ellipse 900px 500px at 90% 100%, rgba(56, 189, 248, 0.08), transparent 65%); | |
| 64 | background-attachment: fixed; | |
| 65 | line-height: 1.6; | |
| 66 | -webkit-font-smoothing: antialiased; | |
| 67 | min-height: 100vh; | |
| 68 | } | |
| 69 | ||
| 70 | /* ========================================================================= | |
| 71 | * APP SHELL -- sidebar + main | |
| 72 | * ========================================================================= */ | |
| 73 | .app { | |
| 74 | display: grid; | |
| 75 | grid-template-columns: var(--sidebar-w) 1fr; | |
| 76 | min-height: 100vh; | |
| 77 | } | |
| 78 | @media (max-width: 780px) { | |
| 79 | .app { grid-template-columns: 1fr; } | |
| 80 | .sidebar { display: none; } | |
| 81 | } | |
| 82 | ||
| 83 | /* Sidebar */ | |
| 84 | .sidebar { | |
| 85 | background: linear-gradient(180deg, #0a1220 0%, #050810 100%); | |
| 86 | border-right: 1px solid var(--border); | |
| 87 | padding: 20px 0; | |
| 88 | position: sticky; top: 0; | |
| 89 | height: 100vh; | |
| 90 | overflow-y: auto; | |
| 91 | } | |
| 92 | .sidebar-brand { | |
| 93 | padding: 8px 20px 20px; | |
| 94 | display: flex; | |
| 95 | align-items: center; | |
| 96 | gap: 12px; | |
| 97 | text-decoration: none; | |
| 98 | color: var(--text); | |
| 99 | border-bottom: 1px solid var(--border); | |
| 100 | margin-bottom: 12px; | |
| 101 | } | |
| 102 | .sidebar-brand .logo { | |
| 103 | width: 38px; height: 38px; | |
| 104 | border-radius: 10px; | |
| 105 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); | |
| 106 | display: grid; place-items: center; | |
| 107 | color: #030710; | |
| 108 | font-family: var(--mono); | |
| 109 | font-weight: 800; | |
| 110 | font-size: 14px; | |
| 111 | box-shadow: 0 4px 14px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15); | |
| 112 | } | |
| 113 | .sidebar-brand .name { | |
| 114 | font-weight: 700; | |
| 115 | font-size: 15px; | |
| 116 | letter-spacing: -0.01em; | |
| 117 | } | |
| 118 | .sidebar-brand .name .accent { color: var(--accent-hi); } | |
| 119 | .sidebar-brand .role { | |
| 120 | font-size: 10px; | |
| 121 | letter-spacing: 1.6px; | |
| 122 | text-transform: uppercase; | |
| 123 | color: var(--text-muted); | |
| 124 | font-weight: 700; | |
| 125 | margin-top: 2px; | |
| 126 | } | |
| 127 | .sidebar-section-label { | |
| 128 | font-size: 10.5px; | |
| 129 | letter-spacing: 1.6px; | |
| 130 | text-transform: uppercase; | |
| 131 | color: var(--text-muted); | |
| 132 | font-weight: 700; | |
| 133 | padding: 12px 20px 6px; | |
| 134 | } | |
| 135 | .sidebar-link { | |
| 136 | display: flex; | |
| 137 | align-items: center; | |
| 138 | gap: 11px; | |
| 139 | padding: 9px 20px; | |
| 140 | color: var(--text-dim); | |
| 141 | text-decoration: none; | |
| 142 | font-size: 13.5px; | |
| 143 | border-left: 2px solid transparent; | |
| 144 | transition: color .12s ease, background .12s ease, border-left-color .12s ease; | |
| 145 | } | |
| 146 | .sidebar-link svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: 0.85; } | |
| 147 | .sidebar-link:hover { color: var(--text); background: rgba(255,255,255,.02); } | |
| 148 | .sidebar-link.active { | |
| 149 | color: var(--accent-hi); | |
| 150 | background: linear-gradient(90deg, rgba(20, 184, 166, .12), transparent 90%); | |
| 151 | border-left-color: var(--accent); | |
| 152 | } | |
| 153 | .sidebar-link.active svg { opacity: 1; } | |
| 154 | ||
| 155 | /* Main content area */ | |
| 156 | .app-main { min-width: 0; } | |
| 157 | .topbar { | |
| 158 | padding: 16px 32px; | |
| 159 | border-bottom: 1px solid var(--border); | |
| 160 | display: flex; | |
| 161 | align-items: center; | |
| 162 | gap: 16px; | |
| 163 | background: rgba(10, 18, 32, 0.5); | |
| 164 | backdrop-filter: blur(8px); | |
| 165 | position: sticky; top: 0; z-index: 10; | |
| 166 | } | |
| 167 | .topbar h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .3px; } | |
| 168 | .topbar-spacer { flex: 1; } | |
| 169 | .topbar-user { | |
| 170 | display: flex; | |
| 171 | align-items: center; | |
| 172 | gap: 10px; | |
| 173 | padding: 5px 12px 5px 5px; | |
| 174 | background: var(--bg-2); | |
| 175 | border: 1px solid var(--border); | |
| 176 | border-radius: var(--radius-pill); | |
| 177 | font-size: 12.5px; | |
| 178 | } | |
| 179 | .topbar-user .initials { | |
| 180 | width: 26px; height: 26px; | |
| 181 | border-radius: 50%; | |
| 182 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); | |
| 183 | color: #030710; | |
| 184 | display: grid; place-items: center; | |
| 185 | font-size: 11px; font-weight: 700; | |
| 186 | font-family: var(--mono); | |
| 187 | } | |
| 188 | ||
| 189 | .app-content { | |
| 190 | padding: 32px 40px 96px; | |
| 191 | max-width: 1400px; | |
| 192 | } | |
| 193 | ||
| 194 | /* ========================================================================= | |
| 195 | * PAGE HEAD | |
| 196 | * ========================================================================= */ | |
| 197 | .page-head { margin-bottom: 32px; } | |
| 198 | .page-eyebrow { | |
| 199 | display: inline-flex; | |
| 200 | align-items: center; | |
| 201 | gap: 8px; | |
| 202 | font-size: 10.5px; | |
| 203 | letter-spacing: 1.8px; | |
| 204 | text-transform: uppercase; | |
| 205 | color: var(--accent-hi); | |
| 206 | font-weight: 700; | |
| 207 | padding: 5px 12px; | |
| 208 | background: rgba(20, 184, 166, .10); | |
| 209 | border: 1px solid rgba(20, 184, 166, .30); | |
| 210 | border-radius: var(--radius-pill); | |
| 211 | margin-bottom: 14px; | |
| 212 | text-decoration: none; | |
| 213 | } | |
| 214 | .page-eyebrow .dot { | |
| 215 | width: 6px; height: 6px; border-radius: 50%; | |
| 216 | background: var(--accent-hi); | |
| 217 | box-shadow: 0 0 10px var(--accent-hi); | |
| 218 | } | |
| 219 | .page-title { | |
| 220 | margin: 0 0 8px; | |
| 221 | font-size: 32px; | |
| 222 | font-weight: 800; | |
| 223 | letter-spacing: -0.02em; | |
| 224 | background: linear-gradient(135deg, #fff 0%, #cbd5e1 60%, var(--accent-hi) 100%); | |
| 225 | -webkit-background-clip: text; | |
| 226 | background-clip: text; | |
| 227 | color: transparent; | |
| 228 | } | |
| 229 | .page-subtitle { | |
| 230 | color: var(--text-dim); | |
| 231 | font-size: 14.5px; | |
| 232 | max-width: 780px; | |
| 233 | margin: 0; | |
| 234 | } | |
| 235 | ||
| 236 | /* ========================================================================= | |
| 237 | * MODULES / CARDS | |
| 238 | * ========================================================================= */ | |
| 239 | .dash-grid { | |
| 240 | display: grid; | |
| 241 | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | |
| 242 | gap: 16px; | |
| 243 | margin-bottom: 20px; | |
| 244 | } | |
| 245 | .module { | |
| 246 | background: var(--bg-panel); | |
| 247 | border: 1px solid var(--border); | |
| 248 | border-radius: var(--radius); | |
| 249 | overflow: hidden; | |
| 250 | transition: border-color .15s ease, box-shadow .15s ease; | |
| 251 | } | |
| 252 | .module:hover { border-color: var(--border-hi); } | |
| 253 | .module-head { | |
| 254 | padding: 12px 16px; | |
| 255 | border-bottom: 1px solid var(--border); | |
| 256 | display: flex; | |
| 257 | align-items: center; | |
| 258 | justify-content: space-between; | |
| 259 | gap: 12px; | |
| 260 | background: rgba(20, 184, 166, .03); | |
| 261 | } | |
| 262 | .module-head .left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } | |
| 263 | .module-icon { | |
| 264 | width: 26px; height: 26px; | |
| 265 | border-radius: 7px; | |
| 266 | display: grid; place-items: center; | |
| 267 | color: var(--accent-hi); | |
| 268 | background: rgba(20, 184, 166, .10); | |
| 269 | border: 1px solid rgba(20, 184, 166, .30); | |
| 270 | } | |
| 271 | .module-title { font-size: 13px; font-weight: 700; letter-spacing: .3px; } | |
| 272 | .module-subtitle { | |
| 273 | font-size: 11.5px; | |
| 274 | font-weight: 400; | |
| 275 | color: #b8c5d6; | |
| 276 | margin-left: 8px; | |
| 277 | padding-left: 10px; | |
| 278 | border-left: 1px solid var(--border); | |
| 279 | line-height: 1.35; | |
| 280 | } | |
| 281 | .module-body { padding: 16px; } | |
| 282 | .module-body.tight { padding: 0; } | |
| 283 | ||
| 284 | /* Module glow variants */ | |
| 285 | .module.glow-teal { box-shadow: 0 0 0 1px rgba(20, 184, 166, .20), 0 0 26px rgba(20, 184, 166, .10); } | |
| 286 | .module.glow-amber { box-shadow: 0 0 0 1px rgba(245, 158, 11, .20), 0 0 26px rgba(245, 158, 11, .10); } | |
| 287 | .module.glow-rose { box-shadow: 0 0 0 1px rgba(244, 63, 94, .20), 0 0 26px rgba(244, 63, 94, .10); } | |
| 288 | .module.glow-emerald{ box-shadow: 0 0 0 1px rgba(52, 211, 153, .20), 0 0 26px rgba(52, 211, 153, .10); } | |
| 289 | .module.glow-sky { box-shadow: 0 0 0 1px rgba(56, 189, 248, .20), 0 0 26px rgba(56, 189, 248, .10); } | |
| 290 | ||
| 291 | /* ========================================================================= | |
| 292 | * KPI TILES | |
| 293 | * ========================================================================= */ | |
| 294 | .kpi { padding: 20px 22px; } | |
| 295 | .kpi .num { | |
| 296 | font-size: 34px; | |
| 297 | font-weight: 800; | |
| 298 | letter-spacing: -0.02em; | |
| 299 | line-height: 1.1; | |
| 300 | font-variant-numeric: tabular-nums; | |
| 301 | } | |
| 302 | .kpi .lbl { | |
| 303 | font-size: 11px; | |
| 304 | letter-spacing: 1.6px; | |
| 305 | text-transform: uppercase; | |
| 306 | color: var(--text-muted); | |
| 307 | font-weight: 700; | |
| 308 | margin-top: 6px; | |
| 309 | } | |
| 310 | .kpi .sub { font-size: 12px; color: var(--text-dim); margin-top: 10px; } | |
| 311 | .kpi-teal .num { color: var(--accent-hi); text-shadow: 0 0 24px rgba(20, 184, 166, .35); } | |
| 312 | .kpi-amber .num { color: var(--accent-warn-hi); text-shadow: 0 0 24px rgba(245, 158, 11, .30); } | |
| 313 | .kpi-rose .num { color: var(--accent-danger-hi); text-shadow: 0 0 24px rgba(244, 63, 94, .30); } | |
| 314 | .kpi-emerald .num { color: var(--accent-ok-hi); text-shadow: 0 0 24px rgba(52, 211, 153, .30); } | |
| 315 | .kpi-sky .num { color: var(--accent-info); text-shadow: 0 0 24px rgba(56, 189, 248, .30); } | |
| 316 | ||
| 317 | /* ========================================================================= | |
| 318 | * PILLS + STATUS BADGES | |
| 319 | * ========================================================================= */ | |
| 320 | .pill { | |
| 321 | display: inline-flex; | |
| 322 | align-items: center; | |
| 323 | padding: 3px 9px; | |
| 324 | border-radius: var(--radius-pill); | |
| 325 | font-size: 10.5px; | |
| 326 | letter-spacing: .6px; | |
| 327 | text-transform: uppercase; | |
| 328 | font-weight: 700; | |
| 329 | border: 1px solid var(--border); | |
| 330 | } | |
| 331 | .pill-ok { background: rgba(52, 211, 153, .10); color: #a7f3d0; border-color: rgba(52, 211, 153, .35); } | |
| 332 | .pill-warn { background: rgba(245, 158, 11, .10); color: var(--accent-warn-hi); border-color: rgba(245, 158, 11, .35); } | |
| 333 | .pill-bad { background: rgba(244, 63, 94, .10); color: var(--accent-danger-hi); border-color: rgba(244, 63, 94, .35); } | |
| 334 | .pill-info { background: rgba(56, 189, 248, .10); color: var(--accent-info); border-color: rgba(56, 189, 248, .35); } | |
| 335 | .pill-mute { background: rgba(255,255,255,.03); color: var(--text-dim); } | |
| 336 | ||
| 337 | /* ========================================================================= | |
| 338 | * TABLES | |
| 339 | * ========================================================================= */ | |
| 340 | .tbl { width: 100%; border-collapse: collapse; font-size: 13px; } | |
| 341 | .tbl th { | |
| 342 | text-align: left; | |
| 343 | padding: 10px 14px; | |
| 344 | font-size: 10.5px; | |
| 345 | letter-spacing: 1.4px; | |
| 346 | text-transform: uppercase; | |
| 347 | color: var(--text-muted); | |
| 348 | font-weight: 700; | |
| 349 | border-bottom: 1px solid var(--border); | |
| 350 | background: rgba(255,255,255,.02); | |
| 351 | } | |
| 352 | .tbl td { | |
| 353 | padding: 12px 14px; | |
| 354 | border-bottom: 1px solid rgba(255,255,255,.03); | |
| 355 | vertical-align: middle; | |
| 356 | } | |
| 357 | .tbl tr:hover td { background: rgba(255,255,255,.02); } | |
| 358 | .tbl .mono { font-family: var(--mono); font-size: 12.5px; } | |
| 359 | .tbl .dim { color: var(--text-dim); } | |
| 360 | ||
| 361 | /* ========================================================================= | |
| 362 | * BUTTONS | |
| 363 | * ========================================================================= */ | |
| 364 | .btn { | |
| 365 | display: inline-flex; | |
| 366 | align-items: center; | |
| 367 | gap: 6px; | |
| 368 | padding: 8px 16px; | |
| 369 | background: var(--accent); | |
| 370 | color: #030710; | |
| 371 | border: none; | |
| 372 | border-radius: var(--radius-pill); | |
| 373 | font-family: inherit; | |
| 374 | font-size: 12.5px; | |
| 375 | font-weight: 700; | |
| 376 | cursor: pointer; | |
| 377 | text-decoration: none; | |
| 378 | transition: transform .1s ease, box-shadow .1s ease, background .12s ease; | |
| 379 | } | |
| 380 | .btn:hover { background: var(--accent-hi); box-shadow: 0 4px 14px var(--accent-glow); transform: translateY(-1px); } | |
| 381 | .btn-secondary { | |
| 382 | background: transparent; | |
| 383 | color: var(--text); | |
| 384 | border: 1px solid var(--border); | |
| 385 | } | |
| 386 | .btn-secondary:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent-hi); } | |
| 387 | .btn-danger { background: var(--accent-danger); } | |
| 388 | .btn-danger:hover { background: var(--accent-danger-hi); box-shadow: 0 4px 14px rgba(244, 63, 94, .35); } | |
| 389 | ||
| 390 | /* ========================================================================= | |
| 391 | * FORMS | |
| 392 | * ========================================================================= */ | |
| 393 | input[type=text], input[type=email], input[type=password], input[type=number], | |
| 394 | input[type=date], input[type=datetime-local], textarea, select { | |
| 395 | background: var(--bg-2); | |
| 396 | color: var(--text); | |
| 397 | border: 1px solid var(--border); | |
| 398 | border-radius: var(--radius-sm); | |
| 399 | padding: 8px 12px; | |
| 400 | font-family: inherit; | |
| 401 | font-size: 13px; | |
| 402 | outline: none; | |
| 403 | transition: border-color .12s ease; | |
| 404 | color-scheme: dark; | |
| 405 | } | |
| 406 | input:focus, textarea:focus, select:focus { border-color: var(--accent); } | |
| 407 | ||
| 408 | /* ========================================================================= | |
| 409 | * MISC UTILITIES | |
| 410 | * ========================================================================= */ | |
| 411 | code { | |
| 412 | background: rgba(20, 184, 166, .10); | |
| 413 | color: var(--accent-hi); | |
| 414 | padding: 1px 6px; | |
| 415 | border-radius: 4px; | |
| 416 | font-family: var(--mono); | |
| 417 | font-size: 0.88em; | |
| 418 | border: 1px solid rgba(20, 184, 166, .20); | |
| 419 | } | |
| 420 | .mono { font-family: var(--mono); } | |
| 421 | .dim { color: var(--text-dim); } | |
| 422 | .muted { color: var(--text-muted); } | |
| 423 | ||
| 424 | /* Banner */ | |
| 425 | .banner { | |
| 426 | padding: 10px 14px; | |
| 427 | border-radius: var(--radius-sm); | |
| 428 | font-size: 13px; | |
| 429 | margin: 10px 0; | |
| 430 | border-left: 3px solid; | |
| 431 | } | |
| 432 | .banner-ok { background: rgba(52, 211, 153, .08); border-left-color: var(--accent-ok); color: #a7f3d0; } | |
| 433 | .banner-warn { background: rgba(245, 158, 11, .08); border-left-color: var(--accent-warn); color: var(--accent-warn-hi); } | |
| 434 | .banner-err { background: rgba(244, 63, 94, .08); border-left-color: var(--accent-danger); color: var(--accent-danger-hi); } | |
| 435 | .banner-info { background: rgba(56, 189, 248, .08); border-left-color: var(--accent-info); color: var(--accent-info); } | |
| 436 | ||
| 437 | /* Scrollbar (webkit) */ | |
| 438 | ::-webkit-scrollbar { width: 10px; height: 10px; } | |
| 439 | ::-webkit-scrollbar-track { background: var(--bg-0); } | |
| 440 | ::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; border: 2px solid var(--bg-0); } | |
| 441 | ::-webkit-scrollbar-thumb:hover { background: var(--border-hi); } |