Stop themes and plugins from overriding the admin bar CSS, props johnjamesjacoby, fixes #17107

git-svn-id: http://svn.automattic.com/wordpress/trunk@17626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-04-11 07:51:53 +00:00
parent 24599d17f0
commit b536e532f0
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,9 @@
text-transform: none;
letter-spacing: normal;
line-height: 1;
font: normal 12px/28px Arial, Helvetica, sans-serif;
color: #ddd;
text-shadow: #555 0px -1px 0px;
}
#wpadminbar :before,
@ -73,11 +76,8 @@
#wpadminbar .quicklinks a,
#wpadminbar .shortlink-input {
color: #ddd;
height: 28px;
text-shadow: #555 0px -1px 0px;
display: block;
font: normal 13px/28px Arial, Helvetica, sans-serif;
padding: 0 0.85em;
margin: 0;
}

View File

@ -504,7 +504,7 @@ function wp_default_styles( &$styles ) {
$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( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110325' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110411' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
$styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101224' );