From b854fc2832ff8a94d756e399490f539f8798e724 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 5 Mar 2014 20:36:24 +0800 Subject: [PATCH] Improve input[type=submit] styles Signed-off-by: Edward Cheng --- themes/pmahomme/css/common.css.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index 6669feafa7..12b9a0489e 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -273,7 +273,7 @@ input.button { text-shadow: 0 1px 0 #fff; - getCssGradient('ffffff', 'cccccc'); ?> + getCssGradient('f8f8f8', 'd8d8d8'); ?> } input[type=submit]:hover, @@ -282,7 +282,7 @@ input[type=reset]:hover, input[name=submit_reset]:hover, input.button:hover { position: relative; - getCssGradient('cccccc', 'dddddd'); ?> + getCssGradient('fff', 'ddd'); ?> cursor: pointer; } @@ -292,8 +292,9 @@ input[type=reset]:active, input[name=submit_reset]:active, input.button:active { position: relative; - top: 1px; - left: 1px; + getCssGradient('eee', 'ddd'); ?> + box-shadow: 0 1px 6px -2px #333 inset; + text-shadow: none; } textarea { @@ -2023,7 +2024,6 @@ input[type=date].invalid_value, padding: 5px 12px; color: #111; text-decoration: none; - background: #ddd; border-radius: 12px; -webkit-border-radius: 12px; @@ -2034,9 +2034,6 @@ input[type=date].invalid_value, getCssGradient('ffffff', 'cccccc'); ?> cursor: pointer; } -#buttonGo:hover { - getCssGradient('cccccc', 'dddddd'); ?> -} .format_specific_options h3 { margin: 10px 0 0;