Make WordPress Core

Changeset 33275


Ignore:
Timestamp:
07/15/2015 12:11:50 AM (9 years ago)
Author:
obenland
Message:

Update password meter to match new color guidelines.

See: https://make.wordpress.org/design/handbook/foundations/colors/

Props melchoyce.
Fixes #32986.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r33206 r33275  
    233233}
    234234
    235 .form-invalid input, .form-invalid input:focus, 
     235.form-invalid input, .form-invalid input:focus,
    236236.form-invalid select, .form-invalid select:focus {
    237237    border-color: #dc3232 !important;
    238     -webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); 
    239     box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); 
     238    -webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
     239    box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
    240240}
    241241
     
    445445    background-color: #eee;
    446446    border: 1px solid #ddd;
     447    color: #23282d;
    447448    margin: -2px 5px 5px 1px;
    448449    padding: 3px 5px;
     
    456457
    457458#pass-strength-result.short {
     459    background-color: #f1adad;
     460    border-color: #e35b5b;
    458461    opacity: 1;
    459     background-color: #ffa0a0;
    460     border-color: #f04040;
    461462}
    462463
    463464#pass-strength-result.bad {
     465    background-color: #fbc5a9;
     466    border-color: #f78b53;
    464467    opacity: 1;
    465     background-color: #ffb78c;
    466     border-color: #ff853c;
    467468}
    468469
    469470#pass-strength-result.good {
     471    background-color: #ffe399;
     472    border-color: #ffc733;
    470473    opacity: 1;
    471     background-color: #ffec8b;
    472     border-color: #fc0;
    473474}
    474475
    475476#pass-strength-result.strong {
     477    background-color: #c1e1b9;
     478    border-color: #83c373;
    476479    opacity: 1;
    477     background-color: #c3ff88;
    478     border-color: #8dff1c;
    479480}
    480481
    481482#pass1.short {
    482     border-color: #f04040;
     483    border-color: #e35b5b;
    483484}
    484485
    485486#pass1.bad {
    486     border-color: #ff853c;
     487    border-color: #f78b53;
    487488}
    488489
    489490#pass1.good {
    490     border-color: #fc0;
     491    border-color: #ffc733;
    491492}
    492493
    493494#pass1.strong {
    494     border-color: #8dff1c;
     495    border-color: #83c373;
    495496}
    496497
  • trunk/src/wp-admin/css/install.css

    r33246 r33275  
    205205    background-color: #eee;
    206206    border: 1px solid #ddd;
     207    color: #23282d;
    207208    -webkit-box-sizing: border-box;
    208209    -moz-box-sizing: border-box;
     
    215216
    216217#pass-strength-result.short {
    217     background-color: #ffa0a0;
    218     border-color: #f04040;
     218    background-color: #f1adad;
     219    border-color: #e35b5b;
    219220    opacity: 1;
    220221}
    221222
    222223#pass-strength-result.bad {
    223     background-color: #ffb78c;
    224     border-color: #ff853c;
     224    background-color: #fbc5a9;
     225    border-color: #f78b53;
    225226    opacity: 1;
    226227}
    227228
    228229#pass-strength-result.good {
    229     background-color: #ffec8b;
    230     border-color: #fc0;
     230    background-color: #ffe399;
     231    border-color: #ffc733;
    231232    opacity: 1;
    232233}
    233234
    234235#pass-strength-result.strong {
    235     background-color: #c3ff88;
    236     border-color: #8dff1c;
     236    background-color: #c1e1b9;
     237    border-color: #83c373;
    237238    opacity: 1;
    238239}
    239240
    240241[name="admin_password"].short {
    241     border-color: #f04040;
     242    border-color: #e35b5b;
    242243}
    243244
    244245[name="admin_password"].bad {
    245     border-color: #ff853c;
     246    border-color: #f78b53;
    246247}
    247248
    248249[name="admin_password"].good {
    249     border-color: #fc0;
     250    border-color: #ffc733;
    250251}
    251252
    252253[name="admin_password"].strong {
    253     border-color: #8dff1c;
     254    border-color: #83c373;
    254255}
    255256
Note: See TracChangeset for help on using the changeset viewer.