WordPress.org

Make WordPress Core

Changeset 19297


Ignore:
Timestamp:
11/15/2011 03:47:07 PM (9 years ago)
Author:
azaozz
Message:

Fix styling for the installation screens, props chexee, fixes #18576

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/install.css

    r19203 r19297  
    1 html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:sans-serif;margin:2em auto;width:700px;padding:1em 2em;-webkit-border-radius:11px;border-radius:11px;border:1px solid #dfdfdf;}a{color:#2583ad;text-decoration:none;}a:hover{color:#d54e21;}h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px Georgia,"Times New Roman",Times,serif;margin:5px 0 0 -4px;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:12px;line-height:18px;}code,.code{font-size:13px;}ul,ol,dl{padding:5px 5px 5px 22px;}a img{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px 0 14px 0;border-bottom:none;text-align:center;}.step{margin:20px 0 15px;}.step,th{text-align:left;padding:0;}.submit input,.button,.button-secondary{font-family:sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px 12px;cursor:pointer;border:1px solid #bbb;color:#464646;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submit input:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}textarea{border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-table td{margin-bottom:9px;padding:10px;border-bottom:8px solid #fff;font-size:12px;}.form-table th{font-size:13px;text-align:left;padding:16px 10px 10px 10px;border-bottom:8px solid #fff;width:130px;vertical-align:top;}.form-table tr{background:#f3f3f3;}.form-table code{line-height:18px;font-size:18px;}.form-table p{margin:4px 0 0 0;font-size:11px;}.form-table input{line-height:20px;font-size:15px;padding:2px;}.form-table th p{font-weight:normal;}#error-page{margin-top:50px;}#error-page p{font-size:12px;line-height:18px;margin:25px 0 20px;}#error-page code,.code{font-family:Consolas,Monaco,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 1px;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1px solid #e6db55;padding:.3em .6em;margin:5px 0 15px;background-color:#ffffe0;}body.rtl{font-family:Tahoma,arial;}.rtl h1{font-family:arial;margin:5px -4px 0 0;}.rtl ul,.rtl ol{padding:5px 22px 5px 5px;}.rtl .step,.rtl th,.rtl .form-table th{text-align:right;}.rtl .submit input,.rtl .button,.rtl .button-secondary{margin-right:0;}.rtl #user_login,.rtl #admin_email,.rtl #pass1,.rtl #pass2{direction:ltr;}
     1html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:sans-serif;margin:2em auto;padding:1em 2em;-webkit-border-radius:3px;border-radius:3px;border:1px solid #dfdfdf;max-width:700px;}a{color:#21759B;text-decoration:none;}a:hover{color:#D54E21;}h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px Georgia,"Times New Roman",Times,serif;margin:30px 0 0 0;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:14px;line-height:1.5;}code,.code{font-size:14px;}ul,ol,dl{padding:5px 5px 5px 22px;}a img{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px 0 14px 0;border-bottom:none;text-align:center;}.step{margin:20px 0 15px;}.step,th{text-align:left;padding:0;}.submit input,.button,.button-secondary{font-family:sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px 12px;cursor:pointer;border:1px solid #bbb;color:#464646;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submit input:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}textarea{border:1px solid #dfdfdf;-webkit-border-radius:3px;border-radius:3px;font-family:sans-serif;width:695px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;border-bottom:8px solid #fff;font-size:14px;vertical-align:top;}.form-table th{font-size:14px;text-align:left;padding:16px 20px 10px 0;border-bottom:8px solid #fff;width:130px;vertical-align:top;}.form-table code{line-height:18px;font-size:14px;}.form-table p{margin:4px 0 0 0;font-size:11px;}.form-table input{line-height:20px;font-size:15px;padding:2px;border:1px #DFDFDF solid;-webkit-border-radius:3px;border-radius:3px;font-family:sans-serif;}.form-table th p{font-weight:normal;}.form-table.install-success td{vertical-align:middle;padding:16px 20px 10px 0;}.form-table.install-success td p{margin:0;font-size:14px;}.form-table.install-success td code{margin:0;font-size:18px;}#error-page{margin-top:50px;}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px;}#error-page code,.code{font-family:Consolas,Monaco,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 1px;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1px solid #e6db55;padding:.3em .6em;margin:5px 0 15px;background-color:#ffffe0;}body.rtl{font-family:Tahoma,arial;}.rtl h1{font-family:arial;margin:5px -4px 0 0;}.rtl ul,.rtl ol{padding:5px 22px 5px 5px;}.rtl .step,.rtl th,.rtl .form-table th{text-align:right;}.rtl .submit input,.rtl .button,.rtl .button-secondary{margin-right:0;}.rtl #user_login,.rtl #admin_email,.rtl #pass1,.rtl #pass2{direction:ltr;}
  • trunk/wp-admin/css/install.dev.css

    r19203 r19297  
    88    font-family: sans-serif;
    99    margin: 2em auto;
    10     width: 700px;
    1110    padding: 1em 2em;
    12     -webkit-border-radius: 11px;
    13     border-radius: 11px;
     11    -webkit-border-radius: 3px;
     12    border-radius: 3px;
    1413    border: 1px solid #dfdfdf;
     14    max-width: 700px;
    1515}
    1616
    1717a {
    18     color: #2583ad;
     18    color: #21759B;
    1919    text-decoration: none;
    2020}
    2121
    2222a:hover {
    23     color: #d54e21;
     23    color: #D54E21;
    2424}
    2525
     
    2929    color: #666;
    3030    font: 24px Georgia, "Times New Roman", Times, serif;
    31     margin: 5px 0 0 -4px;
     31    margin: 30px 0 0 0;
    3232    padding: 0;
    3333    padding-bottom: 7px;
     
    4040p, li, dd, dt {
    4141    padding-bottom: 2px;
    42     font-size: 12px;
    43     line-height: 18px;
     42    font-size: 14px;
     43    line-height: 1.5;
    4444}
    4545
    4646code, .code {
    47     font-size: 13px;
     47    font-size: 14px;
    4848}
    4949
     
    102102
    103103textarea {
    104     border: 1px solid #bbb;
     104    border: 1px solid #dfdfdf;
    105105    -webkit-border-radius: 3px;
    106106    border-radius: 3px;
     107    font-family: sans-serif;
     108    width:  695px;
    107109}
    108110
     
    115117.form-table td {
    116118    margin-bottom: 9px;
    117     padding: 10px;
     119    padding: 10px 20px 10px 0;
    118120    border-bottom: 8px solid #fff;
    119     font-size: 12px;
     121    font-size: 14px;
     122    vertical-align: top
    120123}
    121124
    122125.form-table th {
    123     font-size: 13px;
     126    font-size: 14px;
    124127    text-align: left;
    125     padding: 16px 10px 10px 10px;
     128    padding: 16px 20px 10px 0;
    126129    border-bottom: 8px solid #fff;
    127130    width: 130px;
     
    129132}
    130133
    131 .form-table tr {
    132     background: #f3f3f3;
    133 }
    134 
    135134.form-table code {
    136135    line-height: 18px;
    137     font-size: 18px;
     136    font-size: 14px;
    138137}
    139138
     
    147146    font-size: 15px;
    148147    padding: 2px;
     148    border: 1px #DFDFDF solid;
     149    -webkit-border-radius: 3px;
     150    border-radius: 3px;
     151    font-family: sans-serif;
    149152}
    150153
     
    153156}
    154157
     158.form-table.install-success td {
     159    vertical-align: middle;
     160    padding: 16px 20px 10px 0;
     161}
     162
     163.form-table.install-success td p {
     164    margin: 0;
     165    font-size: 14px;
     166}
     167
     168.form-table.install-success td code {
     169    margin: 0;
     170    font-size: 18px;
     171}
     172
    155173#error-page {
    156174    margin-top: 50px;
     
    158176
    159177#error-page p {
    160     font-size: 12px;
     178    font-size: 14px;
    161179    line-height: 18px;
    162180    margin: 25px 0 20px;
  • trunk/wp-admin/install.php

    r18897 r19297  
    131131        </tr>
    132132        <tr>
     133            <th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th>
    133134            <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td>
    134135        </tr>
     
    221222<p><?php _e( 'WordPress has been installed. Were you expecting more steps? Sorry to disappoint.' ); ?></p>
    222223
    223 <table class="form-table">
     224<table class="form-table install-success">
    224225    <tr>
    225226        <th><?php _e( 'Username' ); ?></th>
    226         <td><code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></td>
     227        <td><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></td>
    227228    </tr>
    228229    <tr>
  • trunk/wp-admin/setup-config.php

    r18493 r19297  
    131131            <th scope="row"><label for="pwd">Password</label></th>
    132132            <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td>
    133             <td>...and MySQL password.</td>
     133            <td>...and your MySQL password.</td>
    134134        </tr>
    135135        <tr>
  • trunk/wp-includes/functions.php

    r19272 r19297  
    28522852            background: #fff;
    28532853            color: #333;
    2854             font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
     2854            font-family: sans-serif;
    28552855            margin: 2em auto;
    2856             width: 700px;
    28572856            padding: 1em 2em;
    2858             -webkit-border-radius: 11px;
    2859             border-radius: 11px;
     2857            -webkit-border-radius: 3px;
     2858            border-radius: 3px;
    28602859            border: 1px solid #dfdfdf;
     2860            max-width: 700px;
    28612861        }
    28622862        #error-page {
     
    28642864        }
    28652865        #error-page p {
    2866             font-size: 12px;
    2867             line-height: 18px;
     2866            font-size: 14px;
     2867            line-height: 1.5;
    28682868            margin: 25px 0 20px;
    28692869        }
     
    28712871            font-family: Consolas, Monaco, monospace;
    28722872        }
     2873        ul li {
     2874            margin-bottom: 10px;
     2875            font-size: 14px ;
     2876        }
     2877        a {
     2878            color: #21759B;
     2879            text-decoration: none;
     2880        }
     2881        a:hover {
     2882            color: #D54E21;
     2883        }
    28732884        <?php if ( 'rtl' == $text_direction ) : ?>
    2874         body { font-family: Tahoma, arial; }
     2885        body { font-family: Tahoma, Arial; }
    28752886        <?php endif; ?>
    28762887    </style>
  • trunk/wp-includes/script-loader.php

    r19290 r19297  
    449449
    450450    $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20111110' );
    451     $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20111107' ); // Readme as well
     451    $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20111115' ); // Readme as well
    452452    $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
    453453    $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
  • trunk/wp-load.php

    r18375 r19297  
    5454    require_once( ABSPATH . '/wp-includes/plugin.php' );
    5555    $text_direction = /*WP_I18N_TEXT_DIRECTION*/'ltr'/*/WP_I18N_TEXT_DIRECTION*/;
    56     wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress &rsaquo; Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
     56    wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"<p>There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started.</p> <p>Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>.</p> <p>You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a></p>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress &rsaquo; Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
    5757
    5858}
Note: See TracChangeset for help on using the changeset viewer.