Self-contained HTML/CSS mockups proposing the brand-as-surface direction: - Camogli harbor photo as the permanent backdrop on every authenticated view - Six user themes rebuilt as atmospheric "dusks" (tinted overlays + accents) instead of cream variants - Frosted-glass cards on top of the photo - Same type system (Marcellus / Cormorant Garamond italic / Nunito body) shared between login and in-app Includes: - login-cinematic.html: canonical pre-auth example with Ken-Burns + grain - spa/home.html, library.html, settings.html: in-app views with the new chrome - spa/_tokens.css + _chrome.css: dusk system and frosted-glass primitives - favicons/A-D: in-progress icon directions - README.md with serving instructions and the porting checklist Saved as a durable design artifact so the iteration survives /tmp wipes and can be referred back to when porting to Vue. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,349 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Sign in — WeVisto</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Marcellus&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--navy: #0e2740;
|
||||
--navy-deep: #07172a;
|
||||
--yellow: #f0d000;
|
||||
--yellow-soft: #c4a700;
|
||||
--cream: #faf3e4;
|
||||
--cream-dim: #d8cbb0;
|
||||
}
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body { width: 100%; min-height: 100%; background: var(--navy-deep); color: var(--cream); }
|
||||
body {
|
||||
font-family: 'Cormorant Garamond', serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 56px 24px;
|
||||
}
|
||||
|
||||
/* Ken-Burns harbor backdrop */
|
||||
.backdrop {
|
||||
position: fixed;
|
||||
inset: -4%;
|
||||
background: url('/assets/harbor.jpg') center/cover no-repeat;
|
||||
filter: brightness(0.5) saturate(0.85);
|
||||
opacity: 0;
|
||||
transform: scale(1.04);
|
||||
z-index: 0;
|
||||
animation:
|
||||
bd-fade 1.6s 0.1s cubic-bezier(.2,.7,.2,1) forwards,
|
||||
bd-zoom 28s 0.1s linear forwards;
|
||||
}
|
||||
@keyframes bd-fade { to { opacity: 0.42; } }
|
||||
@keyframes bd-zoom { from { transform: scale(1.04); } to { transform: scale(1.13) translate(-1.5%, -0.8%); } }
|
||||
|
||||
.vignette {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(ellipse 70% 65% at 50% 50%, transparent 0%, rgba(7,23,42,0.6) 65%, rgba(7,23,42,0.95) 100%);
|
||||
z-index: 1;
|
||||
}
|
||||
.grain {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>");
|
||||
mix-blend-mode: overlay;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* upper stamps */
|
||||
.stamp {
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
left: 32px;
|
||||
font-family: 'Marcellus', serif;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.46em;
|
||||
color: var(--cream);
|
||||
opacity: 0;
|
||||
text-transform: uppercase;
|
||||
z-index: 10;
|
||||
animation: tag-in 1.4s 0.9s ease forwards;
|
||||
}
|
||||
.stamp .yellow { color: var(--yellow); }
|
||||
.corner {
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
right: 32px;
|
||||
font-family: 'Marcellus', serif;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.4em;
|
||||
color: var(--cream);
|
||||
opacity: 0;
|
||||
text-transform: uppercase;
|
||||
z-index: 10;
|
||||
animation: tag-in 1.4s 1.0s ease forwards;
|
||||
}
|
||||
@keyframes tag-in { to { opacity: 0.85; transform: translateY(0); } }
|
||||
|
||||
/* the central composition */
|
||||
.stage {
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 440px;
|
||||
}
|
||||
|
||||
/* wordmark — same staggered reveal as splash, but smaller */
|
||||
.wordmark {
|
||||
font-family: 'Marcellus', serif;
|
||||
font-weight: 400;
|
||||
font-size: clamp(48px, 10vw, 76px);
|
||||
line-height: 1;
|
||||
color: var(--cream);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: baseline;
|
||||
gap: 0.005em;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.wordmark .letter {
|
||||
display: inline-block;
|
||||
opacity: 0;
|
||||
transform: translateY(0.35em) rotate(2deg);
|
||||
animation: letter-in 1.0s cubic-bezier(.2,.7,.2,1) forwards;
|
||||
}
|
||||
.wordmark .v {
|
||||
color: var(--yellow);
|
||||
text-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 12px 24px rgba(240,208,0,0.18);
|
||||
}
|
||||
.wordmark .letter:nth-child(1) { animation-delay: 0.45s; }
|
||||
.wordmark .letter:nth-child(2) { animation-delay: 0.52s; }
|
||||
.wordmark .letter:nth-child(3) { animation-delay: 0.66s; }
|
||||
.wordmark .letter:nth-child(4) { animation-delay: 0.78s; }
|
||||
.wordmark .letter:nth-child(5) { animation-delay: 0.85s; }
|
||||
.wordmark .letter:nth-child(6) { animation-delay: 0.92s; }
|
||||
.wordmark .letter:nth-child(7) { animation-delay: 0.99s; }
|
||||
@keyframes letter-in { to { opacity: 1; transform: translateY(0) rotate(0); } }
|
||||
|
||||
/* tiny rule + tagline below wordmark */
|
||||
.underline {
|
||||
width: 0;
|
||||
height: 1px;
|
||||
margin: 6px auto 14px;
|
||||
background: linear-gradient(90deg, transparent, var(--yellow), transparent);
|
||||
animation: rule-grow 1.4s 1.25s cubic-bezier(.2,.7,.2,1) forwards;
|
||||
}
|
||||
@keyframes rule-grow { to { width: 180px; } }
|
||||
|
||||
.tagline {
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
color: var(--cream);
|
||||
opacity: 0;
|
||||
transform: translateY(8px);
|
||||
letter-spacing: 0.03em;
|
||||
margin-bottom: 40px;
|
||||
text-align: center;
|
||||
animation: tag-in 1.2s 1.7s cubic-bezier(.2,.7,.2,1) forwards;
|
||||
}
|
||||
|
||||
/* the sign-in panel — frosted glass card */
|
||||
.panel {
|
||||
width: 100%;
|
||||
background: rgba(7, 23, 42, 0.55);
|
||||
border: 1px solid rgba(255, 240, 200, 0.18);
|
||||
backdrop-filter: blur(14px);
|
||||
-webkit-backdrop-filter: blur(14px);
|
||||
box-shadow:
|
||||
0 1px 0 rgba(255,255,255,0.06) inset,
|
||||
0 30px 60px -20px rgba(0,0,0,0.65);
|
||||
padding: 36px 36px 32px;
|
||||
opacity: 0;
|
||||
transform: translateY(16px);
|
||||
animation: panel-in 1.2s 2.0s cubic-bezier(.2,.7,.2,1) forwards;
|
||||
position: relative;
|
||||
}
|
||||
@keyframes panel-in { to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
.panel h1 {
|
||||
font-family: 'Cormorant Garamond', serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-size: 26px;
|
||||
color: var(--cream);
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
.panel .greeting {
|
||||
font-family: 'Cormorant Garamond', serif;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
color: var(--cream-dim);
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
|
||||
.field { margin-bottom: 18px; }
|
||||
.field label {
|
||||
display: block;
|
||||
font-family: 'Marcellus', serif;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.32em;
|
||||
text-transform: uppercase;
|
||||
color: var(--cream-dim);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.field input {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 1px solid rgba(255, 240, 200, 0.28);
|
||||
color: var(--cream);
|
||||
font-family: 'Cormorant Garamond', serif;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
padding: 8px 0 10px;
|
||||
outline: none;
|
||||
transition: border-color 0.25s ease;
|
||||
}
|
||||
.field input:focus {
|
||||
border-color: var(--yellow);
|
||||
}
|
||||
.field input::placeholder { color: rgba(216, 203, 176, 0.45); font-style: italic; }
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
margin-top: 18px;
|
||||
background: var(--yellow);
|
||||
color: var(--navy-deep);
|
||||
border: 0;
|
||||
padding: 16px 24px;
|
||||
font-family: 'Marcellus', serif;
|
||||
font-size: 13px;
|
||||
letter-spacing: 0.34em;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
|
||||
box-shadow: 0 8px 18px -4px rgba(240,208,0,0.35);
|
||||
}
|
||||
.btn:hover {
|
||||
background: var(--cream);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 12px 24px -4px rgba(255,240,200,0.4);
|
||||
}
|
||||
|
||||
.register-link {
|
||||
margin-top: 22px;
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
font-style: italic;
|
||||
color: var(--cream-dim);
|
||||
}
|
||||
.register-link a {
|
||||
color: var(--yellow);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid rgba(240,208,0,0.4);
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.register-link a:hover { border-bottom-color: var(--yellow); }
|
||||
|
||||
/* bottom stamp */
|
||||
.footstamp {
|
||||
position: fixed;
|
||||
bottom: 28px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-family: 'Marcellus', serif;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.4em;
|
||||
color: var(--cream);
|
||||
opacity: 0;
|
||||
text-transform: uppercase;
|
||||
z-index: 10;
|
||||
animation: tag-in 1.4s 2.6s ease forwards;
|
||||
}
|
||||
.footstamp .sep { margin: 0 10px; color: var(--yellow); opacity: 0.7; }
|
||||
|
||||
/* loader dots top-right */
|
||||
.loader {
|
||||
position: fixed;
|
||||
top: 32px;
|
||||
right: 32px;
|
||||
display: none; /* mute loader on login — keep stamps only */
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.stamp, .corner { font-size: 10px; top: 20px; }
|
||||
.stamp { left: 20px; letter-spacing: 0.32em; }
|
||||
.corner { right: 20px; }
|
||||
.panel { padding: 28px 24px 24px; }
|
||||
.footstamp { bottom: 16px; font-size: 10px; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.backdrop, .wordmark .letter, .tagline, .underline, .panel, .stamp, .corner, .footstamp {
|
||||
animation: none !important; opacity: 1 !important; transform: none !important; width: auto !important;
|
||||
}
|
||||
.underline { width: 180px !important; }
|
||||
.backdrop { opacity: 0.42; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="backdrop"></div>
|
||||
<div class="vignette"></div>
|
||||
<div class="grain"></div>
|
||||
|
||||
<div class="stamp">WeVisto <span class="yellow">·</span> Plate I</div>
|
||||
<div class="corner">Sign in</div>
|
||||
|
||||
<div class="stage">
|
||||
<div class="wordmark" aria-label="WeVisto">
|
||||
<span class="letter">W</span>
|
||||
<span class="letter">e</span>
|
||||
<span class="letter v">V</span>
|
||||
<span class="letter">i</span>
|
||||
<span class="letter">s</span>
|
||||
<span class="letter">t</span>
|
||||
<span class="letter">o</span>
|
||||
</div>
|
||||
<div class="underline"></div>
|
||||
<div class="tagline">Photographs, gifted. Quietly. Forever.</div>
|
||||
|
||||
<form class="panel" method="post" action="#" novalidate>
|
||||
<h1>Welcome back.</h1>
|
||||
<p class="greeting">— sign in to your account</p>
|
||||
|
||||
<div class="field">
|
||||
<label for="inputEmail">Email address</label>
|
||||
<input type="email" id="inputEmail" name="_username" autocomplete="email" placeholder="you@somewhere.com" autofocus>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="inputPassword">Password</label>
|
||||
<input type="password" id="inputPassword" name="_password" autocomplete="current-password" placeholder="••••••••">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">Sign in</button>
|
||||
|
||||
<p class="register-link">Don't have an account? <a href="/register">Create one</a></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="footstamp">Edizione I <span class="sep">·</span> MMXXVI <span class="sep">·</span> A frame, by hand</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user