[ADF-1412] Viewer enhancements (#2873)

* collection navigation support for Viewer

* code cleanup

* full screen mode support

* keyboard shortcuts

* zooming scale label

* layout fixes

* test fixes

* image toolbar with basic tranformations

* test fixes

* test fixes
This commit is contained in:
Denys Vuika
2018-01-28 23:01:01 +00:00
committed by Eugenio Romano
parent d2d635b94d
commit 08f2cc9236
16 changed files with 358 additions and 45 deletions

View File

@@ -1,4 +1,6 @@
@mixin adf-pdf-viewer-theme($theme) {
$foreground: map-get($theme, foreground);
.adf-pdf-viewer {
.loader-container {
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
@@ -39,8 +41,11 @@
font-size: 14px;
& > input {
border: 1px solid mat-color($foreground, text, 0.07);
font-size: 14px;
padding: 4px 0;
padding: 0;
height: 24px;
line-height: 24px;
text-align: right;
width: 33px;
margin-right: 4px;
@@ -48,6 +53,18 @@
outline-color: gray;
}
}
&-page-scale {
cursor: default;
width: 79px;
height: 24px;
font-size: 14px;
border: 1px solid mat-color($foreground, text, 0.07);
text-align: center;
line-height: 24px;
margin-left: 4px;
margin-right: 4px;
}
}
}
}