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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-11-02 15:35:10 +00:00
parent 81a1c190c4
commit 66e9cbb8e1
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;
}
#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 );