Files
alfresco-content-app/projects/aca-content/src/lib/ui/application.scss
Denys Vuika 27eddf3596 Code cleanup and optimisations (#3383)
* cleanup unused css

* remove unused store/reducer blocks

* fix typo in toolbar ("tool-bar")

* toolbar action: break dependency on adf-core

* unified toolbar component

* break dependency on adf toolbar module

* update e2e

* update e2e

* update e2e

* update e2e

* update e2e

* fix search results toolbar spacing

* cleanup unused app state

* cleanup unused code

* fix toolbar divider color

* fix missing buttons in the info drawer

* fix css nesting

* fix search results css
2023-08-14 19:43:33 +01:00

68 lines
1.1 KiB
SCSS

/* stylelint-disable scss/no-global-function-names */
@use '@angular/material' as mat;
@import 'mixins';
@import 'theme';
$foreground: map-get($custom-theme, foreground);
html,
body {
@include flex-column;
font-size: 14px;
font-family: 'Open Sans', serif;
color: mat.get-color-from-palette($foreground, text, 0.87);
margin: 0;
& > main {
@include flex-column;
}
}
[dir='rtl'] .mat-icon {
transform: scale(-1, 1);
}
// todo: move this to corresponding component theme files
.adf-container-full-width {
overflow: hidden;
}
app-root,
app-shell,
app-about,
adf-layout-container,
aca-search-results,
ng-component {
@include flex-column;
}
@media screen and (max-width: 600px) {
app-root,
app-about,
adf-layout-container,
aca-search-results,
ng-component {
height: 100vh;
}
}
.aca-sidebar {
display: block;
height: 100%;
overflow-y: scroll;
max-width: 350px;
width: 350px;
}
.aca-page-title {
cursor: default;
font-size: 20px;
font-weight: 400;
letter-spacing: 0.15px;
line-height: 33px;
margin: 0;
color: var(--adf-theme-foreground-text-color-087);
width: 100%;
}