Denys Vuika e94b2f99bd
[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
2021-06-01 09:21:00 +01:00

70 lines
1.3 KiB
SCSS

@mixin app-layout-theme($theme) {
$primary: map-get($theme, primary);
$minimumAppWidth: 320px;
@media screen and (max-width: 599px) {
app-search-bar {
width: 150px;
}
}
@media screen and (max-width: 350px) {
app-search-bar {
width: 100px;
}
}
adf-file-uploading-dialog {
z-index: 1100;
}
.app-layout {
display: flex;
flex: 1;
min-width: $minimumAppWidth;
height: 100%;
.app-sidenav-link--active {
color: mat-color($primary);
}
.app-sidenav-link {
.mat-list-text {
font-size: 14px;
white-space: nowrap;
min-width: 120px;
padding: 0 10px;
}
}
.mat-nav-list .mat-list-item.app-sidenav-link {
height: 40px;
}
&-menu-spacer {
flex: 1 1 auto;
}
}
@media screen and (max-width: 959px) {
.app-menu {
padding-top: 0;
}
}
@media screen and (max-width: 599px) {}
mat-sidenav-content > div {
display: flex;
height: 100%;
> div {
flex: auto;
}
}
[dir='rtl'] .app-sidenav-link__expand-button {
transform: rotateY(180deg);
}
}