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:
+3
@@ -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);
|
||||
|
||||
-1
@@ -42,7 +42,6 @@
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
|
||||
.chart-header {
|
||||
.chart-title {
|
||||
h3 {
|
||||
|
||||
+5
@@ -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; }
|
||||
|
||||
+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; }
|
||||
|
||||
+7
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user