Fix dark theme for viewing pdf files also. (#3042)

This commit is contained in:
Popovics András 2018-03-07 12:55:41 +01:00 committed by Eugenio Romano
parent 4b9daeb1c8
commit 232404aef3

View File

@ -1,4 +1,5 @@
@mixin adf-pdf-viewer-theme($theme) {
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
.adf-viewer-content-container {
@ -67,7 +68,7 @@
.adf-toolbar .mat-toolbar {
max-height: 48px;
background-color: mat-color($primary, default-contrast, 1);
background-color: mat-color($background, card);
border-width: 0;
border-radius: 2px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
@ -80,6 +81,8 @@
& > input {
border: 1px solid mat-color($foreground, text, 0.07);
background-color: mat-color($background, card);
color: inherit;
font-size: 14px;
padding: 0;
height: 24px;