1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

[pdf file view] make links in PDF files clickable (#3257)

This commit is contained in:
llj
2019-04-12 17:54:34 +08:00
committed by Daniel Pan
parent 655e951214
commit 77fae49d6a

View File

@@ -67,9 +67,26 @@
.textLayer ::-moz-selection {
background: blue;
}
.annotationLayer {
display:none;
/* annotationLayer starts */
.annotationLayer section {
position: absolute;
}
.annotationLayer .linkAnnotation > a,
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
position: absolute;
font-size: 1em;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.annotationLayer .linkAnnotation > a:hover,
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
opacity: 0.2;
background: #ff0;
box-shadow: 0px 2px 10px #ff0;
}
/* annotationLayer ends */
#fileInput {
display:none;
}