Redesign 3D gallery as single hall per artist with exit navigation.

Restore React client source, add hall-to-hall navigation via painting influences grouped by movement, and update documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila KhodjaefandCursor committed 2026-06-19 10:10:13 +03:00
1 parent 44d3d4359a
commit 08f99d7a29
25 files changed
+2954 -218

No files matched your search

+364
View File
@@ -0,0 +1,364 @@
.virtual-gallery {
display: flex;
flex-direction: column;
height: 100vh;
background: #1a1008;
}
.gallery-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
background: linear-gradient(180deg, #2a1f15 0%, #1a1008 100%);
border-bottom: 2px solid #c9a96e;
}
.gallery-title-block {
flex: 1;
text-align: center;
min-width: 0;
}
.gallery-header h2 {
font-family: 'Georgia', serif;
color: #e8d5b5;
margin: 0;
font-size: 22px;
}
.gallery-career-path {
margin: 4px 0 0;
font-size: 12px;
color: rgba(201, 169, 110, 0.75);
font-family: 'Georgia', serif;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.gallery-header-meta {
display: flex;
align-items: center;
gap: 12px;
}
.gallery-work-count {
font-size: 13px;
color: rgba(232, 213, 181, 0.65);
font-family: 'Georgia', serif;
}
.gallery-back-btn,
.gallery-bio-btn {
padding: 8px 16px;
border: 1px solid #c9a96e;
background: rgba(201, 169, 110, 0.15);
color: #e8d5b5;
border-radius: 4px;
cursor: pointer;
font-family: 'Georgia', serif;
font-size: 14px;
transition: background 0.2s;
}
.gallery-back-btn:hover,
.gallery-bio-btn:hover {
background: rgba(201, 169, 110, 0.35);
}
.gallery-canvas-container {
flex: 1;
min-height: 0;
position: relative;
}
.gallery-loading-overlay {
position: absolute;
inset: 0;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
background: rgba(13, 9, 6, 0.85);
color: #e8d5b5;
font-family: Georgia, serif;
font-size: 16px;
}
.gallery-sync-badge {
inset: auto;
top: 12px;
right: 12px;
left: auto;
bottom: auto;
padding: 8px 14px;
border-radius: 6px;
background: rgba(13, 9, 6, 0.75);
border: 1px solid rgba(201, 169, 110, 0.35);
font-size: 13px;
pointer-events: none;
}
.gallery-controls {
display: flex;
gap: 24px;
padding: 12px 20px;
background: #2a1f15;
border-top: 1px solid rgba(201, 169, 110, 0.3);
}
.control-pad {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.control-pad button {
width: 44px;
height: 44px;
border: 1px solid #c9a96e;
background: rgba(201, 169, 110, 0.15);
color: #e8d5b5;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background 0.2s;
}
.control-pad button:hover {
background: rgba(201, 169, 110, 0.35);
}
.control-row {
display: flex;
gap: 4px;
}
.gallery-instructions {
flex: 1;
}
.gallery-instructions h4 {
margin: 0 0 6px;
color: #c9a96e;
font-family: 'Georgia', serif;
font-size: 14px;
}
.gallery-instructions ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 8px 20px;
}
.gallery-instructions li {
font-size: 12px;
color: rgba(232, 213, 181, 0.7);
}
.gallery-instructions kbd {
display: inline-block;
padding: 1px 6px;
border: 1px solid rgba(201, 169, 110, 0.4);
border-radius: 3px;
background: rgba(0, 0, 0, 0.3);
font-size: 11px;
color: #c9a96e;
}
.gallery-exit-hint {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
z-index: 12;
padding: 10px 18px;
border-radius: 6px;
background: rgba(13, 9, 6, 0.82);
border: 1px solid rgba(212, 175, 55, 0.55);
color: #f5e6c8;
font-family: Georgia, serif;
font-size: 14px;
pointer-events: none;
}
.gallery-exit-hint kbd {
padding: 1px 6px;
border: 1px solid rgba(201, 169, 110, 0.5);
border-radius: 3px;
background: rgba(0, 0, 0, 0.35);
font-size: 12px;
}
.exit-nav-overlay {
position: fixed;
inset: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
background: rgba(8, 5, 3, 0.72);
padding: 24px;
}
.exit-nav-panel {
width: min(960px, 100%);
max-height: min(85vh, 720px);
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #2a1f15 0%, #1a1008 100%);
border: 2px solid #c9a96e;
border-radius: 8px;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
overflow: hidden;
}
.exit-nav-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid rgba(201, 169, 110, 0.35);
}
.exit-nav-header h2 {
margin: 0;
font-family: Georgia, serif;
color: #e8d5b5;
font-size: 20px;
font-weight: normal;
}
.exit-nav-close {
width: 36px;
height: 36px;
border: 1px solid rgba(201, 169, 110, 0.45);
border-radius: 4px;
background: transparent;
color: #e8d5b5;
font-size: 22px;
line-height: 1;
cursor: pointer;
}
.exit-nav-close:hover {
background: rgba(201, 169, 110, 0.2);
}
.exit-nav-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
overflow: auto;
flex: 1;
min-height: 0;
}
.exit-nav-column {
padding: 16px 20px 24px;
overflow-y: auto;
}
.exit-nav-column:first-child {
border-right: 1px solid rgba(201, 169, 110, 0.25);
}
.exit-nav-column h3 {
margin: 0 0 14px;
font-family: Georgia, serif;
color: #c9a96e;
font-size: 16px;
font-weight: normal;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.exit-nav-movement {
margin-bottom: 18px;
}
.exit-nav-movement h4 {
margin: 0 0 8px;
padding-left: 10px;
border-left: 3px solid #8b7355;
font-family: Georgia, serif;
color: #e8d5b5;
font-size: 14px;
font-weight: normal;
}
.exit-nav-movement ul {
list-style: none;
margin: 0;
padding: 0;
}
.exit-nav-movement li + li {
margin-top: 6px;
}
.exit-nav-movement button {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 8px 10px;
border: 1px solid transparent;
border-radius: 4px;
background: rgba(0, 0, 0, 0.2);
color: #e8d5b5;
font-family: Georgia, serif;
font-size: 14px;
text-align: left;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.exit-nav-movement button:hover {
background: rgba(201, 169, 110, 0.18);
border-color: rgba(201, 169, 110, 0.4);
}
.exit-nav-movement img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
background: #3d2b1f;
flex-shrink: 0;
}
.exit-nav-movement span {
display: flex;
flex-direction: column;
gap: 2px;
}
.exit-nav-movement small {
font-size: 11px;
color: rgba(232, 213, 181, 0.6);
}
.exit-nav-empty,
.exit-nav-loading {
margin: 0;
font-size: 13px;
color: rgba(232, 213, 181, 0.55);
font-style: italic;
}
@media (max-width: 640px) {
.exit-nav-columns {
grid-template-columns: 1fr;
}
.exit-nav-column:first-child {
border-right: none;
border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}
}