Enhance timeline and movement flow UI; add fetched painting images.

Timeline: era and historical-event click-to-zoom, event markers from historical-events.ts. Movement flow: shared zoom/pan, viewport-fit layout, curved lineage streams, hover-to-reveal artist lifespans on stacked lanes. Docs updated. Includes batch-fetched paintings and regenerated thumbs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila KhodjaefandCursor committed 2026-06-20 00:21:31 +03:00
1 parent 35c337253d
commit 0ece1195fa
1301 files changed
+1412 -140

No files matched your search

+163 -49
View File
@@ -1,83 +1,183 @@
.movements-container {
padding: 16px;
.movements-flow {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
gap: 4px;
padding: 8px 16px 16px;
}
.movements-flow-caption {
margin: 0 0 12px;
text-align: center;
font-family: 'Georgia', serif;
font-size: 13px;
font-style: italic;
color: rgba(201, 169, 110, 0.65);
}
.movements-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 48px;
text-align: center;
color: rgba(201, 169, 110, 0.6);
font-family: 'Georgia', serif;
}
.movement-row {
display: flex;
align-items: stretch;
min-height: 90px;
.movements-flow-canvas {
--stream-stroke: 54px;
--portrait-size: 52px;
position: relative;
flex: 1;
min-height: 0;
width: 100%;
border-radius: 8px;
background:
radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 169, 110, 0.07), transparent 70%),
rgba(0, 0, 0, 0.25);
border: 1px solid rgba(201, 169, 110, 0.12);
overflow: hidden;
cursor: grab;
touch-action: none;
}
.movement-label {
width: 160px;
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: center;
padding-right: 12px;
text-align: right;
.movements-flow-canvas.movements-flow-panning {
cursor: grabbing;
}
.movements-flow-svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.movement-branch {
stroke-width: var(--stream-stroke);
stroke-linecap: round;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.movement-stream-fill {
stroke-width: var(--stream-stroke);
stroke-linecap: round;
vector-effect: non-scaling-stroke;
}
.movement-stream-core {
stroke-width: 2px;
stroke-linecap: round;
opacity: 0.22;
stroke-dasharray: 8 6;
animation: stream-shimmer 16s linear infinite;
vector-effect: non-scaling-stroke;
}
@keyframes stream-shimmer {
from {
stroke-dashoffset: 0;
}
to {
stroke-dashoffset: -42;
}
}
.movements-flow-labels,
.movements-flow-artists {
position: absolute;
inset: 0;
pointer-events: none;
}
.movements-flow-artists {
pointer-events: auto;
}
.artist-lifespan {
position: absolute;
height: 0;
transform: translateY(-50%);
pointer-events: none;
z-index: 4;
}
.artist-lifespan-line {
position: absolute;
left: 0;
right: 0;
top: 0;
height: 3px;
background: linear-gradient(
90deg,
color-mix(in srgb, var(--lifespan-color, #e8d5b5) 25%, transparent) 0%,
color-mix(in srgb, var(--lifespan-color, #e8d5b5) 70%, #e8d5b5) 12%,
color-mix(in srgb, var(--lifespan-color, #e8d5b5) 85%, #fff) 50%,
color-mix(in srgb, var(--lifespan-color, #e8d5b5) 70%, #e8d5b5) 88%,
color-mix(in srgb, var(--lifespan-color, #e8d5b5) 25%, transparent) 100%
);
box-shadow: 0 0 6px color-mix(in srgb, var(--lifespan-color, #e8d5b5) 40%, transparent);
border-radius: 1px;
pointer-events: none;
}
.artist-lifespan .artist-portrait {
position: absolute;
top: 0;
transform: translate(-50%, -50%);
pointer-events: auto;
}
.artist-lifespan .artist-portrait:hover {
transform: translate(-50%, -50%) scale(1.14);
}
.movement-flow-label {
position: absolute;
transform: translate(-4px, -100%);
max-width: 160px;
padding: 2px 6px;
pointer-events: none;
z-index: 3;
}
.movement-name {
display: block;
font-family: 'Georgia', serif;
font-size: 13px;
font-size: 12px;
font-weight: 600;
color: #e8d5b5;
color: rgba(232, 213, 181, 0.95);
line-height: 1.25;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.movement-era {
font-size: 10px;
color: rgba(201, 169, 110, 0.5);
margin-top: 2px;
}
.movement-band-track {
flex: 1;
position: relative;
min-height: 80px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
border: 1px solid rgba(201, 169, 110, 0.1);
}
.movement-band {
position: absolute;
top: 4px;
bottom: 4px;
border-radius: 3px;
min-width: 40px;
display: block;
font-size: 9px;
color: rgba(201, 169, 110, 0.6);
margin-top: 1px;
}
.artist-portrait {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
background: none;
border: 2px solid rgba(201, 169, 110, 0.6);
border: 2px solid rgba(232, 213, 181, 0.75);
border-radius: 50%;
width: 56px;
height: 56px;
width: var(--portrait-size, 52px);
height: var(--portrait-size, 52px);
padding: 0;
cursor: pointer;
overflow: visible;
transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
z-index: 2;
z-index: 5;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.artist-portrait:hover {
transform: translate(-50%, -50%) scale(1.15);
border-color: #c9a96e;
box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
border-color: #fff;
box-shadow: 0 4px 20px rgba(201, 169, 110, 0.5);
z-index: 10;
}
@@ -108,11 +208,25 @@
}
@media (max-width: 768px) {
.movement-label {
width: 100px;
.movements-flow-canvas {
--stream-stroke: 44px;
--portrait-size: 44px;
}
.movements-flow-caption {
font-size: 12px;
}
.artist-portrait {
width: 44px;
height: 44px;
}
.movement-flow-label {
max-width: 110px;
}
.movement-name {
font-size: 10px;
}
}