[Pkg-javascript-commits] [pdf.js] 32/106: Tweak the :focus/:hover CSS rules of the .toolbarField class used in Overlay dialogs

David Prévot taffit at moszumanska.debian.org
Sat Jun 20 21:33:47 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 4dc52cf92c863c5060ead7e90b13c94808f2728b
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Thu May 14 16:43:21 2015 +0200

    Tweak the :focus/:hover CSS rules of the .toolbarField class used in Overlay dialogs
    
    Having recently spent some time staring at the PasswordPrompt, while fixing issue 6010, I felt that the current border style does not really give a good visual  indication that the input field actually has focus.
    
    The current appearance was first introduced in PR 3527; but I don't know if having a different border style in Overlay dialogs was intentional, or if it just "happened".
    However, given the colour palette used in the viewer UI, I think that using the same border style for all .toolbarFields makes sense.
---
 web/viewer.css | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/web/viewer.css b/web/viewer.css
index f324f19..3dfae37 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -1358,10 +1358,6 @@ html[dir='rtl'] .attachmentsItem > button {
 .dialog .toolbarField {
   margin: 5px 0;
 }
-.dialog .toolbarField:hover,
-.dialog .toolbarField:focus {
-  border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
-}
 
 .dialog .separator {
   display: block;

-- 
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