mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
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:
parent
b4debb9648
commit
34d1e6c8f2
@ -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
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user