mirror of
https://github.com/WordPress/WordPress.git
synced 2025-04-07 04:26:02 +02:00
Admin bar: re-center the search box, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a674ecca95
commit
e7ed3a651d
File diff suppressed because one or more lines are too long
@ -393,27 +393,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar #adminbarsearch {
|
#wpadminbar #adminbarsearch {
|
||||||
height: 24px;
|
height: 28px;
|
||||||
padding: 2px 4px;
|
padding: 0 2px;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar #adminbarsearch .adminbar-input {
|
#wpadminbar #adminbarsearch .adminbar-input {
|
||||||
height: 23px;
|
font: 13px/24px sans-serif;
|
||||||
line-height: 23px;
|
height: 24px;
|
||||||
width: 140px;
|
width: 140px;
|
||||||
font: 13px sans-serif;
|
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 3px 0 23px;
|
padding: 0 3px 0 23px;
|
||||||
margin: 0 3px 0 0;
|
margin: 0 3px 0 0;
|
||||||
|
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
text-shadow: #444 0px -1px 0px;
|
text-shadow: #444 0px -1px 0px;
|
||||||
background-color: rgba( 255, 255, 255, 0 );
|
background-color: rgba( 255, 255, 255, 0 );
|
||||||
|
|
||||||
background-image: url(../images/admin-bar-sprite.png?d=11182010);
|
background-image: url(../images/admin-bar-sprite.png?d=11182010);
|
||||||
background-position: 3px 1px;
|
background-position: 3px 1px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
outline: none;
|
||||||
|
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@ -426,7 +423,6 @@
|
|||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-ms-box-sizing: border-box;
|
-ms-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
outline: none;
|
|
||||||
|
|
||||||
-webkit-transition-duration: 400ms;
|
-webkit-transition-duration: 400ms;
|
||||||
-webkit-transition-property: width, background;
|
-webkit-transition-property: width, background;
|
||||||
@ -439,6 +435,10 @@
|
|||||||
-o-transition-timing-function: ease;
|
-o-transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wpadminbar.ie7 #adminbarsearch .adminbar-input {
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
#wpadminbar #adminbarsearch .adminbar-input:focus {
|
#wpadminbar #adminbarsearch .adminbar-input:focus {
|
||||||
color: #555;
|
color: #555;
|
||||||
text-shadow: 0 1px 0 #fff;
|
text-shadow: 0 1px 0 #fff;
|
||||||
|
@ -454,7 +454,7 @@ function wp_default_styles( &$styles ) {
|
|||||||
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
|
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
|
||||||
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
|
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
|
||||||
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
|
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
|
||||||
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111119' );
|
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111120' );
|
||||||
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20111107' );
|
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20111107' );
|
||||||
$styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111114' );
|
$styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111114' );
|
||||||
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111114' );
|
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111114' );
|
||||||
|
Loading…
Reference in New Issue
Block a user