style(frontend): enforce color-function-alias-notation in scss
- 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`
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle, rgba(59, 130, 246, 10%) 0%, transparent 70%);
|
||||
background: radial-gradient(circle, rgb(59, 130, 246, 10%) 0%, transparent 70%);
|
||||
animation: float 20s ease-in-out infinite;
|
||||
}
|
||||
}
|
||||
@@ -42,19 +42,19 @@
|
||||
width: 100%;
|
||||
border-radius: 2rem;
|
||||
padding: 2px;
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, rgba(59, 130, 246, 30%) 50%, transparent 100%);
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 40%);
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, rgb(59, 130, 246, 30%) 50%, transparent 100%);
|
||||
box-shadow: 0 20px 60px rgb(0, 0, 0, 40%);
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 25px 70px rgba(0, 0, 0, 50%);
|
||||
box-shadow: 0 25px 70px rgb(0, 0, 0, 50%);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin auth-card {
|
||||
width: 100%;
|
||||
background: rgba(17, 24, 39, 95%);
|
||||
background: rgb(17, 24, 39, 95%);
|
||||
backdrop-filter: blur(20px);
|
||||
border-radius: calc(2rem - 2px);
|
||||
padding: 3rem 2.5rem;
|
||||
@@ -78,7 +78,7 @@
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
margin: 0 auto;
|
||||
filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 40%));
|
||||
filter: drop-shadow(0 4px 12px rgb(59, 130, 246, 40%));
|
||||
transition: transform 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
@@ -95,7 +95,7 @@
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
|
||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 40%);
|
||||
box-shadow: 0 4px 12px rgb(59, 130, 246, 40%);
|
||||
transition: transform 0.3s ease;
|
||||
|
||||
i {
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
@mixin auth-subtitle {
|
||||
font-size: 0.95rem;
|
||||
color: rgba(255, 255, 255, 70%);
|
||||
color: rgb(255, 255, 255, 70%);
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
max-width: 400px;
|
||||
@@ -149,7 +149,7 @@
|
||||
gap: 0.5rem;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
color: rgba(255, 255, 255, 90%);
|
||||
color: rgb(255, 255, 255, 90%);
|
||||
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
@@ -161,7 +161,7 @@
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 20%);
|
||||
box-shadow: 0 0 0 3px rgb(59, 130, 246, 20%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px rgba(59, 130, 246, 40%);
|
||||
box-shadow: 0 8px 24px rgb(59, 130, 246, 40%);
|
||||
}
|
||||
|
||||
&:active:not(:disabled) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
padding: 1.5rem 1.5rem 1.25rem 1.5rem;
|
||||
border-radius: 10px 10px 0 0;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 8%);
|
||||
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
|
||||
|
||||
.header-icon-wrapper {
|
||||
display: flex;
|
||||
@@ -90,7 +90,7 @@
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0 0 10px 10px;
|
||||
box-shadow: 0 -2px 8px rgba(0, 0, 0, 6%);
|
||||
box-shadow: 0 -2px 8px rgb(0, 0, 0, 6%);
|
||||
|
||||
.footer-info,
|
||||
.validation-status {
|
||||
@@ -159,9 +159,9 @@
|
||||
}
|
||||
|
||||
&.error {
|
||||
background: rgba(239, 68, 68, 10%);
|
||||
background: rgb(239, 68, 68, 10%);
|
||||
color: rgb(239, 68, 68);
|
||||
border: 1px solid rgba(239, 68, 68, 30%);
|
||||
border: 1px solid rgb(239, 68, 68, 30%);
|
||||
|
||||
i {
|
||||
color: rgb(239, 68, 68);
|
||||
@@ -169,9 +169,9 @@
|
||||
}
|
||||
|
||||
&.success {
|
||||
background: rgba(34, 197, 94, 10%);
|
||||
background: rgb(34, 197, 94, 10%);
|
||||
color: rgb(34, 197, 94);
|
||||
border: 1px solid rgba(34, 197, 94, 30%);
|
||||
border: 1px solid rgb(34, 197, 94, 30%);
|
||||
|
||||
i {
|
||||
color: rgb(34, 197, 94);
|
||||
|
||||
@@ -517,7 +517,7 @@ $settings-item-border-left-width: 3px;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 10%);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 10%);
|
||||
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user