[ACA-4712] disallow using important for styles (#3368)

* ACA-4712 Added rule to prevent using important for styles

* ACA-4712 Removed important from some global styles and from manage rule component

* ACA-4712 Removed important from rest global and theme styles

* ACA-4712 Removed usages of important from styles for components
This commit is contained in:
AleksanderSklorz
2023-07-26 09:43:14 +02:00
committed by GitHub
parent 4019508f0f
commit 5508ff1362
18 changed files with 135 additions and 121 deletions

View File

@@ -9,7 +9,10 @@ $top-margin: 12px;
width: 100%;
max-width: $search-width;
height: $search-height + $top-margin;
margin: 0 !important;
&.mat-menu-trigger {
margin: 0;
}
.app-search-button {
width: 32px;
@@ -23,9 +26,11 @@ $top-margin: 12px;
.app-close-icon {
height: 6px;
.mat-icon {
font-size: 18px !important;
line-height: 28px;
&.app-suffix-search-icon-wrapper {
.mat-icon {
font-size: 18px;
line-height: 28px;
}
}
}
@@ -70,8 +75,8 @@ mat-checkbox {
background-color: $search-background;
border-radius: $search-border-radius;
height: $search-height;
margin-bottom: 0 !important;
padding-bottom: 26px !important;
margin-bottom: 0;
padding-bottom: 26px;
}
.app-search-control {