style(frontend): resolve the remaining stylelint findings

Merge duplicate SCSS selectors that were only tripping stylelint, add a generic fallback for the PrimeIcons font usage, and relax the legacy Sass variable naming rule for the shared layout variables.

Validation:
- just ui stylelint
This commit is contained in:
James Cox
2026-04-22 17:26:42 -04:00
committed by Zach Yale
parent c0fca03ae8
commit dbd1f20357
8 changed files with 16 additions and 79 deletions
@@ -90,9 +90,6 @@
::ng-deep .p-dialog-mask {
background-color: rgba(0, 0, 0, 0.5);
}
::ng-deep .p-dialog-mask {
backdrop-filter: blur(3px);
}
@@ -311,50 +311,6 @@
}
}
::ng-deep {
.p-tabs {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.p-tabpanels {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.p-tabpanel {
display: none;
&.p-tabpanel-active {
display: flex;
flex-direction: column;
height: 100%;
flex: 1;
}
}
.p-datatable-tbody > tr > td {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
vertical-align: top;
}
.p-datatable-table {
align-self: flex-start;
width: 100%;
}
.p-datatable-thead > tr > th .header-content {
display: flex;
align-items: center;
gap: 0.5rem;
}
}
.user-dialog {
.p-dialog-content {
padding: 1.5rem;
@@ -317,18 +317,15 @@ $transition-fast: 150ms ease;
.page-nav-left {
gap: 4px;
margin: 0 auto;
justify-content: center;
flex: 1;
}
.page-nav-right {
display: none;
}
.page-nav-left {
margin: 0 auto;
justify-content: center;
flex: 1;
}
.page-controls {
display: none;
}
@@ -516,7 +516,7 @@
&::before {
content: '\e923';
font-family: primeicons;
font-family: primeicons, sans-serif;
display: flex;
align-items: center;
justify-content: center;
@@ -130,10 +130,6 @@
height: 320px;
}
.insights-row {
gap: 0.75rem;
}
.insights-row {
grid-template-columns: repeat(4, 1fr);
gap: 0.5rem;
@@ -335,12 +335,6 @@
padding: 1rem;
}
.config-toggle-btn {
span {
display: none;
}
}
::ng-deep .config-dialog {
.p-dialog-content {
padding: 1rem;
@@ -382,6 +382,17 @@
.p-datatable-tbody > tr > td.status-cell {
padding-left: 1.5rem !important;
}
.select-library {
min-width: 180px;
}
.select-path {
min-width: 220px;
}
.select-full-width {
width: 100%;
}
}
.id-cell {
@@ -468,21 +479,6 @@
}
}
// Select widths
:host ::ng-deep {
.select-library {
min-width: 180px;
}
.select-path {
min-width: 220px;
}
.select-full-width {
width: 100%;
}
}
// Responsive
@media (max-width: 768px) {
.dialog-content {
+1
View File
@@ -27,6 +27,7 @@ module.exports = {
},
],
"scss/dollar-variable-empty-line-before": null,
"scss/dollar-variable-pattern": null,
"scss/load-partial-extension": null,
"scss/load-no-partial-leading-underscore": null,
"shorthand-property-no-redundant-values": null,