Make WordPress Core

Changeset 22285


Ignore:
Timestamp:
10/23/2012 07:55:35 PM (12 years ago)
Author:
ryan
Message:

Update autocomplete CSS to make nice with jQuery UI 1.9. Give ui-helper-hidden-accessible the same treatment as screen-reader-text. Props helenyhou. fixes #22166

Location:
trunk/wp-admin/css
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r22284 r22285  
    281281.ui-autocomplete {
    282282    background-color: #eff8ff;
    283     border-color: #d1e5ee;
    284 }
    285 
    286 .ui-autocomplete li a.ui-state-hover {
     283}
     284
     285.ui-autocomplete li a.ui-state-focus {
    287286    background-color: #def1ff;
    288287}
  • trunk/wp-admin/css/colors-fresh.css

    r22284 r22285  
    277277.ui-autocomplete {
    278278    background-color: #efefef;
    279     border-color: #bbb;
    280 }
    281 
    282 .ui-autocomplete li a.ui-state-hover {
     279}
     280
     281.ui-autocomplete li a.ui-state-focus {
    283282    background-color: #ddd;
    284283}
  • trunk/wp-admin/css/wp-admin.css

    r22282 r22285  
    190190/* Hide visually but not from screen readers */
    191191.screen-reader-text,
    192 .screen-reader-text span {
     192.screen-reader-text span,
     193.ui-helper-hidden-accessible {
    193194    position: absolute;
    194195    left: -1000em;
     
    949950    border-bottom-right-radius: 3px;
    950951    border-bottom-left-radius: 3px;
    951     border-width: 1px;
    952     border-style: solid;
     952    border: 1px solid #a1a1a1;
    953953}
    954954
     
    965965}
    966966
    967 .ui-autocomplete li a.ui-state-hover {
     967.ui-autocomplete li a.ui-state-focus {
    968968    cursor: pointer;
    969969}
Note: See TracChangeset for help on using the changeset viewer.