Make WordPress Core

Ticket #29021: 29021.diff

File 29021.diff, 3.8 KB (added by celloexpressions, 11 years ago)

Use a subtle transition on color and background color, add missing focus selectors, remove focus outline/box-shadow.

  • src/wp-admin/css/common.css

     
    25072507        line-height: 48px;
    25082508        width: 48px;
    25092509        height: 48px;
     2510        transition: .1s color ease-in-out,
     2511                    .1s background ease-in-out;
    25102512}
    25112513
     2514body.plugin-install-php .tb-close-icon:focus,
    25122515body.plugin-install-php .tb-close-icon:hover,
     2516body.import-php .tb-close-icon:focus,
    25132517body.import-php .tb-close-icon:hover,
     2518body.plugins-php .tb-close-icon:focus,
    25142519body.plugins-php .tb-close-icon:hover,
     2520body.update-core-php .tb-close-icon:focus,
    25152521body.update-core-php .tb-close-icon:hover,
     2522body.index-php .tb-close-icon:focus,
    25162523body.index-php .tb-close-icon:hover {
    25172524        background: #0074a2;
    25182525        color: #fff;
     2526        outline: none;
     2527        -webkit-box-shadow: none;
     2528        box-shadow: none;
    25192529}
    25202530
    25212531body.plugin-install-php .tb-close-icon:before,
  • src/wp-admin/css/customize-controls.css

     
    176176        border-right: 1px solid #ddd;
    177177        color: #444;
    178178        cursor: pointer;
    179         -webkit-transition: color ease-in .1s;
    180         transition: color ease-in .1s;
     179        transition: .1s color ease-in-out,
     180                    .1s background ease-in-out;
    181181}
    182182
    183183.control-panel-back {
     
    192192        background: #eee;
    193193        border-right: 1px solid #ddd;
    194194        cursor: pointer;
    195         -webkit-transition: left ease-in-out .18s, color ease-in .1s;
    196         transition: left ease-in-out .18s, color ease-in .1s;
     195        transition: .18s left ease-in-out,
     196                    .1s color ease-in-out,
     197                    .1s background ease-in-out;
     198
    197199}
    198200
    199201.collapsed .control-panel-back {
  • src/wp-admin/css/themes.css

     
    431431        border: 0;
    432432        border-left: 1px solid #ddd;
    433433        background-color: transparent;
     434        transition: .1s color ease-in-out,
     435                    .1s background ease-in-out;
    434436}
    435437
    436438.theme-overlay .theme-header .close:hover:before,
     
    458460        text-align: center;
    459461        border: 0;
    460462        border-right: 1px solid #ddd;
     463        transition: .1s color ease-in-out,
     464                    .1s background ease-in-out;
    461465}
    462466
    463467.theme-overlay .theme-header .close:hover,
     
    468472.theme-overlay .theme-header .left:focus {
    469473        background: #0074a2;
    470474        color: #fff;
     475        outline: none;
     476        -webkit-box-shadow: none;
     477        box-shadow: none;
    471478}
    472479
    473480.theme-overlay .theme-header .left.disabled,
     
    13871394        color: #444;
    13881395        cursor: pointer;
    13891396        text-decoration: none;
    1390         -webkit-transition: color ease-in .1s;
    1391         transition: color ease-in .1s;
     1397        transition: .1s color ease-in-out,
     1398                    .1s background ease-in-out;
    13921399}
    13931400
    13941401.theme-install-overlay .close-full-overlay:hover,
  • src/wp-includes/css/media-views.css

     
    147147        height: 48px;
    148148        z-index: 1000;
    149149        color: #777;
     150        transition: .1s color ease-in-out,
     151                    .1s background ease-in-out;
    150152}
    151153
    152154.media-modal-close span.media-modal-icon {
     
    26772679        text-align: center;
    26782680        border: 0;
    26792681        border-left: 1px solid #ddd;
     2682        transition: .1s color ease-in-out,
     2683                    .1s background ease-in-out;
    26802684}
    26812685
    26822686.edit-attachment-frame .edit-media-header .left {
     
    27282732.edit-attachment-frame .edit-media-header .left:focus {
    27292733        background: #0074a2;
    27302734        color: #fff;
     2735        outline: none;
     2736        -webkit-box-shadow: none;
     2737        box-shadow: none;
    27312738}
    27322739
    27332740.edit-attachment-frame .media-frame-content,