style(frontend): enforce color-function-notation in scss

- Stylelint:
  - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
  - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent 130463bc4b
commit ddcbb5b666
121 changed files with 790 additions and 791 deletions
@@ -25,7 +25,7 @@
background: var(--card-background);
border: 1px solid var(--border-color);
border-radius: 0 0 10px 10px;
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
@media (max-width: 480px) {
padding: 1rem;
@@ -300,7 +300,7 @@
&:hover {
border-color: var(--primary-color);
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}
.file-info {
@@ -22,7 +22,7 @@
.app-title {
@apply text-5xl font-extrabold text-white drop-shadow-lg;
text-shadow: 0 4px 6px rgb(0, 0, 0, 30%);
text-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}
.change-password-header {
@@ -162,7 +162,7 @@
background: var(--card-background);
border: 1px solid var(--border-color);
border-top: none;
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
flex: 1;
min-height: 0;
overflow: hidden;
@@ -372,7 +372,7 @@
&:hover {
border-color: var(--primary-color);
transform: translateY(3px);
box-shadow: 0 3px 8px rgb(0, 0, 0, 10%);
box-shadow: 0 3px 8px rgb(0 0 0 / 10%);
.directory-icon {
color: var(--primary-color);
@@ -446,7 +446,7 @@
}
.row-moved {
background: rgb(34, 197, 94, 5%) !important;
background: rgb(34 197 94 / 5%) !important;
}
// Footer
@@ -261,7 +261,7 @@
&.active {
border-color: var(--p-red-400);
background: rgb(239, 68, 68, 8%);
background: rgb(239 68 68 / 8%);
color: var(--p-red-400);
}
}
@@ -386,8 +386,8 @@
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: rgb(239, 68, 68, 10%);
border: 1px solid rgb(239, 68, 68, 20%);
background: rgb(239 68 68 / 10%);
border: 1px solid rgb(239 68 68 / 20%);
border-radius: 6px;
color: var(--p-red-400);
font-size: 0.875rem;
@@ -473,7 +473,7 @@
transition: all 0.15s ease;
&:hover {
background: rgb(239, 68, 68, 15%);
background: rgb(239 68 68 / 15%);
color: var(--p-red-400);
}
@@ -501,8 +501,8 @@
padding: 0.5rem 0.625rem;
font-size: 0.6875rem;
color: var(--p-red-400);
background: rgb(239, 68, 68, 8%);
border-top: 1px solid rgb(239, 68, 68, 15%);
background: rgb(239 68 68 / 8%);
border-top: 1px solid rgb(239 68 68 / 15%);
}
}
@@ -41,8 +41,8 @@
margin-bottom: 1.5rem;
padding: 1rem;
border-radius: 0.75rem;
background: rgb(245, 158, 11, 10%);
border: 1px solid rgb(245, 158, 11, 30%);
background: rgb(245 158 11 / 10%);
border: 1px solid rgb(245 158 11 / 30%);
animation: fadeIn 0.3s ease-out;
}
@@ -113,13 +113,13 @@
&::after {
content: '';
flex: 1;
border-bottom: 1px solid rgb(255, 255, 255, 15%);
border-bottom: 1px solid rgb(255 255 255 / 15%);
}
span {
padding: 0 1rem;
font-size: 0.875rem;
color: rgb(255, 255, 255, 50%);
color: rgb(255 255 255 / 50%);
font-weight: 500;
}
}
@@ -127,14 +127,14 @@
.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%);
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%);
background: rgb(255 255 255 / 10%);
border-color: rgb(255 255 255 / 25%);
transform: translateY(-1px);
}
}
@@ -149,14 +149,14 @@
background: none;
border: none;
font-size: 0.8rem;
color: rgb(255, 255, 255, 50%);
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%);
color: rgb(255 255 255 / 80%);
}
&.primary {