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

git-svn-id: https://develop.svn.wordpress.org/trunk@17626 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-04-11 07:51:53 +00:00
parent 4c572d1f03
commit ed73beade5
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; text-transform: none;
letter-spacing: normal; letter-spacing: normal;
line-height: 1; line-height: 1;
font: normal 12px/28px Arial, Helvetica, sans-serif;
color: #ddd;
text-shadow: #555 0px -1px 0px;
} }
#wpadminbar :before, #wpadminbar :before,
@ -73,11 +76,8 @@
#wpadminbar .quicklinks a, #wpadminbar .quicklinks a,
#wpadminbar .shortlink-input { #wpadminbar .shortlink-input {
color: #ddd;
height: 28px; height: 28px;
text-shadow: #555 0px -1px 0px;
display: block; display: block;
font: normal 13px/28px Arial, Helvetica, sans-serif;
padding: 0 0.85em; padding: 0 0.85em;
margin: 0; 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( '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( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' ); $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( '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' ); $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101224' );