[Pkg-javascript-commits] [pdf.js] 38/139: [GENERIC viewer] Fix the background color of the findInput when the search term is not found

David Prévot taffit at moszumanska.debian.org
Fri Jan 9 21:18:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit fbca0e1ab076fc35f4d26659fba4f8d8fe7d6187
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sat Nov 1 18:08:13 2014 +0100

    [GENERIC viewer] Fix the background color of the findInput when the search term is not found
    
    When a search term isn't found, the background color of the findInput is supposed to change (to red). This is currently not working as intended, because the CSS rule is not being applied correctly. (It seems that this broke in PR 2208.)
    
    This patch also changes the background color to match the one used in the native Firefox findbar, since the old color seemed a bit too pink.
---
 web/viewer.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/viewer.css b/web/viewer.css
index 856a0c8..cb693a5 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -472,8 +472,8 @@ html[dir='ltr'] .doorHangerRight:before {
   color: #A6B7D0;
 }
 
-.notFound {
-  background-color: rgb(255, 137, 153);
+#findInput.notFound {
+  background-color: rgb(255, 102, 102);
 }
 
 html[dir='ltr'] #toolbarViewerLeft {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list