592b4d3dad
Build and Deploy Verso / deploy (push) Successful in 14m8s
- i18n: unwrap webpack module object on dynamic JSON import (lang.default ?? lang) so French bundle keys are correctly registered in the i18next store - Login logo: use flex centering on wrapper instead of display:block + margin:auto - Footer (project list + login): align-items:center on .row for vertical centering - Tile zoom: S/M/L control in header with CSS custom property (--lum-card-scale) that scales grid column width and card thumbnail height; persisted in localStorage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
236 lines
5.7 KiB
SCSS
236 lines
5.7 KiB
SCSS
:root {
|
|
--password-visibility-toggle-width: 35px;
|
|
}
|
|
|
|
.login-register-or-text-container {
|
|
display: flex;
|
|
gap: var(--spacing-05);
|
|
padding: var(--spacing-08) 0 var(--spacing-05) 0;
|
|
align-items: center;
|
|
font-size: var(--font-size-02);
|
|
line-height: 1;
|
|
margin: 0;
|
|
|
|
&::before,
|
|
&::after {
|
|
content: '';
|
|
display: block;
|
|
flex-grow: 1;
|
|
height: 1px;
|
|
background-color: var(--neutral-20);
|
|
}
|
|
}
|
|
|
|
.login-register-form {
|
|
padding: var(--spacing-08) var(--spacing-08) 0 var(--spacing-08);
|
|
border-bottom: solid 1px var(--border-divider);
|
|
|
|
&:last-child {
|
|
border-bottom-width: 0;
|
|
}
|
|
}
|
|
|
|
// ── Lumière Login Page ───────────────────────────────────────────────────────
|
|
// .login-page is set on main#main-content in login.pug; always applied
|
|
// (login users haven't set a theme yet).
|
|
|
|
.login-page {
|
|
background-image:
|
|
$lum-noise,
|
|
radial-gradient(ellipse 80% 50% at 20% 10%, rgba(42, 157, 143, 0.22) 0%, transparent 55%),
|
|
radial-gradient(ellipse 70% 60% at 85% 90%, rgba(61, 126, 191, 0.15) 0%, transparent 55%);
|
|
background-size: 200px 200px, cover, cover;
|
|
background-repeat: repeat, no-repeat, no-repeat;
|
|
background-color: #f0faf8;
|
|
min-height: 100vh;
|
|
|
|
// Flex wrapper replaces .text-center so the block image centers reliably.
|
|
.lumiere-logo-center {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.verso-login-logo {
|
|
max-width: 520px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
// ── Login page footer — Lumière override ──────────────────────────────────────
|
|
// Same light-teal treatment as the project page footer.
|
|
body:has(.login-page) footer.site-footer {
|
|
position: relative;
|
|
|
|
.site-footer-content > .row {
|
|
align-items: center;
|
|
}
|
|
background-color: #edf7f4 !important;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E") !important;
|
|
background-size: 200px 200px !important;
|
|
background-repeat: repeat !important;
|
|
border-top: none !important;
|
|
color: #64748b !important;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, #2a9d8f 0%, #3d7ebf 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
a {
|
|
color: #64748b !important;
|
|
text-decoration: none;
|
|
transition: color 0.15s ease;
|
|
|
|
&:hover {
|
|
color: #2a9d8f !important;
|
|
}
|
|
}
|
|
|
|
.col-lg-9 .site-footer-items > li:first-child a {
|
|
font-family: Georgia, 'Times New Roman', 'DejaVu Serif', serif;
|
|
color: #1a2e3b !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.col-lg-3 {
|
|
font-family: ui-monospace, 'SFMono-Regular', 'Fira Code', Consolas, monospace;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: #94a3b8 !important;
|
|
|
|
a {
|
|
color: #94a3b8 !important;
|
|
|
|
&:hover {
|
|
color: #2a9d8f !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.text-muted {
|
|
color: #b8d4cf !important;
|
|
}
|
|
|
|
--link-color: #64748b;
|
|
--link-hover-color: #2a9d8f;
|
|
--link-visited-color: #64748b;
|
|
}
|
|
|
|
.login-lumiere-card {
|
|
padding: 0 !important;
|
|
background: #fff;
|
|
border: 1px solid $lum-border;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 6px 28px rgba(42, 157, 143, 0.12),
|
|
0 1px 4px rgba(0, 0, 0, 0.06);
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, $lum-teal 0%, $lum-blue 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 1.75rem 1.5rem 1.25rem;
|
|
border-bottom-color: $lum-border;
|
|
margin-top: 0;
|
|
|
|
h1 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: #1a5c52;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
form {
|
|
padding: 1.25rem 1.5rem 1.5rem;
|
|
}
|
|
|
|
label {
|
|
color: #1a5c52;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: rgba(42, 157, 143, 0.5);
|
|
box-shadow: 0 0 0 0.2rem rgba(42, 157, 143, 0.18);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, $lum-teal 0%, darken($lum-teal, 8%) 100%);
|
|
border-color: darken($lum-teal, 10%);
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
|
|
transition: all 0.15s ease;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: linear-gradient(135deg, lighten($lum-teal, 4%) 0%, $lum-teal 100%);
|
|
box-shadow: 0 4px 14px rgba(42, 157, 143, 0.4);
|
|
}
|
|
}
|
|
|
|
a.float-end {
|
|
color: $lum-teal;
|
|
font-size: 0.875rem;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: darken($lum-teal, 10%);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-group-password {
|
|
display: flex;
|
|
position: relative;
|
|
flex-direction: column;
|
|
|
|
.form-group-password-input {
|
|
input.form-control,
|
|
// needlessly specific selectors to override competing styles
|
|
input.form-control.form-control-ds.form-control-lg {
|
|
padding-right: var(--password-visibility-toggle-width);
|
|
}
|
|
}
|
|
|
|
.visibility-toggle {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: var(--password-visibility-toggle-width);
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: unset;
|
|
background-color: unset;
|
|
|
|
#visibility-icon-off {
|
|
margin-top: 2px; // workaround for the icon not having the same center as the non-slashed one
|
|
}
|
|
}
|
|
}
|