Make WordPress Core

Changeset 26441


Ignore:
Timestamp:
11/27/2013 10:35:25 PM (11 years ago)
Author:
iammattthomas
Message:

Updating the #wp-auth-check login form to match the new admin design:

  • Remove border-radius on the container and add a box shadow
  • Style the top bar background to match the new #eee page background
  • Replace the close button PNG with a Dashicon
  • Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.

See #25858.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/buttons.css

    r26433 r26441  
    280280
    281281    .wp-core-ui .button,
    282     .wp-core-ui .button:active, /* Override non-responsive active styles in buttons.css */
    283282    input#publish,
    284283    input#save-post,
  • trunk/src/wp-includes/css/wp-auth-check.css

    r24695 r26441  
    2929    margin: 0 0 0 -190px;
    3030    padding: 30px 0 0;
    31     background-color: #fbfbfb;
    32     -webkit-border-radius: 3px;
    33     border-radius: 3px;
     31    background-color: #eee;
    3432    z-index: 1000001;
     33    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.3);
     34    box-shadow:         0 3px 6px rgba(0,0,0,0.3);
    3535}
    3636
     
    5656    top: 8px;
    5757    right: 8px;
    58     height: 14px;
    59     width: 14px;
     58    height: 22px;
     59    width: 22px;
    6060    cursor: pointer;
    61     background-image: url(../images/uploader-icons.png);
    62     background-repeat: no-repeat;
    63     background-position: -100px 0;
     61}
     62
     63#wp-auth-check-wrap .wp-auth-check-close:before {
     64    content: '\f158';
     65    display: block !important;
     66    font: normal 20px/1 'dashicons';
     67    speak: none;
     68    height: 22px;
     69    margin: 2px 0;
     70    text-align: center;
     71    width: 22px;
     72    color: #777;
     73    -webkit-font-smoothing: antialiased !important;
     74}
     75
     76#wp-auth-check-wrap .wp-auth-check-close:hover:before {
     77    color: #0074a2;
    6478}
    6579
     
    8397    display: block;
    8498}
    85 
    86 @media print,
    87   (-o-min-device-pixel-ratio: 5/4),
    88   (-webkit-min-device-pixel-ratio: 1.25),
    89   (min-resolution: 120dpi) {
    90     #wp-auth-check-wrap .wp-auth-check-close {
    91         background-image: url(../images/uploader-icons-2x.png);
    92         background-size: 134px 15px;
    93     }
    94 }
Note: See TracChangeset for help on using the changeset viewer.