mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdxX2mH7piDf4NGrmPi
30 lines
2.9 KiB
CSS
30 lines
2.9 KiB
CSS
/* Visor's living fleet graph (vs2g-) */
|
|
.vs2g { position: relative; z-index: 2; background: var(--bg); padding-top: 27px; }
|
|
.vs2g-stage { position: relative; height: clamp(440px, 64svh, 600px); overflow: hidden; border-radius: 24px; background: light-dark(#f5f5f5, var(--surface-2)); }
|
|
.vs2g-links { position: absolute; inset: 0; width: 100%; height: 100%; }
|
|
.vs2g-links line { stroke: light-dark(#d4d4d4, var(--border-selected)); stroke-width: 1px; transition: stroke .3s cubic-bezier(0, 0, .2, 1); }
|
|
.vs2g-links line.on { stroke: var(--ink); stroke-width: 1.5px; }
|
|
.vs2g-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); border-radius: 999px; background: var(--x-raised); color: light-dark(#525252, var(--muted-foreground)); font: 500 15px/1 var(--sans, inherit); white-space: nowrap; cursor: pointer; transition: background-color .3s cubic-bezier(0, 0, .2, 1), color .3s cubic-bezier(0, 0, .2, 1), border-color .3s cubic-bezier(0, 0, .2, 1); }
|
|
.vs2g-node > span { display: block; transition: transform 150ms cubic-bezier(0, 0, .2, 1); }
|
|
.vs2g-node[data-ring='0'] { min-height: 56px; padding: 0 22px; background: var(--ink); border-color: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); font-size: 17px; font-weight: 606; }
|
|
.vs2g-node[data-ring='1'] { font-weight: 606; color: var(--ink); }
|
|
.vs2g-node[data-ring='2'] { font-size: 14px; background: var(--x-sunk); }
|
|
.vs2g-node[data-lit] { border-color: var(--ink); color: var(--ink); }
|
|
.vs2g-node[data-hot], .vs2g-node[data-ring='0'][data-lit] { background: var(--ink); border-color: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
|
@media (hover: hover) { .vs2g-node:hover > span { transform: scale(1.06); } }
|
|
.vs2g-node:active > span { transform: scale(.97); }
|
|
.vs2g-node:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
|
|
.vs2g-pause.l2-pause { position: absolute; top: 16px; right: 16px; z-index: 2; }
|
|
.vs2g-say { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; min-height: 52px; padding: 16px 4px 0; }
|
|
.vs2g-path { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 15px; color: var(--ink); }
|
|
.vs2g-path span { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
|
|
.vs2g-path i { font-style: normal; color: light-dark(#737373, var(--text-tertiary)); }
|
|
.vs2g-kind { margin: 0; font-size: 15px; color: light-dark(#525252, var(--muted-foreground)); }
|
|
@media (max-width: 900px) {
|
|
.vs2g-stage { height: 460px; border-radius: 20px; }
|
|
.vs2g-node { padding: 0 12px; font-size: 14px; }
|
|
.vs2g-node[data-ring='0'] { min-height: 48px; padding: 0 16px; font-size: 15px; }
|
|
.vs2g-node[data-ring='2'] { font-size: 13px; padding: 0 10px; }
|
|
.vs2g-path, .vs2g-kind { font-size: 14px; }
|
|
}
|