[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:
Mykyta Maliarchuk
2023-06-05 15:57:28 +02:00
committed by GitHub
parent f99722661b
commit e9dce5f65a
3 changed files with 0 additions and 14 deletions

View File

@@ -16,13 +16,10 @@
margin: 24px !important; margin: 24px !important;
width: 95%; width: 95%;
border: 1px solid var(--theme-about-panel-border-color); border: 1px solid var(--theme-about-panel-border-color);
background-color: var(--theme-about-panel-background-color);
} }
mat-expansion-panel-header { mat-expansion-panel-header {
display: flex;
height: 80px !important; height: 80px !important;
padding: 24px;
line-height: 32px; line-height: 32px;
} }
@@ -31,8 +28,6 @@
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
color: var(--theme-about-panel-title-color);
} }
} }
} }

View File

@@ -12,7 +12,6 @@
height: 32px !important; height: 32px !important;
line-height: 24px !important; line-height: 24px !important;
padding: 16px 0; padding: 16px 0;
background: var(--theme-pagination-background-color);
} }
.adf-pagination__range-block { .adf-pagination__range-block {

View File

@@ -1,9 +1,6 @@
/* stylelint-disable scss/no-global-function-names */ /* stylelint-disable scss/no-global-function-names */
@use '@angular/material' as mat; @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); $foreground: map-get($custom-theme, foreground);
$background: map-get($custom-theme, background); $background: map-get($custom-theme, background);
@@ -42,11 +39,6 @@ $aca-user-initials-text-color: #212121;
// CSS Variables // CSS Variables
$defaults: ( $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-color: mat.get-color-from-palette($foreground, text, 0.54),
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87), --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), --theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),