mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 01:07:08 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
486 lines
43 KiB
CSS
486 lines
43 KiB
CSS
/* O11y (Cloud 3, to docs/build-notes/MASTER.md ยง3). Deck greys only: ink #0a0a0a, #525252 / #737373 text on white (#525252 on
|
||
#f5f5f5), #a3a3a3 and white steps only on black and graphite, #d4d4d4 tracks. The one black room (#000) is the hero;
|
||
the product window is a flat graphite fill in the hero and again in the pinned suite. Surfaces are a flat fill or a
|
||
1px hairline, never both; nothing that does not float is shadowed. Type rests at the kit's sizes. Motion: press .97
|
||
for 90ms, hover changes fill or ink only, durations 90/150/300/400/500 (line art and the draws are scene moves). */
|
||
|
||
/* hero: the black room, its head on the 8/5 split (h1 left, lede and ask right, bottom-aligned), the window below; the
|
||
room stops partway down the window */
|
||
.ob-hero { padding: clamp(32px, 8svh, 120px) 0 0; position: relative; isolation: isolate; background: transparent !important; }
|
||
.ob-hero::before { content: ''; position: absolute; z-index: -1; inset: 0 0 clamp(120px, 13vw, 210px) 0; background: #000; }
|
||
.ob-hero-head { display: grid; grid-template-columns: 8fr 5fr; column-gap: clamp(32px, 5vw, 72px); align-items: end; }
|
||
.ob-hero-r { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
|
||
.ob-sub { max-width: 30ch; }
|
||
.ob-stage { margin-top: clamp(32px, 3.4vw, 48px); }
|
||
/* the hero ask answers: a deck-silver fill and the arrow steps 4px on; press .97 (the kit's) */
|
||
.ob .ob-cta svg { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
@media (hover: hover) {
|
||
.ob .ob-hero .ob-cta:hover { background: #e4e4e7; }
|
||
.ob .ob-hero .ob-cta:hover svg { transform: translateX(4px); }
|
||
}
|
||
/* the window's graphite lives on the ink layer (not the clip), so the ink-spread entrance reveals the whole window */
|
||
.ob .ob-stage .lx-settle-clip { background: transparent; box-shadow: none; }
|
||
.ob-ink { background: #171717; }
|
||
|
||
/* the pivot: a window with its own bar, the waterfall on the left, the opened span on the right */
|
||
.ob-k { margin: 0; font: 500 13px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
|
||
.ob-pv { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); color: #fafafa; }
|
||
.ob-pv-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 8px 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ob-pv-host { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #262626; font: 500 14px/1 var(--mono); color: rgba(255, 255, 255, .78); white-space: nowrap; }
|
||
.ob-pv-trace { display: inline-flex; align-items: baseline; gap: 12px; min-width: 0; }
|
||
.ob-pv-trace b { font: 500 16px/1.2 var(--mono); color: #fafafa; white-space: nowrap; }
|
||
.ob .ob-pause { position: static; order: 9; flex: none; margin-left: auto; }
|
||
.ob-pv-spans { list-style: none; margin: 0; padding: 14px 16px 20px; border-right: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
|
||
.ob-pv-row { width: 100%; display: grid; grid-template-columns: minmax(150px, 230px) 1fr; align-items: center; gap: 16px; height: 50px; padding: 0 10px; margin: 1px 0; border: 0; border-radius: 12px; background: none; color: #a3a3a3; font: 500 14px/1.2 var(--mono); text-align: left; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
button.ob-pv-row { cursor: pointer; touch-action: manipulation; }
|
||
button.ob-pv-row:active { transform: scale(.97); transition-duration: .09s; }
|
||
.ob-pv-row.on { background: rgba(255, 255, 255, .08); color: #fafafa; }
|
||
.ob-pv-name { display: flex; gap: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||
.ob-pv-name b { color: #fafafa; font-weight: 500; }
|
||
.ob-pv-track { position: relative; height: 14px; }
|
||
.ob-pv-track i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: #525252; transform-origin: 0 50%; animation: ob-draw .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.2s + var(--i) * .06s); transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1); }
|
||
/* the slow span reads by its hatching; the open span by its white fill and height */
|
||
.ob-pv-row.slow .ob-pv-track i { background: repeating-linear-gradient(135deg, #d4d4d4 0 2px, #525252 2px 6px); }
|
||
.ob-pv-row.on .ob-pv-track i { background: #fafafa; transform: scaleY(1.5); }
|
||
@keyframes ob-draw { from { transform: scaleX(0); } }
|
||
/* the playhead: one hairline down every track, swept left to right in the 3s a span stays open; it stops at rest */
|
||
.ob-pv-track::after { content: ''; position: absolute; top: -18px; bottom: -18px; left: 0; width: 100%; border-left: 1px solid rgba(255, 255, 255, .3); transform: translateX(0); opacity: 0; pointer-events: none; }
|
||
.ob-pv-spans[data-sweep] .ob-pv-track::after { opacity: 1; animation: ob-sweep-a 3s linear both; }
|
||
.ob-pv-spans[data-sweep='1'] .ob-pv-track::after { animation-name: ob-sweep-b; }
|
||
.ob-pv-spans[data-held] .ob-pv-track::after { animation-play-state: paused; }
|
||
@keyframes ob-sweep-a { to { transform: translateX(100%); } }
|
||
@keyframes ob-sweep-b { to { transform: translateX(100%); } }
|
||
@media (hover: hover) {
|
||
button.ob-pv-row:not(.on):hover { background: rgba(255, 255, 255, .05); color: #fafafa; }
|
||
button.ob-pv-row:not(.on):hover .ob-pv-track i { background-color: #737373; }
|
||
}
|
||
.ob-pv-open { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
|
||
/* the opened logs: a flat fill; the exceptions row: a hairline (never both). The logs always hold three lines' room, so
|
||
the window never changes height as the pivot moves */
|
||
.ob-pv-card { padding: 18px; border-radius: 16px; background: #262626; animation: ob-open .4s cubic-bezier(.16, 1, .3, 1); }
|
||
@keyframes ob-open { from { transform: translateX(-16px); clip-path: inset(0 40% 0 0 round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
|
||
.ob-pv-span { display: flex; align-items: center; gap: 9px; margin: 10px 0 12px; font: 500 15px/1.3 var(--mono); color: #fafafa; white-space: nowrap; }
|
||
.ob-pv-span i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fafafa; }
|
||
.ob-pv-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 20px); gap: 8px; }
|
||
.ob-pv-card li { font: 400 14px/20px var(--mono); color: rgba(255, 255, 255, .78); padding-left: 12px; border-left: 2px solid rgba(255, 255, 255, .22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.ob-pv-exc { padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
|
||
.ob-pv-exc div { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 6px; }
|
||
.ob-pv-exc b { font: 500 16px/1 var(--mono); color: #fafafa; }
|
||
.ob-pv-exc span { font-size: 26px; color: #fafafa; }
|
||
.ob-pv-exc em { font: 400 14px/1.3 var(--sans); font-style: normal; color: #a3a3a3; }
|
||
.ob-pv.calm .ob-pv-track i, .ob-pv.calm .ob-pv-card { animation: none; }
|
||
.ob-pv.calm .ob-pv-track::after { display: none; }
|
||
|
||
/* ===== 1. ink-spread: three ink blots spread from inside the hero window until it is whole (1.1โ1.4 s) ===== */
|
||
@property --ia { syntax: '<length>'; inherits: false; initial-value: 0px; }
|
||
@property --ib { syntax: '<length>'; inherits: false; initial-value: 0px; }
|
||
@property --ic { syntax: '<length>'; inherits: false; initial-value: 0px; }
|
||
.js .ob-ink:not(.done) {
|
||
-webkit-mask-image: radial-gradient(circle at 24% 40%, #000 var(--ia), transparent calc(var(--ia) + 70px)), radial-gradient(circle at 70% 28%, #000 var(--ib), transparent calc(var(--ib) + 90px)), radial-gradient(circle at 52% 82%, #000 var(--ic), transparent calc(var(--ic) + 60px));
|
||
mask-image: radial-gradient(circle at 24% 40%, #000 var(--ia), transparent calc(var(--ia) + 70px)), radial-gradient(circle at 70% 28%, #000 var(--ib), transparent calc(var(--ib) + 90px)), radial-gradient(circle at 52% 82%, #000 var(--ic), transparent calc(var(--ic) + 60px));
|
||
}
|
||
.js .ob-ink.in { --ia: 1300px; --ib: 1300px; --ic: 1300px; transition: --ia 1.2s cubic-bezier(.4, 0, .2, 1), --ib 1.4s cubic-bezier(.4, 0, .2, 1) .12s, --ic 1.1s cubic-bezier(.4, 0, .2, 1) .26s; }
|
||
|
||
/* ===== 2. the signature: the flip board (entering by explode-gather) ===== */
|
||
.ob-sig { padding: clamp(72px, 9vw, 140px) 0; }
|
||
.ob-sig-grid { display: grid; grid-template-columns: 8fr 5fr; column-gap: clamp(32px, 5vw, 72px); align-items: end; }
|
||
.ob-sig-h { margin: 0; font: 497 44px/1.04 var(--sans); letter-spacing: -.035em; color: #0a0a0a; max-width: 13ch; text-wrap: balance; }
|
||
.ob-sig-h span { display: inline-block; }
|
||
.ob-sig-l { margin: 20px 0 0; font-size: 20px; line-height: 1.45; letter-spacing: -.01em; color: #525252; max-width: 34ch; text-wrap: pretty; }
|
||
.ob-board { background: #0a0a0a; color: #fafafa; border-radius: 24px; padding: 0 0 18px; min-width: 0; }
|
||
.ob-board-bar { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 12px 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ob .ob-board-pause { flex: none; }
|
||
.ob-board .ob-tabs { max-width: 560px; }
|
||
.ob-board .ob-suite-host { display: none; }
|
||
.ob-otlp { background: #f5f5f5; }
|
||
.ob-board-grid { padding: 10px 18px 0; }
|
||
.ob-board-head, .ob-board-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); gap: 12px; align-items: center; }
|
||
.ob-board-head { height: 40px; font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #737373; }
|
||
.ob-board-head .r { text-align: right; animation: ob-in .3s cubic-bezier(.16, 1, .3, 1); }
|
||
.ob-board-row { height: 54px; border-radius: 12px; padding: 0 0; transition: background-color .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-board-row .c1 { text-align: right; }
|
||
@media (hover: hover) { .ob-board-row:hover { background: rgba(255, 255, 255, .05); } }
|
||
/* a split-flap character: a graphite tile with a hairline across its middle; a changed character falls from its top
|
||
hinge (300 ms, staggered along the word and down the rows) */
|
||
.ob-fl-word { display: inline-flex; gap: 3px; }
|
||
.ob-fl { position: relative; display: inline-grid; place-items: center; width: 22px; height: 34px; border-radius: 4px; background: #171717; perspective: 200px; overflow: hidden; }
|
||
.ob-fl::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
|
||
.ob-fl b { font: 500 19px/1 var(--mono); color: rgba(255, 255, 255, .78); transform-origin: 50% 0; animation: ob-flap .32s cubic-bezier(.4, 0, .2, 1) both; animation-delay: var(--d, 0ms); }
|
||
.ob-board-row.alert .ob-fl b, .ob-board-row.hot .ob-fl b { color: #fafafa; }
|
||
.ob-board-row.alert .c2 .ob-fl { background: #404040; }
|
||
@keyframes ob-flap { 0% { transform: rotateX(-92deg); filter: brightness(.4); } 100% { transform: rotateX(0); } }
|
||
/* explode-gather: every piece of the board (and the two heading lines) starts flung out as a fragment and collapses
|
||
into the whole when the board enters view */
|
||
.js .ob-board:not(.in) .ob-frag { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.7); opacity: .15; }
|
||
.ob-frag { display: block; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .5s cubic-bezier(0, 0, .2, 1); transition-delay: calc(var(--fi, 0) * 22ms); }
|
||
.js .ob-sig:not(:has(.ob-board.in)) .ob-sig-h span:first-child { transform: translate(-120px, -40px) rotate(-5deg); opacity: .15; }
|
||
.js .ob-sig:not(:has(.ob-board.in)) .ob-sig-h span:last-child { transform: translate(140px, 50px) rotate(4deg); opacity: .15; }
|
||
.js .ob-sig:not(:has(.ob-board.in)) .ob-sig-l { transform: translateY(60px) rotate(2deg); opacity: .15; }
|
||
.ob-sig-h span, .ob-sig-l { transition: transform .9s cubic-bezier(.16, 1, .3, 1) .2s, opacity .5s cubic-bezier(0, 0, .2, 1) .2s; }
|
||
|
||
/* ===== 3. pixel-resolve: the OTLP room resolves from 36px blocks to sharp in seven 110 ms steps ===== */
|
||
.ob-px-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||
.js .ob-px:not(.done) { filter: url(#ob-px-f); }
|
||
.js .ob-px:not(.in) { opacity: 0; }
|
||
|
||
/* ===== 4. sticky-stack: the six parts are cards that stick under the header, each 14px lower, the next covering it ===== */
|
||
.ob-parts { padding: clamp(44px, 6vw, 96px) 0 clamp(72px, 9vw, 140px); }
|
||
.ob-stack { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; gap: 44px; }
|
||
.ob-card { position: sticky; top: calc(76px + var(--i) * 14px); display: grid; grid-template-columns: 5fr 8fr; column-gap: clamp(32px, 5vw, 72px); align-items: center; padding: 28px; border-radius: 28px; background: #f5f5f5; transform-origin: 50% 0; }
|
||
.ob-card-h { margin: 0; font: 497 32px/1.1 var(--sans); letter-spacing: -.025em; color: #0a0a0a; max-width: 16ch; text-wrap: balance; }
|
||
.ob-card-k { margin: 12px 0 0; font: 500 13px/1 var(--mono); letter-spacing: .14em; color: #525252; }
|
||
.ob-card-d { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: #525252; max-width: 46ch; text-wrap: pretty; }
|
||
.ob-card-w .ob-panes { height: 380px; }
|
||
.ob-card-w .ob-tab-now { display: inline-flex; align-items: center; gap: 9px; height: 34px; margin-left: auto; padding: 0 14px; border-radius: 999px; background: #404040; color: #fafafa; font: 500 14px/1 var(--sans); }
|
||
.ob-card-w .ob-tab-now i { width: 6px; height: 6px; border-radius: 50%; background: #fafafa; }
|
||
html:not(.js) .ob-pane { opacity: 1; }
|
||
|
||
/* ===== 5. cursor-trail: an ink trail sweeps across once as the close arrives, then follows the pointer ===== */
|
||
.ob-trail { position: relative; }
|
||
.ob-trail-cv { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--ink); }
|
||
|
||
/* the suite: the hero's dark window again, walking the same request through six parts */
|
||
.ob-suite { background: #171717; color: #fafafa; border-radius: 24px; overflow: hidden; }
|
||
.ob-suite-bar { display: flex; align-items: center; gap: 16px; padding: 0 12px 0 20px; height: 60px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ob-suite-host { font: 500 13px/1 var(--mono); color: #a3a3a3; white-space: nowrap; }
|
||
.ob-tab-now { display: none; }
|
||
.ob-tabs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); flex: 1; max-width: 600px; margin-left: auto; }
|
||
/* real tabs: each scrolls the scene to its chapter; hover inks the word, press .97, the lit one sits on the gliding pill */
|
||
.ob-tabs button { position: relative; z-index: 1; height: 40px; padding: 0 2px; white-space: nowrap; border: 0; border-radius: 999px; background: none; font: 500 13px/1 var(--sans); color: #a3a3a3; cursor: pointer; touch-action: manipulation; transition: color .15s cubic-bezier(0, 0, .2, 1), background-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-tabs button:active { transform: scale(.97); transition-duration: .09s; }
|
||
.ob-tabs button.on { color: #fafafa; }
|
||
/* hover inks the word and draws a hairline under it; only the lit tab sits on the filled pill */
|
||
@media (hover: hover) { .ob-tabs button:not(.on):hover { color: #fafafa; text-decoration: underline 1px; text-underline-offset: 6px; } }
|
||
.ob-tab-ink { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(100% / 6); border-radius: 999px; background: #404040; transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-suite[data-step='intro'] .ob-tab-ink { opacity: 0; }
|
||
.ob-suite[data-step='intro'] .ob-tabs button { color: rgba(255, 255, 255, .78); }
|
||
/* the panes share one fixed stage (400px of content on desktop); every pane fills it: one part of each grows (the
|
||
rows, the chart, the linked trace), so no chapter leaves the window half empty */
|
||
.ob-panes { display: grid; grid-template-rows: minmax(0, 1fr); padding: 28px 28px 32px; height: 460px; }
|
||
.ob-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; opacity: 0; transition: opacity .3s cubic-bezier(0, 0, .2, 1); pointer-events: none; }
|
||
.ob-pane[data-on] { opacity: 1; }
|
||
/* the intro: six parts draw into one query (line art, 900ms) */
|
||
.ob-one, .ob-wire { display: grid; grid-template-columns: auto minmax(32px, .7fr) minmax(0, 2fr); align-items: stretch; gap: 0; }
|
||
/* the labels and the wire share one grid row, and the labels split it into equal rows, so each curve (drawn in the
|
||
same proportions in its viewBox) leaves from the vertical centre of its label at any height */
|
||
.ob-one { grid-template-rows: minmax(0, 1fr); }
|
||
.ob-wire { grid-template-rows: minmax(0, 1fr) auto; row-gap: 14px; }
|
||
.ob-one-tabs, .ob-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); min-height: 0; }
|
||
.ob-one-tabs li, .ob-src li { display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font: 500 15px/1 var(--mono); color: #525252; transition: color .3s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-pane[data-on] .ob-one-tabs li, .ob-pane[data-on] .ob-src li { color: #fafafa; transition-delay: calc(.1s + var(--i, 0) * 60ms); }
|
||
.ob-one-wire { position: relative; min-width: 0; }
|
||
.ob-one-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
|
||
.ob-one-lines path { fill: none; stroke: #fafafa; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
|
||
.ob-pane[data-on] .ob-one-lines path { stroke-dashoffset: 0; transition-delay: calc(.2s + var(--i) * 60ms); }
|
||
.ob-one-q { align-self: center; padding: 22px; border-radius: 16px; background: #262626; color: #fafafa; font: 500 16px/1.45 var(--mono); overflow-wrap: normal; word-break: keep-all; }
|
||
/* traces: the bars draw as the chapter arrives */
|
||
.ob-tr { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; height: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 14px/1 var(--mono); color: #a3a3a3; }
|
||
.ob-tr b { display: block; height: 10px; border-radius: 6px; background: #525252; transform-origin: 0 50%; transform: scaleX(0); }
|
||
.ob-pane[data-on] .ob-tr b { transform: scaleX(var(--obw)); transition: transform .5s cubic-bezier(.16, 1, .3, 1) calc(.1s + var(--i) * 60ms); }
|
||
.ob-tr.hot { color: #fafafa; }
|
||
.ob-tr.hot b { background: #fafafa; height: 14px; }
|
||
/* metrics: the query, then its line draws */
|
||
.ob-q, .ob-rule code { font: 500 15px/1.4 var(--mono); color: #fafafa; overflow-wrap: anywhere; }
|
||
.ob-chart { width: 100%; height: 200px; clip-path: inset(0 100% 0 0); }
|
||
.ob-pane[data-on] .ob-chart { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.4, 0, .2, 1) .15s; }
|
||
.ob-chart path { fill: none; stroke: #fafafa; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
|
||
.ob-chart path.b { stroke: #737373; stroke-width: 1.5; stroke-dasharray: 4 5; }
|
||
.ob-same { margin: auto 0 0; font: 500 14px/1.3 var(--mono); color: #a3a3a3; }
|
||
/* logs: the lines stream in under the span's filter */
|
||
.ob-filter { display: inline-flex; align-self: flex-start; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #262626; font: 500 14px/1 var(--mono); color: #fafafa; }
|
||
.ob-filter b { font-weight: 600; }
|
||
.ob-log { display: grid; grid-template-columns: 60px 90px minmax(0, 1fr); gap: 12px; align-items: center; height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 400 14px/1 var(--mono); color: #a3a3a3; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
|
||
.ob-pane[data-on] .ob-log { clip-path: inset(0 0 0 0); transition: clip-path .3s cubic-bezier(.4, 0, .2, 1) calc(.15s + var(--i) * 90ms); }
|
||
.ob-log.hot { color: #fafafa; }
|
||
/* a warning reads by its weight and its underline, not a colour */
|
||
.ob-log .lv.warn { color: #fafafa; font-weight: 600; text-decoration: underline 2px; text-underline-offset: 4px; }
|
||
/* exceptions: four more of the same stack fold up into one row, and its count settles from big to rest */
|
||
.ob-ex { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ob-ex b { display: block; font: 500 21px/1.2 var(--mono); color: #fafafa; }
|
||
.ob-ex em { font: 400 14px/1.5 var(--mono); font-style: normal; color: #a3a3a3; }
|
||
.ob-ex .lx-fig { color: #fafafa; transform-origin: 100% 50%; transform: scale(1.3); }
|
||
.ob-pane[data-on] .ob-ex .lx-fig { transform: none; transition: transform .5s cubic-bezier(.16, 1, .3, 1) .8s; }
|
||
.ob-ex-stack { position: absolute; left: 0; top: 22px; pointer-events: none; }
|
||
.ob-ex-stack span { position: absolute; left: 0; top: 0; font: 500 21px/1.2 var(--mono); color: #525252; white-space: nowrap; transform: translateY(calc(var(--i) * 52px)); }
|
||
.ob-pane[data-on] .ob-ex-stack span { transform: none; opacity: 0; transition: transform .4s cubic-bezier(.4, 0, .2, 1) calc(.3s + var(--i) * 60ms), opacity .15s cubic-bezier(0, 0, .2, 1) calc(.6s + var(--i) * 60ms); }
|
||
/* alerts: one saved query, and the places it reaches */
|
||
.ob-rule { padding: 20px; border-radius: 16px; background: #262626; display: grid; gap: 10px; }
|
||
.ob-routes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.ob-routes li { padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 500 15px/1 var(--sans); color: #fafafa; opacity: 0; transform: translateY(12px); transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .4s cubic-bezier(.16, 1, .3, 1); }
|
||
.ob-pane[data-on] .ob-routes li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * 60ms); }
|
||
/* OTLP: an OTel SDK and a collector wire straight into one endpoint; the agent is struck out */
|
||
.ob-src { grid-template-rows: repeat(3, minmax(0, 1fr)); }
|
||
.ob-src li.no { color: #525252; text-decoration: line-through 1.5px; }
|
||
.ob-pane[data-on] .ob-src li.no { color: #737373; }
|
||
.ob-dst { align-self: center; display: grid; gap: 10px; padding: 22px; border-radius: 16px; background: #262626; }
|
||
.ob-dst b { font: 500 21px/1.2 var(--mono); color: #fafafa; overflow-wrap: anywhere; }
|
||
.ob-dst em { font: 500 14px/1 var(--mono); font-style: normal; color: #a3a3a3; }
|
||
.ob-wire-k { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
|
||
.ob-env { display: block; padding: 14px 16px; border-radius: 12px; background: #262626; font: 500 14px/1.4 var(--mono); color: #fafafa; overflow-wrap: anywhere; }
|
||
.ob-env span { color: #a3a3a3; }
|
||
.ob-wire-k .ob-same { margin: 0; }
|
||
/* the panes that grow to fill the stage */
|
||
.ob-tr { flex: 1 1 0; height: auto; min-height: 0; }
|
||
.ob-log { flex: 1 1 0; height: auto; min-height: 0; }
|
||
.ob-tail { flex: 1 1 0; height: auto; min-height: 0; }
|
||
.ob-met .ob-chart, .ob-al { flex: 1 1 0; height: auto; min-height: 0; }
|
||
/* exceptions: the trace the folded row links to, the hero's waterfall drawn small with the raising span lit */
|
||
.ob-ex-tr { flex: 1 1 0; min-height: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); }
|
||
.ob-ex-tr li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; font: 500 14px/1 var(--mono); color: #737373; }
|
||
.ob-ex-tr i { position: relative; height: 8px; }
|
||
.ob-ex-tr b { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: #404040; transform-origin: 0 50%; transform: scaleX(0); }
|
||
.ob-pane[data-on] .ob-ex-tr b { transform: none; transition: transform .5s cubic-bezier(.16, 1, .3, 1) calc(.5s + var(--i) * 60ms); }
|
||
.ob-ex-tr li.hot { color: #fafafa; }
|
||
.ob-ex-tr li.hot b { background: repeating-linear-gradient(135deg, #d4d4d4 0 2px, #525252 2px 6px); }
|
||
/* alerts: the saved query's line and its threshold (a dashed hairline) */
|
||
.ob-al path.t { stroke: #737373; stroke-width: 1; stroke-dasharray: 4 5; }
|
||
|
||
/* the OTLP room (Quiet #f5f5f5): two parts on the 5/8 split, bottom-aligned; the agent prompt on the same split below */
|
||
.ob-otlp { --wipe: #f5f5f5; padding: clamp(72px, 11vw, 188px) 0; }
|
||
.ob-otlp-grid { display: grid; grid-template-columns: 5fr 8fr; column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(72px, 8vw, 116px); align-items: end; }
|
||
.ob-otlp-paste { grid-column: 1 / -1; }
|
||
.ob-otlp-l .lx-headline { max-width: 12ch; }
|
||
.ob-spec { margin-top: 44px; }
|
||
.ob-spec .lx-spec-l { color: #525252; }
|
||
/* the endpoint figures underline themselves when "Any OTel SDK or collector" is the pick */
|
||
.ob-spec .lx-spec-v { text-decoration: underline 2px; text-decoration-color: transparent; text-underline-offset: 10px; transition: text-decoration-color .3s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-otlp-grid[data-keep='otlp'] .ob-spec .lx-spec-v { text-decoration-color: #0a0a0a; }
|
||
.ob-keep { margin-top: 44px; }
|
||
.ob-keep .lx-kick { color: #525252; font-size: 13px; }
|
||
.ob-keep-c { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
|
||
.ob-keep-c button { white-space: nowrap; }
|
||
/* a chip is a hairline at rest; the chosen one is a white fill with ink words and a dot (never a second solid);
|
||
hover inks the hairline and the word */
|
||
.ob-keep-c button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); background: transparent; font: 500 15px/1.3 var(--sans); color: #525252; text-align: left; cursor: pointer; touch-action: manipulation; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), box-shadow .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ob-keep-c button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .3s cubic-bezier(.16, 1, .3, 1); flex: none; }
|
||
.ob-keep-c button:active { transform: scale(.97); transition-duration: .09s; }
|
||
.ob-keep-c button[aria-pressed='true'] { background: #fff; color: #0a0a0a; box-shadow: none; }
|
||
.ob-keep-c button[aria-pressed='true']::before { transform: none; }
|
||
@media (hover: hover) { .ob-keep-c button[aria-pressed='false']:hover { box-shadow: inset 0 0 0 1px #0a0a0a; color: #0a0a0a; } .ob-keep-c button[aria-pressed='true']:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); } }
|
||
.ob-keep-a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 52px; margin: 20px 0 0; animation: ob-in .3s cubic-bezier(.16, 1, .3, 1); }
|
||
.ob-keep-a b { font: 497 17px/1.3 var(--sans); color: #0a0a0a; }
|
||
.ob-keep-a code, .ob-keep-p { padding: 8px 12px; border-radius: 8px; background: #ededed; font: 500 14px/1.3 var(--mono); color: #0a0a0a; }
|
||
.ob-keep-a ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
|
||
.ob-keep-a li { padding: 6px 10px; border-radius: 6px; background: #ededed; font: 500 14px/1.2 var(--sans); color: #0a0a0a; animation: ob-in .3s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 40ms); }
|
||
@keyframes ob-in { from { clip-path: inset(0 0 100% 0); transform: translateY(8px); } to { clip-path: inset(0 0 0 0); } }
|
||
.ob-note { margin: 16px 0 0; font-size: 14px; color: #525252; }
|
||
|
||
/* Frame's console and paste (shared files) set on the deck, page-local: the console is a flat white window (no
|
||
hairline, no shadow), 16px corners, one mover (the build's spinner); the paste box is ink, 16px corners */
|
||
.ob .lx-con { border-radius: 16px; border-color: transparent; box-shadow: none; }
|
||
.ob .lx-con .cf-con-bar i { border-color: #d4d4d4; }
|
||
.ob .lx-con .cf-con-ico, .ob .lx-con .cf-row-bg, .ob .lx-con .cf-con-main li, .ob .lx-con .cf-cap p { border-radius: 12px; }
|
||
.ob .lx-con .cf-con-ico { transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ob .lx-con .cf-con-ico:active { transform: scale(.97); transition-duration: .09s; }
|
||
.ob .lx-con .cf-dot.b { animation: none; }
|
||
.ob .lx-con .cf-dot.r { border-color: #0a0a0a; }
|
||
.ob .cf-paste { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
|
||
.ob .cf-paste-t { font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; }
|
||
.ob .cf-paste-d { color: #525252; }
|
||
.ob .cf-paste-box { border-radius: 16px; background: #0a0a0a; color: #fafafa; }
|
||
.ob .cf-paste-bar .x-copy { background: #262626; border-color: transparent; color: #fafafa; }
|
||
.ob .cf-api { background: #262626; color: rgba(255, 255, 255, .78); }
|
||
.ob .cf-caret { background: #fafafa; }
|
||
/* the end runs tight: the cards follow the paste room without a second section gap, and the close sits on the footer
|
||
with one step of air (no empty screen under the paste room or under the close ask) */
|
||
.ob .lx-rel { padding: 44px 0 72px; }
|
||
.ob .lx-close { padding: 116px 0 72px; }
|
||
/* the kit's small print, lifted to the floors (13px; the related heading is a caption) */
|
||
.ob .lx-rel-h { font-size: 13px; }
|
||
@media (hover: hover) {
|
||
.ob .cf-paste-bar .x-copy:hover { background: #404040; color: #fafafa; }
|
||
.ob .lx-con.light .cf-con-title:hover { color: #0a0a0a; }
|
||
/* text links: the underline turns ink and thickens (no lift, no fade) */
|
||
.ob .lx-text:hover, .ob .lx-close-repo:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
|
||
}
|
||
/* RelatedCards' title carries data-morph, which the site cursor reads as "Open": the pointer passes through it to the
|
||
card link (data-cursor=""), so nothing follows the pointer; the click and the morph are unchanged */
|
||
.ob .lx-rel-t { pointer-events: none; }
|
||
|
||
/* the suite stays live while you read it: a UTC clock ticks in the bar; in Traces and Metrics a playhead hairline
|
||
sweeps the pane (6s, linear) like the hero's; in Logs a caret waits for the next line. All stop under reduced
|
||
motion and while the pane is not the lit one */
|
||
.ob-clock { display: inline-flex; align-items: center; gap: 8px; min-width: 10ch; font: 500 13px/1 var(--mono); color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
.ob-clock i { width: 6px; height: 6px; border-radius: 50%; background: #fafafa; animation: ob-beat 2s cubic-bezier(.4, 0, .2, 1) infinite; }
|
||
@keyframes ob-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(.5); } }
|
||
.ob-live { position: relative; }
|
||
.ob-live::after { content: ''; position: absolute; top: -6px; bottom: -6px; left: 0; width: 100%; border-left: 1px solid rgba(255, 255, 255, .3); transform: translateX(0); opacity: 0; pointer-events: none; }
|
||
.ob-trs.ob-live::after { left: 186px; width: calc(100% - 186px); top: 0; bottom: 0; }
|
||
.ob-met.ob-live::after { top: 40px; bottom: 36px; }
|
||
.ob-pane.ob-live[data-on]::after { opacity: 1; animation: ob-sweep-a 6s linear 1.2s infinite; }
|
||
.ob-tail { height: 44px; display: flex; align-items: center; padding-left: 72px; }
|
||
.ob-tail b { width: 9px; height: 18px; background: #fafafa; animation: ob-caret 1.1s steps(1) infinite; }
|
||
@keyframes ob-caret { 50% { opacity: 0; } }
|
||
/* hover answers on the lit tab and the lit rail tick too (a hairline under the word / a thicker tick) */
|
||
@media (hover: hover) {
|
||
.ob-tabs button.on:hover { text-decoration: underline 1px; text-underline-offset: 6px; }
|
||
.ob .lx-con .cf-con-title:hover { text-decoration: underline 1px; text-underline-offset: 4px; }
|
||
.ob .lx-con .cf-con-open:hover { text-decoration: underline 2px; text-underline-offset: 4px; }
|
||
.ob .lx-close-repo:hover { background: #ededed; }
|
||
}
|
||
.ob .lx-con .cf-con-title, .ob .lx-con .cf-con-open, .ob .lx-close-repo { transition: transform .15s cubic-bezier(0, 0, .2, 1), background-color .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ob .lx-close-repo { border-radius: 8px; }
|
||
.ob .lx-con .cf-con-title:active, .ob .lx-con .cf-con-open:active, .ob .lx-close-repo:active { transform: scale(.97); transition-duration: .09s; }
|
||
|
||
@media (max-width: 899px) {
|
||
.ob-hero { padding: 24px 0 0; }
|
||
/* phone: the header's "Try Hanzo" is the one solid on the first screen; the hero ask is quiet (a hairline) */
|
||
.ob .ob-hero .ob-cta { background: transparent; color: #fafafa; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
|
||
@media (hover: hover) { .ob .ob-hero .ob-cta:hover { background: rgba(255, 255, 255, .14); } }
|
||
/* phone: the keep chips become rows (a long one wraps inside a row, never inside a pill) */
|
||
.ob-keep-c { align-items: stretch; }
|
||
.ob-keep-c button { white-space: normal; border-radius: 12px; font-size: 14px; }
|
||
.ob-hero::before { bottom: 120px; }
|
||
.ob-hero-head { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
|
||
.ob-hero-r { gap: 20px; }
|
||
.ob-stage { margin-top: 28px; }
|
||
.ob-pv { grid-template-columns: minmax(0, 1fr); }
|
||
.ob-pv-bar { flex-wrap: wrap; gap: 10px 12px; padding: 8px 8px 12px 14px; }
|
||
.ob-pv-trace { order: 10; flex-basis: 100%; }
|
||
.ob-pv-spans { padding: 8px 8px 12px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ob-pv-row { grid-template-columns: 132px 1fr; gap: 10px; height: 46px; padding: 0 8px; }
|
||
.ob-pv-name { flex-direction: column; gap: 2px; font-size: 14px; }
|
||
.ob-pv-open { padding: 12px; gap: 10px; }
|
||
.ob-pv-card, .ob-pv-exc { padding: 14px; }
|
||
.ob-k, .ob-suite-host, .ob-pin .lx-pin-k, .ob .lx-rel-h, .ob-keep .lx-kick { font-size: 14px; }
|
||
.ob-suite { border-radius: 16px; }
|
||
.ob-suite-bar { height: 52px; padding: 0 12px; }
|
||
.ob-suite-host { display: none; }
|
||
.ob-clock { min-width: 0; font-size: 13px; }
|
||
.ob-trs.ob-live::after { left: 152px; width: calc(100% - 152px); }
|
||
.ob-met.ob-live::after { top: 36px; bottom: 32px; }
|
||
.ob-tail { height: 34px; padding-left: 56px; }
|
||
.ob-tail b { height: 14px; }
|
||
.ob-suite[data-step='intro'] .ob-suite-host { display: inline; }
|
||
/* phone: the board's parts become a row you can swipe; the lit one is a filled chip (no glider) */
|
||
.ob-board .ob-tabs { display: flex; flex-basis: 100%; order: 10; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: none; margin: 0; }
|
||
.ob-board .ob-tabs::-webkit-scrollbar { display: none; }
|
||
.ob-board .ob-tabs button { flex: none; height: 40px; padding: 0 14px; font-size: 14px; }
|
||
.ob-board .ob-tabs button.on { background: #404040; }
|
||
.ob-board .ob-tab-ink { display: none; }
|
||
.ob-board-bar { flex-wrap: wrap; gap: 8px 12px; padding: 8px 10px; }
|
||
.ob-board { border-radius: 16px; padding-bottom: 10px; }
|
||
.ob-board-grid { padding: 6px 10px 0; }
|
||
.ob-board-head, .ob-board-row { gap: 8px; grid-template-columns: auto auto auto; justify-content: space-between; }
|
||
.ob-board-head { height: 32px; font-size: 13px; letter-spacing: .08em; }
|
||
.ob-board-row { height: 38px; }
|
||
.ob-fl-word { gap: 2px; }
|
||
.ob-fl { width: 12px; height: 24px; border-radius: 3px; }
|
||
.ob-fl b { font-size: 13px; }
|
||
.ob-sig { padding: 72px 0; }
|
||
.ob-sig-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
|
||
.ob-sig-t { order: -1; }
|
||
.ob-sig-h { font-size: 32px; }
|
||
.ob-sig-l { font-size: 17px; margin-top: 14px; }
|
||
.ob-card { grid-template-columns: minmax(0, 1fr); row-gap: 20px; top: calc(64px + var(--i) * 10px); padding: 16px; border-radius: 20px; }
|
||
.ob-card-h { font-size: 26px; }
|
||
.ob-card-k { font-size: 14px; }
|
||
.ob-card-d { font-size: 15px; }
|
||
.ob-card-w .ob-panes { height: 240px; }
|
||
.ob-stack { gap: 28px; }
|
||
.ob-tabs { display: none; }
|
||
.ob-tab-now { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 999px; background: #404040; color: #fafafa; font: 500 14px/1 var(--sans); animation: ob-in .3s cubic-bezier(.16, 1, .3, 1); }
|
||
.ob-tab-now i { width: 6px; height: 6px; border-radius: 50%; background: #fafafa; }
|
||
.ob-same { margin-top: 4px; }
|
||
/* phone: the stage is what the kit's object height leaves under the 52px bar */
|
||
.ob-panes { padding: 14px 14px 16px; height: calc(var(--objh, 38svh) - 52px); }
|
||
.ob-wire { row-gap: 10px; }
|
||
.ob-env { padding: 10px 12px; font-size: 13px; }
|
||
.ob-ex-tr li { grid-template-columns: 72px 1fr; font-size: 13px; }
|
||
.ob-ex-tr i { height: 6px; }
|
||
.ob-one, .ob-wire { grid-template-columns: auto 28px minmax(0, 1fr); }
|
||
.ob-one-tabs li, .ob-src li { font-size: 14px; padding-right: 6px; }
|
||
.ob-one-q, .ob-dst { padding: 12px; font-size: 14px; border-radius: 12px; }
|
||
.ob-one-q { padding: 10px; }
|
||
.ob-dst b { font-size: 15px; }
|
||
.ob-tr { grid-template-columns: 142px minmax(0, 1fr); gap: 10px; height: 38px; font-size: 14px; white-space: nowrap; }
|
||
.ob-tr:nth-child(n + 5) { display: none; }
|
||
.ob-chart { height: 96px; }
|
||
.ob-log { grid-template-columns: 44px minmax(0, 1fr); height: 34px; font-size: 14px; }
|
||
.ob-log span:nth-child(2) { display: none; }
|
||
.ob-log:nth-child(n + 5) { display: none; }
|
||
.ob-ex { padding: 12px 0; }
|
||
.ob-ex b, .ob-ex-stack span { font-size: 16px; }
|
||
.ob-ex-stack { top: 12px; }
|
||
.ob-ex-stack span { transform: translateY(calc(var(--i) * 36px)); }
|
||
.ob-ex .lx-fig { font-size: 44px; }
|
||
.ob-routes { gap: 6px; }
|
||
.ob-routes li { padding: 11px 14px; font-size: 14px; }
|
||
.ob-otlp-grid { grid-template-columns: minmax(0, 1fr); row-gap: 72px; }
|
||
.ob .cf-paste { grid-template-columns: minmax(0, 1fr); }
|
||
/* the phone floor (14px) for the close's small print (the kit lifts Frame's labels itself) */
|
||
.ob .lx-close-facts, .ob .lx-close-mark span { font-size: 14px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.ob-pv-track i, .ob-pv-card, .ob-keep-a, .ob-keep-a li, .ob-tab-now, .ob .cf-caret, .ob-clock i, .ob-tail b, .ob-pane.ob-live[data-on]::after, .ob-fl b, .ob-board-head .r { animation: none; }
|
||
.ob-frag, .ob-sig-h span, .ob-sig-l, .js .ob-ink.in { transition: none !important; }
|
||
.js .ob-ink, .js .ob-px { -webkit-mask-image: none !important; mask-image: none !important; filter: none !important; opacity: 1 !important; }
|
||
.js .ob-board .ob-frag, .js .ob-sig .ob-sig-h span, .js .ob-sig .ob-sig-l { transform: none !important; opacity: 1 !important; }
|
||
.ob-one-lines path, .ob-tab-ink, .ob-pane, .ob-routes li, .ob-tr b, .ob-chart, .ob-log, .ob-ex .lx-fig, .ob-ex-stack span { transition: none !important; }
|
||
}
|
||
|
||
/* ---------- dark (Hanzo's :not(.light), docs/DARK-MODE.md): every value a token from @hanzo/design, by role ----------
|
||
The shared .lx kit (components/v2/LaunchType.css, LaunchClose.css, SpecDrawer.css, RelatedCards.css) pins its light
|
||
ink, greys and tiles in both modes, so the page points them at Hanzo's tokens here (.lx renames --muted and --card, so
|
||
fills use the foundation's --x-* tokens). The quiet rooms and the stacked cards go to Hanzo's #171717, chips and
|
||
chosen pills to #262626, type to its foreground and #a3a3a3; the graphite windows, the flip board and the ink paste
|
||
box stay dark, ringed in Hanzo's white 10% hairline where they sit on a dark surface. The hero stays a black room. */
|
||
html:not(.light) .ob {
|
||
--ink: var(--foreground); --acc: var(--foreground); --acc-soft: var(--x-fill); --muted: var(--muted-foreground); --soft: var(--muted-foreground);
|
||
--faint: var(--text-tertiary); --silver: var(--x-knob); --card: var(--x-fill); --line: var(--border); --bg: var(--background);
|
||
}
|
||
html:not(.light) .ob .lx-cta { background: var(--primary); color: var(--primary-foreground); }
|
||
html:not(.light) .ob .lx-ghost { border-color: var(--border-control); }
|
||
html:not(.light) .ob :is(.lx-text, .lx-close-repo) { text-decoration-color: var(--text-disabled); }
|
||
html:not(.light) .ob .cf-api i { background: var(--x-knob) !important; color: var(--foreground) !important; }
|
||
html:not(.light) .ob :focus-visible { outline-color: var(--foreground); box-shadow: 0 0 0 4px var(--background); }
|
||
html:not(.light) .ob :is(.lx-close-art, .lx-rel-card) { background: var(--x-fill); }
|
||
html:not(.light) .ob .lx-close-sigil { color: var(--foreground); }
|
||
html:not(.light) .ob .lx-sheet-panel { color: var(--foreground); --ink: var(--foreground); --soft: var(--muted-foreground); --muted: var(--muted-foreground); --faint: var(--text-tertiary); --line: var(--border); }
|
||
html:not(.light) .ob .lx-sheet-bar { background: var(--surface-overlay); }
|
||
html:not(.light) .ob .lx-sheet-x { color: var(--foreground); }
|
||
@media (hover: hover) {
|
||
html:not(.light) .ob .lx-cta:hover { background: var(--foreground); }
|
||
html:not(.light) .ob .lx-ghost:hover { border-color: var(--foreground); background: var(--x-fill); }
|
||
html:not(.light) .ob .lx-sheet-x:hover { background: var(--x-fill); }
|
||
}
|
||
html:not(.light) .ob :is(.ob-sig-h, .ob-card-h, .ob-keep-a b, .ob-keep-a code, .ob-keep-p, .ob-keep-a li, .ob-keep-c button[aria-pressed='true']) { color: var(--foreground); }
|
||
html:not(.light) .ob :is(.ob-sig-l, .ob-card-k, .ob-card-d, .ob-spec .lx-spec-l, .ob-keep .lx-kick, .ob-keep-c button, .ob-note, .cf-paste-d) { color: var(--muted-foreground); }
|
||
html:not(.light) .ob .ob-otlp { --wipe: var(--x-fill); background: var(--x-fill); }
|
||
html:not(.light) .ob .ob-card { background: var(--x-fill); }
|
||
html:not(.light) .ob .ob-card .ob-suite { background: var(--background); }
|
||
html:not(.light) .ob :is(.ob-board, .ob-card .ob-suite, .cf-paste-box) { box-shadow: inset 0 0 0 1px var(--border); }
|
||
html:not(.light) .ob :is(.ob-keep-a code, .ob-keep-p, .ob-keep-a li, .ob-keep-c button[aria-pressed='true']) { background: var(--x-knob); }
|
||
html:not(.light) .ob .ob-keep-c button { box-shadow: inset 0 0 0 1px var(--border-control); }
|
||
html:not(.light) .ob .ob-keep-c button[aria-pressed='true'] { box-shadow: none; }
|
||
html:not(.light) .ob .ob-otlp-grid[data-keep='otlp'] .ob-spec .lx-spec-v { text-decoration-color: var(--foreground); }
|
||
html:not(.light) .ob .lx-con .cf-con-bar i { border-color: var(--x-e15); }
|
||
html:not(.light) .ob .lx-con .cf-dot.r { border-color: var(--ink); }
|
||
@media (hover: hover) {
|
||
html:not(.light) .ob .ob-keep-c button[aria-pressed='false']:hover { box-shadow: inset 0 0 0 1px var(--foreground); color: var(--foreground); }
|
||
html:not(.light) .ob .ob-keep-c button[aria-pressed='true']:hover { box-shadow: inset 0 0 0 1px var(--border-control); }
|
||
html:not(.light) .ob .lx-close-repo:hover { background: var(--x-fill); }
|
||
html:not(.light) .ob .lx-con.light .cf-con-title:hover { color: var(--foreground); }
|
||
}
|
||
/* phone: the hero ask stays the quiet hairline it is in bright (the header's "Try Hanzo" is the one solid) */
|
||
@media (max-width: 899px) {
|
||
html:not(.light) .ob .ob-hero .ob-cta { background: transparent; color: #fafafa; }
|
||
@media (hover: hover) { html:not(.light) .ob .ob-hero .ob-cta:hover { background: rgba(255, 255, 255, .14); } }
|
||
}
|
||
/* Frame's light console (shared, components/pages/cloud/Frame.css) and RelatedCards' art tile, page-local: Hanzo's
|
||
card with its hairline, the side rail recessed, the lit row and icon on #262626, type in its foreground and greys.
|
||
The console's .light class is also Hanzo's light-theme class (hanzo.css), which re-pins Hanzo's tokens light inside
|
||
it, so these rules use the page's own tokens, already resolved to Hanzo's dark values on main.ob. */
|
||
html:not(.light) .ob .cf-con.light { background: var(--x-raised); color: var(--ink); border-color: var(--line); }
|
||
html:not(.light) .ob .cf-con.light .cf-con-side { background: var(--x-sunk); }
|
||
html:not(.light) .ob :is(.cf-con.light .cf-row-bg, .cf-con.light .cf-con-ico.on, .lx-rel-art) { background: var(--x-knob); }
|
||
html:not(.light) .ob :is(.cf-con.light .cf-name, .cf-con.light .cf-con-ico.on, .cf-con.light .cf-cap p, .cf-con.light .cf-con-foot b, .cf-con.light .cf-con-open, .cf-con.light .cf-sess-step) { color: var(--ink); }
|
||
html:not(.light) .ob :is(.cf-con.light .cf-st, .cf-con.light .cf-con-foot, .cf-con.light .cf-con-title) { color: var(--soft); }
|
||
html:not(.light) .ob .cf-con.light .cf-con-ico { color: var(--faint); }
|
||
html:not(.light) .ob :is(.cf-con.light .cf-tip, .cf-con.light .cf-sess-me) { background: var(--ink); color: var(--x-on-ink); }
|
||
html:not(.light) .ob .cf-con.light .cf-dot.b { background: var(--ink); border-color: var(--ink); }
|
||
@media (hover: hover) {
|
||
html:not(.light) .ob .cf-con.light .cf-con-ico:hover { color: var(--ink); background: var(--x-knob); }
|
||
html:not(.light) .ob .cf-con.light .cf-con-open:hover { background: var(--ink); color: var(--x-on-ink); }
|
||
}
|