style(frontend): apply the first stylelint autofix pass

- SCSS autofixes:
  - apply Stylelint's automatic fixes across the frontend stylesheet set without touching TypeScript or Angular templates
  - normalize zero values, shorthand properties, selector casing, and similar mechanical stylesheet rewrites
  - keep this pass limited to autofix output so the remaining manual stylelint findings stay isolated for later review
- Cleanup scope:
  - update component SCSS and shared layout styles only where Stylelint could rewrite them mechanically
  - leave the unresolved manual stylelint findings in place for a smaller follow-up pass

- Validation:
  - `just ui stylelint-fix` reduced the remaining stylelint count from 140 to 62 before stopping on non-fixable issues
This commit is contained in:
James Cox
2026-04-22 17:26:40 -04:00
committed by Zach Yale
parent cef000d425
commit 34fc60050f
37 changed files with 65 additions and 124 deletions
@@ -18,7 +18,8 @@ body {
min-height: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--glow-image: url(../../../images/topbar.png), radial-gradient(50% 50% at center -25px, var(--p-primary-color) 0%, #000000 100%);
--glow-image: url("../../../images/topbar.png"), radial-gradient(50% 50% at center -25px, var(--p-primary-color) 0%, #000000 100%);
--glow-blend: hard-light, color-dodge;
}
@@ -15,7 +15,7 @@
border: 1px solid var(--p-content-border-color);
border-radius: variables.$borderRadius;
padding: 0.5rem 0.8rem 0.5rem 1.35rem;
box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
box-shadow: 0 3px 5px rgba(0, 0, 0, .02), 0 0 2px rgba(0, 0, 0, .05), 0 1px 4px rgba(0, 0, 0, .08);
}
@@ -94,7 +94,7 @@
}
&:focus {
@include mixins.focused-inset();
@include mixins.focused-inset;
}
}
@@ -15,7 +15,7 @@
transition: left variables.$transitionDuration;
display: flex;
align-items: center;
box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
box-shadow: 0 3px 5px rgba(0, 0, 0, .02), 0 0 2px rgba(0, 0, 0, .05), 0 1px 4px rgba(0, 0, 0, .08);
.layout-topbar-logo {
display: flex;
@@ -63,7 +63,7 @@
background-color: var(--card-background);
cursor: pointer;
//@include focus-visible();
// @include focus-visible();
&:hover {
border-color: var(--primary-color);
@@ -130,9 +130,7 @@
border-radius: 50%;
padding: 0;
cursor: pointer;
outline-color: transparent;
outline-width: 2px;
outline-style: solid;
outline: transparent solid 2px;
outline-offset: 1px;
&.active-color {
@@ -1,4 +1,4 @@
/* General */
$scale:14px; /* main font size */
$borderRadius:12px; /* border radius of layout element e.g. card, sidebar */
$transitionDuration:.2s; /* transition duration of layout elements e.g. sidebar, overlay menus */
$scale: 14px; /* main font size */
$borderRadius: 12px; /* border radius of layout element e.g. card, sidebar */
$transitionDuration: .2s; /* transition duration of layout elements e.g. sidebar, overlay menus */