Login styling updates from mt. fixes #5929

git-svn-id: http://svn.automattic.com/wordpress/trunk@6922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-20 00:19:01 +00:00
parent e0e9db30d7
commit bc187ded1d
3 changed files with 35 additions and 13 deletions

View File

@ -10,18 +10,37 @@ body {
form { form {
background-color: #eaf3fa; background-color: #eaf3fa;
margin-left: 8px; margin-left: 8px;
-moz-border-radius: 3px; padding: 16px 16px 40px 16px;
padding: 16px;
font-weight: bold; font-weight: bold;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
} }
form .forgetmenot { font-weight: normal; float: left; } form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0;}
form .submit input {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size: 14px;
color: #246;
padding: 4px 6px;
background: #cee1ef;
border: none;
margin-top: -6px;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
form .submit input:hover {
color: #d54e21;
}
form .submit { float: right; } form .submit { float: right; }
form .submit input { padding: 2px; } form input { color: #555; }
form input { color: #246; }
form p { margin-bottom: 24px; } form p { margin-bottom: 24px; }
@ -54,6 +73,12 @@ h1 a {
padding: 12px; padding: 12px;
} }
#login_error {
background-color: #f00;
border-color: #800;
color: #fff;
}
#nav { margin: 0 0 0 8px; padding: 16px; } #nav { margin: 0 0 0 8px; padding: 16px; }
#nav a { color: #777; } #nav a { color: #777; }
@ -63,4 +88,4 @@ h1 a {
width: 97%; width: 97%;
padding: 3px; padding: 3px;
margin-right: 6px; margin-right: 6px;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -236,8 +236,7 @@ case 'retrievepassword' :
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($_POST['user_login'])); ?>" size="20" tabindex="10" /></label> <input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($_POST['user_login'])); ?>" size="20" tabindex="10" /></label>
</p> </p>
<?php do_action('lostpassword_form'); ?> <?php do_action('lostpassword_form'); ?>
<p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password &raquo;'); ?>" tabindex="100" /></p> <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password'); ?>" tabindex="100" /></p>
<div><br clear="all" /></div>
</form> </form>
<p id="nav"> <p id="nav">
@ -306,8 +305,7 @@ case 'register' :
</p> </p>
<?php do_action('register_form'); ?> <?php do_action('register_form'); ?>
<p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p> <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p>
<p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register &raquo;'); ?>" tabindex="100" /></p> <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register'); ?>" tabindex="100" /></p>
<div><br clear="all" /></div>
</form> </form>
<p id="nav"> <p id="nav">
@ -373,10 +371,9 @@ default:
<?php do_action('login_form'); ?> <?php do_action('login_form'); ?>
<p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember Me'); ?></label></p> <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember Me'); ?></label></p>
<p class="submit"> <p class="submit">
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log in'); ?> &raquo;" tabindex="100" /> <input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log in'); ?>" tabindex="100" />
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" /> <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
<input type="hidden" name="testcookie" value="1" /> <input type="hidden" name="testcookie" value="1" />
<div><br clear="all" /></div>
</p> </p>
<?php else : ?> <?php else : ?>
<p>&nbsp;</p> <p>&nbsp;</p>