[ADF-5406] SCSS and HTML template path fixes (#7063)

* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
This commit is contained in:
Denys Vuika
2021-06-01 09:21:00 +01:00
committed by GitHub
parent 9e0000a307
commit e94b2f99bd
229 changed files with 557 additions and 934 deletions

View File

@@ -1,15 +1,13 @@
@import '~@angular/material/theming';
@mixin adf-default-class-theme($theme) {
.adf-hide-small {
@media screen and ($mat-small) {
@media screen and (max-width: 959px) {
display: none !important;
}
}
.adf-hide-xsmall {
@media screen and ($mat-xsmall) {
@media screen and (max-width: 599px) {
display: none !important;
}
}

View File

@@ -13,7 +13,6 @@
@import '../info-drawer/info-drawer-layout.component';
@import '../login/components/login.component';
@import '../pagination/pagination.component';
@import '../settings/host-settings.component';
@import '../toolbar/toolbar.component';
@import '../userinfo/components/user-info.component';
@import '../viewer/components/viewer.component';
@@ -31,9 +30,6 @@
@import '../layout/components/sidenav-layout/sidenav-layout.component';
@import '../templates/empty-content/empty-content.component';
@import '../templates/error-content/error-content.component';
@import '../buttons-menu/buttons-menu.component';
@import '../login/components/login-dialog.component';
@import '../login/components/login-dialog-panel.component';
@import '../../core/clipboard/clipboard.component';
@import '../../core/search-text/search-text-input.component';
@import './snackbar';
@@ -54,7 +50,6 @@
@include adf-info-drawer-theme($theme);
@include adf-login-theme($theme);
@include adf-pagination-theme($theme);
@include adf-host-settings-theme($theme);
@include adf-toolbar-theme($theme);
@include adf-userinfo-theme($theme);
@include adf-viewer-theme($theme);
@@ -70,10 +65,7 @@
@include adf-layout-container-theme($theme);
@include adf-empty-content-theme($theme);
@include adf-error-content-theme($theme);
@include adf-buttons-menu-theme($theme);
@include adf-header-layout-theme($theme);
@include adf-login-dialog-theme($theme);
@include adf-login-dialog-panel-theme($theme);
@include adf-sidenav-layout-theme($theme);
@include adf-clipboard-theme($theme);
@include adf-snackbar-theme($theme);

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-snackbar-theme($theme) {
$warn: map-get($theme, warn);
$accent: map-get($theme, accent);