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

git-svn-id: http://svn.automattic.com/wordpress/trunk@19407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-11-22 21:35:08 +00:00
parent b4debb9648
commit 34d1e6c8f2
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;