Admin bar: add class for IE9 and fix background color in search, props SergeyBiryukov, see #19151

git-svn-id: https://develop.svn.wordpress.org/trunk@19407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-11-22 21:35:08 +00:00
parent 3316f10905
commit 91431801a1
3 changed files with 8 additions and 1 deletions

View File

@ -150,6 +150,8 @@ class WP_Admin_Bar {
$class .= ' ie7';
elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8' ) )
$class .= ' ie8';
elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) )
$class .= ' ie9';
} elseif ( $is_iphone ) {
$class .= ' mobile';
}

File diff suppressed because one or more lines are too long

View File

@ -440,6 +440,11 @@
margin-top: 1px;
}
#wpadminbar.ie9 #adminbarsearch .adminbar-input,
#wpadminbar.ie9 #adminbarsearch .adminbar-input:focus {
background-color: #fff;
}
#wpadminbar #adminbarsearch .adminbar-input:focus {
color: #555;
text-shadow: 0 1px 0 #fff;