style(frontend): enforce at-rule-empty-line-before in scss
- Stylelint: - re-enable `at-rule-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions - SCSS: - normalize blank-line spacing before Sass includes, media queries, and other at-rules where the repo was inconsistent - Validation: - `just ui stylelint`
This commit is contained in:
@@ -39,6 +39,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
|
||||
@include gradient-bg;
|
||||
|
||||
gap: 1rem;
|
||||
@@ -58,6 +59,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
|
||||
@include gradient-bg;
|
||||
|
||||
color: $text-primary;
|
||||
@@ -194,6 +196,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@include accent-gradient;
|
||||
|
||||
opacity: 0.8;
|
||||
@@ -309,6 +312,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
font-size: 1.75rem;
|
||||
|
||||
@include accent-gradient;
|
||||
|
||||
border: none;
|
||||
|
||||
+1
@@ -20,6 +20,7 @@
|
||||
.warning-notice {
|
||||
margin-top: -2rem;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
@include settings.settings-warning-notice;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -33,5 +33,7 @@
|
||||
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
|
||||
small { font-size: 0.85rem; opacity: 0.7; }
|
||||
}
|
||||
|
||||
@media (width <= 768px) { .chart-wrapper { height: 280px; } }
|
||||
|
||||
@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } }
|
||||
|
||||
+2
@@ -32,5 +32,7 @@
|
||||
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
|
||||
small { font-size: 0.85rem; opacity: 0.7; }
|
||||
}
|
||||
|
||||
@media (width <= 768px) { .chart-wrapper { height: 280px; } }
|
||||
|
||||
@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } }
|
||||
|
||||
+2
@@ -44,5 +44,7 @@
|
||||
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
|
||||
small { font-size: 0.85rem; opacity: 0.7; }
|
||||
}
|
||||
|
||||
@media (width <= 768px) { .chart-wrapper { height: 280px; } }
|
||||
|
||||
@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } }
|
||||
|
||||
Reference in New Issue
Block a user