88ddbd2513
Build and Deploy Verso / deploy (push) Successful in 14m59s
Trim SVG viewBox from 760 to 590 (content ends ~x=570; the blank right whitespace was making the wordmark look left-biased). Remove the scale(1.2) transform from the sidebar logo — the negative-margin container already fills the sidebar width. Change login logo max-width to be CSS-controlled only (removed inline 480px override). Footer: switch to `background` shorthand !important so the dark-theme `var(--footer-background)` shorthand can't compete; deepen the teal to #c8e4de so the Lumière colour is clearly visible. Add a `body:has(.login-page) .fat-footer` rule so the login-page footer gets the same treatment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
186 lines
4.3 KiB
SCSS
186 lines
4.3 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;
|
|
|
|
.verso-login-logo {
|
|
display: block;
|
|
margin: 0 auto;
|
|
max-width: 300px !important;
|
|
}
|
|
}
|
|
|
|
// ── Login page footer — Lumière override ──────────────────────────────────────
|
|
body:has(.login-page) .fat-footer {
|
|
background: #c8e4de !important;
|
|
color: #1a2e3b !important;
|
|
border-top: 1px solid rgba(42, 157, 143, 0.2);
|
|
|
|
.footer-section-heading {
|
|
color: #2a9d8f !important;
|
|
}
|
|
|
|
.fat-footer-base {
|
|
color: #4a5568 !important;
|
|
|
|
#language-picker-toggle {
|
|
color: #64748b !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
|
|
}
|
|
}
|
|
}
|