WordPress.org

Making WordPress.org

Changeset 4537


Ignore:
Timestamp:
12/15/2016 06:43:56 AM (5 years ago)
Author:
dd32
Message:

Login: Make the form widths between Login and Registration the same, this makes the fields the same width as the Recaptcha box.

See #148

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php

    r4535 r4537  
    5353 */
    5454function wporg_login_replace_css() {
    55     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161204a' );
     55    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215' );
    5656}
    5757add_action( 'login_init', 'wporg_login_replace_css' );
     
    6969
    7070    wp_enqueue_style( 'wporg-normalize', get_template_directory_uri() . '/stylesheets/normalize.css', 3 );
    71     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161204a' );
     71    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20161215' );
    7272}
    7373add_action( 'wp_enqueue_scripts', 'wporg_login_scripts' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/stylesheets/login.css

    r4533 r4537  
    103103}
    104104
    105 .g-recaptcha {
    106     width: 304px;
    107     margin: 0 auto;
    108 }
    109 
    110105/**
    111106 * #.# Basic CSS
     
    170165
    171166#login {
    172     width: 304px;
     167    width: 350px;
    173168    padding: 24px;
    174169    margin: 0 auto 0;
     
    222217    margin:-24px 0 24px -24px;
    223218    background-color: #fbfbfb;
    224     width:304px;
     219    width:350px;
    225220    border-bottom:1px solid #f5f5f5;
    226221    -webkit-box-shadow:none !important;
     
    318313}
    319314
    320 body.route-register #login,
    321 body.route-register-profile #login,
    322 body.route-register-confirm #login {
    323     width: 365px;
    324 }
    325 
    326315body.route-register input.input,
    327316body.route-register-profile input.input,
Note: See TracChangeset for help on using the changeset viewer.