Files
immich-folio/app/map/map.css

60 lines
1.7 KiB
CSS
Raw Normal View History

/* ── Map Page ──────────────────────────────────────────────── */
/* Marker, popup and Leaflet control styling is shared with journal map
blocks and lives in app/leaflet.css. */
.map-page {
display: flex;
flex-direction: column;
min-height: calc(100vh - var(--header-height, 64px));
}
/* No horizontal padding or margin on the header and the map: the page sits
inside .main, which already provides every preset's side gutter. Adding a
second one made the map page narrower than the rest of the site. */
.map-page__header {
padding: 2rem 0 1rem;
}
/* Kicker + meta block are rendered for every preset but stay hidden
unless a preset opts in (studio-modern uses both). */
.map-page__kicker,
.map-page__meta {
display: none;
}
.map-page__title {
font-family: var(--font-serif);
font-size: clamp(1.5rem, 4vw, 2.5rem);
font-weight: 600;
margin: 0.5rem 0 0.25rem;
color: var(--text-primary);
}
.map-page__subtitle {
font-family: var(--font-sans);
font-size: 0.875rem;
color: var(--text-secondary);
margin: 0;
}
/* ── Map Container ─────────────────────────────────────────── */
.map-container {
flex: 1;
min-height: 500px;
margin: 0 0 2rem;
border-radius: var(--radius-sm, 0);
overflow: hidden;
border: 1px solid var(--border-subtle, rgba(128, 128, 128, 0.15));
}
.map-container__loading {
display: flex;
align-items: center;
justify-content: center;
height: 500px;
color: var(--text-secondary);
font-family: var(--font-sans);
font-size: 0.875rem;
}