Updated pdf.js to 1.7.225 (Fix #193)
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 859 B |
|
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 143 B |
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 167 B |
362
cps/static/css/libs/viewer.css
vendored
@@ -110,6 +110,76 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input,
|
||||
.annotationLayer .textWidgetAnnotation textarea,
|
||||
.annotationLayer .choiceWidgetAnnotation select,
|
||||
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
||||
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
||||
background-color: rgba(0, 54, 255, 0.13);
|
||||
border: 1px solid transparent;
|
||||
box-sizing: border-box;
|
||||
font-size: 9px;
|
||||
height: 100%;
|
||||
padding: 0 3px;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation textarea {
|
||||
font: message-box;
|
||||
font-size: 9px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input[disabled],
|
||||
.annotationLayer .textWidgetAnnotation textarea[disabled],
|
||||
.annotationLayer .choiceWidgetAnnotation select[disabled],
|
||||
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
|
||||
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
|
||||
background: none;
|
||||
border: 1px solid transparent;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input:hover,
|
||||
.annotationLayer .textWidgetAnnotation textarea:hover,
|
||||
.annotationLayer .choiceWidgetAnnotation select:hover,
|
||||
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
|
||||
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input:focus,
|
||||
.annotationLayer .textWidgetAnnotation textarea:focus,
|
||||
.annotationLayer .choiceWidgetAnnotation select:focus {
|
||||
background: none;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input.comb {
|
||||
font-family: monospace;
|
||||
padding-left: 2px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.annotationLayer .textWidgetAnnotation input.comb:focus {
|
||||
/*
|
||||
* Letter spacing is placed on the right side of each character. Hence, the
|
||||
* letter spacing of the last character may be placed outside the visible
|
||||
* area, causing horizontal scrolling. We avoid this by extending the width
|
||||
* when the element has focus and revert this when it loses focus.
|
||||
*/
|
||||
width: 115%;
|
||||
}
|
||||
|
||||
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
||||
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.annotationLayer .popupWrapper {
|
||||
position: absolute;
|
||||
width: 20em;
|
||||
@@ -159,7 +229,7 @@
|
||||
overflow: visible;
|
||||
border: 9px solid transparent;
|
||||
background-clip: content-box;
|
||||
border-image: url(images/shadow.png) 9 9 repeat;
|
||||
border-image: url(../images/shadow.png) 9 9 repeat;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
@@ -168,6 +238,15 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.pdfViewer.singlePageView {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.pdfViewer.singlePageView .page {
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.pdfViewer .page canvas {
|
||||
margin: 0;
|
||||
display: block;
|
||||
@@ -180,7 +259,7 @@
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: url('images/loading-icon.gif') center no-repeat;
|
||||
background: url('../images/loading-icon.gif') center no-repeat;
|
||||
}
|
||||
|
||||
.pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
|
||||
@@ -219,7 +298,7 @@ body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: #404040;
|
||||
background-image: url(images/texture.png);
|
||||
background-image: url(../images/texture.png);
|
||||
}
|
||||
|
||||
body,
|
||||
@@ -323,32 +402,6 @@ select {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* outer/inner center provides horizontal center */
|
||||
.outerCenter {
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
}
|
||||
html[dir='ltr'] .outerCenter {
|
||||
float: right;
|
||||
right: 50%;
|
||||
}
|
||||
html[dir='rtl'] .outerCenter {
|
||||
float: left;
|
||||
left: 50%;
|
||||
}
|
||||
.innerCenter {
|
||||
pointer-events: auto;
|
||||
position: relative;
|
||||
}
|
||||
html[dir='ltr'] .innerCenter {
|
||||
float: right;
|
||||
right: -50%;
|
||||
}
|
||||
html[dir='rtl'] .innerCenter {
|
||||
float: left;
|
||||
left: -50%;
|
||||
}
|
||||
|
||||
#outerContainer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -463,7 +516,7 @@ html[dir='rtl'] #viewerContainer {
|
||||
width: 200px;
|
||||
height: 32px;
|
||||
background-color: #424242; /* fallback */
|
||||
background-image: url(images/texture.png),
|
||||
background-image: url(../images/texture.png),
|
||||
linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
|
||||
}
|
||||
html[dir='ltr'] #toolbarSidebar {
|
||||
@@ -483,7 +536,7 @@ html[dir='rtl'] #toolbarSidebar {
|
||||
position: relative;
|
||||
height: 32px;
|
||||
background-color: #474747; /* fallback */
|
||||
background-image: url(images/texture.png),
|
||||
background-image: url(../images/texture.png),
|
||||
linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
|
||||
}
|
||||
html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar {
|
||||
@@ -587,7 +640,7 @@ html[dir='rtl'] .findbar {
|
||||
}
|
||||
|
||||
#findInput[data-status="pending"] {
|
||||
background-image: url(images/loading-small.png);
|
||||
background-image: url(../images/loading-small.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right;
|
||||
}
|
||||
@@ -682,24 +735,19 @@ html[dir='ltr'] .doorHangerRight:before {
|
||||
background-color: rgb(255, 102, 102);
|
||||
}
|
||||
|
||||
html[dir='ltr'] #toolbarViewerLeft {
|
||||
margin-left: -1px;
|
||||
}
|
||||
html[dir='rtl'] #toolbarViewerRight {
|
||||
margin-right: -1px;
|
||||
#toolbarViewerMiddle {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
html[dir='ltr'] #toolbarViewerLeft,
|
||||
html[dir='rtl'] #toolbarViewerRight {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
float: left;
|
||||
}
|
||||
html[dir='ltr'] #toolbarViewerRight,
|
||||
html[dir='rtl'] #toolbarViewerLeft {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
}
|
||||
html[dir='ltr'] #toolbarViewerLeft > *,
|
||||
html[dir='ltr'] #toolbarViewerMiddle > *,
|
||||
@@ -946,7 +994,7 @@ html[dir='rtl'] .dropdownToolbarButton {
|
||||
max-width: 120px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: url(images/toolbarButton-menuArrows.png) no-repeat;
|
||||
background: url(../images/toolbarButton-menuArrows.png) no-repeat;
|
||||
}
|
||||
html[dir='ltr'] .dropdownToolbarButton {
|
||||
background-position: 95%;
|
||||
@@ -996,12 +1044,6 @@ html[dir='rtl'] .toolbarButton:first-child {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.toolbarButtonFlexibleSpacer {
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
min-width: 30px;
|
||||
}
|
||||
|
||||
html[dir='ltr'] #findPrevious {
|
||||
margin-left: 3px;
|
||||
}
|
||||
@@ -1034,73 +1076,73 @@ html[dir="rtl"] .secondaryToolbarButton::before {
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton#sidebarToggle::before {
|
||||
content: url(images/toolbarButton-sidebarToggle.png);
|
||||
content: url(../images/toolbarButton-sidebarToggle.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton#sidebarToggle::before {
|
||||
content: url(images/toolbarButton-sidebarToggle-rtl.png);
|
||||
content: url(../images/toolbarButton-sidebarToggle-rtl.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
|
||||
content: url(images/toolbarButton-secondaryToolbarToggle.png);
|
||||
content: url(../images/toolbarButton-secondaryToolbarToggle.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
|
||||
content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png);
|
||||
content: url(../images/toolbarButton-secondaryToolbarToggle-rtl.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.findPrevious::before {
|
||||
content: url(images/findbarButton-previous.png);
|
||||
content: url(../images/findbarButton-previous.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.findPrevious::before {
|
||||
content: url(images/findbarButton-previous-rtl.png);
|
||||
content: url(../images/findbarButton-previous-rtl.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.findNext::before {
|
||||
content: url(images/findbarButton-next.png);
|
||||
content: url(../images/findbarButton-next.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.findNext::before {
|
||||
content: url(images/findbarButton-next-rtl.png);
|
||||
content: url(../images/findbarButton-next-rtl.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.pageUp::before {
|
||||
content: url(images/toolbarButton-pageUp.png);
|
||||
content: url(../images/toolbarButton-pageUp.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.pageUp::before {
|
||||
content: url(images/toolbarButton-pageUp-rtl.png);
|
||||
content: url(../images/toolbarButton-pageUp-rtl.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.pageDown::before {
|
||||
content: url(images/toolbarButton-pageDown.png);
|
||||
content: url(../images/toolbarButton-pageDown.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.pageDown::before {
|
||||
content: url(images/toolbarButton-pageDown-rtl.png);
|
||||
content: url(../images/toolbarButton-pageDown-rtl.png);
|
||||
}
|
||||
|
||||
.toolbarButton.zoomOut::before {
|
||||
content: url(images/toolbarButton-zoomOut.png);
|
||||
content: url(../images/toolbarButton-zoomOut.png);
|
||||
}
|
||||
|
||||
.toolbarButton.zoomIn::before {
|
||||
content: url(images/toolbarButton-zoomIn.png);
|
||||
content: url(../images/toolbarButton-zoomIn.png);
|
||||
}
|
||||
|
||||
.toolbarButton.presentationMode::before,
|
||||
.secondaryToolbarButton.presentationMode::before {
|
||||
content: url(images/toolbarButton-presentationMode.png);
|
||||
content: url(../images/toolbarButton-presentationMode.png);
|
||||
}
|
||||
|
||||
.toolbarButton.print::before,
|
||||
.secondaryToolbarButton.print::before {
|
||||
content: url(images/toolbarButton-print.png);
|
||||
content: url(../images/toolbarButton-print.png);
|
||||
}
|
||||
|
||||
.toolbarButton.openFile::before,
|
||||
.secondaryToolbarButton.openFile::before {
|
||||
content: url(images/toolbarButton-openFile.png);
|
||||
content: url(../images/toolbarButton-openFile.png);
|
||||
}
|
||||
|
||||
.toolbarButton.download::before,
|
||||
.secondaryToolbarButton.download::before {
|
||||
content: url(images/toolbarButton-download.png);
|
||||
content: url(../images/toolbarButton-download.png);
|
||||
}
|
||||
|
||||
.toolbarButton.bookmark,
|
||||
@@ -1123,26 +1165,26 @@ html[dir='rtl'] .toolbarButton.pageDown::before {
|
||||
|
||||
.toolbarButton.bookmark::before,
|
||||
.secondaryToolbarButton.bookmark::before {
|
||||
content: url(images/toolbarButton-bookmark.png);
|
||||
content: url(../images/toolbarButton-bookmark.png);
|
||||
}
|
||||
|
||||
#viewThumbnail.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewThumbnail.png);
|
||||
content: url(../images/toolbarButton-viewThumbnail.png);
|
||||
}
|
||||
|
||||
html[dir="ltr"] #viewOutline.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewOutline.png);
|
||||
content: url(../images/toolbarButton-viewOutline.png);
|
||||
}
|
||||
html[dir="rtl"] #viewOutline.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewOutline-rtl.png);
|
||||
content: url(../images/toolbarButton-viewOutline-rtl.png);
|
||||
}
|
||||
|
||||
#viewAttachments.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewAttachments.png);
|
||||
content: url(../images/toolbarButton-viewAttachments.png);
|
||||
}
|
||||
|
||||
#viewFind.toolbarButton::before {
|
||||
content: url(images/toolbarButton-search.png);
|
||||
content: url(../images/toolbarButton-search.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton {
|
||||
@@ -1178,27 +1220,27 @@ html[dir="rtl"] .secondaryToolbarButton > span {
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.firstPage::before {
|
||||
content: url(images/secondaryToolbarButton-firstPage.png);
|
||||
content: url(../images/secondaryToolbarButton-firstPage.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.lastPage::before {
|
||||
content: url(images/secondaryToolbarButton-lastPage.png);
|
||||
content: url(../images/secondaryToolbarButton-lastPage.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.rotateCcw::before {
|
||||
content: url(images/secondaryToolbarButton-rotateCcw.png);
|
||||
content: url(../images/secondaryToolbarButton-rotateCcw.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.rotateCw::before {
|
||||
content: url(images/secondaryToolbarButton-rotateCw.png);
|
||||
content: url(../images/secondaryToolbarButton-rotateCw.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.handTool::before {
|
||||
content: url(images/secondaryToolbarButton-handTool.png);
|
||||
content: url(../images/secondaryToolbarButton-handTool.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.documentProperties::before {
|
||||
content: url(images/secondaryToolbarButton-documentProperties.png);
|
||||
content: url(../images/secondaryToolbarButton-documentProperties.png);
|
||||
}
|
||||
|
||||
.verticalToolbarSeparator {
|
||||
@@ -1259,7 +1301,7 @@ html[dir='rtl'] .verticalToolbarSeparator {
|
||||
}
|
||||
|
||||
.toolbarField.pageNumber.visiblePageIsLoading {
|
||||
background-image: url(images/loading-small.png);
|
||||
background-image: url(../images/loading-small.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 1px;
|
||||
}
|
||||
@@ -1444,15 +1486,15 @@ html[dir='rtl'] .attachmentsItem > button {
|
||||
color: hsla(0,0%,100%,.5);
|
||||
}
|
||||
.outlineItemToggler::before {
|
||||
content: url(images/treeitem-expanded.png);
|
||||
content: url(../images/treeitem-expanded.png);
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
|
||||
content: url(images/treeitem-collapsed.png);
|
||||
content: url(../images/treeitem-collapsed.png);
|
||||
}
|
||||
html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
|
||||
content: url(images/treeitem-collapsed-rtl.png);
|
||||
content: url(../images/treeitem-collapsed-rtl.png);
|
||||
}
|
||||
.outlineItemToggler.outlineItemsHidden ~ .outlineItems {
|
||||
display: none;
|
||||
@@ -1571,7 +1613,7 @@ html[dir='rtl'] .outlineItemToggler::before {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
background-color: #474747; /* fallback */
|
||||
background-image: url(images/texture.png),
|
||||
background-image: url(../images/texture.png),
|
||||
linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
|
||||
box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
|
||||
inset 0 1px 1px hsla(0,0%,0%,.15),
|
||||
@@ -1799,144 +1841,144 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
|
||||
.toolbarField.pageNumber.visiblePageIsLoading,
|
||||
#findInput[data-status="pending"] {
|
||||
background-image: url(images/loading-small@2x.png);
|
||||
background-image: url(../images/loading-small@2x.png);
|
||||
background-size: 16px 17px;
|
||||
}
|
||||
|
||||
.dropdownToolbarButton {
|
||||
background: url(images/toolbarButton-menuArrows@2x.png) no-repeat;
|
||||
background: url(../images/toolbarButton-menuArrows@2x.png) no-repeat;
|
||||
background-size: 7px 16px;
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton#sidebarToggle::before {
|
||||
content: url(images/toolbarButton-sidebarToggle@2x.png);
|
||||
content: url(../images/toolbarButton-sidebarToggle@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton#sidebarToggle::before {
|
||||
content: url(images/toolbarButton-sidebarToggle-rtl@2x.png);
|
||||
content: url(../images/toolbarButton-sidebarToggle-rtl@2x.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
|
||||
content: url(images/toolbarButton-secondaryToolbarToggle@2x.png);
|
||||
content: url(../images/toolbarButton-secondaryToolbarToggle@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
|
||||
content: url(images/toolbarButton-secondaryToolbarToggle-rtl@2x.png);
|
||||
content: url(../images/toolbarButton-secondaryToolbarToggle-rtl@2x.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.findPrevious::before {
|
||||
content: url(images/findbarButton-previous@2x.png);
|
||||
content: url(../images/findbarButton-previous@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.findPrevious::before {
|
||||
content: url(images/findbarButton-previous-rtl@2x.png);
|
||||
content: url(../images/findbarButton-previous-rtl@2x.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.findNext::before {
|
||||
content: url(images/findbarButton-next@2x.png);
|
||||
content: url(../images/findbarButton-next@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.findNext::before {
|
||||
content: url(images/findbarButton-next-rtl@2x.png);
|
||||
content: url(../images/findbarButton-next-rtl@2x.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.pageUp::before {
|
||||
content: url(images/toolbarButton-pageUp@2x.png);
|
||||
content: url(../images/toolbarButton-pageUp@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.pageUp::before {
|
||||
content: url(images/toolbarButton-pageUp-rtl@2x.png);
|
||||
content: url(../images/toolbarButton-pageUp-rtl@2x.png);
|
||||
}
|
||||
|
||||
html[dir='ltr'] .toolbarButton.pageDown::before {
|
||||
content: url(images/toolbarButton-pageDown@2x.png);
|
||||
content: url(../images/toolbarButton-pageDown@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .toolbarButton.pageDown::before {
|
||||
content: url(images/toolbarButton-pageDown-rtl@2x.png);
|
||||
content: url(../images/toolbarButton-pageDown-rtl@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.zoomIn::before {
|
||||
content: url(images/toolbarButton-zoomIn@2x.png);
|
||||
content: url(../images/toolbarButton-zoomIn@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.zoomOut::before {
|
||||
content: url(images/toolbarButton-zoomOut@2x.png);
|
||||
content: url(../images/toolbarButton-zoomOut@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.presentationMode::before,
|
||||
.secondaryToolbarButton.presentationMode::before {
|
||||
content: url(images/toolbarButton-presentationMode@2x.png);
|
||||
content: url(../images/toolbarButton-presentationMode@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.print::before,
|
||||
.secondaryToolbarButton.print::before {
|
||||
content: url(images/toolbarButton-print@2x.png);
|
||||
content: url(../images/toolbarButton-print@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.openFile::before,
|
||||
.secondaryToolbarButton.openFile::before {
|
||||
content: url(images/toolbarButton-openFile@2x.png);
|
||||
content: url(../images/toolbarButton-openFile@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.download::before,
|
||||
.secondaryToolbarButton.download::before {
|
||||
content: url(images/toolbarButton-download@2x.png);
|
||||
content: url(../images/toolbarButton-download@2x.png);
|
||||
}
|
||||
|
||||
.toolbarButton.bookmark::before,
|
||||
.secondaryToolbarButton.bookmark::before {
|
||||
content: url(images/toolbarButton-bookmark@2x.png);
|
||||
content: url(../images/toolbarButton-bookmark@2x.png);
|
||||
}
|
||||
|
||||
#viewThumbnail.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewThumbnail@2x.png);
|
||||
content: url(../images/toolbarButton-viewThumbnail@2x.png);
|
||||
}
|
||||
|
||||
html[dir="ltr"] #viewOutline.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewOutline@2x.png);
|
||||
content: url(../images/toolbarButton-viewOutline@2x.png);
|
||||
}
|
||||
html[dir="rtl"] #viewOutline.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewOutline-rtl@2x.png);
|
||||
content: url(../images/toolbarButton-viewOutline-rtl@2x.png);
|
||||
}
|
||||
|
||||
#viewAttachments.toolbarButton::before {
|
||||
content: url(images/toolbarButton-viewAttachments@2x.png);
|
||||
content: url(../images/toolbarButton-viewAttachments@2x.png);
|
||||
}
|
||||
|
||||
#viewFind.toolbarButton::before {
|
||||
content: url(images/toolbarButton-search@2x.png);
|
||||
content: url(../images/toolbarButton-search@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.firstPage::before {
|
||||
content: url(images/secondaryToolbarButton-firstPage@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-firstPage@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.lastPage::before {
|
||||
content: url(images/secondaryToolbarButton-lastPage@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-lastPage@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.rotateCcw::before {
|
||||
content: url(images/secondaryToolbarButton-rotateCcw@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-rotateCcw@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.rotateCw::before {
|
||||
content: url(images/secondaryToolbarButton-rotateCw@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-rotateCw@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.handTool::before {
|
||||
content: url(images/secondaryToolbarButton-handTool@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-handTool@2x.png);
|
||||
}
|
||||
|
||||
.secondaryToolbarButton.documentProperties::before {
|
||||
content: url(images/secondaryToolbarButton-documentProperties@2x.png);
|
||||
content: url(../images/secondaryToolbarButton-documentProperties@2x.png);
|
||||
}
|
||||
|
||||
.outlineItemToggler::before {
|
||||
-webkit-transform: scale(0.5);
|
||||
transform: scale(0.5);
|
||||
top: -1px;
|
||||
content: url(images/treeitem-expanded@2x.png);
|
||||
content: url(../images/treeitem-expanded@2x.png);
|
||||
}
|
||||
html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
|
||||
content: url(images/treeitem-collapsed@2x.png);
|
||||
content: url(../images/treeitem-collapsed@2x.png);
|
||||
}
|
||||
html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
|
||||
content: url(images/treeitem-collapsed-rtl@2x.png);
|
||||
content: url(../images/treeitem-collapsed-rtl@2x.png);
|
||||
}
|
||||
html[dir='ltr'] .outlineItemToggler::before {
|
||||
right: 0;
|
||||
@@ -1983,11 +2025,11 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Rules for browsers that support mozPrintCallback */
|
||||
body[data-mozPrintCallback] #outerContainer {
|
||||
/* Rules for browsers that support PDF.js printing */
|
||||
body[data-pdfjsprinting] #outerContainer {
|
||||
display: none;
|
||||
}
|
||||
body[data-mozPrintCallback] #printContainer {
|
||||
body[data-pdfjsprinting] #printContainer {
|
||||
display: block;
|
||||
}
|
||||
#printContainer {
|
||||
@@ -1998,10 +2040,14 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: visible;
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
#printContainer canvas {
|
||||
#printContainer canvas,
|
||||
#printContainer img {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -2012,38 +2058,47 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media all and (max-width: 960px) {
|
||||
html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
|
||||
html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
|
||||
float: left;
|
||||
left: 205px;
|
||||
}
|
||||
html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
|
||||
html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
|
||||
float: right;
|
||||
right: 205px;
|
||||
@media all and (max-width: 1040px) {
|
||||
#outerContainer.sidebarMoving #toolbarViewerMiddle,
|
||||
#outerContainer.sidebarOpen #toolbarViewerMiddle {
|
||||
display: table;
|
||||
margin: auto;
|
||||
left: auto;
|
||||
position: inherit;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 900px) {
|
||||
@media all and (max-width: 980px) {
|
||||
.sidebarMoving .hiddenLargeView,
|
||||
.sidebarOpen .hiddenLargeView {
|
||||
display: none;
|
||||
}
|
||||
.sidebarMoving .visibleLargeView,
|
||||
.sidebarOpen .visibleLargeView {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 860px) {
|
||||
@media all and (max-width: 900px) {
|
||||
#toolbarViewerMiddle {
|
||||
display: table;
|
||||
margin: auto;
|
||||
left: auto;
|
||||
position: inherit;
|
||||
transform: none;
|
||||
}
|
||||
.sidebarMoving .hiddenMediumView,
|
||||
.sidebarOpen .hiddenMediumView {
|
||||
display: none;
|
||||
}
|
||||
.sidebarMoving .visibleMediumView,
|
||||
.sidebarOpen .visibleMediumView {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 770px) {
|
||||
@media all and (max-width: 840px) {
|
||||
#sidebarContainer {
|
||||
top: 32px;
|
||||
z-index: 100;
|
||||
@@ -2063,15 +2118,6 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
html[dir='ltr'] .outerCenter {
|
||||
float: left;
|
||||
left: 205px;
|
||||
}
|
||||
html[dir='rtl'] .outerCenter {
|
||||
float: right;
|
||||
right: 205px;
|
||||
}
|
||||
|
||||
#outerContainer .hiddenLargeView,
|
||||
#outerContainer .hiddenMediumView {
|
||||
display: inherit;
|
||||
@@ -2082,7 +2128,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 700px) {
|
||||
@media all and (max-width: 770px) {
|
||||
#outerContainer .hiddenLargeView {
|
||||
display: none;
|
||||
}
|
||||
@@ -2091,7 +2137,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 660px) {
|
||||
@media all and (max-width: 700px) {
|
||||
#outerContainer .hiddenMediumView {
|
||||
display: none;
|
||||
}
|
||||
@@ -2100,30 +2146,20 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 600px) {
|
||||
@media all and (max-width: 640px) {
|
||||
.hiddenSmallView {
|
||||
display: none;
|
||||
}
|
||||
.visibleSmallView {
|
||||
display: inherit;
|
||||
}
|
||||
html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
|
||||
html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter,
|
||||
html[dir='ltr'] .outerCenter {
|
||||
left: 156px;
|
||||
}
|
||||
html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
|
||||
html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter,
|
||||
html[dir='rtl'] .outerCenter {
|
||||
right: 156px;
|
||||
}
|
||||
.toolbarButtonSpacer {
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 510px) {
|
||||
#scaleSelectContainer, #pageNumberLabel {
|
||||
@media all and (max-width: 535px) {
|
||||
#scaleSelectContainer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||