[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,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-header-layout-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
@@ -54,7 +52,7 @@
padding: 0;
}
@media screen and ($mat-xsmall) {
@media screen and (max-width: 599px) {
.adf-app-logo,
.adf-app-title {
display: none;

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-layout-container-theme($theme) {
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);

View File

@@ -23,7 +23,6 @@ import { Direction } from '@angular/cdk/bidi';
@Component({
selector: 'adf-layout-container',
templateUrl: './layout-container.component.html',
styleUrls: ['./layout-container.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [sidenavAnimation, contentAnimation]
})

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-sidebar-action-menu-theme($theme) {
$primary: map-get($theme, primary);

View File

@@ -20,7 +20,6 @@ import { ChangeDetectionStrategy, Component, Directive, Input, ViewEncapsulation
@Component({
selector: 'adf-sidebar-action-menu',
templateUrl: './sidebar-action-menu.component.html',
styleUrls: ['./sidebar-action-menu.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: { 'class': 'adf-sidebar-action-menu' }

View File

@@ -1,6 +1,4 @@
@mixin adf-sidenav-layout-theme($theme) {
$adf-sidenav-max: 300px !default;
.adf-sidenav-layout {
&-full-space {
@@ -27,7 +25,7 @@
@include layout-bp(lt-sm) {
.mat-drawer {
width: calc(-50px + 100vw) !important;
max-width: $adf-sidenav-max !important;
max-width: 300px !important;
}
}

View File

@@ -40,7 +40,6 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'adf-sidenav-layout',
templateUrl: './sidenav-layout.component.html',
styleUrls: ['./sidenav-layout.component.scss'],
encapsulation: ViewEncapsulation.None,
host: { class: 'adf-sidenav-layout' }
})