[ACA-2147] minor theme fixes (#1096)

This commit is contained in:
Denys Vuika
2019-05-03 16:04:44 +01:00
committed by GitHub
parent ad1c8c58e6
commit dbc2c6c8e4
3 changed files with 2 additions and 22 deletions

View File

@@ -1,17 +1,3 @@
@mixin aca-share-dialog-theme($theme) {
$accent: map-get($theme, accent);
// fixes [ACA-2069]
.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) {
.mat-slide-toggle-thumb {
background-color: mat-color($accent);
}
.mat-slide-toggle-bar {
background-color: mat-color($accent, 0.54);
}
}
}
@mixin adf-share-link-typography { @mixin adf-share-link-typography {
letter-spacing: -0.4px; letter-spacing: -0.4px;
line-height: 2; line-height: 2;

View File

@@ -13,7 +13,6 @@
@import '../components/layout/layout.theme.scss'; @import '../components/layout/layout.theme.scss';
@import '../components/shared/content-node-share/content-node-share.dialog.scss'; @import '../components/shared/content-node-share/content-node-share.dialog.scss';
@import './overrides/adf-toolbar.theme';
@import 'overrides/adf-layout-container.theme'; @import 'overrides/adf-layout-container.theme';
@import './overrides/adf-document-list.theme'; @import './overrides/adf-document-list.theme';
@@ -62,7 +61,8 @@ $foreground: map-get($custom-theme, foreground);
$warn: map-get($custom-theme, warn); $warn: map-get($custom-theme, warn);
@mixin custom-theme($theme) { @mixin custom-theme($theme) {
@include custom-adf-toolbar-theme($theme); @include mat-button-theme($theme);
@include adf-document-list-theme($theme); @include adf-document-list-theme($theme);
@include layout-theme($theme); @include layout-theme($theme);
@@ -76,7 +76,6 @@ $warn: map-get($custom-theme, warn);
@include aca-current-user-theme($theme); @include aca-current-user-theme($theme);
@include aca-context-menu-theme($theme); @include aca-context-menu-theme($theme);
@include app-create-menu-theme($theme); @include app-create-menu-theme($theme);
@include aca-share-dialog-theme($theme);
} }
//Custom variables - ACA specific styling: //Custom variables - ACA specific styling:

View File

@@ -1,5 +0,0 @@
@mixin custom-adf-toolbar-theme($theme) {
.adf-toolbar {
@include angular-material-theme($theme);
}
}