style(frontend): enforce declaration-empty-line-before in scss
- Stylelint: - re-enable `declaration-empty-line-before` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize declaration spacing across frontend stylesheets to match the enforced empty-line convention without changing selectors or computed styles - Validation: - `just ui stylelint`
This commit is contained in:
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -143,7 +143,6 @@
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
|
||||
|
||||
-1
@@ -162,7 +162,6 @@
|
||||
height: calc(100dvh - 22rem);
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
|
||||
|
||||
+1
@@ -164,6 +164,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -510,5 +510,6 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -307,5 +308,6 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
@@ -236,6 +236,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -14,6 +14,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -104,5 +105,6 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
-1
@@ -81,7 +81,6 @@
|
||||
width: 100%;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -194,6 +194,7 @@ label {
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
|
||||
.footer-left {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -212,6 +213,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer-end;
|
||||
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -8,6 +8,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -34,6 +35,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
flex-shrink: 0;
|
||||
|
||||
.footer-info {
|
||||
|
||||
+1
@@ -16,6 +16,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -16,6 +16,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// Page container — override mixin's overflow so only the content area scrolls
|
||||
.main-container {
|
||||
@include settings.settings-page-container;
|
||||
|
||||
overflow-y: hidden;
|
||||
height: calc(100dvh - 5rem);
|
||||
|
||||
@@ -30,6 +31,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -40,6 +42,7 @@
|
||||
// Cards
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
@include gradient-bg;
|
||||
|
||||
gap: 1rem;
|
||||
|
||||
.loading-text {
|
||||
@@ -58,6 +59,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
@include gradient-bg;
|
||||
|
||||
color: $text-primary;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
@@ -193,6 +195,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@include accent-gradient;
|
||||
|
||||
opacity: 0.8;
|
||||
|
||||
i {
|
||||
@@ -269,6 +272,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
|
||||
.p-slider-range {
|
||||
@include accent-gradient;
|
||||
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color) 50%, transparent);
|
||||
}
|
||||
@@ -306,6 +310,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
height: 72px;
|
||||
font-size: 1.75rem;
|
||||
@include accent-gradient;
|
||||
|
||||
border: none;
|
||||
box-shadow: 0 8px 30px color-mix(in srgb, var(--accent-color) 40%, transparent),
|
||||
0 0 50px color-mix(in srgb, var(--accent-color) 20%, transparent);
|
||||
@@ -420,6 +425,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
|
||||
&.p-highlight {
|
||||
@include accent-gradient;
|
||||
|
||||
color: $text-primary;
|
||||
border-color: transparent;
|
||||
box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color) 30%, transparent);
|
||||
|
||||
-1
@@ -110,7 +110,6 @@
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
|
||||
|
||||
-1
@@ -77,7 +77,6 @@
|
||||
width: 100%;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
|
||||
> * {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -17,11 +18,13 @@
|
||||
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -35,6 +38,7 @@
|
||||
|
||||
.section-body {
|
||||
@include settings.settings-section-body;
|
||||
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -14,6 +14,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -349,6 +350,7 @@
|
||||
// ==================== Dialog Footer ====================
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer-end;
|
||||
|
||||
border-top: 1px solid var(--border-color);
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
|
||||
+4
@@ -10,6 +10,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -36,6 +37,7 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
@@ -43,6 +45,7 @@
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
@@ -52,6 +55,7 @@
|
||||
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
padding: 1rem 1.5rem 1.5rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
|
||||
+4
@@ -10,6 +10,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -32,11 +33,13 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
@@ -46,6 +49,7 @@
|
||||
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
padding: 1.75rem;
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -9,6 +9,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -31,12 +32,14 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-top: 1.25rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
@@ -46,6 +49,7 @@
|
||||
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -203,6 +203,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -178,6 +178,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -9,6 +9,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -242,6 +243,7 @@
|
||||
|
||||
.actions-row {
|
||||
@include settings.settings-actions-row;
|
||||
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
+3
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -29,11 +30,13 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -24,6 +24,7 @@
|
||||
|
||||
.section-body {
|
||||
@include settings.settings-section-body;
|
||||
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
@@ -68,6 +69,7 @@
|
||||
|
||||
.setting-options {
|
||||
@include settings.settings-options;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
|
||||
+4
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -29,10 +30,12 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
|
||||
.section-description {
|
||||
@include settings.settings-section-description;
|
||||
|
||||
margin: 0.5rem 0 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -48,6 +51,7 @@
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -174,6 +174,7 @@
|
||||
border-color: var(--primary-color);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 15%, transparent);
|
||||
}
|
||||
|
||||
color: var(--primary-color);
|
||||
background: color-mix(in srgb, var(--primary-color) 10%, transparent);
|
||||
|
||||
|
||||
+3
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -29,11 +30,13 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -290,6 +290,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: none;
|
||||
|
||||
.footer-info {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
+3
@@ -8,6 +8,7 @@
|
||||
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -25,11 +26,13 @@
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
.app-title {
|
||||
@apply text-5xl font-extrabold text-white drop-shadow-lg;
|
||||
|
||||
text-shadow: 0 4px 6px rgb(0 0 0 / 30%);
|
||||
}
|
||||
|
||||
|
||||
@@ -513,6 +513,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
border-top: 1px solid var(--border-color);
|
||||
|
||||
.selection-info {
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
.panel-header {
|
||||
@include panel.panel-header;
|
||||
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -52,6 +53,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
.login-subtitle {
|
||||
@include auth.auth-subtitle;
|
||||
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@
|
||||
|
||||
.login-button {
|
||||
@include auth.auth-button;
|
||||
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -128,6 +128,7 @@
|
||||
// Variant for footers that only need right-aligned actions
|
||||
@mixin dialog-footer-end {
|
||||
@include dialog-footer;
|
||||
|
||||
justify-content: flex-end;
|
||||
|
||||
@media (width <= 480px) {
|
||||
|
||||
@@ -258,6 +258,7 @@ $settings-item-border-left-width: 3px;
|
||||
|
||||
@mixin settings-warning-notice {
|
||||
@include settings-notice-base;
|
||||
|
||||
background: color-mix(in srgb, var(--ground-background) 85%, var(--p-red-600) 15%);
|
||||
border-left: 3px solid var(--p-red-500);
|
||||
|
||||
@@ -274,6 +275,7 @@ $settings-item-border-left-width: 3px;
|
||||
|
||||
@mixin settings-info-notice {
|
||||
@include settings-notice-base;
|
||||
|
||||
background: color-mix(in srgb, var(--ground-background) 90%, var(--p-blue-600) 10%);
|
||||
border-left: 3px solid var(--p-blue-400);
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ module.exports = {
|
||||
rules: {
|
||||
"at-rule-empty-line-before": null,
|
||||
"declaration-block-single-line-max-declarations": null,
|
||||
"declaration-empty-line-before": null,
|
||||
"declaration-property-value-keyword-no-deprecated": null,
|
||||
"keyframes-name-pattern": null,
|
||||
"no-descending-specificity": null,
|
||||
|
||||
Reference in New Issue
Block a user