Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207.

git-svn-id: https://develop.svn.wordpress.org/trunk@16152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-11-02 15:35:10 +00:00
parent ba0b9ce455
commit 59d3fd59c4
7 changed files with 12 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -137,7 +137,7 @@ textarea.disabled {
.widget .widget-top,
.postbox h3,
.stuffbox h3 {
background: #dfdfdf url("../images/blue-grad.gif?ver=20101102") repeat-x left top;
background: #dfdfdf url("../images/blue-grad.png?ver=20101102") repeat-x left top;
text-shadow: #fff 0 1px 0;
}
@ -1519,17 +1519,12 @@ fieldset.inline-edit-col-right .inline-edit-col {
text-decoration: underline;
}
#screen-meta a.show-settings {
background-color: transparent;
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
}
#screen-meta .screen-meta-toggle {
background: #e3e0d6;
background: #e3e0d6;
}
#screen-meta a.show-settings {
background-image:url("../images/screen-options-right-vs.gif?ver=20100531");
background-image:url("../images/screen-options-toggle-vs.gif?ver=20100531");
}
#icon-edit,

File diff suppressed because one or more lines are too long

View File

@ -1520,8 +1520,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
}
#screen-meta a.show-settings {
background-color: transparent;
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
background-image:url("../images/screen-options-toggle.gif?ver=20100531");
}
#icon-edit,

File diff suppressed because one or more lines are too long

View File

@ -771,11 +771,9 @@ form.upgrade .hint {
font-size: 10px;
display: block;
background-repeat: no-repeat;
background-position: right bottom;
}
#screen-meta a.show-settings {
background-image: url( ../images/screen-options-right.gif?ver=20100531 );
background-position: top right;
background-color: transparent;
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
}
#screen-meta a.show-settings:hover {
@ -2456,10 +2454,6 @@ table.diff .diff-deletedline del, table.diff .diff-addedline ins {
margin: 0 0 8px;
}
#screen-meta a.show-settings {
background-image: url( ../images/screen-options-toggle.gif?ver=20100531 );
background-position: top right;
}
/* END */
#side-sortables .category-adder {

View File

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