Image editor icons, props Ben Dunkle, fixes #10979

git-svn-id: http://svn.automattic.com/wordpress/trunk@12363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-12-10 09:22:01 +00:00
parent 182ec07a44
commit 168d6af9ac
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 {
border-color: #b1b1b1;
background-color: #e3e3e3;
border-color: #c1c1c1;
background-color: #eaeaea;
}
.imgedit-menu div.disabled {
border-color: #b3b3b3;
background-color: #cacaca;
filter: alpha(opacity=40);
opacity: 0.4;
border-color: #ccc;
background-color: #ddd;
filter: alpha(opacity=50);
opacity: 0.5;
}
#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 {
border-color: #b1b1b1;
background-color: #e3e3e3;
border-color: #c1c1c1;
background-color: #eaeaea;
}
.imgedit-menu div.disabled {
border-color: #b3b3b3;
background-color: #cacaca;
filter: alpha(opacity=40);
opacity: 0.4;
border-color: #ccc;
background-color: #ddd;
filter: alpha(opacity=50);
opacity: 0.5;
}
#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 {
float: left;
width: 34px;
height: 34px;
width: 32px;
height: 32px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px;
@ -3419,40 +3419,95 @@ td.imgedit-settings input {
}
.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;
}
.imgedit-crop.disabled:hover {
background-position: -9px -31px;
}
.imgedit-crop:hover {
background-position: -9px -1px;
}
.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;
}
.imgedit-rleft.disabled:hover {
background-position: -46px -31px;
}
.imgedit-rleft:hover {
background-position: -46px -1px;
}
.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;
}
.imgedit-rright.disabled:hover {
background-position: -77px -31px;
}
.imgedit-rright:hover {
background-position: -77px -1px;
}
.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;
}
.imgedit-flipv.disabled:hover {
background-position: -115px -31px;
}
.imgedit-flipv:hover {
background-position: -115px -1px;
}
.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;
}
.imgedit-fliph.disabled:hover {
background-position: -147px -31px;
}
.imgedit-fliph:hover {
background-position: -147px -1px;
}
.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;
}
.imgedit-undo.disabled:hover {
background-position: -184px -31px;
}
.imgedit-undo:hover {
background-position: -184px -1px;
}
.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;
}
.imgedit-redo.disabled:hover {
background-position: -215px -31px;
}
.imgedit-redo:hover {
background-position: -215px -1px;
}
.imgedit-applyto img {
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' );
// 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_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );