Unverified Commit 183a5524 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #696 from haritzmedina/master

Changed background to selected element in PDF.js to visualize the searched content
parents bcb8d9bc f0034dd8
...@@ -6,3 +6,8 @@ ...@@ -6,3 +6,8 @@
::selection { background: rgba(0, 0, 255, .2); } ::selection { background: rgba(0, 0, 255, .2); }
::-moz-selection { background: rgba(0 , 0 , 255, .2); } ::-moz-selection { background: rgba(0 , 0 , 255, .2); }
} }
// When using search funcionality of PDF.js the matches should highlight the content but not cover it. Fix for #648
.textLayer .highlight.selected {
background-color: rgba(0, 100, 0, 0.5);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment