From f72a79ad05f181226d386343ef676d779d22ba3b Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 29 Jul 2024 13:41:47 -0400 Subject: [PATCH] move about theme to proper place --- .../about/src/about.component.scss | 38 ++++++++++++++++ .../aca-content/src/lib/ui/custom-theme.scss | 1 - .../src/lib/ui/overrides/adf-about.theme.scss | 43 ------------------- 3 files changed, 38 insertions(+), 44 deletions(-) delete mode 100644 projects/aca-content/src/lib/ui/overrides/adf-about.theme.scss diff --git a/projects/aca-content/about/src/about.component.scss b/projects/aca-content/about/src/about.component.scss index b3153eb10..6b4d97c01 100644 --- a/projects/aca-content/about/src/about.component.scss +++ b/projects/aca-content/about/src/about.component.scss @@ -1,6 +1,44 @@ +@import '@alfresco/adf-core/lib/styles/mat-selectors'; + app-about-page { adf-about { padding: 10px; width: 100%; + + #{$mat-data-table-header-cell} { + color: var(--adf-theme-foreground-text-color-054); + font-size: 12px; + font-weight: 500; + } + + background-color: var(--theme-about-panel-background-color); + overflow: auto; + + #{$mat-accordion} { + box-shadow: none; + border: none; + + &.adf-about-panel { + #{$mat-expansion-panel} { + box-shadow: none; + border-radius: 12px; + margin: 24px; + width: 95%; + border: 1px solid var(--theme-about-panel-border-color); + } + } + } + + #{$mat-expansion-panel-header} { + height: 80px; + line-height: 32px; + } + + mat-panel-title { + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 24px; + } } } diff --git a/projects/aca-content/src/lib/ui/custom-theme.scss b/projects/aca-content/src/lib/ui/custom-theme.scss index 9011ac465..5447a206e 100644 --- a/projects/aca-content/src/lib/ui/custom-theme.scss +++ b/projects/aca-content/src/lib/ui/custom-theme.scss @@ -3,7 +3,6 @@ @import './overrides/adf-style-fixes.theme'; @import './overrides/adf-pagination.theme'; @import './overrides/ay11'; -@import './overrides/adf-about.theme'; @import './colors'; $mat-primary-palette: mat.define-palette($aca-primary-blue, A100); diff --git a/projects/aca-content/src/lib/ui/overrides/adf-about.theme.scss b/projects/aca-content/src/lib/ui/overrides/adf-about.theme.scss deleted file mode 100644 index 96fb98a9c..000000000 --- a/projects/aca-content/src/lib/ui/overrides/adf-about.theme.scss +++ /dev/null @@ -1,43 +0,0 @@ -@import '@alfresco/adf-core/lib/styles/mat-selectors'; - -@mixin adf-about-theme($theme) { - adf-about { - /* custom ADF About Component Theme */ - - #{$mat-data-table-header-cell} { - color: var(--adf-theme-foreground-text-color-054); - font-size: 12px; - font-weight: 500; - } - - background-color: var(--theme-about-panel-background-color); - overflow: auto; - - #{$mat-accordion} { - box-shadow: none; - border: none; - - &.adf-about-panel { - #{$mat-expansion-panel} { - box-shadow: none; - border-radius: 12px; - margin: 24px; - width: 95%; - border: 1px solid var(--theme-about-panel-border-color); - } - } - } - - #{$mat-expansion-panel-header} { - height: 80px; - line-height: 32px; - } - - mat-panel-title { - font-style: normal; - font-weight: 700; - font-size: 14px; - line-height: 24px; - } - } -}