aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.scss
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-06-25 18:10:18 -0400
committeryipstanley <stanley_yip@brown.edu>2019-06-25 18:10:18 -0400
commitc785c2471e2f30d493a7e70334b0f588a593a33e (patch)
treec196aa9538c6e9ff0be2102a142f80bf3cb3f153 /src/client/views/pdf/PDFViewer.scss
parente910a6cd56936234e451994c893d8592e430f828 (diff)
basic text searching
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
-rw-r--r--src/client/views/pdf/PDFViewer.scss53
1 files changed, 45 insertions, 8 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss
index 53c33ce0b..2f705781f 100644
--- a/src/client/views/pdf/PDFViewer.scss
+++ b/src/client/views/pdf/PDFViewer.scss
@@ -1,9 +1,3 @@
-.textLayer {
- div {
- user-select: text;
- }
-}
-
.viewer-button-cont {
position: absolute;
display: flex;
@@ -20,8 +14,51 @@
border-radius: 5px;
}
-.textLayer {
- user-select: auto;
+.viewer {
+ // position: absolute;
+ // top: 0;
+}
+
+.pdfViewer-text {
+
+ .page {
+ .canvasWrapper {
+ display: none;
+ }
+
+ .textLayer {
+ position: relative;
+ user-select: none;
+ }
+ }
+}
+
+.page-cont {
+ .textLayer {
+ user-select: auto;
+
+ div {
+ user-select: text;
+ }
+ }
+}
+
+.pdfViewer-overlayCont {
+ position: absolute;
+ width: 100%;
+ height: 100px;
+ background: #121721;
+ bottom: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 20px;
+
+ .pdfViewer-overlaySearchBar {
+ width: 20%;
+ height: 100%;
+ font-size: 30px;
+ }
}
.pdfViewer-annotationBox {