Revert "[ACA-2125] Update sidenav colors and font-size (#1368)" (#1370)

This reverts commit 0d0b228cb7.
This commit is contained in:
Denys Vuika
2020-03-23 15:59:45 +00:00
committed by GitHub
parent 5e49d9591b
commit 0eb1720f8f
4 changed files with 10 additions and 49 deletions

View File

@@ -8,13 +8,9 @@
align-items: center; align-items: center;
flex: 0 0 65px; flex: 0 0 65px;
flex-basis: 48px; flex-basis: 48px;
background: #fcfcfc; background: #fafafa;
border-bottom: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.07)); border-bottom: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.07));
padding: 0 24px; padding: 0 24px;
.adf-breadcrumb-item-current {
font-size: 18.7px;
}
} }
.aca-page-layout-content { .aca-page-layout-content {

View File

@@ -7,16 +7,16 @@
$border: 1px solid mat-color($foreground, divider, 0.07); $border: 1px solid mat-color($foreground, divider, 0.07);
.aca-menu-panel { .aca-menu-panel {
.action-button--active {
color: mat-color($accent) !important;
}
.action-button { .action-button {
color: mat-color($primary); color: mat-color($primary);
&--active {
color: mat-color($accent, 800) !important;
} }
&:hover { .action-button:hover {
color: mat-color($accent, 800); color: mat-color($accent);
}
} }
} }
@@ -24,12 +24,7 @@
background-color: mat-color($background, background); background-color: mat-color($background, background);
.item:hover .action-button__label { .item:hover .action-button__label {
color: mat-color($accent, 800); color: mat-color($accent);
}
.action-button__label {
font-size: 18.7px;
font-weight: bold;
} }
.mat-expansion-panel { .mat-expansion-panel {
@@ -51,7 +46,7 @@
} }
.action-button--active { .action-button--active {
color: mat-color($accent, 800) !important; color: mat-color($accent) !important;
} }
.action-button { .action-button {

View File

@@ -58,21 +58,6 @@ $custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent);
$foreground: map-get($custom-theme, foreground); $foreground: map-get($custom-theme, foreground);
$warn: map-get($custom-theme, warn); $warn: map-get($custom-theme, warn);
$custom-background-color: #fcfcfc;
$background: map-get($custom-theme, background);
$background: map_merge(
$background,
(
background: $custom-background-color
)
);
$custom-theme: map_merge(
$custom-theme,
(
background: $background
)
);
@mixin custom-theme($theme) { @mixin custom-theme($theme) {
@include layout-theme($theme); @include layout-theme($theme);
@include aca-search-input-theme($theme); @include aca-search-input-theme($theme);

View File

@@ -12,21 +12,6 @@ $accent: mat-palette($alfresco-ecm-blue);
$warn: mat-palette($alfresco-warn); $warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn); $theme: mat-light-theme($primary, $accent, $warn);
$custom-background-color: #fcfcfc;
$background: map-get($theme, background);
$background: map_merge(
$background,
(
background: $custom-background-color
)
);
$theme: map_merge(
$theme,
(
background: $background
)
);
@include angular-material-theme($theme); @include angular-material-theme($theme);
@include adf-content-services-theme($theme); @include adf-content-services-theme($theme);