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:
-3
@@ -90,9 +90,6 @@
|
|||||||
|
|
||||||
::ng-deep .p-dialog-mask {
|
::ng-deep .p-dialog-mask {
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep .p-dialog-mask {
|
|
||||||
backdrop-filter: blur(3px);
|
backdrop-filter: blur(3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-44
@@ -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 {
|
.user-dialog {
|
||||||
.p-dialog-content {
|
.p-dialog-content {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
|||||||
+3
-6
@@ -317,18 +317,15 @@ $transition-fast: 150ms ease;
|
|||||||
|
|
||||||
.page-nav-left {
|
.page-nav-left {
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
margin: 0 auto;
|
||||||
|
justify-content: center;
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-nav-right {
|
.page-nav-right {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-nav-left {
|
|
||||||
margin: 0 auto;
|
|
||||||
justify-content: center;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-controls {
|
.page-controls {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -516,7 +516,7 @@
|
|||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '\e923';
|
content: '\e923';
|
||||||
font-family: primeicons;
|
font-family: primeicons, sans-serif;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
-4
@@ -130,10 +130,6 @@
|
|||||||
height: 320px;
|
height: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.insights-row {
|
|
||||||
gap: 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.insights-row {
|
.insights-row {
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
|||||||
@@ -335,12 +335,6 @@
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-toggle-btn {
|
|
||||||
span {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep .config-dialog {
|
::ng-deep .config-dialog {
|
||||||
.p-dialog-content {
|
.p-dialog-content {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|||||||
@@ -382,6 +382,17 @@
|
|||||||
.p-datatable-tbody > tr > td.status-cell {
|
.p-datatable-tbody > tr > td.status-cell {
|
||||||
padding-left: 1.5rem !important;
|
padding-left: 1.5rem !important;
|
||||||
}
|
}
|
||||||
|
.select-library {
|
||||||
|
min-width: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select-path {
|
||||||
|
min-width: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select-full-width {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.id-cell {
|
.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
|
// Responsive
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.dialog-content {
|
.dialog-content {
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
"scss/dollar-variable-empty-line-before": null,
|
"scss/dollar-variable-empty-line-before": null,
|
||||||
|
"scss/dollar-variable-pattern": null,
|
||||||
"scss/load-partial-extension": null,
|
"scss/load-partial-extension": null,
|
||||||
"scss/load-no-partial-leading-underscore": null,
|
"scss/load-no-partial-leading-underscore": null,
|
||||||
"shorthand-property-no-redundant-values": null,
|
"shorthand-property-no-redundant-values": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user