mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
[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:
@@ -22,7 +22,7 @@
|
||||
[acaExpansionPanel]="item"
|
||||
[@.disabled]="true"
|
||||
>
|
||||
<mat-expansion-panel-header expandedHeight="48px" collapsedHeight="48px" role="group">
|
||||
<mat-expansion-panel-header expandedHeight="32px" collapsedHeight="32px" role="group">
|
||||
<mat-panel-title>
|
||||
<div class="item">
|
||||
<button
|
||||
|
@@ -52,7 +52,6 @@
|
||||
border-radius: 0;
|
||||
|
||||
&-header {
|
||||
height: 32px !important;
|
||||
padding: 0 32px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -66,7 +65,7 @@
|
||||
.mat-button {
|
||||
line-height: 32px;
|
||||
align-items: center;
|
||||
border: none !important;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.action-button__label {
|
||||
@@ -99,7 +98,7 @@
|
||||
}
|
||||
|
||||
.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled='true']):hover {
|
||||
background: none !important;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.item {
|
||||
@@ -128,7 +127,7 @@
|
||||
}
|
||||
|
||||
.action-button--active {
|
||||
color: var(--theme-selected-text-color) !important;
|
||||
color: var(--theme-selected-text-color);
|
||||
background: var(--theme-selected-background-color);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user