aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-09-26 12:02:35 -0400
committerbob <bcz@cs.brown.edu>2019-09-26 12:02:35 -0400
commit0c0b5697957af3c1aa4560a707d37b1073b743a5 (patch)
tree6e3a70cb9dc0b86a47d49e17af44683b4cbd1cc5 /src/client/views/nodes/PDFBox.scss
parentc03b5dbf814bb6e6f7f2705a025e52f9a335de05 (diff)
more pdf cleanup/fixes
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
-rw-r--r--src/client/views/nodes/PDFBox.scss41
1 files changed, 17 insertions, 24 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss
index 2147292d6..d82bcf02f 100644
--- a/src/client/views/nodes/PDFBox.scss
+++ b/src/client/views/nodes/PDFBox.scss
@@ -10,15 +10,16 @@
.pdfBox-cont {
pointer-events: none;
- .pdfPage-textlayer {
- span {
- pointer-events: none !important;
- user-select: none;
- }
- }
.collectionFreeFormView-none {
pointer-events: none;
}
+ .pdfViewer-text {
+ .textLayer {
+ span {
+ user-select: none;
+ }
+ }
+ }
}
.pdfBox-cont-interactive {
@@ -32,21 +33,6 @@
}
}
-.react-pdf__Page {
- transform-origin: left top;
- position: absolute;
- top: 0;
- left: 0;
-}
-
-.react-pdf__Page__textContent span {
- user-select: text;
-}
-
-.react-pdf__Document {
- position: absolute;
-}
-
.pdfBox-settingsCont {
position: absolute;
@@ -124,7 +110,7 @@
overflow: hidden;
transition: left .5s;
- .pdfBox-overlaySearchBar {
+ .pdfBox-searchBar {
width: 70%;
font-size: 14px;
}
@@ -149,7 +135,9 @@
transition: all 0.5s;
}
- .pdfBox-overlayButton-iconCont {
+ .pdfBox-overlayButton-iconCont,
+ .pdfBox-nextIcon,
+ .pdfBox-prevIcon {
background: #121721;
height: 30px;
width: 70px;
@@ -165,4 +153,9 @@
background: none;
}
-
+.pdfBox-nextIcon {
+ left: 20; top: 5; height: 30px; position: absolute;
+}
+.pdfBox-prevIcon {
+ left: 50; top: 5; height: 30px; position: absolute;
+}