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
@@ -248,7 +248,7 @@
padding: 1rem 0.5rem 0.5rem;
z-index: 1;
border-radius: 10px 10px 0 0;
border: 1px solid rgba(255, 255, 255, 0.5);
border: 1px solid rgba(255, 255, 255, 50%);
border-width: 1px 1px 0 1px;
background-color: var(--card-background);
transition: transform 0.15s ease-out, opacity 0.15s ease-out;
@@ -482,7 +482,7 @@
z-index: 998;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 40%);
}
}
@@ -498,7 +498,7 @@
bottom: 0;
height: calc(100% - 3.85rem);
background-color: var(--card-background);
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
box-shadow: -2px 0 10px rgba(0, 0, 0, 15%);
transform: translateX(100%);
transition: transform 0.3s ease;
z-index: 1001;
@@ -6,11 +6,11 @@
height: 100%;
display: flex;
flex-direction: column;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 15%);
transition: box-shadow 0.25s ease, transform 0.25s ease;
&:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
box-shadow: 0 8px 24px rgba(0, 0, 0, 30%);
transform: translateY(-2px);
}
@@ -44,7 +44,7 @@
background: linear-gradient(
90deg,
var(--surface-ground) 25%,
var(--surface-hover, rgba(255, 255, 255, 0.08)) 50%,
var(--surface-hover, rgba(255, 255, 255, 8%)) 50%,
var(--surface-ground) 75%
);
background-size: 200% 100%;
@@ -88,7 +88,7 @@
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.6) 100%);
background: radial-gradient(circle, rgba(0, 0, 0, 0%) 25%, rgba(0, 0, 0, 60%) 100%);
opacity: 0;
transition: opacity 0.15s ease-in-out;
pointer-events: none;
@@ -134,16 +134,16 @@
::ng-deep .p-button {
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.1);
0 2px 8px rgba(0, 0, 0, 40%),
inset 0 1px 0 rgba(255, 255, 255, 15%);
border: 1px solid rgba(255, 255, 255, 10%);
transition: transform 0.15s ease, box-shadow 0.15s ease;
&:hover {
transform: scale(1.08);
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
0 4px 12px rgba(0, 0, 0, 50%),
inset 0 1px 0 rgba(255, 255, 255, 20%);
}
@media (max-width: 767px) {
@@ -227,7 +227,7 @@
position: absolute;
top: 8px;
left: 8px;
background-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 70%);
color: white;
font-size: 0.75rem;
padding: 1px 3px;
@@ -247,8 +247,8 @@
user-select: none;
font-weight: 700;
text-align: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 2px 6px rgba(0, 0, 0, 30%);
border: 1px solid rgba(255, 255, 255, 20%);
display: flex;
align-items: center;
gap: 2px;
@@ -268,7 +268,7 @@
padding: 1px 6px;
border-radius: 6px;
z-index: 3;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 6px rgba(0, 0, 0, 25%);
letter-spacing: 0.03em;
user-select: none;
pointer-events: none;
@@ -49,7 +49,7 @@
background-color: var(--card-background);
border: 1px solid var(--primary-color);
border-radius: 6px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
box-shadow: 0 5px 15px rgba(0, 0, 0, 25%);
}
.cdk-drag-placeholder {