mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
- /design, /desktop, /download, /api: the shared app-page stylesheet paints the page white with no dark rules; each page now maps it to Hanzo's dark tokens (--bg, --ink, --soft, --faint, --line), as /bot and /chrome already do. - /api, /sms-opt-in, /buying-specialist: white diagram cards, chips, phone screen and composer now sit on --x-raised / --card / --muted with --border edges. - /dns, /risk, /registry: captions on ink fills (light in dark) use --primary-foreground. - /kai: the light model card uses --muted in dark. - /enso: the particle ring was drawn on a canvas in a fixed #0a0a0a, invisible in dark. It now reads --eo-ink, which only dark sets (var(--foreground)); light still draws #0a0a0a. Every CSS rule is under html:not(.light): light mode is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
390 lines
35 KiB
CSS
390 lines
35 KiB
CSS
/* dark mode: the shared AppType sets ink and body greys in hex; follow the page tokens here (light values unchanged) */
|
|
.dk { color: var(--ink); }
|
|
.dk :where(.av-body, .av-lede) { color: light-dark(#525252, #a3a3a3); }
|
|
|
|
/* ---------- /desktop: the app window is the hero (deck scale: h1 52, heads 26; greys only; outline, never box + shadow) ---------- */
|
|
.dk { --dk-in: cubic-bezier(.16, 1, .3, 1); --dk-move: cubic-bezier(.4, 0, .2, 1); --dk-out: cubic-bezier(0, 0, .2, 1); }
|
|
|
|
/* hero: the name, one line of lede with the one ask beside it, then the whole window */
|
|
.dk-hero { padding-top: 28px; }
|
|
.dk-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
|
|
.dk-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 14px; }
|
|
.dk-lede { max-width: none; }
|
|
.dk-acts { display: flex; align-items: center; gap: 8px 20px; }
|
|
.dk .x-arrow { min-height: 44px; }
|
|
.dk-stage { width: min(100%, 1080px); margin: 24px auto 0; }
|
|
.dk-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 24px; }
|
|
.dk-under-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#737373, #858585); }
|
|
.dk-os { display: inline-flex; padding: 4px; border-radius: 999px; background: light-dark(#f5f5f5, #171717); }
|
|
.dk-os button { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: 500 15px/1 var(--sans); color: light-dark(#525252, #a3a3a3); cursor: pointer; transition: color .15s var(--dk-out), transform .09s var(--dk-out); }
|
|
.dk-os button[aria-selected='true'] { color: var(--ink); }
|
|
.dk-os button:active { transform: scale(.97); }
|
|
.dk-os button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
|
|
.dk-os-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e10); }
|
|
.dk-os-n { position: relative; }
|
|
.dk-mine { position: relative; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--ink); }
|
|
.dk-note { flex-basis: 100%; margin: 0; font-size: 14px; color: light-dark(#737373, #858585); text-align: center; }
|
|
.dk-note a { display: inline-flex; align-items: center; min-height: 44px; color: light-dark(#404040, #d4d4d4); transition: color .15s var(--dk-out); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
|
|
|
/* the window: outlined, 2:1, every part has a fixed box so nothing moves while it builds */
|
|
.dk-win { position: relative; aspect-ratio: 2 / 1; display: grid; grid-template-rows: 48px minmax(0, 1fr); border-radius: 24px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e10); overflow: hidden; font-family: var(--sans); }
|
|
.dk-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: light-dark(#f7f7f7, #141414); border-bottom: 1px solid var(--line); }
|
|
.dk-pause { order: 5; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -6px 0 auto; border: 0; border-radius: 50%; background: none; color: light-dark(#525252, #a3a3a3); cursor: pointer; transition: transform .09s var(--dk-out), color .15s var(--dk-out); }
|
|
.dk-pause:active { transform: scale(.97); }
|
|
.dk-pause:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
|
|
.dk-ctl, .dk-close { order: 6; }
|
|
.dk-lights { display: flex; gap: 8px; }
|
|
.dk-lights i { width: 12px; height: 12px; border-radius: 50%; background: light-dark(#d4d4d4, #404040); }
|
|
.dk-name { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
|
|
.dk-tabs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: light-dark(#ededed, #262626); }
|
|
.dk-tabs a { display: block; height: 30px; padding: 0 14px; border-radius: 9px; font: 500 13px/30px var(--sans); color: light-dark(#525252, #a3a3a3); text-decoration: none; white-space: nowrap; }
|
|
.dk-tabs a.on { background: var(--x-raised); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
|
|
.dk-appi { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--x-on-ink); }
|
|
.dk-ctl { display: flex; align-self: stretch; margin-right: -18px; }
|
|
.dk-ctl i { position: relative; width: 48px; }
|
|
.dk-ctl i::before, .dk-ctl i::after { content: ''; position: absolute; left: 50%; top: 50%; background: #404040; }
|
|
.dk-ctl i:nth-child(1)::before { width: 11px; height: 1.2px; margin-left: -5.5px; }
|
|
.dk-ctl i:nth-child(2)::before { width: 9px; height: 9px; margin: -5px 0 0 -5px; background: none; border: 1.2px solid #404040; border-radius: 2px; }
|
|
.dk-ctl i:nth-child(1)::after, .dk-ctl i:nth-child(2)::after { display: none; }
|
|
.dk-ctl i:nth-child(3)::before, .dk-ctl i:nth-child(3)::after { width: 13px; height: 1.2px; margin-left: -6.5px; transform: rotate(45deg); }
|
|
.dk-ctl i:nth-child(3)::after { transform: rotate(-45deg); }
|
|
.dk-close { margin-left: 4px; }
|
|
.dk-close i { position: relative; display: block; width: 26px; height: 26px; border-radius: 50%; background: light-dark(#ededed, #262626); }
|
|
.dk-close i::before, .dk-close i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: #404040; transform: rotate(45deg); }
|
|
.dk-close i::after { transform: rotate(-45deg); }
|
|
.os-win { border-radius: 12px; }
|
|
.os-win .dk-bar { background: light-dark(#f2f2f2, #171717); gap: 10px; }
|
|
.os-win .dk-side { background: var(--x-sunk); }
|
|
.os-linux { border-radius: 16px; }
|
|
.os-linux .dk-bar { background: light-dark(#ededed, #262626); }
|
|
.os-linux .dk-tabs { background: light-dark(#e5e5e5, #262626); }
|
|
|
|
.dk-main { min-height: 0; display: grid; grid-template-columns: 210px minmax(0, 1.3fr) minmax(0, 1fr); }
|
|
.dk-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px; background: light-dark(#f7f7f7, #141414); border-right: 1px solid var(--line); }
|
|
.dk-side-h { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 0 8px; font: 600 14px/1 var(--sans); color: var(--ink); }
|
|
.dk-side-i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--x-on-ink); }
|
|
.dk-tree { position: relative; isolation: isolate; list-style: none; margin: 0; padding: 0; font: 400 14px/1 var(--mono); }
|
|
.dk-tree li { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-tree .t-dir::before { content: 'â–¾'; margin-right: 8px; font-size: 11px; color: light-dark(#737373, #858585); }
|
|
.dk-tree .t-new { margin-left: 18px; background: var(--x-raised); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--x-e10); }
|
|
.dk-scan { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 32px; border-radius: 8px; background: light-dark(#ededed, #262626); opacity: 0; }
|
|
.dk-model { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding: 0 8px; font-size: 13px; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-model i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
|
|
|
|
.dk-chat { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 22px 26px 18px; }
|
|
.dk-msgs { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
|
|
.dk-you { align-self: flex-end; max-width: 82%; padding: 11px 16px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: light-dark(#fafafa, #0a0a0a); font-size: 15px; line-height: 1.45; }
|
|
.dk-ai { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--ink); }
|
|
.dk-av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; background: var(--ink); color: var(--x-on-ink); }
|
|
.dk-open { padding-left: 38px; }
|
|
.dk-open a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--x-raised); color: var(--ink); box-shadow: 0 0 0 1px light-dark(rgba(0, 0, 0, .14), rgba(255, 255, 255, .14)); font: 500 14px/1 var(--sans); text-decoration: none; transition: transform .09s var(--dk-out); }
|
|
.dk-open a:active { transform: scale(.97); }
|
|
.dk-compose { flex: none; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 18px; border-radius: 28px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e12); }
|
|
.dk-ask { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 15px; color: var(--ink); }
|
|
.dk-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; border-radius: 1px; background: var(--ink); }
|
|
.dk-send { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); }
|
|
|
|
.dk-log { min-width: 0; display: flex; flex-direction: column; background: var(--x-sunk); border-left: 1px solid var(--line); }
|
|
.dk-log-tab { flex: none; display: flex; align-items: flex-end; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
|
|
.dk-log-tab span { display: flex; align-items: center; height: 34px; padding: 0 14px; margin-bottom: -1px; border: 1px solid var(--line); border-bottom-color: var(--x-sunk); border-radius: 8px 8px 0 0; background: var(--x-sunk); font-size: 13px; color: light-dark(#737373, #858585); }
|
|
.dk-log-tab b { color: var(--ink); font-weight: 500; }
|
|
.dk-steps { flex: none; list-style: none; margin: 0; padding: 12px 20px 0; display: flex; flex-direction: column; }
|
|
.dk-steps li { display: flex; align-items: center; gap: 12px; min-height: 34px; font-size: 13px; color: light-dark(#737373, #858585); border-bottom: 1px solid light-dark(rgba(0, 0, 0, .06), rgba(255, 255, 255, .06)); }
|
|
.dk-steps li.run, .dk-steps li.done { color: var(--ink); }
|
|
.dk-st { position: relative; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px light-dark(#a3a3a3, #737373); color: var(--x-on-ink); }
|
|
.dk-st i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--ink); opacity: 0; }
|
|
.dk-st svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity .15s var(--dk-out), transform .3s var(--dk-in); }
|
|
.dk-steps li.run .dk-st i { opacity: 1; animation: dk-spin .8s linear infinite; }
|
|
.dk-steps li.done .dk-st { background: var(--ink); box-shadow: none; }
|
|
.dk-steps li.done .dk-st svg { opacity: 1; transform: none; }
|
|
@keyframes dk-spin { to { transform: rotate(360deg); } }
|
|
/* the file itself: limit.go, line by line as it is written (s6), then the test run under it (s7, s8) */
|
|
.dk-code { flex: 1; min-height: 0; margin: 12px 16px 0; padding: 12px 0; border-radius: 12px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--line); font-size: 12px; line-height: 1.65; color: var(--ink); overflow: hidden; white-space: pre; }
|
|
.dk-ln { display: block; padding-right: 8px; }
|
|
.dk-ln em { display: inline-block; width: 28px; padding-right: 10px; text-align: right; font-style: normal; color: light-dark(#a3a3a3, #737373); }
|
|
.dk-ln.cm { color: light-dark(#737373, #858585); }
|
|
.dk-test { flex: none; display: grid; gap: 4px; margin: 12px 16px 16px; padding: 12px 16px; border-radius: 12px; background: #0a0a0a; color: #a3a3a3; font-size: 12.5px; line-height: 1.5; }
|
|
.dk-test-cmd { color: #fafafa; }
|
|
.dk-test-out { white-space: pre; }
|
|
.dk-pass { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fafafa; white-space: nowrap; }
|
|
.dk-pass svg { width: 13px; height: 13px; }
|
|
|
|
/* assembly: each part waits for its step (only with JS; without it every part shows). Leaving 150 ms, arriving 300-500 ms */
|
|
.dk-bar, .dk-lights i, .dk-side, .dk-log, .dk-tabs, .dk-compose, .dk-you, .dk-ai, .dk-open, .dk-tree .t-new, .dk-log-tab span, .dk-steps li, .dk-ln, .dk-test, .dk-test-out, .dk-pass, .dk-ask {
|
|
transition: opacity .15s var(--dk-out), transform .15s var(--dk-out); }
|
|
.js .dk-win:not(.s1) .dk-bar { opacity: 0; transform: translateY(-100%); }
|
|
.js .dk-win:not(.s1) .dk-lights i { transform: scale(0); }
|
|
.js .dk-win:not(.s2) .dk-side { opacity: 0; transform: translateX(-24px); }
|
|
.js .dk-win:not(.s2) .dk-log { opacity: 0; transform: translateX(24px); }
|
|
.js .dk-win:not(.s3) .dk-tabs { opacity: 0; transform: translateY(-6px); }
|
|
.js .dk-win:not(.s3) .dk-compose { opacity: 0; transform: translateY(16px); }
|
|
.js .dk-win:not(.at4) .dk-ask { opacity: 0; }
|
|
.js .dk-win:not(.s5) .dk-you { opacity: 0; transform: translateY(16px); }
|
|
.js .dk-win:not(.s5) .dk-ai1 { opacity: 0; transform: translateY(16px); }
|
|
.js .dk-win:not(.s6) .dk-tree .t-new { opacity: 0; transform: translateX(-10px); }
|
|
.js .dk-win:not(.s6) .dk-log-tab span { opacity: 0; transform: translateY(6px); }
|
|
.js .dk-win:not(.s7) .dk-test { opacity: 0; transform: translateY(16px); }
|
|
.js .dk-win:not(.s6) .dk-ln { opacity: 0; transform: translateX(-8px); }
|
|
.js .dk-win:not(.s6) .dk-code { opacity: 0; transform: translateY(10px); } /* no empty file box before the file is written */
|
|
.dk-code { transition: opacity .15s var(--dk-out), transform .15s var(--dk-out); }
|
|
.dk-win.s6 .dk-code { transition: opacity .3s var(--dk-out), transform .4s var(--dk-in); }
|
|
.js .dk-win:not(.s8) .dk-test-out { opacity: 0; }
|
|
.js .dk-win:not(.s7) .dk-ai2 { opacity: 0; transform: translateY(16px); }
|
|
.js .dk-win:not(.s8) .dk-pass { opacity: 0; }
|
|
.js .dk-win:not(.s8) .dk-open { opacity: 0; transform: translateY(16px); }
|
|
.dk-win.s1 .dk-bar { transition: opacity .3s var(--dk-out), transform .5s var(--dk-in); }
|
|
.dk-win.s1 .dk-lights i { transition: transform .3s var(--dk-in) .25s; }
|
|
.dk-win.s1 .dk-lights i:nth-child(2) { transition-delay: .31s; } .dk-win.s1 .dk-lights i:nth-child(3) { transition-delay: .37s; }
|
|
.dk-win.s2 .dk-side, .dk-win.s2 .dk-log { transition: opacity .3s var(--dk-out), transform .5s var(--dk-in); }
|
|
.dk-win.s2 .dk-log { transition-delay: .06s; }
|
|
.dk-win.s3 .dk-tabs { transition: opacity .3s var(--dk-out), transform .4s var(--dk-in); }
|
|
.dk-win.s3 .dk-compose { transition: opacity .3s var(--dk-out) .06s, transform .5s var(--dk-in) .06s; }
|
|
.dk-win.at4 .dk-ask { transition: opacity .09s linear; }
|
|
.dk-win.s5 .dk-you { transition: opacity .3s var(--dk-out), transform .5s var(--dk-in); }
|
|
.dk-win.s5 .dk-ai1 { transition: opacity .3s var(--dk-out) 1s, transform .5s var(--dk-in) 1s; }
|
|
.dk-win.at5 .dk-scan { animation: dk-scan 1.5s var(--dk-move) .15s both; }
|
|
@keyframes dk-scan { 0% { opacity: 0; transform: translateY(0); } 12%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(64px); } }
|
|
.dk-win.s6 .dk-tree .t-new { transition: opacity .3s var(--dk-out), transform .4s var(--dk-in); }
|
|
.dk-win.s6 .dk-log-tab span { transition: opacity .3s var(--dk-out), transform .4s var(--dk-in); }
|
|
.dk-win.s7 .dk-test { transition: opacity .3s var(--dk-out), transform .4s var(--dk-in); }
|
|
.dk-win.s6 .dk-ln { transition: opacity .3s var(--dk-out) calc(var(--l) * 150ms), transform .4s var(--dk-in) calc(var(--l) * 150ms); }
|
|
.dk-win.s8 .dk-test-out { transition: opacity .3s var(--dk-out); }
|
|
.dk-win.s7 .dk-ai2 { transition: opacity .3s var(--dk-out) 1.1s, transform .5s var(--dk-in) 1.1s; }
|
|
.dk-win.s8 .dk-pass { transition: opacity .3s var(--dk-out) .15s; }
|
|
.dk-win.s8 .dk-open { transition: opacity .3s var(--dk-out) .15s, transform .5s var(--dk-in) .15s; }
|
|
.dk-win.at4 .dk-caret { animation: dk-blink 1s steps(1) infinite; }
|
|
.js .dk-win:not(.at4) .dk-caret { opacity: 0; }
|
|
@keyframes dk-blink { 50% { opacity: 0; } }
|
|
|
|
/* the signature: the job as a live terminal beside its statement (black glass, mono, a fixed height so nothing jumps) */
|
|
.dk-build .av-grid { align-items: center; }
|
|
.dk-build-l { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 17px; }
|
|
.dk-build-l h2 { margin: 0; }
|
|
.dk-build-r { grid-column: 6 / -1; min-width: 0; }
|
|
.dk-term { display: grid; grid-template-rows: 44px 400px auto; border-radius: 20px; background: #0a0a0a; color: #fafafa; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
|
|
.dk-term-bar { display: flex; align-items: center; gap: 14px; padding: 0 6px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
|
|
.dk-term-bar .dk-lights i { background: #404040; }
|
|
.dk-term-t { flex: 1; font-size: 13px; color: #a3a3a3; text-align: center; }
|
|
.dk-term-hold { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #a3a3a3; cursor: pointer; transition: color .15s var(--dk-out), transform .09s var(--dk-out); }
|
|
.dk-term-hold:active { transform: scale(.97); }
|
|
.dk-term-hold:focus-visible { outline: 2px solid #fafafa; outline-offset: -4px; }
|
|
.dk-term-scr { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 18px 22px; overflow: hidden; font-size: 13.5px; line-height: 1.6; }
|
|
.dk-tl { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #a3a3a3; }
|
|
.dk-tl.c { color: #fafafa; margin-top: 8px; }
|
|
.dk-tl.c:first-child { margin-top: 0; }
|
|
.dk-tl.ok { color: #fafafa; font-weight: 600; }
|
|
.dk-tl b { display: inline-block; width: 2ch; color: #737373; font-weight: 400; }
|
|
.dk-tcaret { display: inline-block; width: .6em; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #fafafa; animation: dk-blink 1s steps(1) infinite; }
|
|
.dk-term-pick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
.dk-term-pick button { display: inline-flex; align-items: center; max-width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: none; color: rgba(255, 255, 255, .78); font-size: 13px; text-align: left; cursor: pointer; transition: color .15s var(--dk-out), border-color .15s var(--dk-out), background .3s var(--dk-move), transform .09s var(--dk-out); }
|
|
.dk-term-pick button b { margin-right: 8px; color: #737373; font-weight: 400; }
|
|
.dk-term-pick button[aria-pressed='true'] { background: #fafafa; color: #0a0a0a; border-color: #fafafa; }
|
|
.dk-term-pick button:active { transform: scale(.97); }
|
|
.dk-term-pick button:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
|
|
/* the three points: one quick list of rows (number, head, body) */
|
|
.dk-pts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--x-e10); }
|
|
.dk-pts li { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; gap: 12px 24px; padding: 28px 0; border-bottom: 1px solid var(--x-e10); background: var(--x-raised); }
|
|
.dk-pts .av-num { font-size: 13px; color: light-dark(#737373, #858585); }
|
|
.dk-pts h3 { margin: 0; }
|
|
.dk-pts p { margin: 0; }
|
|
|
|
/* the black room: cut the network. It enters as a rounded card inside the gutters and opens to full width */
|
|
.dk-dark h2 { color: #fafafa; }
|
|
.dk-off { margin-top: clamp(44px, 5vw, 72px); align-items: start; }
|
|
.dk-off-l { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
|
|
.dk-job { width: 100%; display: grid; gap: 10px; }
|
|
.dk-job-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
|
|
.dk-job input { box-sizing: border-box; width: 100%; height: 56px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: #171717; color: #fafafa; font: 400 16px/1.2 var(--sans); outline: none; transition: border-color .15s var(--dk-out); }
|
|
.dk-job input:focus-visible { border-color: #fafafa; box-shadow: 0 0 0 1px #fafafa; }
|
|
.dk-radio { display: inline-flex; padding: 4px; border-radius: 999px; background: #171717; }
|
|
.dk-radio button { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .78); font: 500 15px/1 var(--sans); cursor: pointer; transition: background .3s var(--dk-move), color .15s var(--dk-out), transform .09s var(--dk-out); }
|
|
.dk-radio button[aria-checked='true'] { background: #fafafa; color: #0a0a0a; }
|
|
.dk-radio button:active, .dk-net:active, .dk-notes button:active { transform: scale(.97); }
|
|
.dk-radio button:focus-visible, .dk-net:focus-visible, .dk-notes button:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
.dk-net { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: none; color: #fafafa; font: 500 15px/1 var(--sans); cursor: pointer; transition: transform .09s var(--dk-out); }
|
|
.dk-net i { position: relative; width: 46px; height: 28px; border-radius: 14px; background: #fafafa; transition: background .3s var(--dk-move); }
|
|
.dk-net i::after { content: ''; position: absolute; top: 3px; left: 21px; width: 22px; height: 22px; border-radius: 50%; background: #0a0a0a; transition: transform .3s var(--dk-in), background .3s var(--dk-move); }
|
|
.dk-net.off i { background: #404040; }
|
|
.dk-net.off i::after { transform: translateX(-18px); background: rgba(255, 255, 255, .55); }
|
|
.dk-notes { width: 100%; list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
|
|
.dk-notes li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
|
|
.dk-notes button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; align-items: center; min-height: 60px; padding: 0; border: 0; background: none; color: #fafafa; font: 500 16px/1.3 var(--sans); text-align: left; cursor: pointer; transition: transform .09s var(--dk-out); }
|
|
.dk-notes button .x-mono { font-size: 13px; color: rgba(255, 255, 255, .55); }
|
|
.dk-notes li.open button .x-mono { color: #fafafa; }
|
|
.dk-notes button i { position: relative; width: 44px; height: 44px; }
|
|
.dk-notes button i::before, .dk-notes button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 2px; background: rgba(255, 255, 255, .78); transition: transform .3s var(--dk-in); }
|
|
.dk-notes button i::after { transform: rotate(90deg); }
|
|
.dk-notes li.open button i::after { transform: rotate(0deg); }
|
|
.dk-notes p { display: none; margin: 0; padding: 0 44px 22px 40px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
|
|
.dk-notes li.open p { display: block; }
|
|
.js .dk-notes li.open p { animation: dk-open .3s var(--dk-in) both; }
|
|
@keyframes dk-open { from { opacity: 0; transform: translateY(-6px); } }
|
|
|
|
.dk-card { padding: clamp(27px, 3vw, 44px); border-radius: 24px; background: #171717; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
|
|
.dk-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 1fr) minmax(0, 1fr); align-items: end; padding-bottom: 27px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
|
|
.dk-site { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
|
|
.dk-site-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
|
|
.dk-slot { width: 100%; height: 88px; display: grid; place-items: center; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .22); transition: opacity .3s var(--dk-out); }
|
|
.dk-token { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fafafa; color: #0a0a0a; transition: opacity .3s var(--dk-out); }
|
|
.dk-wire { position: relative; height: 88px; display: flex; align-items: center; }
|
|
.dk-wire i { flex: 1; height: 2px; background: rgba(255, 255, 255, .4); transition: transform .4s var(--dk-in); }
|
|
.dk-wire i:first-child { transform-origin: 0 50%; } .dk-wire i:nth-child(2) { transform-origin: 100% 50%; }
|
|
.dk-wire b { position: absolute; left: 50%; top: 50%; translate: -50% -52%; font: 500 22px/1 var(--sans); color: #fafafa; opacity: 0; transition: opacity .3s var(--dk-out); }
|
|
.dk-card.cut .dk-wire i { transform: scaleX(.6); }
|
|
.dk-card.cut .dk-wire b { opacity: 1; }
|
|
.dk-card.cut .dk-site:last-child .dk-slot { opacity: .45; }
|
|
.dk-card.wait .dk-token { opacity: .45; }
|
|
.dk-stat { display: flex; align-items: center; gap: 10px; margin: 27px 0 0; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
|
|
.dk-stat b { width: 9px; height: 9px; border-radius: 50%; background: #fafafa; }
|
|
.dk-card.wait .dk-stat b { background: none; box-shadow: inset 0 0 0 1.5px #fafafa; }
|
|
.dk-card-job { margin: 14px 0 22px; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.2; color: #fafafa; overflow-wrap: anywhere; text-wrap: pretty; min-height: 2.4em; transition: opacity .3s var(--dk-out); }
|
|
.dk-card.wait .dk-card-job { opacity: .55; }
|
|
.dk-card-dl { margin: 0; display: grid; gap: 17px; }
|
|
.dk-card-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
|
|
.dk-card-dl dd { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .92); min-height: 3em; }
|
|
.dk-say { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); min-height: 4.8em; }
|
|
.dk-dark { overflow-x: clip; }
|
|
.dk-throw { grid-column: 7 / -1; min-width: 0; }
|
|
.dk-throw .dk-card { position: relative; z-index: 1; }
|
|
|
|
/* every system: three rows; the chosen one is ink */
|
|
.dk-every-l { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
|
|
.dk-every-l .av-body { max-width: 34ch; }
|
|
.dk-oslist { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--x-e10); }
|
|
.dk-oslist button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; align-items: center; gap: 24px; min-height: 104px; padding: 0; border: 0; border-bottom: 1px solid var(--x-e10); background: none; color: var(--ink); text-align: left; cursor: pointer; transition: transform .09s var(--dk-out); }
|
|
.dk-oslist button:active { transform: translateY(1px); }
|
|
.dk-ol-n { display: inline-flex; align-items: center; font-size: 32px; font-weight: 497; letter-spacing: -.028em; line-height: 1; color: light-dark(#a3a3a3, #737373); transition: color .15s var(--dk-out), transform .3s var(--dk-in); }
|
|
.dk-ol-n .dk-mine { width: 8px; height: 8px; margin-left: 14px; }
|
|
.dk-oslist button.on .dk-ol-n { color: var(--ink); }
|
|
.dk-ol-a { font-size: 14px; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-ol-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--x-e12); color: var(--ink); transition: transform .3s var(--dk-in); }
|
|
.dk-oslist button.on .dk-ol-go { background: var(--ink); color: var(--x-on-ink); box-shadow: none; }
|
|
.dk-oslist button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
|
|
.dk-spec-os { display: block; }
|
|
.dk-spec-os .x-mono { font-size: 14px; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-spec a { color: var(--ink); text-underline-offset: 3px; }
|
|
|
|
/* before the end: paste, related, the repo */
|
|
.dk-kit .av-grid { align-items: start; }
|
|
.dk-kit-l { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 12px; }
|
|
.dk-prompt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 17px; align-items: center; margin-top: 10px; padding: 20px 24px; border-radius: 16px; background: light-dark(#f5f5f5, #171717); }
|
|
.dk-prompt-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-prompt code { grid-column: 1; font: 500 15px/1.5 var(--mono); overflow-wrap: anywhere; }
|
|
.dk-prompt .x-copy { grid-column: 2; grid-row: 1 / 3; height: 44px; padding: 0 18px; font-size: 14px; }
|
|
.dk-rel { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--x-e10); }
|
|
.dk-rel-k { flex-basis: 100%; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#737373, #858585); }
|
|
.dk-rel > div { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.dk-rel-a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: 0 0 0 1px var(--x-e12); color: var(--ink); text-decoration: none; font: 500 15px/1 var(--sans); transition: transform .09s var(--dk-out); }
|
|
.dk-rel-a:active, .dk-gh:active { transform: scale(.97); }
|
|
.dk-docs { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font: 500 15px/1 var(--sans); color: light-dark(#404040, #d4d4d4); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s var(--dk-out), transform .09s var(--dk-out); }
|
|
.dk-docs:active, .dk-note a:active { transform: translateY(1px); }
|
|
.dk-get { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(24px, 3vw, 32px); border-radius: 24px; background: light-dark(#f2f2f2, #171717); }
|
|
.dk-get-i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 17px; border-radius: 12px; background: var(--ink); color: var(--x-on-ink); }
|
|
.dk-get-d { margin: 0; font-size: 16px; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-get dl { margin: 6px 0 0; font-size: 13px; }
|
|
.dk-get dl div { display: flex; gap: 8px; } .dk-get dt { color: light-dark(#525252, #a3a3a3); } .dk-get dd { margin: 0; }
|
|
.dk-get-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 17px; }
|
|
.dk-gh { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--x-raised); color: var(--ink); text-decoration: none; font-size: 14px; transition: transform .09s var(--dk-out); }
|
|
|
|
/* the closing band: centred, the one solid, then the footer */
|
|
.dk .dk-band { padding: clamp(72px, 11vw, 188px) 0; background: light-dark(#f5f5f5, #171717); color: var(--ink); text-align: center; }
|
|
.dk-band-in { display: flex; flex-direction: column; align-items: center; gap: 17px; }
|
|
.dk .dk-band h2 { margin: 0; max-width: 16ch; color: var(--ink); }
|
|
.dk .dk-band .av-lede { margin: 0 auto; color: light-dark(#525252, #a3a3a3); }
|
|
.dk-band-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 10px; }
|
|
.dk .dk-band .x-btn.solid { background: var(--ink); color: var(--x-on-ink); border-color: var(--ink); }
|
|
|
|
/* JS off: every word shows. The notes stay open and the spec sheet sits inline under its section (its button needs JS) */
|
|
html:not(.js) .dk .av-ln > span { transform: none !important; }
|
|
html:not(.js) .dk-notes p { display: block; }
|
|
html:not(.js) .dk-every .av-sh-btn { display: none; }
|
|
html:not(.js) .dk-every .av-sh { position: static; visibility: visible; }
|
|
html:not(.js) .dk-every .av-sh-back, html:not(.js) .dk-every .av-sh-x { display: none; }
|
|
html:not(.js) .dk-every .av-sh-panel { position: static; width: auto; transform: none; box-shadow: none; border-radius: 0; background: none; }
|
|
html:not(.js) .dk-every .av-sh-top { padding: 0 0 12px; }
|
|
html:not(.js) .dk-every .av-sh-body { padding: 8px 0 0; overflow: visible; }
|
|
|
|
@media (hover: hover) {
|
|
.dk-os button:hover, .dk-pause:hover { color: var(--ink); }
|
|
.dk-tabs a:hover { color: var(--ink); }
|
|
.dk-note a:hover, .dk-docs:hover { color: var(--ink); text-decoration-thickness: 2px; }
|
|
.dk-open a:hover { box-shadow: 0 0 0 1px var(--ink); }
|
|
.dk-radio button:not([aria-checked='true']):hover { color: #fafafa; }
|
|
.dk-net:hover { border-color: rgba(255, 255, 255, .4); }
|
|
.dk-notes button:hover .x-mono { color: #fafafa; }
|
|
.dk-oslist button:hover .dk-ol-n { color: var(--ink); transform: translateX(8px); }
|
|
.dk-oslist button:hover .dk-ol-go { transform: translateY(-3px); }
|
|
.dk-rel-a:hover, .dk-gh:hover { box-shadow: 0 0 0 1px var(--ink); }
|
|
.dk-tabs a:not(.on):hover { background: rgba(255, 255, 255, .7); }
|
|
.dk-term-hold:hover { color: #fafafa; background: rgba(255, 255, 255, .08); }
|
|
.dk-term-pick button:not([aria-pressed='true']):hover { color: #fafafa; border-color: rgba(255, 255, 255, .42); }
|
|
.dk-notes button:hover i { background: rgba(255, 255, 255, .08); border-radius: 50%; }
|
|
.dk-radio button[aria-checked='true']:hover { background: #fff; }
|
|
}
|
|
.dk-tabs a { transition: background-color .15s var(--dk-out), color .15s var(--dk-out), transform .09s var(--dk-out); }
|
|
.dk-tabs a:active { transform: scale(.97); }
|
|
.dk-term-hold { flex: none; }
|
|
.dk-notes button i { transition: background-color .15s var(--dk-out); }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.dk *, .dk *::before, .dk *::after { animation: none !important; transition: none !important; }
|
|
}
|
|
|
|
@media (max-width: 899px) {
|
|
.dk-hero { padding-top: 20px; }
|
|
.dk-row { flex-direction: column; gap: 14px; margin-top: 10px; }
|
|
.dk-stage { margin-top: 20px; }
|
|
.dk-win { aspect-ratio: auto; height: 48svh; min-height: 360px; grid-template-rows: 44px minmax(0, 1fr); border-radius: 16px; }
|
|
.dk-win.os-win { border-radius: 12px; }
|
|
.dk-bar { padding: 0 14px; }
|
|
.dk-tabs, .dk-side, .dk-log { display: none; }
|
|
.dk-ctl { margin-right: -14px; } .dk-ctl i { width: 40px; }
|
|
.dk-main { grid-template-columns: minmax(0, 1fr); }
|
|
.dk-chat { padding: 14px 14px 12px; gap: 12px; }
|
|
.dk-msgs { gap: 10px; }
|
|
.dk-open { display: none; }
|
|
.dk-you, .dk-ai { font-size: 14px; }
|
|
.dk-you { max-width: 88%; }
|
|
.dk-ai { gap: 10px; }
|
|
.dk-compose { height: 48px; }
|
|
.dk-ask { font-size: 14px; }
|
|
.dk-under { margin-top: 20px; gap: 10px 16px; }
|
|
.dk-os button { padding: 0 16px; }
|
|
.dk-build .av-grid { row-gap: 27px; }
|
|
.dk-build-l, .dk-build-r, .dk-throw { grid-column: 1 / -1; }
|
|
.dk-term { grid-template-rows: 44px 360px auto; border-radius: 16px; }
|
|
.dk-term-scr { padding: 14px 16px; font-size: 13px; }
|
|
.dk-term-pick button { font-size: 13px; }
|
|
.dk-pts li { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0; }
|
|
.dk-pts li p { grid-column: 2; }
|
|
.dk-off { margin-top: 27px; }
|
|
.dk-radio button { padding: 0 16px; }
|
|
.dk-notes p { padding: 0 0 22px 40px; }
|
|
.dk-card { padding: 22px; }
|
|
.dk-map { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); padding-bottom: 22px; }
|
|
.dk-site-k { white-space: normal; text-align: center; }
|
|
.dk-slot, .dk-wire { height: 76px; }
|
|
.dk-card-job { font-size: 21px; }
|
|
.dk-oslist button { grid-template-columns: minmax(0, 1fr) 48px; gap: 6px 16px; min-height: 0; padding: 22px 0; }
|
|
.dk-ol-n { font-size: 26px; }
|
|
.dk-ol-a { grid-column: 1; grid-row: 2; }
|
|
.dk-ol-go { grid-column: 2; grid-row: 1 / span 2; }
|
|
.dk-docs { margin-left: 0; }
|
|
.dk-prompt { grid-template-columns: minmax(0, 1fr); padding: 18px; }
|
|
.dk-prompt code { font-size: 14px; }
|
|
.dk-prompt .x-copy { grid-column: 1; grid-row: auto; justify-self: start; }
|
|
.dk-get dl { font-size: 14px; }
|
|
}
|
|
|
|
/* dark: the shared AppType paints .av white with hex greys; give this page Hanzo's dark tokens (as Bot/Chrome/Computer do) */
|
|
html:not(.light) .av.dk { background: var(--bg); color: var(--ink); }
|
|
html:not(.light) .dk .av-lede, html:not(.light) .dk .av-body { color: var(--soft); }
|
|
html:not(.light) .dk .av-kick, html:not(.light) .dk .av-spec dt { color: var(--faint); }
|
|
html:not(.light) .dk .av-kick b, html:not(.light) .dk .av-spec dd { color: var(--ink); }
|
|
html:not(.light) .dk .av-spec, html:not(.light) .dk .av-spec dt, html:not(.light) .dk .av-spec dd { border-color: var(--line); }
|
|
html:not(.light) .dk .av-obj { box-shadow: 0 0 0 1px var(--line); }
|
|
html:not(.light) .dk .av-card { background: var(--x-fill); }
|
|
html:not(.light) .dk .av-dark .av-body, html:not(.light) .dk .av-dark .av-lede { color: rgba(255, 255, 255, .78); }
|
|
html:not(.light) .dk .av-dark .av-kick { color: rgba(255, 255, 255, .55); }
|