diff options
author | raylu <raylu@mixpanel.com> | 2011-07-16 23:29:34 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-16 23:29:34 -0700 |
commit | 8fa4bab1dfd166fd567f2b1a3910f0628c6278e7 (patch) | |
tree | 828aed2c6ec160a9a86768bbe6dba2f622c18cab /webroot/css/base.css | |
parent | dcc965ab293655136c251afe4fb6f4f41ac5cb75 (diff) | |
download | otakuhub-8fa4bab1dfd166fd567f2b1a3910f0628c6278e7.tar.xz |
form styling
Diffstat (limited to 'webroot/css/base.css')
-rw-r--r-- | webroot/css/base.css | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/webroot/css/base.css b/webroot/css/base.css index 29fd2c3..da366c6 100644 --- a/webroot/css/base.css +++ b/webroot/css/base.css @@ -243,13 +243,16 @@ body.ie7 form, body.ie8 { form p { margin-bottom:15px; } -form input, form textarea { +form input, form textarea, form select { padding: 7px 5px; border: 1px solid #ccc; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } +form select { + padding: 6px 5px; +} input[type="button"], input[type="submit"], button { padding: 6px 5px; /* looks high in FF at inherited 7 5 */ line-height: 18px; /* looks small in webkit at 6 5 */ @@ -257,24 +260,12 @@ input[type="button"], input[type="submit"], button { display: inline-block; font-weight: 700; outline: none; - background: #ddd; color: #444; text-shadow: 0 -1px 0 #eee; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } -input[type="button"]:hover, input[type="submit"]:hover, button:hover { - background: #eee; -} -form select { - padding: 6px 5px; - border: 1px solid #ccc; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - background-color: #eee; -} div#login { text-align: center; |