2014-10-01 00:48:29 +09:00
|
|
|
/* Copyright 2014 Mozilla Foundation
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
@import url(text_layer_builder.css);
|
2015-12-17 20:54:53 +09:00
|
|
|
@import url(annotation_layer_builder.css);
|
2014-10-01 00:48:29 +09:00
|
|
|
|
|
|
|
.pdfViewer .canvasWrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer .page {
|
|
|
|
direction: ltr;
|
|
|
|
width: 816px;
|
|
|
|
height: 1056px;
|
|
|
|
margin: 1px auto -8px auto;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
border: 9px solid transparent;
|
|
|
|
background-clip: content-box;
|
|
|
|
border-image: url(images/shadow.png) 9 9 repeat;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2015-03-12 04:36:01 +09:00
|
|
|
.pdfViewer.removePageBorders .page {
|
|
|
|
margin: 0px auto 10px auto;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2016-04-29 03:30:03 +09:00
|
|
|
.pdfViewer.singlePageView {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer.singlePageView .page {
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2018-05-15 12:10:32 +09:00
|
|
|
.pdfViewer.scrollHorizontal, .pdfViewer.scrollWrapped {
|
|
|
|
margin-left: 3.5px;
|
|
|
|
margin-right: 3.5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer.scrollHorizontal {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer.removePageBorders {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer.scrollHorizontal .page,
|
|
|
|
.pdfViewer.scrollWrapped .page {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: -3.5px;
|
|
|
|
margin-right: -3.5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfViewer.removePageBorders.scrollHorizontal .page,
|
|
|
|
.pdfViewer.removePageBorders.scrollWrapped .page {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2014-10-01 00:48:29 +09:00
|
|
|
.pdfViewer .page canvas {
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-06-21 04:45:07 +09:00
|
|
|
.pdfViewer .page canvas[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-10-01 00:48:29 +09:00
|
|
|
.pdfViewer .page .loadingIcon {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: url('images/loading-icon.gif') center no-repeat;
|
|
|
|
}
|
|
|
|
|
2018-05-15 12:10:32 +09:00
|
|
|
.pdfPresentationMode .pdfViewer {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfPresentationMode .pdfViewer .page {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdfPresentationMode .pdfViewer .page,
|
|
|
|
.pdfPresentationMode .pdfViewer.removePageBorders .page {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2015-02-04 22:10:45 +09:00
|
|
|
.pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
|
2014-10-01 00:48:29 +09:00
|
|
|
margin-bottom: 100% !important;
|
|
|
|
}
|
|
|
|
|
2015-02-04 22:10:45 +09:00
|
|
|
.pdfPresentationMode:fullscreen .pdfViewer .page {
|
2014-10-01 00:48:29 +09:00
|
|
|
margin-bottom: 100%;
|
|
|
|
border: 0;
|
|
|
|
}
|