style(frontend): enforce alpha-value-notation in scss

- Stylelint:
  - re-enable `alpha-value-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions disabled
- SCSS:
  - rewrite decimal alpha values to percentage notation across the frontend stylesheet tree without changing selector structure or layout behavior
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent dbd1f20357
commit 6921da76ba
121 changed files with 800 additions and 801 deletions
@@ -15,7 +15,7 @@
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
background: radial-gradient(circle, rgba(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, 0.3) 50%, transparent 100%);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
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%);
transition: all 0.3s ease;
&:hover {
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
box-shadow: 0 25px 70px rgba(0, 0, 0, 50%);
transform: translateY(-2px);
}
}
@mixin auth-card {
width: 100%;
background: rgba(17, 24, 39, 0.95);
background: rgba(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, 0.4));
filter: drop-shadow(0 4px 12px rgba(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, 0.4);
box-shadow: 0 4px 12px rgba(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, 0.7);
color: rgba(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, 0.9);
color: rgba(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, 0.2);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 20%);
}
}
@@ -192,7 +192,7 @@
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
box-shadow: 0 8px 24px rgba(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, 0.08);
box-shadow: 0 2px 6px rgba(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, 0.06);
box-shadow: 0 -2px 8px rgba(0, 0, 0, 6%);
.footer-info,
.validation-status {
@@ -159,9 +159,9 @@
}
&.error {
background: rgba(239, 68, 68, 0.1);
background: rgba(239, 68, 68, 10%);
color: rgb(239, 68, 68);
border: 1px solid rgba(239, 68, 68, 0.3);
border: 1px solid rgba(239, 68, 68, 30%);
i {
color: rgb(239, 68, 68);
@@ -169,9 +169,9 @@
}
&.success {
background: rgba(34, 197, 94, 0.1);
background: rgba(34, 197, 94, 10%);
color: rgb(34, 197, 94);
border: 1px solid rgba(34, 197, 94, 0.3);
border: 1px solid rgba(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, 0.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 10%);
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
}