Make WordPress Core

Ticket #34904: 34904-link-and-adminbar-focus-borders.diff

File 34904-link-and-adminbar-focus-borders.diff, 4.3 KB (added by kjellr, 4 years ago)
  • src/wp-admin/css/common.css

     
    272272a:focus .media-icon img,
    273273.wp-person a:focus .gravatar {
    274274        color: #124964;
    275         outline: 1px dotted #555d66;
     275        outline: 2px solid #007cba;
     276        outline-offset: 2px;
    276277}
    277278
    278279.ie8 a:focus {
     
    279280        outline: #5b9dd9 solid 1px;
    280281}
    281282
    282 #adminmenu a:focus {
    283         outline: 1px dotted #555d66;
    284         outline-offset: -1px;
     283#adminmenu a:focus,
     284#wpadminbar a:focus {
     285        outline: 2px solid #fff;
     286        outline-offset: -2px;
    285287}
    286288
    287289.screen-reader-text:focus {
     
    834836}
    835837
    836838.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
    837         outline: 1px dotted #555d66;
     839        outline: 2px solid #007cba;
    838840}
    839841
    840842.key-labels label {
     
    14331435}
    14341436
    14351437.notice-dismiss:focus {
    1436         outline: 1px dotted #555d66;
     1438        outline: 2px solid #007cba;
    14371439}
    14381440
    14391441.ie8 .notice-dismiss:focus {
     
    30663068}
    30673069
    30683070.js .postbox .handlediv:focus .toggle-indicator:before {
    3069         outline: 1px dotted #555d66;
     3071        box-shadow: 0 0 0 2px #007cba;
     3072        /* Only visible in Windows High Contrast mode */
     3073        outline: 2px solid transparent;
    30703074}
    30713075
    30723076/* @todo: appears to be Press This only and overridden */
     
    31603164}
    31613165[role="treeitem"] .folder-label.focus {
    31623166        color: #124964;
    3163         outline: 1px dotted #555d66;
     3167        outline: 2px solid #007cba;
    31643168}
    31653169[role="treeitem"].hover,
    31663170[role="treeitem"] .folder-label.hover {
     
    33873391}
    33883392
    33893393.widget-top .widget-action:focus .toggle-indicator:before {
    3390         outline: 1px dotted #555d66;
     3394        box-shadow: 0 0 0 2px #007cba;
     3395        /* Only visible in Windows High Contrast mode */
     3396        outline: 2px solid transparent;
    33913397}
    33923398
    33933399.control-section .accordion-section-title:after,
  • src/wp-admin/css/customize-nav-menus.css

     
    868868.menu-delete:focus,
    869869.menu-item-bar .item-delete:focus:before,
    870870#available-menu-items .item-add:focus:before {
    871         box-shadow:
    872                 0 0 0 1px #5b9dd9,
    873                 0 0 2px 1px rgba(30, 140, 190, 0.8);
     871        box-shadow: 0 0 0 2px #007cba;
     872        /* Only visible in Windows High Contrast mode */
     873        outline: 2px solid transparent;
    874874}
    875875
    876876
  • src/wp-admin/css/login.css

     
    3232
    3333a:focus {
    3434        color: #124964;
    35         outline: 1px dotted #555d66;
     35        outline: 2px solid #007cba;
     36        outline-offset: 2px;
    3637}
    3738
    3839p {
  • src/wp-admin/css/site-health.css

     
    322322        border: none;
    323323        box-shadow: none;
    324324        outline-offset: -2px;
    325         outline: 1px dotted #555d66;
     325        outline: 2px solid #007cba;
    326326}
    327327
    328328.health-check-accordion-trigger .title {
  • src/wp-admin/css/themes.css

     
    178178}
    179179
    180180.theme-browser .theme:focus {
    181         outline: 1px dotted #555d66;
     181        outline: 2px solid #007cba;
    182182}
    183183
    184184.theme-browser .theme:focus .more-details {
  • src/wp-admin/css/widgets.css

     
    327327}
    328328
    329329.sidebar-name .handlediv:focus .toggle-indicator:before {
    330         box-shadow:
    331                 0 0 0 1px #5b9dd9,
    332                 0 0 2px 1px rgba(30, 140, 190, 0.8);
     330        box-shadow: 0 0 0 2px #007cba;
     331        /* Only visible in Windows High Contrast mode */
     332        outline: 2px solid transparent;
    333333}
    334334
    335335.sidebar-name h2,
  • src/wp-includes/css/buttons.css

     
    208208
    209209.wp-core-ui .button-link:focus {
    210210        color: #124964;
    211         outline: 1px dotted #555d66;
     211        outline: 2px solid #007cba;
     212        outline-offset: 2px;
    212213}
    213214
    214215.wp-core-ui .button-link-delete {