Make WordPress Core

Changeset 33206


Ignore:
Timestamp:
07/13/2015 06:20:21 PM (10 years ago)
Author:
obenland
Message:

Passwords: Improve display of show/hide toggle for touch and small-screen devices.

See #32589.

File:
1 edited

Legend:

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

    r33172 r33206  
    495495}
    496496
    497 .pw-weak{
     497.pw-weak {
    498498    display:none;
    499499}
     
    12261226    }
    12271227
     1228    /* New Password */
     1229    .wp-pwd {
     1230        position: relative;
     1231    }
     1232
     1233    .wp-pwd [type="text"],
     1234    .wp-pwd [type="password"] {
     1235        padding-right: 40px;
     1236    }
     1237
     1238    .wp-pwd button.button {
     1239        background: transparent;
     1240        border: none;
     1241        -webkit-box-shadow: none;
     1242        box-shadow: none;
     1243        line-height: 2;
     1244        margin: 0;
     1245        padding: 5px 10px;
     1246        position: absolute;
     1247        right: 0;
     1248        top: 0;
     1249    }
     1250
     1251    .wp-pwd button.button:hover,
     1252    .wp-pwd button.button:focus,
     1253    .wp-pwd button.button:active {
     1254        background: transparent;
     1255    }
     1256
     1257    .wp-pwd .button .text {
     1258        display: none;
     1259    }
    12281260}
    12291261
    12301262@media only screen and (max-height: 480px) {
    12311263    /*  Request Credentials */
    1232     .request-filesystem-credentials-dialog  .notification-dialog{
     1264    .request-filesystem-credentials-dialog .notification-dialog{
    12331265        width: 100%;
    12341266        height: 100%;
Note: See TracChangeset for help on using the changeset viewer.