Files
Art-gallery/client/src/components/PaintingAnnotations.css
T
Danila KhodjaefandCursor df29848d89 Add movement gallery wings with period interiors and expand timeline features.
Movement galleries split large catalogs into chronological wings (~55 works), use era-themed 3D interiors with side-wall windows, wing navigator on the back exit, and front archways between wings. Also adds painting annotations, timeline event guides, portrait hover highlights, and documentation/API updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 16:54:19 +03:00

173 lines
3.6 KiB
CSS

.painting-frame-annotated {
position: relative;
}
.painting-frame-image-wrap {
position: relative;
}
.painting-frame-image-wrap img {
width: 100%;
display: block;
user-select: none;
}
.painting-annotation-markers {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 2;
}
.painting-annotation-marker {
position: absolute;
transform: translate(-50%, -50%);
width: 22px;
height: 22px;
padding: 0;
border: 2px solid rgba(255, 255, 255, 0.9);
border-radius: 50%;
font-size: 11px;
font-weight: 700;
line-height: 1;
color: #1a1208;
cursor: pointer;
pointer-events: auto;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
transition: transform 0.15s, box-shadow 0.15s;
}
.painting-annotation-marker:hover,
.painting-annotation-marker-active {
transform: translate(-50%, -50%) scale(1.12);
box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.5);
z-index: 3;
}
.painting-annotation-marker-technique { background: #7eb8da; }
.painting-annotation-marker-composition { background: #c9a96e; }
.painting-annotation-marker-symbolism { background: #b088cc; }
.painting-annotation-marker-history { background: #8cbe8c; }
.painting-annotation-marker-subject { background: #e8a040; }
.painting-annotations-panel {
max-width: 700px;
width: 100%;
margin-top: 16px;
}
.painting-annotations-title {
margin: 0 0 10px;
font-family: 'Georgia', serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #c9a96e;
}
.painting-annotations-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.painting-annotation-card {
border-radius: 6px;
border: 1px solid rgba(201, 169, 110, 0.2);
background: rgba(201, 169, 110, 0.06);
overflow: hidden;
}
.painting-annotation-card-active {
border-color: rgba(255, 215, 0, 0.45);
background: rgba(201, 169, 110, 0.12);
}
.painting-annotation-card-btn {
display: block;
width: 100%;
padding: 10px 12px;
border: none;
background: transparent;
text-align: left;
cursor: pointer;
color: inherit;
}
.painting-annotation-card-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.painting-annotation-number {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 5px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.35);
font-size: 11px;
font-weight: 700;
color: #ffd700;
}
.painting-annotation-category {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: rgba(201, 169, 110, 0.85);
}
.painting-annotation-label {
font-family: 'Georgia', serif;
font-size: 13px;
color: #e8d5b5;
}
.painting-annotation-body {
margin: 0;
font-family: 'Georgia', serif;
font-size: 13px;
line-height: 1.55;
color: rgba(232, 213, 181, 0.88);
}
.painting-annotation-source {
margin: 6px 0 0;
font-size: 11px;
font-style: italic;
color: rgba(201, 169, 110, 0.75);
}
.painting-annotation-source cite {
font-style: normal;
}
.painting-annotation-source-link {
display: inline-block;
margin: 0 12px 10px;
font-size: 11px;
color: #7eb8da;
text-decoration: none;
}
.painting-annotation-source-link:hover {
text-decoration: underline;
}
.painting-annotation-card-technique { border-left: 3px solid #7eb8da; }
.painting-annotation-card-composition { border-left: 3px solid #c9a96e; }
.painting-annotation-card-symbolism { border-left: 3px solid #b088cc; }
.painting-annotation-card-history { border-left: 3px solid #8cbe8c; }
.painting-annotation-card-subject { border-left: 3px solid #e8a040; }