Image editor icons, props Ben Dunkle, fixes #10979

git-svn-id: https://develop.svn.wordpress.org/trunk@12363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-12-10 09:22:01 +00:00
parent c357915942
commit 139414023c
9 changed files with 80 additions and 25 deletions

File diff suppressed because one or more lines are too long

View File

@ -1683,15 +1683,15 @@ div.widgets-sortables,
} }
.imgedit-menu div:hover { .imgedit-menu div:hover {
border-color: #b1b1b1; border-color: #c1c1c1;
background-color: #e3e3e3; background-color: #eaeaea;
} }
.imgedit-menu div.disabled { .imgedit-menu div.disabled {
border-color: #b3b3b3; border-color: #ccc;
background-color: #cacaca; background-color: #ddd;
filter: alpha(opacity=40); filter: alpha(opacity=50);
opacity: 0.4; opacity: 0.5;
} }
#dashboard_recent_comments div.undo { #dashboard_recent_comments div.undo {

File diff suppressed because one or more lines are too long

View File

@ -1672,15 +1672,15 @@ div.widgets-sortables,
} }
.imgedit-menu div:hover { .imgedit-menu div:hover {
border-color: #b1b1b1; border-color: #c1c1c1;
background-color: #e3e3e3; background-color: #eaeaea;
} }
.imgedit-menu div.disabled { .imgedit-menu div.disabled {
border-color: #b3b3b3; border-color: #ccc;
background-color: #cacaca; background-color: #ddd;
filter: alpha(opacity=40); filter: alpha(opacity=50);
opacity: 0.4; opacity: 0.5;
} }
#dashboard_recent_comments div.undo { #dashboard_recent_comments div.undo {

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

View File

@ -3404,8 +3404,8 @@ td.imgedit-settings input {
.imgedit-menu div { .imgedit-menu div {
float: left; float: left;
width: 34px; width: 32px;
height: 34px; height: 32px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
-khtml-border-radius: 4px; -khtml-border-radius: 4px;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
@ -3419,40 +3419,95 @@ td.imgedit-settings input {
} }
.imgedit-crop { .imgedit-crop {
background: transparent url(images/imgedit.gif) no-repeat scroll -62px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -9px -31px;
margin: 0 8px 0 0; margin: 0 8px 0 0;
} }
.imgedit-crop.disabled:hover {
background-position: -9px -31px;
}
.imgedit-crop:hover {
background-position: -9px -1px;
}
.imgedit-rleft { .imgedit-rleft {
background: transparent url(images/imgedit.gif) no-repeat scroll -31px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -46px -31px;
margin: 0 3px; margin: 0 3px;
} }
.imgedit-rleft.disabled:hover {
background-position: -46px -31px;
}
.imgedit-rleft:hover {
background-position: -46px -1px;
}
.imgedit-rright { .imgedit-rright {
background: transparent url(images/imgedit.gif) no-repeat scroll 1px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -77px -31px;
margin: 0 8px 0 3px; margin: 0 8px 0 3px;
} }
.imgedit-rright.disabled:hover {
background-position: -77px -31px;
}
.imgedit-rright:hover {
background-position: -77px -1px;
}
.imgedit-flipv { .imgedit-flipv {
background: transparent url(images/imgedit.gif) no-repeat scroll -127px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -115px -31px;
margin: 0 3px; margin: 0 3px;
} }
.imgedit-flipv.disabled:hover {
background-position: -115px -31px;
}
.imgedit-flipv:hover {
background-position: -115px -1px;
}
.imgedit-fliph { .imgedit-fliph {
background: transparent url(images/imgedit.gif) no-repeat scroll -95px 3px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -147px -31px;
margin: 0 8px 0 3px; margin: 0 8px 0 3px;
} }
.imgedit-fliph.disabled:hover {
background-position: -147px -31px;
}
.imgedit-fliph:hover {
background-position: -147px -1px;
}
.imgedit-undo { .imgedit-undo {
background: transparent url(images/imgedit.gif) no-repeat scroll -161px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -184px -31px;
margin: 0 3px; margin: 0 3px;
} }
.imgedit-undo.disabled:hover {
background-position: -184px -31px;
}
.imgedit-undo:hover {
background-position: -184px -1px;
}
.imgedit-redo { .imgedit-redo {
background: transparent url(images/imgedit.gif) no-repeat scroll -195px 2px; background: transparent url(images/imgedit-icons.png) no-repeat scroll -215px -31px;
margin: 0 8px 0 3px; margin: 0 8px 0 3px;
} }
.imgedit-redo.disabled:hover {
background-position: -215px -31px;
}
.imgedit-redo:hover {
background-position: -215px -1px;
}
.imgedit-applyto img { .imgedit-applyto img {
margin: 0 8px 0 0; margin: 0 8px 0 0;

View File

@ -426,7 +426,7 @@ function wp_default_styles( &$styles ) {
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' ); $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
// 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 = '20091207'; $colors_version = '20091210';
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091210' ); $styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091210' );
$styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" ); $styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );