From c66adde8aba3560e771ff9226170260a47bfe30e Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 14 Feb 2011 19:11:55 +0000 Subject: More cleanup of login/forms css -- converted login_dropdown to use elgg-toggler pattern git-svn-id: http://code.elgg.org/elgg/trunk@8229 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/forms.php | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'views/default/css/elements/forms.php') diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php index 2e0022ca8..b56aeddcb 100644 --- a/views/default/css/elements/forms.php +++ b/views/default/css/elements/forms.php @@ -10,43 +10,47 @@ /* *************************************** Form Elements *************************************** */ -.elgg-fieldset { -} + fieldset > div { margin-bottom: 15px; } fieldset > div:last-child { margin-bottom: 0; } + label { font-weight: bold; color: #333333; font-size: 110%; } + input, textarea { font: 120% Arial, Helvetica, sans-serif; + color: #666666; + padding: 5px; + border: 1px solid #cccccc; - color: #666666; -webkit-border-radius: 5px; -moz-border-radius: 5px; + + width: 100%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; } -textarea { - height: 200px; - width: 98%; -} -input[type="text"], textarea { - width: 98%; -} -input[type="password"] { - width: 200px; -} -input[type="text"]:focus, input[type="password"]:focus { + +input:focus, textarea:focus { border: solid 1px #4690d6; background: #e4ecf5; color:#333333; } +textarea { + height: 200px; +} + + a.elgg-longtext-control { float: right; margin-left: 14px; @@ -58,11 +62,13 @@ a.elgg-longtext-control { .elgg-input-access { margin:5px 0 0 0; } + input[type="checkbox"], input[type="radio"] { margin:0 3px 0 0; padding:0; border:none; + width:auto; } .elgg-input-checkboxes.elgg-horizontal li, .elgg-input-radio.elgg-horizontal li { -- cgit v1.2.3