From 9044dd6404a616352201cff56226745fe6d66844 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 18 May 2012 11:51:17 -0400 Subject: [PATCH] Bug 8107 - Disabled buttons not distinguishable from enabled buttons Content-Type: text/plain; charset="utf-8" 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