Make WordPress Core

Ticket #56789: 56789.reorganizing.patch

File 56789.reorganizing.patch, 1.3 KB (added by sabernhardt, 2 years ago)

moving some CSS properties from :focus state to unfocused link selector

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

     
    141141.screen-reader-shortcut {
    142142        position: absolute;
    143143        top: -1000em;
    144 }
    145 
    146 .screen-reader-shortcut:focus {
    147144        left: 6px;
    148         top: -25px;
    149145        height: auto;
    150146        width: auto;
    151147        display: block;
     
    156152        color: #2271b1;
    157153        z-index: 100000;
    158154        line-height: normal;
     155}
     156
     157.screen-reader-shortcut:focus {
     158        top: -25px;
     159        color: #2271b1;
    159160        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    160161        text-decoration: none;
    161162        /* Only visible in Windows High Contrast mode */
  • src/wp-includes/css/admin-bar.css

     
    719719#wpadminbar .screen-reader-shortcut {
    720720        position: absolute;
    721721        top: -1000em;
    722 }
    723 
    724 #wpadminbar .screen-reader-shortcut:focus {
    725722        left: 6px;
    726         top: 7px;
    727723        height: auto;
    728724        width: auto;
    729725        display: block;
     
    735731        z-index: 100000;
    736732        line-height: normal;
    737733        text-decoration: none;
     734}
     735
     736#wpadminbar .screen-reader-shortcut:focus {
     737        top: 7px;
     738        background: #f0f0f1;
    738739        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    739740}
    740741