Spaces:
Sleeping
Sleeping
| /* ============================================================ | |
| AssetQR 360 — design system | |
| Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (data) | |
| Signature: the QR finder-pattern / scan-frame motif | |
| ============================================================ */ | |
| /* ---------- Tokens ---------- */ | |
| :root { | |
| --ink: #101014; /* deep slate — primary text */ | |
| --ink-soft: #4a5468; | |
| --surface: #fafaf7; /* page background */ | |
| --panel: #ffffff; /* cards / navbar base */ | |
| --line: #e5e3da; | |
| --brand: #1d4ed8; /* enterprise blue */ | |
| --brand-deep: #1e40af; | |
| --teal: #c9a227; /* operational / healthy */ | |
| --amber: #d98c1f; /* attention */ | |
| --red: #d6455d; /* risk */ | |
| --glass: rgba(255, 255, 255, .72); | |
| --glass-line: rgba(16, 22, 35, .08); | |
| --shadow: 0 10px 30px -12px rgba(16, 22, 35, .18); | |
| --radius: 14px; | |
| --font-display: "Space Grotesk", sans-serif; | |
| --font-body: "Inter", system-ui, sans-serif; | |
| --font-mono: "JetBrains Mono", monospace; | |
| } | |
| [data-theme="dark"] { | |
| --ink: #e8ebf2; | |
| --ink-soft: #9aa4b8; | |
| --surface: #0b0b10; | |
| --panel: #14141d; | |
| --line: #262633; | |
| --brand: #7d9bff; | |
| --brand-deep: #5b7ef7; | |
| --teal: #e9c766; | |
| --amber: #e6a63f; | |
| --red: #ef6a80; | |
| --glass: rgba(17, 23, 40, .72); | |
| --glass-line: rgba(232, 235, 242, .08); | |
| --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); | |
| color-scheme: dark; | |
| } | |
| /* ---------- Base ---------- */ | |
| html { scroll-behavior: smooth; scroll-padding-top: 84px; } | |
| body { | |
| font-family: var(--font-body); | |
| color: var(--ink); | |
| background: var(--surface); | |
| transition: background-color .25s ease, color .25s ease; | |
| } | |
| .aq-main { min-height: 72vh; padding-top: 72px; } | |
| .aq-mono { font-family: var(--font-mono); font-size: .85em; } | |
| :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; } | |
| /* ---------- Navbar (glass) ---------- */ | |
| .aq-navbar { | |
| background: var(--glass); | |
| backdrop-filter: blur(14px); | |
| -webkit-backdrop-filter: blur(14px); | |
| border-bottom: 1px solid var(--glass-line); | |
| transition: box-shadow .25s ease; | |
| } | |
| .aq-navbar.scrolled { box-shadow: var(--shadow); } | |
| .aq-navbar .nav-link { color: var(--ink-soft); font-weight: 500; } | |
| .aq-navbar .nav-link:hover, .aq-navbar .nav-link:focus { color: var(--brand); } | |
| .aq-brand { display: flex; align-items: center; gap: .6rem; } | |
| .aq-brand-mark { width: 30px; height: 30px; } | |
| .aq-brand-mark .mk rect { fill: none; stroke: var(--brand); stroke-width: 3; } | |
| .aq-brand-mark .mk .dot { fill: var(--brand); stroke: none; } | |
| .aq-brand-mark .mk .dot.alt { fill: var(--teal); } | |
| .aq-brand-text { | |
| font-family: var(--font-display); font-weight: 700; | |
| font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; | |
| } | |
| .aq-brand-text em { font-style: normal; color: var(--brand); } | |
| .aq-chip { | |
| font-size: .8rem; color: var(--ink-soft); | |
| border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; | |
| } | |
| .aq-icon-btn { color: var(--ink-soft); border: 1px solid var(--line); border-radius: 10px; } | |
| .aq-icon-btn:hover { color: var(--brand); border-color: var(--brand); } | |
| [data-theme="light"] .theme-icon-light { display: none; } | |
| [data-theme="dark"] .theme-icon-dark { display: none; } | |
| /* ---------- Buttons ---------- */ | |
| .aq-btn-primary { | |
| background: var(--brand); color: #fff; border: none; border-radius: 10px; | |
| font-weight: 600; padding: .55rem 1.2rem; | |
| transition: background .2s ease, transform .15s ease; | |
| } | |
| .aq-btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); } | |
| .btn-outline-secondary { border-color: var(--line); color: var(--ink-soft); border-radius: 10px; } | |
| .btn-outline-secondary:hover { border-color: var(--brand); color: var(--brand); background: transparent; } | |
| /* ---------- Typography blocks ---------- */ | |
| .aq-eyebrow { | |
| display: inline-block; font-family: var(--font-mono); font-size: .72rem; | |
| letter-spacing: .14em; text-transform: uppercase; color: var(--teal); | |
| border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; | |
| margin-bottom: 1rem; background: var(--panel); | |
| } | |
| .aq-display { | |
| font-family: var(--font-display); font-weight: 700; | |
| font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.02em; | |
| } | |
| .aq-display .hl { color: var(--brand); position: relative; } | |
| .aq-display .hl::after { | |
| content: ""; position: absolute; left: 0; right: 0; bottom: .06em; | |
| height: .14em; background: color-mix(in srgb, var(--teal) 45%, transparent); | |
| border-radius: 3px; z-index: -1; | |
| } | |
| .aq-h2 { | |
| font-family: var(--font-display); font-weight: 600; | |
| font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.015em; | |
| } | |
| .aq-lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 56ch; margin-top: 1rem; } | |
| /* ---------- Hero ---------- */ | |
| .aq-hero { padding: 5.5rem 0 4rem; } | |
| .aq-hero-facts { color: var(--ink-soft); font-size: .85rem; } | |
| .aq-hero-facts div { display: flex; flex-direction: column; } | |
| .aq-hero-facts strong { color: var(--ink); font-family: var(--font-display); } | |
| /* ---------- Signature: scan frame ---------- */ | |
| .aq-scanframe { position: relative; max-width: 460px; padding: 2rem; } | |
| .aq-scanframe .c { | |
| position: absolute; width: 42px; height: 42px; | |
| border: 4px solid var(--brand); border-radius: 6px; | |
| } | |
| .aq-scanframe .tl { top: 0; left: 0; border-right: none; border-bottom: none; } | |
| .aq-scanframe .tr { top: 0; right: 0; border-left: none; border-bottom: none; } | |
| .aq-scanframe .bl { bottom: 0; left: 0; border-right: none; border-top: none; } | |
| .aq-scanframe .br { bottom: 0; right: 0; border-left: none; border-top: none; border-color: var(--teal); } | |
| .aq-scanframe-line { | |
| position: absolute; left: 8%; right: 8%; top: 12%; height: 2px; | |
| background: linear-gradient(90deg, transparent, var(--teal), transparent); | |
| animation: scan 3.4s ease-in-out infinite; opacity: .85; | |
| } | |
| @keyframes scan { 0%, 100% { top: 12%; } 50% { top: 86%; } } | |
| .aq-asset-card { | |
| background: var(--panel); border: 1px solid var(--line); | |
| border-radius: var(--radius); box-shadow: var(--shadow); | |
| padding: 1.4rem; position: relative; | |
| } | |
| .aq-asset-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: .7rem 0 1rem; } | |
| .aq-tag { color: var(--ink-soft); letter-spacing: .04em; } | |
| .aq-badge { | |
| font-size: .72rem; font-weight: 600; border-radius: 999px; padding: .28rem .65rem; | |
| } | |
| .aq-badge.ok { color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); } | |
| .aq-kv { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 0; } | |
| .aq-kv dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 500; } | |
| .aq-kv dd { margin: 0; font-weight: 500; font-size: .92rem; } | |
| .aq-kv dd.warn { color: var(--amber); } | |
| .aq-qr-mini { | |
| position: absolute; right: 1.2rem; bottom: 1.1rem; width: 58px; height: 58px; | |
| padding: 5px; background: #fff; border-radius: 8px; border: 1px solid var(--line); | |
| } | |
| .aq-qr-mini .q { fill: #101623; } | |
| /* ---------- Sections & cards ---------- */ | |
| .aq-section { padding: 4.5rem 0; } | |
| .aq-section-tint { background: color-mix(in srgb, var(--panel) 55%, var(--surface)); border-block: 1px solid var(--line); } | |
| .aq-card { | |
| background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); | |
| padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; | |
| } | |
| .aq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); } | |
| .aq-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: .9rem 0 .5rem; } | |
| .aq-card p { color: var(--ink-soft); font-size: .93rem; margin: 0; } | |
| .aq-card-icon { | |
| width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; | |
| color: var(--brand); font-size: 1.25rem; | |
| background: color-mix(in srgb, var(--brand) 11%, transparent); | |
| } | |
| /* ---------- Firestore tree / console ---------- */ | |
| .aq-tree, .aq-console { | |
| background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); | |
| padding: 1.4rem; font-size: .82rem; line-height: 1.9; white-space: pre; | |
| overflow-x: auto; box-shadow: var(--shadow); color: var(--ink); | |
| } | |
| .aq-tree .t-c { color: var(--brand); font-weight: 600; } | |
| .aq-tree .t-o { color: var(--teal); font-weight: 600; } | |
| .aq-tree .t-m { color: var(--ink-soft); } | |
| .aq-tree .t-d { color: var(--red); } | |
| /* ---------- Alerts / toasts ---------- */ | |
| .aq-alert { background: var(--panel); border: 1px solid var(--line); color: var(--ink-soft); border-radius: var(--radius); } | |
| .aq-toast { | |
| background: var(--panel); color: var(--ink); border: 1px solid var(--line); | |
| border-left: 4px solid var(--brand); border-radius: 10px; box-shadow: var(--shadow); | |
| } | |
| .aq-toast.success { border-left-color: var(--teal); } | |
| .aq-toast.danger { border-left-color: var(--red); } | |
| .aq-toast.warning { border-left-color: var(--amber); } | |
| /* ---------- Loading overlay: scanner motif ---------- */ | |
| .aq-loading { | |
| position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; | |
| background: color-mix(in srgb, var(--surface) 72%, transparent); | |
| backdrop-filter: blur(4px); | |
| } | |
| .aq-scanner { position: relative; width: 72px; height: 72px; } | |
| .aq-scanner > span { position: absolute; width: 20px; height: 20px; border: 3px solid var(--brand); border-radius: 4px; } | |
| .aq-scanner > span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; } | |
| .aq-scanner > span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; } | |
| .aq-scanner > span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; } | |
| .aq-scanner > span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; } | |
| .aq-scanline { | |
| position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; | |
| background: var(--teal); animation: scan-sm 1.1s ease-in-out infinite; | |
| } | |
| @keyframes scan-sm { 0%, 100% { top: 8px; } 50% { top: 60px; } } | |
| /* ---------- Error pages ---------- */ | |
| .aq-error { padding: 7rem 0; } | |
| .aq-error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 600; color: var(--brand); opacity: .25; line-height: 1; } | |
| /* ---------- Footer ---------- */ | |
| .aq-footer { border-top: 1px solid var(--line); background: var(--panel); } | |
| .aq-footer .aq-mono { color: var(--ink-soft); } | |
| /* ---------- Motion & responsiveness ---------- */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { animation: none ; transition: none ; } | |
| } | |
| @media (max-width: 991px) { | |
| .aq-navbar .navbar-collapse { background: var(--panel); border-radius: var(--radius); padding: 1rem; margin-top: .5rem; border: 1px solid var(--line); } | |
| .aq-hero { padding-top: 3.5rem; } | |
| } | |