WordPress.org

Make WordPress Core

Ticket #13587: 13587.2.patch

File 13587.2.patch, 2.0 KB (added by ocean90, 4 years ago)

Refresh + RTL support

  • wp-admin/css/login-rtl.dev.css

     
    1313} 
    1414form .submit { float: left; } 
    1515#backtoblog a { 
    16         left: auto; 
    17         right: 15px; 
     16        padding: 8px 15px 0 0; 
    1817} 
    1918#login_error, .message { 
    2019        margin: 0 8px 16px 0; 
  • wp-admin/css/login.dev.css

     
    33body { 
    44        padding-top: 30px; 
    55        font: 11px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; 
    6         background: url(../images/login-header.png?ver=20100531) top left repeat-x; 
    76} 
    87 
    98form { 
     
    8180        text-shadow: rgba(255,255,255,1) 0 1px 0; 
    8281} 
    8382 
     83#backtoblog { 
     84        position: absolute; 
     85        top: 0; 
     86        left: 0; 
     87        border-bottom: #c6c6c6 1px solid; 
     88        background: #d9d9d9; /* fallback color */ 
     89        background: -moz-linear-gradient(bottom,  #d7d7d7,  #e4e4e4); 
     90        background: -webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); 
     91        height: 30px; 
     92        width: 100%; 
     93} 
     94 
    8495#backtoblog a { 
    85         position: absolute; 
    86         top: 8px; 
    87         left: 15px; 
    8896        text-decoration: none; 
     97        display: block; 
     98        padding: 8px 0 0 15px; 
    8999} 
    90100 
    91101#login { width: 320px; margin: 7em auto; } 
  • wp-login.php

     
    618618<a href="<?php echo site_url('wp-login.php?action=lostpassword', 'login') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 
    619619<?php endif; ?> 
    620620</p> 
    621  
     621</div> 
    622622<p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('&larr; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 
     623<?php } else { ?> 
     624</div> 
    623625<?php } ?> 
    624 </div> 
    625626 
    626627<script type="text/javascript"> 
    627628function wp_attempt_focus(){