diff --git a/frontend/src/css/pdf-file-view.css b/frontend/src/css/pdf-file-view.css index dc5b89336d..ad9cc34cac 100644 --- a/frontend/src/css/pdf-file-view.css +++ b/frontend/src/css/pdf-file-view.css @@ -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; }