From e9b58e6ddbf49d2fcd35a711e284789a54e4fdf3 Mon Sep 17 00:00:00 2001 From: "J.M" Date: Sat, 17 Aug 2013 17:49:45 +0200 Subject: [PATCH] Add CSS for type=password, type=number --- themes/original/css/common.css.php | 4 ++++ themes/pmahomme/css/common.css.php | 25 +++++++------------------ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index e5b3132dd0..bba15e5a84 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -1279,10 +1279,14 @@ li.no_bullets { float: ; } .operations_half_width input[type=text], +.operations_half_width input[type=password], +.operations_half_width input[type=number], .operations_half_width select { width: 95%; } .operations_half_width input[type=text].halfWidth, +.operations_half_width input[type=password].halfWidth, +.operations_half_width input[type=number].halfWidth, .operations_half_width select.halfWidth { width: 40%; } diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index ce913348bc..dd18603c50 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -167,24 +167,9 @@ form { display: inline; } -input[type=text] { - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - - box-shadow: 0 1px 2px #ddd; - -moz-box-shadow: 0 1px 2px #ddd; - -webkit-box-shadow: 0 1px 2px #ddd; - - background: white; - border: 1px solid #aaa; - color: #555; - padding: 4px; - margin: 6px; - -} - -input[type=password] { +input[type=text], +input[type=password], +input[type=number] { border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; @@ -1654,10 +1639,14 @@ li.no_bullets { float: ; } .operations_half_width input[type=text], +.operations_half_width input[type=password], +.operations_half_width input[type=number], .operations_half_width select { width: 95%; } .operations_half_width input[type=text].halfWidth, +.operations_half_width input[type=password].halfWidth, +.operations_half_width input[type=number].halfWidth, .operations_half_width select.halfWidth { width: 40%; }