aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Page.scss
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2019-09-29 19:04:29 -0400
committerGitHub <noreply@github.com>2019-09-29 19:04:29 -0400
commit89fd714207dbd965dc4b566202ec85bbd7998adf (patch)
tree4b6279f1fe0157eb79fabd000a55754c33253506 /src/client/views/pdf/Page.scss
parentc40480ec1a2da84b4223b0605bea2fe19df1104c (diff)
parent5bd6158a1f839d19f8965bff97a908c89271437d (diff)
Merge pull request #289 from browngraphicslab/googlephotos_sharing_master
Googlephotos sharing master
Diffstat (limited to 'src/client/views/pdf/Page.scss')
-rw-r--r--src/client/views/pdf/Page.scss36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/client/views/pdf/Page.scss b/src/client/views/pdf/Page.scss
new file mode 100644
index 000000000..d8034b4b4
--- /dev/null
+++ b/src/client/views/pdf/Page.scss
@@ -0,0 +1,36 @@
+
+.pdfViewer-text {
+ .page {
+ position: relative;
+ }
+}
+.pdfPage-cont {
+ position: relative;
+
+ .pdfPage-canvasContainer {
+ position: absolute;
+ }
+
+ .pdfPage-dragAnnotationBox {
+ position: absolute;
+ background-color: transparent;
+ opacity: 0.1;
+ }
+
+ .pdfPage-textLayer {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ div {
+ user-select: text;
+ }
+ span {
+ color: transparent;
+ position: absolute;
+ white-space: pre;
+ cursor: text;
+ -webkit-transform-origin: 0% 0%;
+ transform-origin: 0% 0%;
+ }
+ }
+} \ No newline at end of file