style(frontend): enforce rule-empty-line-before in scss

- Stylelint:
  - re-enable `rule-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - normalize blank-line spacing before nested rules and sibling blocks across frontend stylesheets without changing selectors or computed styles
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:44 -04:00
committed by Zach Yale
parent a04daac341
commit 55f448191f
33 changed files with 65 additions and 3 deletions
@@ -24,6 +24,7 @@
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
@@ -23,6 +23,7 @@
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
@@ -302,6 +302,7 @@
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
@@ -312,6 +313,7 @@
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 0.8;
@@ -392,6 +392,7 @@
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
@@ -273,6 +273,7 @@ p-inputgroup.disabled {
padding: 1rem;
flex-wrap: wrap;
}
.file-row.expanded {
border-bottom-style: dotted;
}
@@ -182,7 +182,6 @@
}
@media (width <= 767px) {
.dashboard-scroller-card {
height: 184px;
width: 108px;
@@ -145,6 +145,7 @@
0%, 80%, 100% {
transform: scale(0);
}
40% {
transform: scale(1);
}
@@ -601,6 +601,7 @@
from {
opacity: 0;
}
to {
opacity: 1;
}
@@ -169,6 +169,7 @@ $provider-colors: (
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
@@ -180,6 +181,7 @@ $provider-colors: (
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -204,6 +204,7 @@
from {
opacity: 0;
}
to {
opacity: 1;
}
@@ -566,6 +566,7 @@ $border-color: rgb(255 255 255 / 10%);
transform: translateX(100%);
opacity: 0.5;
}
to {
transform: translateX(0);
opacity: 1;
@@ -698,6 +699,7 @@ $border-color: rgb(255 255 255 / 10%);
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.6;
transform: scale(0.95);
@@ -161,6 +161,7 @@
from {
opacity: 0.7;
}
to {
opacity: 1;
}
@@ -570,6 +571,7 @@
.action-icon { font-size: 2rem; }
.action-text { font-size: 1rem; }
.book-title {
font-size: 0.85rem;
max-width: 250px;
@@ -46,6 +46,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -44,6 +44,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -45,6 +45,7 @@ $transition-normal: 200ms ease;
transform: translateY(-8px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -52,6 +52,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -46,6 +46,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -46,6 +46,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -44,6 +44,7 @@ $transition-normal: 200ms ease;
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -413,6 +413,7 @@ $transition-normal: 200ms ease;
opacity: 0;
transform: translateX(-50%) translateY(8px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
@@ -436,6 +437,7 @@ $transition-normal: 200ms ease;
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -43,6 +43,7 @@ $transition-normal: 200ms ease;
transform: translateY(-8px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
@@ -29,6 +29,7 @@
opacity: 0;
transform: translateX(-50%) translateY(4px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
@@ -40,6 +41,7 @@
opacity: 0;
transform: translateX(-50%) translateY(-4px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
@@ -133,6 +135,7 @@
opacity: 0;
transform: translateX(-50%) translateY(6px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
@@ -144,6 +147,7 @@
opacity: 0;
transform: translateX(-50%) translateY(-6px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
@@ -10,6 +10,7 @@
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
@@ -19,6 +20,7 @@
align-items: center;
gap: 0.5rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
@@ -55,6 +57,7 @@
font-weight: 600;
color: var(--text-color, #fff);
}
.stat-label {
font-size: 0.75rem;
color: var(--text-secondary-color);
@@ -42,7 +42,6 @@
}
@media (width <= 768px) {
.chart-header {
.chart-title {
h3 {
@@ -1,6 +1,8 @@
.publication-era-container { width: 100%; }
.chart-header {
display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem;
.chart-title {
flex: 1;
h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
@@ -8,8 +10,10 @@
}
}
.publication-era-icon { font-size: 1.5rem; color: #673ab7; }
.stats-row {
display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap;
.stat-card {
display: flex; flex-direction: column; align-items: center;
background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%);
@@ -22,6 +26,7 @@
}
}
.chart-wrapper { position: relative; height: 350px; width: 100%; }
.no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color);
i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
@@ -1,6 +1,8 @@
.reading-debt-container { width: 100%; }
.chart-header {
display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem;
.chart-title {
flex: 1;
h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
@@ -8,8 +10,10 @@
}
}
.reading-debt-icon { font-size: 1.5rem; color: #ef5350; }
.stats-row {
display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap;
.stat-card {
display: flex; flex-direction: column; align-items: center;
background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%);
@@ -21,6 +25,7 @@
}
}
.chart-wrapper { position: relative; height: 350px; width: 100%; }
.no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color);
i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
@@ -1,13 +1,17 @@
.session-archetypes-container { width: 100%; }
.chart-header {
display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem;
.chart-title {
flex: 1;
h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; }
}
.year-nav {
display: flex; align-items: center; gap: 0.5rem;
.nav-btn {
background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; color: var(--text-color, #fff); padding: 0.3rem 0.5rem;
@@ -18,8 +22,10 @@
}
}
.session-archetypes-icon { font-size: 1.5rem; color: #ff9800; }
.stats-row {
display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap;
.stat-card {
display: flex; flex-direction: column; align-items: center;
background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%);
@@ -31,6 +37,7 @@
}
}
.chart-wrapper { position: relative; height: 350px; width: 100%; }
.no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color);
i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
@@ -342,6 +342,7 @@
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -500,6 +501,7 @@
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -384,6 +384,7 @@
.p-datatable-tbody > tr > td.status-cell {
padding-left: 1.5rem !important;
}
.select-library {
min-width: 180px;
}
@@ -476,6 +477,7 @@
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
@@ -109,6 +109,7 @@
opacity: 1;
box-shadow: 0 0 0 0 rgb(239 68 68 / 70%);
}
50% {
opacity: 0.85;
box-shadow: 0 0 0 5px rgb(239 68 68 / 0%);
@@ -223,6 +223,7 @@
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -233,6 +234,7 @@
from {
opacity: 0;
}
to {
opacity: 1;
}
@@ -242,9 +244,11 @@
0%, 100% {
transform: translate(0, 0) rotate(0deg);
}
33% {
transform: translate(30px, -30px) rotate(120deg);
}
66% {
transform: translate(-20px, 20px) rotate(240deg);
}
@@ -254,6 +258,7 @@
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
@@ -263,9 +268,11 @@
0%, 100% {
transform: translateX(0);
}
25% {
transform: translateX(-10px);
}
75% {
transform: translateX(10px);
}
@@ -276,9 +283,11 @@
opacity: 0;
transform: scale(0.95);
}
50% {
transform: scale(1.02);
}
100% {
opacity: 1;
transform: scale(1);
@@ -175,6 +175,7 @@
opacity: 0;
transform: scaleY(0.8);
}
100% {
opacity: 1;
transform: scaleY(1);
@@ -185,6 +186,7 @@
0% {
opacity: 1;
}
100% {
opacity: 0;
}
-1
View File
@@ -12,7 +12,6 @@ module.exports = {
"number-max-precision": null,
"property-no-deprecated": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-class-pattern": null,
"selector-pseudo-element-no-unknown": [
true,