Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
18513489e2
commit
e965a965d3
File diff suppressed because one or more lines are too long
|
@ -580,9 +580,11 @@ input.readonly, textarea.readonly {
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
background: #eee;
|
|
||||||
border-color: #d4d4d4;
|
|
||||||
color: #777;
|
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,
|
#media-items,
|
||||||
|
@ -705,7 +707,10 @@ table.widefat span.spam a,
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead {
|
#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 {
|
#wphead h1 a {
|
||||||
|
@ -713,7 +718,7 @@ table.widefat span.spam a,
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_info {
|
#user_info {
|
||||||
color: #999;
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_info a:link,
|
#user_info a:link,
|
||||||
|
@ -1487,12 +1492,14 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||||
}
|
}
|
||||||
|
|
||||||
#favorite-first {
|
#favorite-first {
|
||||||
border-color: #ccc;
|
border-color: #c0c0c0;
|
||||||
background: url(../images/fav-top.png) top left repeat-x;
|
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 {
|
#favorite-inside {
|
||||||
border-color: #ccc;
|
border-color: #c0c0c0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -448,7 +448,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||||
|
|
||||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
// 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.
|
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
|
||||||
$styles->add( 'colors', true, array(), $colors_version );
|
$styles->add( 'colors', true, array(), $colors_version );
|
||||||
|
|
Loading…
Reference in New Issue