On 17.3.2014 15:16, Petr Vobornik wrote:
https://fedorahosted.org/freeipa/ticket/4256


Petr3 found that the effect is still there when the button is focused.

It's caused by another bug - https://fedorahosted.org/freeipa/ticket/4258 Disabled action buttons are focusable

New revision of the patch adds CSS styles which fix the appearance of focused disabled button (symptom treatment).

Rationale: 4256 is a regression but 4258 is not.
--
Petr Vobornik
From 903cf85da632c6e3c6b387d2ebe3d9412baf8049 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <[email protected]>
Date: Mon, 17 Mar 2014 15:14:44 +0100
Subject: [PATCH] webui: remove hover effect from disabled action button

https://fedorahosted.org/freeipa/ticket/4256
---
 install/ui/ipa.css | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 288f54b7ca5c1dcead96ddbc1e2b916c79dffa12..a655056957d1da44b314714391d380a4310e87a6 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -726,9 +726,12 @@ span.main-separator{
     font-size: 0.9em;
 }
 
-.action-button-disabled {
+.action-button-disabled,
+.action-button-disabled:focus,
+.action-button-disabled:hover {
     color: gray;
     cursor: default;
+    outline: none;
 }
 
 .button-disabled {
-- 
1.8.5.3

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to