mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
Fix unknown style (#5810)
* fix unknown style * missing var * remove delete because there is already delete site * fix test
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
@import '../viewer/components/pdf-viewer-thumbnails.component';
|
||||
@import '../viewer/components/txt-viewer.component';
|
||||
@import '../viewer/components/img-viewer.component';
|
||||
@import '../viewer/components/unknown-format/unknown-format.component';
|
||||
@import '../form/components/form-renderer.component';
|
||||
@import '../layout/components/sidebar-action/sidebar-action-menu.component';
|
||||
@import '../layout/components/header/header.component';
|
||||
@@ -58,6 +59,7 @@
|
||||
@include adf-pdf-viewer-theme($theme);
|
||||
@include adf-pdf-thumbnails-theme($theme);
|
||||
@include adf-image-viewer-theme($theme);
|
||||
@include adf-unknown-viewer-theme($theme);
|
||||
@include adf-text-viewer-theme($theme);
|
||||
@include adf-form-renderer-theme($theme);
|
||||
@include adf-sidebar-action-menu-theme($theme);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<div class="adf-viewer__unknown-format-view">
|
||||
<div>
|
||||
<mat-icon class="icon">error</mat-icon>
|
||||
<div class="label">{{ 'ADF_VIEWER.UNKNOWN_FORMAT' | translate }}</div>
|
||||
<div class="adf-viewer__unknown-label">{{ 'ADF_VIEWER.UNKNOWN_FORMAT' | translate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,8 +1,18 @@
|
||||
.adf-viewer__unknown-format-view {
|
||||
height: 90vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
@mixin adf-unknown-viewer-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
.adf-viewer__unknown-format-view {
|
||||
height: 90vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
.adf-viewer__unknown-label {
|
||||
color: mat-color($foreground, text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user