WordPress.org

Make WordPress Core

Changeset 8733


Ignore:
Timestamp:
08/26/2008 12:40:10 AM (10 years ago)
Author:
azaozz
Message:

New colors and small improvements for the pwd strength meter, includes patch by Simek, fixes #7588

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r8726 r8733  
    404404#pass-strength-result {
    405405    background-color: #e3e3e3;
    406     border-color: #000;
     406    border-color: #ccc !important;
    407407}
    408408
    409409#pass-strength-result.bad {
    410     background-color: #ffeff7;
    411     border-color: #c69;
     410    background-color: #ffb78c;
     411    border-color: #ff853c !important;
    412412}
    413413
    414414#pass-strength-result.good {
    415     background-color: #effff4;
    416     border-color: #66cc87;
     415    background-color: #ffec8b;
     416    border-color: #fc0 !important;
    417417}
    418418
    419419#pass-strength-result.short {
    420     background-color: #e3e3e3;
     420    background-color: #ffa0a0;
     421    border-color: #f04040 !important;
    421422}
    422423
    423424#pass-strength-result.strong {
    424     background-color: #59ef86;
    425     border-color: #319f52;
     425    background-color: #c3ff88;
     426    border-color: #8dff1c !important;
    426427}
    427428
  • trunk/wp-admin/css/colors-fresh.css

    r8726 r8733  
    388388
    389389#pass-strength-result {
    390     background-color: #e3e3e3;
    391     border-color: #000;
     390    background-color: #eee;
     391    border-color: #ddd !important;
    392392}
    393393
    394394#pass-strength-result.bad {
    395     background-color: #ffeff7;
    396     border-color: #c69;
     395    background-color: #ffb78c;
     396    border-color: #ff853c !important;
    397397}
    398398
    399399#pass-strength-result.good {
    400     background-color: #effff4;
    401     border-color: #66cc87;
     400    background-color: #ffec8b;
     401    border-color: #fc0 !important;
    402402}
    403403
    404404#pass-strength-result.short {
    405     background-color: #e3e3e3;
     405    background-color: #ffa0a0;
     406    border-color: #f04040 !important;
    406407}
    407408
    408409#pass-strength-result.strong {
    409     background-color: #59ef86;
    410     border-color: #319f52;
     410    background-color: #c3ff88;
     411    border-color: #8dff1c !important;
    411412}
    412413
  • trunk/wp-admin/user-edit.php

    r8722 r8733  
    341341    <td><input type="password" name="pass1" id="pass1" size="16" value="" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br />
    342342        <input type="password" name="pass2" id="pass2" size="16" value="" /> <?php _e("Type your new password again."); ?><br />
    343         <?php if ( $is_profile_page ): ?>
    344         <p><strong><?php _e('Password Strength'); ?></strong></p>
    345         <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
     343    <?php if ( $is_profile_page ): ?>
     344        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    346345        <p><?php _e('Hint: Your password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
    347         <?php endif; ?>
     346    <?php endif; ?>
    348347    </td>
    349348</tr>
  • trunk/wp-admin/wp-admin.css

    r8726 r8733  
    1 .plugins .name {
     1.plugins .name,
     2#pass-strength-result.strong,
     3#pass-strength-result.short,
     4.button-highlighted,
     5#quicktags #ed_strong,
     6#ed_reply_toolbar #ed_reply_strong {
    27    font-weight: bold;
    38}
     
    232237}
    233238
    234 .button-highlighted {
    235     font-weight: bold;
    236 }
    237 
    238239#wpcontent select {
    239240    font: 12px/20px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
     
    328329    line-height: 18px;
    329330    display: inline-block;
    330 }
    331 
    332 #quicktags #ed_strong,
    333 #ed_reply_toolbar #ed_reply_strong {
    334     font-weight: bold;
    335331}
    336332
     
    586582
    587583#pass-strength-result {
    588     padding: 3px 5px 3px 5px;
    589     margin-top: 3px;
     584    border-style: solid;
     585    border-width: 1px;
     586    float: left;
     587    margin: 12px 5px 5px 1px;
     588    padding: 3px 5px;
    590589    text-align: center;
    591     border-width: 1px;
    592     border-style: solid;
     590    width: 200px;
    593591}
    594592
     
    10211019}
    10221020
    1023 #pass-strength-result {
    1024     width: 197px;
    1025     float: left;
    1026     margin-right: 5px;
    1027     border: 1px solid #ccc !important;
    1028 }
    1029 
    10301021#profile-page .form-table #rich_editing {
    10311022    margin-right: 5px
Note: See TracChangeset for help on using the changeset viewer.