move about theme to proper place

This commit is contained in:
Denys Vuika
2024-07-29 13:41:47 -04:00
parent d0480195ef
commit f72a79ad05
3 changed files with 38 additions and 44 deletions

View File

@@ -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;
}
}
}

View File

@@ -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);

View File

@@ -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;
}
}
}