alfresco-ng2-components/lib/core/templates/empty-content/empty-content.component.scss
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

47 lines
1.2 KiB
SCSS

@mixin adf-empty-content-theme($theme) {
$config: mat-typography-config();
$foreground: map-get($theme, foreground);
$adf-empty-content-icon-opacity: 0.6;
.adf-empty-content {
color: mat-color($foreground, text, 0.54);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
&__icon {
.mat-icon {
font-size: mat-font-size($config, display-3);
height: mat-font-size($config, display-3) !important;
width: mat-font-size($config, display-3) !important;
}
}
&__title {
font-size: 18px;
font-weight: 600;
line-height: 0;
white-space: normal;
text-align: center;
margin: 10px 0;
}
&__subtitle,
&__text {
font-size: 14px;
font-weight: 300;
line-height: inherit;
white-space: normal;
text-align: center;
}
.adf-icon {
opacity: $adf-empty-content-icon-opacity;
}
}
}