[Pkg-javascript-commits] [jquery-minicolors] 01/46: Cursor should be default when hidden and disabled

David Prévot taffit at moszumanska.debian.org
Sun Oct 25 17:18:23 UTC 2015


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

taffit pushed a commit to branch master
in repository jquery-minicolors.

commit 982ec8d0389217f0ef60a5483ef734ebff0bdc38
Author: Ilya Savinkov <Stalinko at users.noreply.github.com>
Date:   Wed Jun 24 17:56:26 2015 +0500

    Cursor should be default when hidden and disabled
    
    Handle cursor above disabled colorpicker-input can confuse because in this case click does nothing. I suggest to show default cursor in this case.
---
 jquery.minicolors.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/jquery.minicolors.css b/jquery.minicolors.css
index da27cde..47dffa5 100644
--- a/jquery.minicolors.css
+++ b/jquery.minicolors.css
@@ -35,6 +35,10 @@
     cursor: pointer;
 }
 
+.minicolors input[type=hidden][disabled] + .minicolors-swatch {
+    cursor: default;
+}
+
 /* Panel */
 .minicolors-panel {
     position: absolute;

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



More information about the Pkg-javascript-commits mailing list