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

This reverts commit dbc2c6c8e4.
This commit is contained in:
Denys Vuika
2019-05-08 09:36:57 +01:00
parent 6cb1ad4101
commit 6b5a14dee9
3 changed files with 22 additions and 2 deletions
@@ -1,3 +1,17 @@
@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 {
letter-spacing: -0.4px;
line-height: 2;
+3 -2
View File
@@ -13,6 +13,7 @@
@import '../components/layout/layout.theme.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-document-list.theme';
@@ -61,8 +62,7 @@ $foreground: map-get($custom-theme, foreground);
$warn: map-get($custom-theme, warn);
@mixin custom-theme($theme) {
@include mat-button-theme($theme);
@include custom-adf-toolbar-theme($theme);
@include adf-document-list-theme($theme);
@include layout-theme($theme);
@@ -76,6 +76,7 @@ $warn: map-get($custom-theme, warn);
@include aca-current-user-theme($theme);
@include aca-context-menu-theme($theme);
@include app-create-menu-theme($theme);
@include aca-share-dialog-theme($theme);
}
//Custom variables - ACA specific styling:
@@ -0,0 +1,5 @@
@mixin custom-adf-toolbar-theme($theme) {
.adf-toolbar {
@include angular-material-theme($theme);
}
}