Restore
Restore
Restore file to captured state
Every captured change carries its SHA-256-addressed content in BLOB_STORE. Restoring writes that content back to the original path — current file gets backed up to <path>.drift_restore_backup_<epoch> before overwrite.
What will change
Preview -- nothing has been written yet.
| Target file | /var/www/vhosts/3dshawn.com/site1/assets/styles/drift_sense.css |
| Site | DriftSense self-monitor on local |
| Kind | local |
| Captured at | 2026-07-10 23:21:47 |
| Captured SHA | 1369c2c778fe3905bbf40564e26ac8da0caaa78fab534c86a66a3eb15a3f6d40 |
Current state on disk
Live check just now. If SHAs match, the restore is a no-op.
| File present | yes |
| Size | 19193 bytes |
| Current SHA | d2605008feac |
| Same as captured? | no -- restore will change it |
What restore will change — live diff
Left column shows current on-disk content; right shows what restore will write. +0 additions, -80 deletions, 542 unchanged context lines.
| 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); } | |
| 234 | 154 | |
| 235 | 155 | /* Main content area */ |
| 236 | 156 | .app-main { min-width: 0; } |
| 237 | 157 | .topbar { |
| 238 | 158 | padding: 16px 32px; |
| 239 | 159 | border-bottom: 1px solid var(--border); |
| 240 | 160 | display: flex; |
| 241 | 161 | align-items: center; |
| 242 | 162 | gap: 16px; |
| 243 | 163 | background: rgba(10, 18, 32, 0.5); |
| 244 | 164 | backdrop-filter: blur(8px); |
| 245 | 165 | position: sticky; top: 0; z-index: 10; |
| 246 | 166 | } |
| 247 | 167 | .topbar h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .3px; } |
| 248 | 168 | .topbar-spacer { flex: 1; } |
| 249 | 169 | .topbar-user { |
| 250 | 170 | display: flex; |
| 251 | 171 | align-items: center; |
| 252 | 172 | gap: 10px; |
| 253 | 173 | padding: 5px 12px 5px 5px; |
| 254 | 174 | background: var(--bg-2); |
| 255 | 175 | border: 1px solid var(--border); |
| 256 | 176 | border-radius: var(--radius-pill); |
| 257 | 177 | font-size: 12.5px; |
| 258 | 178 | } |
| 259 | 179 | .topbar-user .initials { |
| 260 | 180 | width: 26px; height: 26px; |
| 261 | 181 | border-radius: 50%; |
| 262 | 182 | background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); |
| 263 | 183 | color: #030710; |
| 264 | 184 | display: grid; place-items: center; |
| 265 | 185 | font-size: 11px; font-weight: 700; |
| 266 | 186 | font-family: var(--mono); |
| 267 | 187 | } |
| 268 | 188 | |
| 269 | 189 | .app-content { |
| 270 | 190 | padding: 32px 40px 96px; |
| 271 | 191 | max-width: 1400px; |
| 272 | 192 | } |
| 273 | 193 | |
| 274 | 194 | /* ========================================================================= |
| 275 | 195 | * PAGE HEAD |
| 276 | 196 | * ========================================================================= */ |
| 277 | 197 | .page-head { margin-bottom: 32px; } |
| 278 | 198 | .page-eyebrow { |
| 279 | 199 | display: inline-flex; |
| 280 | 200 | align-items: center; |
| 281 | 201 | gap: 8px; |
| 282 | 202 | font-size: 10.5px; |
| 283 | 203 | letter-spacing: 1.8px; |
| 284 | 204 | text-transform: uppercase; |
| 285 | 205 | color: var(--accent-hi); |
| 286 | 206 | font-weight: 700; |
| 287 | 207 | padding: 5px 12px; |
| 288 | 208 | background: rgba(20, 184, 166, .10); |
| 289 | 209 | border: 1px solid rgba(20, 184, 166, .30); |
| 290 | 210 | border-radius: var(--radius-pill); |
| 291 | 211 | margin-bottom: 14px; |
| 292 | 212 | text-decoration: none; |
| 293 | 213 | } |
| 294 | 214 | .page-eyebrow .dot { |
| 295 | 215 | width: 6px; height: 6px; border-radius: 50%; |
| 296 | 216 | background: var(--accent-hi); |
| 297 | 217 | box-shadow: 0 0 10px var(--accent-hi); |
| 298 | 218 | } |
| 299 | 219 | .page-title { |
| 300 | 220 | margin: 0 0 8px; |
| 301 | 221 | font-size: 32px; |
| 302 | 222 | font-weight: 800; |
| 303 | 223 | letter-spacing: -0.02em; |
| 304 | 224 | background: linear-gradient(135deg, #fff 0%, #cbd5e1 60%, var(--accent-hi) 100%); |
| 305 | 225 | -webkit-background-clip: text; |
| 306 | 226 | background-clip: text; |
| 307 | 227 | color: transparent; |
| 308 | 228 | } |
| 309 | 229 | .page-subtitle { |
| 310 | 230 | color: var(--text-dim); |
| 311 | 231 | font-size: 14.5px; |
| 312 | 232 | max-width: 780px; |
| 313 | 233 | margin: 0; |
| 314 | 234 | } |
| 315 | 235 | |
| 316 | 236 | /* ========================================================================= |
| 317 | 237 | * MODULES / CARDS |
| 318 | 238 | * ========================================================================= */ |
| 319 | 239 | .dash-grid { |
| 320 | 240 | display: grid; |
| 321 | 241 | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); |
| 322 | 242 | gap: 16px; |
| 323 | 243 | margin-bottom: 20px; |
| 324 | 244 | } |
| 325 | 245 | .module { |
| 326 | 246 | background: var(--bg-panel); |
| 327 | 247 | border: 1px solid var(--border); |
| 328 | 248 | border-radius: var(--radius); |
| 329 | 249 | overflow: hidden; |
| 330 | 250 | transition: border-color .15s ease, box-shadow .15s ease; |
| 331 | 251 | } |
| 332 | 252 | .module:hover { border-color: var(--border-hi); } |
| 333 | 253 | .module-head { |
| 334 | 254 | padding: 12px 16px; |
| 335 | 255 | border-bottom: 1px solid var(--border); |
| 336 | 256 | display: flex; |
| 337 | 257 | align-items: center; |
| 338 | 258 | justify-content: space-between; |
| 339 | 259 | gap: 12px; |
| 340 | 260 | background: rgba(20, 184, 166, .03); |
| 341 | 261 | } |
| 342 | 262 | .module-head .left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } |
| 343 | 263 | .module-icon { |
| 344 | 264 | width: 26px; height: 26px; |
| 345 | 265 | border-radius: 7px; |
| 346 | 266 | display: grid; place-items: center; |
| 347 | 267 | color: var(--accent-hi); |
| 348 | 268 | background: rgba(20, 184, 166, .10); |
| 349 | 269 | border: 1px solid rgba(20, 184, 166, .30); |
| 350 | 270 | } |
| 351 | 271 | .module-title { font-size: 13px; font-weight: 700; letter-spacing: .3px; } |
| 352 | 272 | .module-subtitle { |
| 353 | 273 | font-size: 11.5px; |
| 354 | 274 | font-weight: 400; |
| 355 | 275 | color: #b8c5d6; |
| 356 | 276 | margin-left: 8px; |
| 357 | 277 | padding-left: 10px; |
| 358 | 278 | border-left: 1px solid var(--border); |
| 359 | 279 | line-height: 1.35; |
| 360 | 280 | } |
| 361 | 281 | .module-body { padding: 16px; } |
| 362 | 282 | .module-body.tight { padding: 0; } |
| 363 | 283 | |
| 364 | 284 | /* Module glow variants */ |
| 365 | 285 | .module.glow-teal { box-shadow: 0 0 0 1px rgba(20, 184, 166, .20), 0 0 26px rgba(20, 184, 166, .10); } |
| 366 | 286 | .module.glow-amber { box-shadow: 0 0 0 1px rgba(245, 158, 11, .20), 0 0 26px rgba(245, 158, 11, .10); } |
| 367 | 287 | .module.glow-rose { box-shadow: 0 0 0 1px rgba(244, 63, 94, .20), 0 0 26px rgba(244, 63, 94, .10); } |
| 368 | 288 | .module.glow-emerald{ box-shadow: 0 0 0 1px rgba(52, 211, 153, .20), 0 0 26px rgba(52, 211, 153, .10); } |
| 369 | 289 | .module.glow-sky { box-shadow: 0 0 0 1px rgba(56, 189, 248, .20), 0 0 26px rgba(56, 189, 248, .10); } |
| 370 | 290 | |
| 371 | 291 | /* ========================================================================= |
| 372 | 292 | * KPI TILES |
| 373 | 293 | * ========================================================================= */ |
| 374 | 294 | .kpi { padding: 20px 22px; } |
| 375 | 295 | .kpi .num { |
| 376 | 296 | font-size: 34px; |
| 377 | 297 | font-weight: 800; |
| 378 | 298 | letter-spacing: -0.02em; |
| 379 | 299 | line-height: 1.1; |
| 380 | 300 | font-variant-numeric: tabular-nums; |
| 381 | 301 | } |
| 382 | 302 | .kpi .lbl { |
| 383 | 303 | font-size: 11px; |
| 384 | 304 | letter-spacing: 1.6px; |
| 385 | 305 | text-transform: uppercase; |
| 386 | 306 | color: var(--text-muted); |
| 387 | 307 | font-weight: 700; |
| 388 | 308 | margin-top: 6px; |
| 389 | 309 | } |
| 390 | 310 | .kpi .sub { font-size: 12px; color: var(--text-dim); margin-top: 10px; } |
| 391 | 311 | .kpi-teal .num { color: var(--accent-hi); text-shadow: 0 0 24px rgba(20, 184, 166, .35); } |
| 392 | 312 | .kpi-amber .num { color: var(--accent-warn-hi); text-shadow: 0 0 24px rgba(245, 158, 11, .30); } |
| 393 | 313 | .kpi-rose .num { color: var(--accent-danger-hi); text-shadow: 0 0 24px rgba(244, 63, 94, .30); } |
| 394 | 314 | .kpi-emerald .num { color: var(--accent-ok-hi); text-shadow: 0 0 24px rgba(52, 211, 153, .30); } |
| 395 | 315 | .kpi-sky .num { color: var(--accent-info); text-shadow: 0 0 24px rgba(56, 189, 248, .30); } |
| 396 | 316 | |
| 397 | 317 | /* ========================================================================= |
| 398 | 318 | * PILLS + STATUS BADGES |
| 399 | 319 | * ========================================================================= */ |
| 400 | 320 | .pill { |
| 401 | 321 | display: inline-flex; |
| 402 | 322 | align-items: center; |
| 403 | 323 | padding: 3px 9px; |
| 404 | 324 | border-radius: var(--radius-pill); |
| 405 | 325 | font-size: 10.5px; |
| 406 | 326 | letter-spacing: .6px; |
| 407 | 327 | text-transform: uppercase; |
| 408 | 328 | font-weight: 700; |
| 409 | 329 | border: 1px solid var(--border); |
| 410 | 330 | } |
| 411 | 331 | .pill-ok { background: rgba(52, 211, 153, .10); color: #a7f3d0; border-color: rgba(52, 211, 153, .35); } |
| 412 | 332 | .pill-warn { background: rgba(245, 158, 11, .10); color: var(--accent-warn-hi); border-color: rgba(245, 158, 11, .35); } |
| 413 | 333 | .pill-bad { background: rgba(244, 63, 94, .10); color: var(--accent-danger-hi); border-color: rgba(244, 63, 94, .35); } |
| 414 | 334 | .pill-info { background: rgba(56, 189, 248, .10); color: var(--accent-info); border-color: rgba(56, 189, 248, .35); } |
| 415 | 335 | .pill-mute { background: rgba(255,255,255,.03); color: var(--text-dim); } |
| 416 | 336 | |
| 417 | 337 | /* ========================================================================= |
| 418 | 338 | * TABLES |
| 419 | 339 | * ========================================================================= */ |
| 420 | 340 | .tbl { width: 100%; border-collapse: collapse; font-size: 13px; } |
| 421 | 341 | .tbl th { |
| 422 | 342 | text-align: left; |
| 423 | 343 | padding: 10px 14px; |
| 424 | 344 | font-size: 10.5px; |
| 425 | 345 | letter-spacing: 1.4px; |
| 426 | 346 | text-transform: uppercase; |
| 427 | 347 | color: var(--text-muted); |
| 428 | 348 | font-weight: 700; |
| 429 | 349 | border-bottom: 1px solid var(--border); |
| 430 | 350 | background: rgba(255,255,255,.02); |
| 431 | 351 | } |
| 432 | 352 | .tbl td { |
| 433 | 353 | padding: 12px 14px; |
| 434 | 354 | border-bottom: 1px solid rgba(255,255,255,.03); |
| 435 | 355 | vertical-align: middle; |
| 436 | 356 | } |
| 437 | 357 | .tbl tr:hover td { background: rgba(255,255,255,.02); } |
| 438 | 358 | .tbl .mono { font-family: var(--mono); font-size: 12.5px; } |
| 439 | 359 | .tbl .dim { color: var(--text-dim); } |
| 440 | 360 | |
| 441 | 361 | /* ========================================================================= |
| 442 | 362 | * CHIP RANGE PICKER (portfolio-canonical .tr-chip pattern) |
| 443 | 363 | * ========================================================================= */ |
| 444 | 364 | .tr-chip { |
| 445 | 365 | display: inline-flex; |
| 446 | 366 | align-items: center; |
| 447 | 367 | padding: 5px 12px; |
| 448 | 368 | border-radius: var(--radius-pill); |
| 449 | 369 | font-size: 12px; |
| 450 | 370 | font-weight: 600; |
| 451 | 371 | color: var(--text-muted); |
| 452 | 372 | text-decoration: none; |
| 453 | 373 | background: transparent; |
| 454 | 374 | border: 1px solid var(--border); |
| 455 | 375 | cursor: pointer; |
| 456 | 376 | transition: all .15s ease; |
| 457 | 377 | font-family: inherit; |
| 458 | 378 | } |
| 459 | 379 | .tr-chip:hover { color: var(--text); border-color: var(--accent); } |
| 460 | 380 | .tr-chip.is-active { |
| 461 | 381 | background: var(--accent); |
| 462 | 382 | color: #0a1220; |
| 463 | 383 | border-color: var(--accent); |
| 464 | 384 | } |
| 465 | 385 | .range-bar { |
| 466 | 386 | display: flex; |
| 467 | 387 | flex-wrap: wrap; |
| 468 | 388 | align-items: center; |
| 469 | 389 | gap: 8px; |
| 470 | 390 | padding: 10px 14px; |
| 471 | 391 | background: var(--bg-2); |
| 472 | 392 | border: 1px solid var(--border); |
| 473 | 393 | border-radius: var(--radius); |
| 474 | 394 | margin-bottom: 16px; |
| 475 | 395 | } |
| 476 | 396 | .range-bar .rb-label { |
| 477 | 397 | font-size: 11px; |
| 478 | 398 | letter-spacing: 1.4px; |
| 479 | 399 | text-transform: uppercase; |
| 480 | 400 | color: var(--text-muted); |
| 481 | 401 | font-weight: 700; |
| 482 | 402 | } |
| 483 | 403 | .range-bar input[type="text"], |
| 484 | 404 | .range-bar input[type="datetime-local"] { |
| 485 | 405 | background: var(--bg-1); |
| 486 | 406 | color: var(--text); |
| 487 | 407 | border: 1px solid var(--border); |
| 488 | 408 | border-radius: var(--radius-sm); |
| 489 | 409 | padding: 5px 10px; |
| 490 | 410 | font-size: 12.5px; |
| 491 | 411 | font-family: inherit; |
| 492 | 412 | } |
| 493 | 413 | .range-bar input[type="text"]:focus, |
| 494 | 414 | .range-bar input[type="datetime-local"]:focus { |
| 495 | 415 | outline: none; |
| 496 | 416 | border-color: var(--accent); |
| 497 | 417 | } |
| 498 | 418 | |
| 499 | 419 | /* ========================================================================= |
| 500 | 420 | * CHART TOOLTIP (activity timeline etc.) |
| 501 | 421 | * ========================================================================= */ |
| 502 | 422 | .chart-tooltip { |
| 503 | 423 | position: fixed; |
| 504 | 424 | z-index: 9999; |
| 505 | 425 | pointer-events: none; |
| 506 | 426 | background: var(--bg-3); |
| 507 | 427 | border: 1px solid var(--accent); |
| 508 | 428 | border-radius: var(--radius-sm); |
| 509 | 429 | padding: 8px 12px; |
| 510 | 430 | font-size: 12px; |
| 511 | 431 | color: var(--text); |
| 512 | 432 | box-shadow: 0 8px 24px rgba(0,0,0,0.5); |
| 513 | 433 | min-width: 160px; |
| 514 | 434 | transform: translate(-50%, calc(-100% - 10px)); |
| 515 | 435 | opacity: 0; |
| 516 | 436 | transition: opacity .1s ease; |
| 517 | 437 | } |
| 518 | 438 | .chart-tooltip.on { opacity: 1; } |
| 519 | 439 | .chart-tooltip .ct-date { |
| 520 | 440 | font-family: var(--mono); |
| 521 | 441 | font-size: 11px; |
| 522 | 442 | color: var(--text-muted); |
| 523 | 443 | letter-spacing: 0.5px; |
| 524 | 444 | margin-bottom: 4px; |
| 525 | 445 | } |
| 526 | 446 | .chart-tooltip .ct-row { |
| 527 | 447 | display: flex; |
| 528 | 448 | align-items: center; |
| 529 | 449 | gap: 6px; |
| 530 | 450 | line-height: 1.5; |
| 531 | 451 | } |
| 532 | 452 | .chart-tooltip .ct-swatch { |
| 533 | 453 | width: 9px; height: 9px; border-radius: 2px; display: inline-block; |
| 534 | 454 | } |
| 535 | 455 | .chart-tooltip .ct-hint { |
| 536 | 456 | margin-top: 4px; |
| 537 | 457 | font-size: 10.5px; |
| 538 | 458 | color: var(--text-muted); |
| 539 | 459 | font-style: italic; |
| 540 | 460 | } |
| 541 | 461 | |
| 542 | 462 | /* ========================================================================= |
| 543 | 463 | * BUTTONS |
| 544 | 464 | * ========================================================================= */ |
| 545 | 465 | .btn { |
| 546 | 466 | display: inline-flex; |
| 547 | 467 | align-items: center; |
| 548 | 468 | gap: 6px; |
| 549 | 469 | padding: 8px 16px; |
| 550 | 470 | background: var(--accent); |
| 551 | 471 | color: #030710; |
| 552 | 472 | border: none; |
| 553 | 473 | border-radius: var(--radius-pill); |
| 554 | 474 | font-family: inherit; |
| 555 | 475 | font-size: 12.5px; |
| 556 | 476 | font-weight: 700; |
| 557 | 477 | cursor: pointer; |
| 558 | 478 | text-decoration: none; |
| 559 | 479 | transition: transform .1s ease, box-shadow .1s ease, background .12s ease; |
| 560 | 480 | } |
| 561 | 481 | .btn:hover { background: var(--accent-hi); box-shadow: 0 4px 14px var(--accent-glow); transform: translateY(-1px); } |
| 562 | 482 | .btn-secondary { |
| 563 | 483 | background: transparent; |
| 564 | 484 | color: var(--text); |
| 565 | 485 | border: 1px solid var(--border); |
| 566 | 486 | } |
| 567 | 487 | .btn-secondary:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent-hi); } |
| 568 | 488 | .btn-danger { background: var(--accent-danger); } |
| 569 | 489 | .btn-danger:hover { background: var(--accent-danger-hi); box-shadow: 0 4px 14px rgba(244, 63, 94, .35); } |
| 570 | 490 | |
| 571 | 491 | /* ========================================================================= |
| 572 | 492 | * FORMS |
| 573 | 493 | * ========================================================================= */ |
| 574 | 494 | input[type=text], input[type=email], input[type=password], input[type=number], |
| 575 | 495 | input[type=date], input[type=datetime-local], textarea, select { |
| 576 | 496 | background: var(--bg-2); |
| 577 | 497 | color: var(--text); |
| 578 | 498 | border: 1px solid var(--border); |
| 579 | 499 | border-radius: var(--radius-sm); |
| 580 | 500 | padding: 8px 12px; |
| 581 | 501 | font-family: inherit; |
| 582 | 502 | font-size: 13px; |
| 583 | 503 | outline: none; |
| 584 | 504 | transition: border-color .12s ease; |
| 585 | 505 | color-scheme: dark; |
| 586 | 506 | } |
| 587 | 507 | input:focus, textarea:focus, select:focus { border-color: var(--accent); } |
| 588 | 508 | |
| 589 | 509 | /* ========================================================================= |
| 590 | 510 | * MISC UTILITIES |
| 591 | 511 | * ========================================================================= */ |
| 592 | 512 | code { |
| 593 | 513 | background: rgba(20, 184, 166, .10); |
| 594 | 514 | color: var(--accent-hi); |
| 595 | 515 | padding: 1px 6px; |
| 596 | 516 | border-radius: 4px; |
| 597 | 517 | font-family: var(--mono); |
| 598 | 518 | font-size: 0.88em; |
| 599 | 519 | border: 1px solid rgba(20, 184, 166, .20); |
| 600 | 520 | } |
| 601 | 521 | .mono { font-family: var(--mono); } |
| 602 | 522 | .dim { color: var(--text-dim); } |
| 603 | 523 | .muted { color: var(--text-muted); } |
| 604 | 524 | |
| 605 | 525 | /* Banner */ |
| 606 | 526 | .banner { |
| 607 | 527 | padding: 10px 14px; |
| 608 | 528 | border-radius: var(--radius-sm); |
| 609 | 529 | font-size: 13px; |
| 610 | 530 | margin: 10px 0; |
| 611 | 531 | border-left: 3px solid; |
| 612 | 532 | } |
| 613 | 533 | .banner-ok { background: rgba(52, 211, 153, .08); border-left-color: var(--accent-ok); color: #a7f3d0; } |
| 614 | 534 | .banner-warn { background: rgba(245, 158, 11, .08); border-left-color: var(--accent-warn); color: var(--accent-warn-hi); } |
| 615 | 535 | .banner-err { background: rgba(244, 63, 94, .08); border-left-color: var(--accent-danger); color: var(--accent-danger-hi); } |
| 616 | 536 | .banner-info { background: rgba(56, 189, 248, .08); border-left-color: var(--accent-info); color: var(--accent-info); } |
| 617 | 537 | |
| 618 | 538 | /* Scrollbar (webkit) */ |
| 619 | 539 | ::-webkit-scrollbar { width: 10px; height: 10px; } |
| 620 | 540 | ::-webkit-scrollbar-track { background: var(--bg-0); } |
| 621 | 541 | ::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; border: 2px solid var(--bg-0); } |
| 622 | 542 | ::-webkit-scrollbar-thumb:hover { background: var(--border-hi); } |
Confirm restore
Backs current content to <target>.drift_restore_backup_<epoch>, writes the captured content, verifies SHA post-write.