[Koha-patches] [PATCH] Bug 8107 - Disabled buttons not distinguishable from enabled buttons
Owen Leonard
oleonard at myacpl.org
Fri May 18 17:53:51 CEST 2012
Add a "greyed-out" style for disabled buttons.
Having looked through the templates for examples of usage of this
I'm not convinced that we should really be showing disabled buttons.
I think in general it would be better to hide or show a button
based on whether the action is available.
---
.../intranet-tmpl/prog/en/css/staff-global.css | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
index 0835187..2658964 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
@@ -1713,6 +1713,16 @@ input[type=submit], input[type=reset], input[type=button], input.submit, button.
color: #333333;
}
+input[type=submit]:disabled,
+input[type=reset]:disabled,
+input[type=button]:disabled,
+input.submit:disabled,
+button.submit:disabled {
+ color : #999;
+ border : 1px solid #C0C0C0;
+ background : #EEE none;
+}
+
input[type=reset]:active, input[type=button]:active, input.submit:active, button.submit:active {
border : 1px inset #999999;
}
--
1.7.9.5
More information about the Koha-patches
mailing list