mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4795] Remove all custom CSS/CSS variables that already have defaults in ADF (#3242)
* [ACS-4795] removed redundant css variables * [ACS-4795] - removed pointless adf customisations
This commit is contained in:
committed by
GitHub
parent
f99722661b
commit
e9dce5f65a
@@ -16,13 +16,10 @@
|
||||
margin: 24px !important;
|
||||
width: 95%;
|
||||
border: 1px solid var(--theme-about-panel-border-color);
|
||||
background-color: var(--theme-about-panel-background-color);
|
||||
}
|
||||
|
||||
mat-expansion-panel-header {
|
||||
display: flex;
|
||||
height: 80px !important;
|
||||
padding: 24px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
@@ -31,8 +28,6 @@
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
color: var(--theme-about-panel-title-color);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -12,7 +12,6 @@
|
||||
height: 32px !important;
|
||||
line-height: 24px !important;
|
||||
padding: 16px 0;
|
||||
background: var(--theme-pagination-background-color);
|
||||
}
|
||||
|
||||
.adf-pagination__range-block {
|
||||
|
@@ -1,9 +1,6 @@
|
||||
/* stylelint-disable scss/no-global-function-names */
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
$warn: map-get($custom-theme, warn);
|
||||
$accent: map-get($custom-theme, accent);
|
||||
$primary: map-get($custom-theme, primary);
|
||||
$foreground: map-get($custom-theme, foreground);
|
||||
$background: map-get($custom-theme, background);
|
||||
|
||||
@@ -42,11 +39,6 @@ $aca-user-initials-text-color: #212121;
|
||||
|
||||
// CSS Variables
|
||||
$defaults: (
|
||||
--theme-primary-color: mat.get-color-from-palette($primary),
|
||||
--theme-primary-color-default-contrast: mat.get-color-from-palette($primary, default-contrast),
|
||||
--theme-warn-color: mat.get-color-from-palette($warn),
|
||||
--theme-accent-color: mat.get-color-from-palette($accent),
|
||||
--theme-background-color: mat.get-color-from-palette($background, background),
|
||||
--theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
|
||||
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
|
||||
--theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
|
||||
|
Reference in New Issue
Block a user