Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.

git-svn-id: https://develop.svn.wordpress.org/trunk@14383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-03 19:12:19 +00:00
parent 1796f678ff
commit d2e1c94321
3 changed files with 16 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -580,9 +580,11 @@ input.readonly, textarea.readonly {
}
#footer {
background: #eee;
border-color: #d4d4d4;
color: #777;
border-color: #d1d1d1;
background: #d9d9d9; /* fallback color */
background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4);
background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4));
}
#media-items,
@ -705,7 +707,10 @@ table.widefat span.spam a,
}
#wphead {
background: url(../images/admin-header-footer.png) top left repeat-x;
border-bottom:#c6c6c6 1px solid;
background: #d9d9d9; /* fallback color */
background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4);
background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4));
}
#wphead h1 a {
@ -713,7 +718,7 @@ table.widefat span.spam a,
}
#user_info {
color: #999;
color: #777;
}
#user_info a:link,
@ -1487,12 +1492,14 @@ fieldset.inline-edit-col-right .inline-edit-col {
}
#favorite-first {
border-color: #ccc;
background: url(../images/fav-top.png) top left repeat-x;
border-color: #c0c0c0;
background: #f1f1f1; /* fallback color */
background:-moz-linear-gradient(bottom, #e7e7e7, #fff);
background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));
}
#favorite-inside {
border-color: #ccc;
border-color: #c0c0c0;
background-color: #fff;
}

View File

@ -448,7 +448,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100430';
$colors_version = '20100503';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version );