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

git-svn-id: https://develop.svn.wordpress.org/trunk@22285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-10-23 19:55:35 +00:00
parent db18f7c749
commit 079288f0c8
3 changed files with 6 additions and 8 deletions

View File

@ -280,10 +280,9 @@ td.help {
.ui-autocomplete {
background-color: #eff8ff;
border-color: #d1e5ee;
}
.ui-autocomplete li a.ui-state-hover {
.ui-autocomplete li a.ui-state-focus {
background-color: #def1ff;
}

View File

@ -276,10 +276,9 @@ td.help {
.ui-autocomplete {
background-color: #efefef;
border-color: #bbb;
}
.ui-autocomplete li a.ui-state-hover {
.ui-autocomplete li a.ui-state-focus {
background-color: #ddd;
}

View File

@ -189,7 +189,8 @@ TABLE OF CONTENTS:
/* Hide visually but not from screen readers */
.screen-reader-text,
.screen-reader-text span {
.screen-reader-text span,
.ui-helper-hidden-accessible {
position: absolute;
left: -1000em;
top: -1000em;
@ -948,8 +949,7 @@ ul#add-to-blog-users {
z-index: 10000;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-width: 1px;
border-style: solid;
border: 1px solid #a1a1a1;
}
.ui-autocomplete li {
@ -964,7 +964,7 @@ ul#add-to-blog-users {
padding: 4px 10px;
}
.ui-autocomplete li a.ui-state-hover {
.ui-autocomplete li a.ui-state-focus {
cursor: pointer;
}