3bd0b9a5a1
CI / test (push) Has been cancelled
Iteration after the atmospheric-redesign checkpoint. The earlier A/B/C/D favicon set was scrapped — generic invented icons (roof, frame+horizon, skyline, wax seal) that didn't tie to the brand's own glyph. New direction: the yellow V from the wordmark, presented four ways. V-viewfinder (a V cut out of navy showing the harbor photo inside) is the chosen path; refinement 3b crops to Camogli's coloured row-houses for a more brand-specific small size reading. Also adds three logo-placement mockups (PWA cold-launch splash, library hero with the full wordmark logo, settings → about page) to give the wordmark room to live beyond emails and login badges. Self-contained: assets/ and spa/ copied into the design folder so the mockups render without depending on neighbouring directories. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
184 lines
6.1 KiB
CSS
184 lines
6.1 KiB
CSS
/* Frosted-glass chrome — same vocabulary as the login.
|
|
Every surface that holds content is a glass card over the harbor backdrop. */
|
|
|
|
/* ─── Top app bar — translucent dark band ────────────────────────────── */
|
|
.app-bar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
background: var(--glass-2);
|
|
backdrop-filter: saturate(180%) blur(18px);
|
|
-webkit-backdrop-filter: saturate(180%) blur(18px);
|
|
border-bottom: 1px solid var(--glass-bord);
|
|
padding: 12px 18px;
|
|
padding-top: calc(12px + env(safe-area-inset-top));
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.app-bar__mark {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 9px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
|
|
flex-shrink: 0;
|
|
}
|
|
.app-bar__mark img { width: 100%; height: 100%; display: block; }
|
|
.app-bar__title-group { display: flex; flex-direction: column; }
|
|
.app-bar__wordmark {
|
|
font: 400 var(--text-lg)/1 var(--font-display);
|
|
letter-spacing: 0.005em;
|
|
color: var(--text);
|
|
}
|
|
.app-bar__wordmark .v { color: var(--brand-yellow); }
|
|
.app-bar__sub {
|
|
font: italic 400 13px/1 var(--font-accent);
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.02em;
|
|
margin-top: 4px;
|
|
}
|
|
.app-bar__spacer { flex: 1; }
|
|
.app-bar__icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-muted);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: var(--radius-full);
|
|
cursor: pointer;
|
|
transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
|
|
}
|
|
.app-bar__icon:hover { background: var(--glass); color: var(--text); }
|
|
.app-bar__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
|
|
/* ─── Glass surface mixin ──────────────────────────────────────────────── */
|
|
.glass {
|
|
background: var(--glass);
|
|
backdrop-filter: saturate(160%) blur(20px);
|
|
-webkit-backdrop-filter: saturate(160%) blur(20px);
|
|
border: 1px solid var(--glass-bord);
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.06) inset,
|
|
0 20px 40px -16px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
/* ─── Bottom nav — translucent dark band ─────────────────────────────── */
|
|
.bottom-nav {
|
|
position: fixed;
|
|
bottom: 0; left: 0; right: 0;
|
|
background: var(--glass-2);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
border-top: 1px solid var(--glass-bord);
|
|
display: flex;
|
|
z-index: 50;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
.bottom-nav__tab {
|
|
flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
gap: 2px; height: 64px; color: var(--text-muted);
|
|
text-decoration: none; min-height: 44px;
|
|
transition: color var(--duration-fast);
|
|
}
|
|
.bottom-nav__tab.active {
|
|
color: var(--brand-yellow);
|
|
}
|
|
.bottom-nav__tab.active .label { color: var(--text); }
|
|
.bottom-nav__tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
|
|
.bottom-nav__tab .label {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xs);
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.main-scroll {
|
|
padding-bottom: calc(64px + env(safe-area-inset-bottom) + 32px);
|
|
min-height: 100dvh;
|
|
}
|
|
|
|
/* ─── Brand signature ─────────────────────────────────────────────────── */
|
|
.signature {
|
|
margin-top: 32px;
|
|
padding: 32px 0 16px;
|
|
border-top: 1px solid var(--glass-bord);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.signature__mark {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
opacity: 0.9;
|
|
}
|
|
.signature__mark img { width: 100%; height: 100%; display: block; }
|
|
.signature__text {
|
|
font: 400 14px/1.2 var(--font-display);
|
|
letter-spacing: 0.32em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.signature__text .v-mark { color: var(--brand-yellow); }
|
|
.signature__version {
|
|
font: 400 italic 14px/1.3 var(--font-accent);
|
|
letter-spacing: 0.02em;
|
|
color: var(--text-muted);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ─── Theme switcher (mockup only) ─────────────────────────────────────── */
|
|
.theme-switcher {
|
|
position: fixed;
|
|
bottom: 84px;
|
|
right: 16px;
|
|
z-index: 60;
|
|
background: var(--glass-2);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
border: 1px solid var(--glass-bord);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5);
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-width: 220px;
|
|
}
|
|
.theme-switcher__label {
|
|
font: var(--type-label);
|
|
letter-spacing: 0.24em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
}
|
|
.theme-switcher__chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
.theme-switcher__chip {
|
|
width: 26px; height: 26px;
|
|
border: 2px solid var(--glass-bord);
|
|
border-radius: var(--radius-full);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: transform var(--duration-fast);
|
|
}
|
|
.theme-switcher__chip:hover { transform: scale(1.1); }
|
|
.theme-switcher__chip.active { box-shadow: 0 0 0 2px var(--brand-yellow); }
|
|
/* each chip shows that theme's accent over its bg-base */
|
|
.theme-switcher__chip[data-theme="ocean-dusk"] { background: linear-gradient(135deg, #06121f 50%, #4e9fc8 50%); }
|
|
.theme-switcher__chip[data-theme="amber-dusk"] { background: linear-gradient(135deg, #1a0d05 50%, #e89048 50%); }
|
|
.theme-switcher__chip[data-theme="sage-dusk"] { background: linear-gradient(135deg, #081208 50%, #88c068 50%); }
|
|
.theme-switcher__chip[data-theme="rose-dusk"] { background: linear-gradient(135deg, #1a060f 50%, #d878a0 50%); }
|
|
.theme-switcher__chip[data-theme="mauve-dusk"] { background: linear-gradient(135deg, #100618 50%, #b890d8 50%); }
|
|
.theme-switcher__chip[data-theme="honey-dusk"] { background: linear-gradient(135deg, #18120a 50%, #e8c050 50%); }
|