Rearranged graph vs timeline

This commit is contained in:
2026-02-16 01:35:24 +00:00
parent 0fbbf9e46f
commit b41a422cf0
4 changed files with 598 additions and 238 deletions
+99 -2
View File
@@ -204,6 +204,26 @@ body {
animation: fadeIn 200ms ease-out forwards;
}
@keyframes kpiPulse {
0%, 100% {
box-shadow: 0 0 0 0 rgba(10, 128, 128, 0.12);
}
50% {
box-shadow: 0 0 0 8px rgba(10, 128, 128, 0);
}
}
@keyframes coachmarkIn {
from {
opacity: 0;
transform: translateY(-4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
@@ -278,6 +298,47 @@ html {
display: none;
}
.metric-card:hover {
border-color: var(--accent-border) !important;
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.metric-card:focus-visible {
border-color: var(--accent) !important;
box-shadow: 0 0 0 2px rgba(10, 128, 128, 0.22);
outline: none;
}
.metric-card:active {
transform: translateY(0) scale(0.992);
}
.metric-card-pulse {
animation: kpiPulse 1.8s ease-out infinite;
}
.kpi-card-coachmark-target {
margin-top: 24px;
}
.kpi-coachmark {
position: absolute;
top: -28px;
left: 0;
z-index: 2;
padding: 4px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.02em;
font-family: var(--font-geist-mono);
color: var(--accent);
background: rgba(10, 128, 128, 0.1);
border: 1px solid var(--accent-border);
animation: coachmarkIn 180ms ease-out;
}
/* Dashboard card grid responsive — mobile-first */
.dashboard-grid {
display: grid;
@@ -308,10 +369,46 @@ html {
gap: 16px;
}
.chronology-stream {
display: flex;
flex-direction: column;
gap: 14px;
}
.chronology-item {
padding: 10px 12px 12px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-light);
background: var(--surface);
}
.chronology-badge {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-family: var(--font-geist-mono);
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent);
background: var(--accent-light);
border: 1px solid var(--accent-border);
}
/* Desktop: 2 columns */
@media (min-width: 768px) {
@media (min-width: 1024px) {
.pathway-columns {
grid-template-columns: 1fr 1fr;
grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
align-items: start;
gap: 22px;
}
.pathway-graph-sticky {
position: sticky;
top: 12px;
}
}