Minor code and style fixes (#5398)

* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
This commit is contained in:
Denys Vuika
2020-02-09 22:03:32 +00:00
committed by GitHub
parent 3459c98bd0
commit a0926a38d8
74 changed files with 171 additions and 71 deletions

View File

@@ -1,3 +1,5 @@
@import '~@angular/material/theming';
@mixin adf-image-viewer-theme($theme) {
$background: map-get($theme, background);
$viewer-image-outline: 1px solid mat-color($alfresco-ecm-blue, A200) !default;

View File

@@ -1,3 +1,5 @@
@import '~@angular/material/theming';
.adf-fill-remaining-space {
flex: 1 1 auto;
}

View File

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

View File

@@ -1,3 +1,5 @@
@import '~@angular/material/theming';
@mixin adf-pdf-viewer-theme($theme) {
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
@@ -47,12 +49,12 @@
&__container {
display: flex;
height: 100%;
height: 100%;
}
&__content {
flex: 1 1 auto;
position: relative;
position: relative;
}
.adf-loader-item {

View File

@@ -399,11 +399,11 @@
position: absolute;
white-space: pre;
cursor: text;
-webkit-transform-origin: 0% 0%;
-moz-transform-origin: 0% 0%;
-o-transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-o-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
.adf-highlight {

View File

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

View File

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