fix: compact continuity rail to slim 14px strip, regain ~90px for stage
This commit is contained in:
@@ -687,83 +687,90 @@
|
||||
}
|
||||
|
||||
.demo-continuity-rail {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
|
||||
gap: 0.9rem;
|
||||
align-items: stretch;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex: 0 0 auto;
|
||||
margin-bottom: 0.65rem;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__proof {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
border: 1px solid oklch(0.72 0.17 195 / 0.34);
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.65rem 0.8rem;
|
||||
background: oklch(0.12 0.022 250 / 0.82);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__proof span {
|
||||
color: var(--accent-cyan);
|
||||
font: 700 0.62rem/1 var(--font-mono, monospace);
|
||||
letter-spacing: 0.11em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__proof strong {
|
||||
color: var(--text-primary);
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__proof code {
|
||||
color: var(--text-secondary);
|
||||
font: 600 0.68rem/1.2 var(--font-mono, monospace);
|
||||
margin-bottom: 0.2rem;
|
||||
padding: 0.15rem 0;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 0.45rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps li {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 0.18rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
min-width: 0;
|
||||
border: 1px solid var(--stage-line);
|
||||
border-radius: 0.65rem;
|
||||
padding: 0.55rem 0.65rem;
|
||||
background: oklch(0.135 0.022 250 / 0.72);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps li[data-completed="true"] {
|
||||
border-color: oklch(0.72 0.17 195 / 0.36);
|
||||
.demo-continuity-rail__dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
background: var(--stage-line);
|
||||
transition: background 200ms ease;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__dot[data-completed="true"] {
|
||||
background: oklch(0.72 0.17 195 / 0.55);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__dot[data-active="true"] {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: var(--accent-cyan);
|
||||
box-shadow: 0 0 0 3px oklch(0.72 0.17 195 / 0.15);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__connector {
|
||||
display: block;
|
||||
width: 1.6rem;
|
||||
height: 2px;
|
||||
flex-shrink: 0;
|
||||
margin: 0 0.35rem;
|
||||
background: var(--stage-line);
|
||||
transition: background 200ms ease;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__connector[data-completed="true"] {
|
||||
background: oklch(0.72 0.17 195 / 0.55);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__label {
|
||||
margin-left: 0.35rem;
|
||||
font: 500 0.6rem/1 var(--font-interface, sans-serif);
|
||||
color: var(--text-muted);
|
||||
white-space: nowrap;
|
||||
opacity: 0.5;
|
||||
transition: opacity 200ms ease, color 200ms ease;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__label[data-completed="true"] {
|
||||
opacity: 0.7;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps li[data-active="true"] {
|
||||
border-color: var(--accent-cyan);
|
||||
background: oklch(0.18 0.052 210 / 0.92);
|
||||
color: var(--text-primary);
|
||||
.demo-continuity-rail__label[data-active="true"] {
|
||||
opacity: 1;
|
||||
color: var(--accent-cyan);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps span {
|
||||
overflow: hidden;
|
||||
font: 700 0.74rem/1.1 var(--font-interface, sans-serif);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.demo-continuity-rail__steps small {
|
||||
color: color-mix(in oklch, currentColor 70%, transparent);
|
||||
font: 600 0.6rem/1.1 var(--font-mono, monospace);
|
||||
.demo-continuity-rail__beat-code {
|
||||
margin-left: auto;
|
||||
font: 550 0.58rem/1 var(--font-mono, monospace);
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--text-muted);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.demo-outcome-panel {
|
||||
@@ -833,9 +840,3 @@
|
||||
.demo-outcome-panel small {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@container presentation-canvas (max-width: 1050px) {
|
||||
.demo-continuity-rail {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user