2019-03-09 08:36:14 +08:00
|
|
|
.pdf-file-view {
|
2023-08-09 18:54:58 +08:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2024-08-15 18:09:49 +08:00
|
|
|
z-index: 0;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2023-08-09 18:54:58 +08:00
|
|
|
|
|
|
|
/* for pdf online file view */
|
|
|
|
.pdf-file-view.file-view-content {
|
|
|
|
border: 0;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2023-08-09 18:54:58 +08:00
|
|
|
|
|
|
|
.sf-hide {
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2023-08-09 18:54:58 +08:00
|
|
|
|
2019-03-09 08:36:14 +08:00
|
|
|
#outerContainer,
|
|
|
|
#mainContainer,
|
|
|
|
#viewerContainer {
|
2023-08-09 18:54:58 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#viewerContainer {
|
2023-08-11 15:17:10 +08:00
|
|
|
padding: 10px 0 0;
|
2023-08-09 18:54:58 +08:00
|
|
|
overflow: auto;
|
2023-08-11 15:17:10 +08:00
|
|
|
margin-bottom: 33px;
|
2020-02-08 09:24:23 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#viewerContainer:focus {
|
|
|
|
outline: none;
|
2020-02-08 09:24:23 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
.pdfViewer .page {
|
2022-03-03 14:43:48 +08:00
|
|
|
position: relative;
|
|
|
|
background: #fff;
|
2023-08-09 18:54:58 +08:00
|
|
|
border: none;
|
2022-03-03 14:43:48 +08:00
|
|
|
box-shadow: 0 0 6px #ccc;
|
2023-08-09 18:54:58 +08:00
|
|
|
margin: 0 auto 10px;
|
2022-03-03 14:43:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.page .loading-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
/* the following lines overwrite lines from web/viewer.css */
|
|
|
|
#toolbarViewerMiddle {
|
|
|
|
left: auto;
|
2021-10-20 15:22:21 +08:00
|
|
|
right: 0;
|
2023-08-09 18:54:58 +08:00
|
|
|
transform: none;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
select#scaleSelect {
|
|
|
|
background: #fff;
|
|
|
|
height: 24px;
|
|
|
|
font-size: 12px;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#scaleSelectContainer::after {
|
|
|
|
top: 4px;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
/* errorWrapper starts */
|
|
|
|
#errorWrapper {
|
|
|
|
background: #ff6e6e;
|
|
|
|
color: #0c0c0d;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
/*z-index: 1000;*/
|
|
|
|
z-index: 998; /* for seahub */
|
|
|
|
padding: 3px 6px;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2023-08-09 18:54:58 +08:00
|
|
|
/* errorWrapper ends */
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
/* toolbar */
|
|
|
|
.toolbar {
|
2021-10-20 15:22:21 +08:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2023-08-09 18:54:58 +08:00
|
|
|
/*z-index: 9999;*/
|
|
|
|
z-index: 998; /* 1048: for seahub 'file view' */
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#toolbarContainer {
|
|
|
|
box-shadow: none;
|
|
|
|
border-top: 1px solid #c9c9c9;
|
|
|
|
height: auto;
|
2019-04-12 17:54:34 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#loadingBar {
|
2023-08-11 15:17:10 +08:00
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
2019-04-12 17:54:34 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
input#pageNumber {
|
|
|
|
font-size: 12px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin: 0 0 0 9px;
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|
2019-06-28 16:59:36 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#numPages.toolbarLabel {
|
2021-10-20 15:22:21 +08:00
|
|
|
margin: 0;
|
2023-08-09 18:54:58 +08:00
|
|
|
padding: 0 7px;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
/* toolbar ends */
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
/* sidebar starts */
|
|
|
|
#sidebarContainer {
|
2021-10-20 15:22:21 +08:00
|
|
|
position: absolute;
|
2023-08-09 18:54:58 +08:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
border-top: none;
|
|
|
|
background: #fff;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#toolbarSidebar {
|
|
|
|
height: auto;
|
|
|
|
background: #fff;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView {
|
|
|
|
width: 100%;
|
2021-10-20 15:22:21 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnails-header {
|
2019-06-28 16:59:36 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnails-header .title {
|
|
|
|
font-size: 1rem;
|
2019-06-28 16:59:36 +08:00
|
|
|
}
|
2021-10-20 15:22:21 +08:00
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnails-header .sf2-icon-x3 {
|
|
|
|
font-family: 'seafile-font2';
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnails-header .close-thumbnail-panel {
|
|
|
|
font-size: 1rem;
|
|
|
|
color: #999;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnails-header .close-thumbnail-panel:hover {
|
|
|
|
color: #555;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView .thumbnail {
|
|
|
|
float: none;
|
|
|
|
max-width: unset;
|
|
|
|
max-height: unset;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
padding: 10px 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: unset;
|
|
|
|
margin: 0 1px 0 0;
|
|
|
|
text-align: center;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView .thumbnail.selected {
|
|
|
|
background: #f0f0f0;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView .thumbnail .thumbnail-page-number {
|
|
|
|
font-size: .875rem;
|
|
|
|
color: #999;
|
2021-10-20 15:22:21 +08:00
|
|
|
position: absolute;
|
2023-08-09 18:54:58 +08:00
|
|
|
right: 100%;
|
|
|
|
bottom: 0;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView .thumbnail .thumbnailImage {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 3px;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#thumbnailView .thumbnail.selected .thumbnailImage {
|
|
|
|
border: 2px solid #ff9800;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
#sidebarContent {
|
|
|
|
inset-block: 51.5px 0;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
.splitToolbarButton > .toolbarButton {
|
|
|
|
float: none;
|
2021-10-20 15:22:21 +08:00
|
|
|
}
|
2023-08-09 18:54:58 +08:00
|
|
|
/* sidebar ends */
|
2021-10-20 15:22:21 +08:00
|
|
|
|
|
|
|
/* overlay, passwordOverlay */
|
|
|
|
#overlayContainer {
|
|
|
|
display: table;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
/*z-index: 40000;*/
|
|
|
|
z-index: 999; /* 1049: for seahub 'share' dialog */
|
|
|
|
}
|
|
|
|
|
2023-08-11 15:17:10 +08:00
|
|
|
.dirent-info .img .thumbnail {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-09 18:54:58 +08:00
|
|
|
@media print {
|
|
|
|
#wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-09 08:36:14 +08:00
|
|
|
}
|