aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-06-17 14:05:07 -0400
committerGitHub <noreply@github.com>2019-06-17 14:05:07 -0400
commit62e7e21d6db96a9c62710c2bc6842705b79f5665 (patch)
tree78beb9e04812294b1c71307b69b2a1d721e9a5fc /src/client/views/nodes/PDFBox.scss
parent589d2409cf00c3ff15eddbe88835a63a09785f2c (diff)
parent37e1c3895af6666bbd4c253fb7af51495ec48706 (diff)
Merge pull request #160 from browngraphicslab/pdf_impl
PDF stuff!
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
-rw-r--r--src/client/views/nodes/PDFBox.scss38
1 files changed, 31 insertions, 7 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss
index 449408a61..8bcae4f1e 100644
--- a/src/client/views/nodes/PDFBox.scss
+++ b/src/client/views/nodes/PDFBox.scss
@@ -2,39 +2,63 @@
transform-origin: left top;
position: absolute;
top: 0;
- left:0;
+ left: 0;
}
+
.react-pdf__Page__textContent span {
user-select: text;
}
+
.react-pdf__Document {
position: absolute;
}
+
.pdfBox-buttonTray {
- position:absolute;
+ position: absolute;
top: 0;
- left:0;
+ left: 0;
z-index: 25;
pointer-events: all;
}
+
.pdfBox-thumbnail {
position: absolute;
width: 100%;
}
+
.pdfButton {
pointer-events: all;
width: 100px;
- height:100px;
+ height: 100px;
}
+
.pdfBox-cont {
- pointer-events: none ;
- span {
- pointer-events: none !important;
+ pointer-events: none;
+ display: flex;
+ flex-direction: row;
+ .textlayer {
+ pointer-events: none;
+ span {
+ pointer-events: none !important;
+ }
+ }
+ .page-cont {
+ pointer-events: none;
}
}
+
.pdfBox-cont-interactive {
pointer-events: all;
+ display: flex;
+ flex-direction: row;
+ .textlayer {
+ span {
+ pointer-events: all !important;
+ user-select: text;
+ }
+ }
}
+
.pdfBox-contentContainer {
position: absolute;
transform-origin: left top;