- Stylelint: - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions - SCSS: - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure - Validation: - `just ui stylelint`
170 lines
2.5 KiB
SCSS
170 lines
2.5 KiB
SCSS
@use '../../styles/auth-shared' as auth;
|
|
|
|
.login-container {
|
|
@include auth.auth-container;
|
|
}
|
|
|
|
.login-card-wrapper {
|
|
@include auth.auth-card-wrapper(460px, -8rem);
|
|
}
|
|
|
|
.login-card-border {
|
|
@include auth.auth-card-border;
|
|
}
|
|
|
|
.login-card {
|
|
@include auth.auth-card;
|
|
}
|
|
|
|
.login-header {
|
|
@include auth.auth-header;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
@include auth.auth-logo;
|
|
}
|
|
|
|
.logo-icon {
|
|
@include auth.auth-logo-icon;
|
|
}
|
|
|
|
.login-title {
|
|
@include auth.auth-title;
|
|
}
|
|
|
|
.login-subtitle {
|
|
@include auth.auth-subtitle;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.oidc-warning {
|
|
margin-bottom: 1.5rem;
|
|
padding: 1rem;
|
|
border-radius: 0.75rem;
|
|
background: rgb(245, 158, 11, 10%);
|
|
border: 1px solid rgb(245, 158, 11, 30%);
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.warning-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.warning-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: #fbbf24;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
|
|
i {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.warning-message {
|
|
font-size: 0.875rem;
|
|
color: #fcd34d;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
|
|
.warning-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-form {
|
|
@include auth.auth-form(1.5rem);
|
|
}
|
|
|
|
.form-field {
|
|
@include auth.form-field;
|
|
}
|
|
|
|
.form-label {
|
|
@include auth.form-label;
|
|
}
|
|
|
|
.form-input {
|
|
@include auth.form-input;
|
|
}
|
|
|
|
.login-button {
|
|
@include auth.auth-button;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.error-message {
|
|
@include auth.error-message;
|
|
}
|
|
|
|
.divider {
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin: 1.5rem 0;
|
|
|
|
&::before,
|
|
&::after {
|
|
content: '';
|
|
flex: 1;
|
|
border-bottom: 1px solid rgb(255, 255, 255, 15%);
|
|
}
|
|
|
|
span {
|
|
padding: 0 1rem;
|
|
font-size: 0.875rem;
|
|
color: rgb(255, 255, 255, 50%);
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.oidc-button {
|
|
::ng-deep button {
|
|
height: 2.75rem;
|
|
background: rgb(255, 255, 255, 5%);
|
|
border: 1px solid rgb(255, 255, 255, 15%);
|
|
color: rgb(255, 255, 255, 90%);
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover:not(:disabled) {
|
|
background: rgb(255, 255, 255, 10%);
|
|
border-color: rgb(255, 255, 255, 25%);
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
}
|
|
|
|
.help-text {
|
|
text-align: center;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.text-link {
|
|
background: none;
|
|
border: none;
|
|
font-size: 0.8rem;
|
|
color: rgb(255, 255, 255, 50%);
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
transition: color 0.2s ease;
|
|
padding: 0;
|
|
|
|
&:hover {
|
|
color: rgb(255, 255, 255, 80%);
|
|
}
|
|
|
|
&.primary {
|
|
color: var(--primary-color);
|
|
|
|
&:hover {
|
|
color: #60a5fa;
|
|
}
|
|
}
|
|
}
|