From a35d869e15c9a18c12e6e3f5694b7969aeb25fde Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 3 Apr 2013 18:45:03 +0200 Subject: [PATCH] add styles for disabled input fields --- core/css/styles.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/css/styles.css b/core/css/styles.css index a5a867dc0e..20a9da776d 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -100,6 +100,15 @@ select:hover, select:focus, select:active { input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; } #header .button { border:none; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:none; } +/* disabled input fields and buttons */ +input:disabled, input:disabled:hover, input:disabled:focus, +button:disabled, button:disabled:hover, button:disabled:focus, +.button:disabled, .button:disabled:hover, .button:disabled:focus { + background: rgba(230,230,230,.9); + color: #999; + cursor: default; +} + /* Primary action button, use sparingly */ .primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary { border:1px solid #1d2d44;