Retina: fix the icon positions in the original editor buttons sprite, reset the css tweaks and adjust the positions in the 2x sprite, see #21019

git-svn-id: http://core.svn.wordpress.org/trunk@21295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-07-20 23:07:48 +00:00
parent 167124051b
commit af65e282d2
3 changed files with 37 additions and 37 deletions

View File

@ -687,10 +687,10 @@
.wp_themeSkin .mceButtonActive span.mce_bullist, .wp_themeSkin .mceButtonActive span.mce_bullist,
.wp_themeSkin .mceSplitButton:hover span.mce_bullist {background-position:-40px 0} .wp_themeSkin .mceSplitButton:hover span.mce_bullist {background-position:-40px 0}
.wp_themeSkin span.mce_numlist {background-position:-61px -20px} .wp_themeSkin span.mce_numlist {background-position:-60px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_numlist, .wp_themeSkin .mceButtonEnabled:hover span.mce_numlist,
.wp_themeSkin .mceButtonActive span.mce_numlist, .wp_themeSkin .mceButtonActive span.mce_numlist,
.wp_themeSkin .mceSplitButton:hover span.mce_numlist {background-position:-61px 0} .wp_themeSkin .mceSplitButton:hover span.mce_numlist {background-position:-60px 0}
.wp_themeSkin span.mce_blockquote {background-position:-80px -20px} .wp_themeSkin span.mce_blockquote {background-position:-80px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_blockquote, .wp_themeSkin .mceButtonEnabled:hover span.mce_blockquote,
@ -700,65 +700,65 @@
.wp_themeSkin .mceButtonEnabled:hover span.mce_charmap, .wp_themeSkin .mceButtonEnabled:hover span.mce_charmap,
.wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-420px 0} .wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-420px 0}
.wp_themeSkin span.mce_bold {background-position:-1px -20px} .wp_themeSkin span.mce_bold {background-position:0 -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_bold, .wp_themeSkin .mceButtonEnabled:hover span.mce_bold,
.wp_themeSkin .mceButtonActive span.mce_bold {background-position:-1px 0} .wp_themeSkin .mceButtonActive span.mce_bold {background-position:0 0}
.wp_themeSkin span.mce_italic {background-position:-21px -20px} .wp_themeSkin span.mce_italic {background-position:-20px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_italic, .wp_themeSkin .mceButtonEnabled:hover span.mce_italic,
.wp_themeSkin .mceButtonActive span.mce_italic {background-position:-21px 0} .wp_themeSkin .mceButtonActive span.mce_italic {background-position:-20px 0}
.wp_themeSkin span.mce_underline {background-position:-280px -19px} .wp_themeSkin span.mce_underline {background-position:-280px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_underline, .wp_themeSkin .mceButtonEnabled:hover span.mce_underline,
.wp_themeSkin .mceButtonActive span.mce_underline {background-position:-280px 1px} .wp_themeSkin .mceButtonActive span.mce_underline {background-position:-280px 0}
.wp_themeSkin span.mce_justifyleft {background-position:-100px -19px} .wp_themeSkin span.mce_justifyleft {background-position:-100px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyleft, .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyleft,
.wp_themeSkin .mceButtonActive span.mce_justifyleft {background-position:-100px 1px} .wp_themeSkin .mceButtonActive span.mce_justifyleft {background-position:-100px 0}
.wp_themeSkin span.mce_justifyright {background-position:-141px -19px} .wp_themeSkin span.mce_justifyright {background-position:-140px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyright, .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyright,
.wp_themeSkin .mceButtonActive span.mce_justifyright {background-position:-141px 1px} .wp_themeSkin .mceButtonActive span.mce_justifyright {background-position:-140px 0}
.wp_themeSkin span.mce_justifycenter {background-position:-120px -19px} .wp_themeSkin span.mce_justifycenter {background-position:-120px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_justifycenter, .wp_themeSkin .mceButtonEnabled:hover span.mce_justifycenter,
.wp_themeSkin .mceButtonActive span.mce_justifycenter {background-position:-120px 1px} .wp_themeSkin .mceButtonActive span.mce_justifycenter {background-position:-120px 0}
.wp_themeSkin span.mce_justifyfull {background-position:-300px -19px} .wp_themeSkin span.mce_justifyfull {background-position:-300px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyfull, .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyfull,
.wp_themeSkin .mceButtonActive span.mce_justifyfull {background-position:-300px 1px} .wp_themeSkin .mceButtonActive span.mce_justifyfull {background-position:-300px 0}
.wp_themeSkin span.mce_indent {background-position:-461px -19px} .wp_themeSkin span.mce_indent {background-position:-460px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_indent, .wp_themeSkin .mceButtonEnabled:hover span.mce_indent,
.wp_themeSkin .mceButtonActive span.mce_indent {background-position:-461px 1px} .wp_themeSkin .mceButtonActive span.mce_indent {background-position:-460px 0}
.wp_themeSkin span.mce_outdent {background-position:-440px -19px} .wp_themeSkin span.mce_outdent {background-position:-440px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_outdent, .wp_themeSkin .mceButtonEnabled:hover span.mce_outdent,
.wp_themeSkin .mceButtonActive span.mce_outdent {background-position:-440px 1px} .wp_themeSkin .mceButtonActive span.mce_outdent {background-position:-440px 0}
.wp_themeSkin span.mce_link {background-position:-161px -20px} .wp_themeSkin span.mce_link {background-position:-160px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_link, .wp_themeSkin .mceButtonEnabled:hover span.mce_link,
.wp_themeSkin .mceButtonActive span.mce_link {background-position:-161px 0} .wp_themeSkin .mceButtonActive span.mce_link {background-position:-160px 0}
.wp_themeSkin span.mce_unlink {background-position:-180px -20px} .wp_themeSkin span.mce_unlink {background-position:-180px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_unlink, .wp_themeSkin .mceButtonEnabled:hover span.mce_unlink,
.wp_themeSkin .mceButtonActive span.mce_unlink {background-position:-180px 0} .wp_themeSkin .mceButtonActive span.mce_unlink {background-position:-180px 0}
.wp_themeSkin span.mce_help {background-position:-521px -20px} .wp_themeSkin span.mce_help {background-position:-520px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_help, .wp_themeSkin .mceButtonEnabled:hover span.mce_help,
.wp_themeSkin .mceButtonActive span.mce_help {background-position:-521px 0} .wp_themeSkin .mceButtonActive span.mce_help {background-position:-520px 0}
.wp_themeSkin span.mce_removeformat {background-position:-381px -20px} .wp_themeSkin span.mce_removeformat {background-position:-380px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_removeformat, .wp_themeSkin .mceButtonEnabled:hover span.mce_removeformat,
.wp_themeSkin .mceButtonActive span.mce_removeformat {background-position:-381px 0} .wp_themeSkin .mceButtonActive span.mce_removeformat {background-position:-380px 0}
.wp_themeSkin span.mce_strikethrough {background-position:-540px -18px;} .wp_themeSkin span.mce_strikethrough {background-position:-540px -20px;}
.wp_themeSkin .mceButtonEnabled:hover span.mce_strikethrough, .wp_themeSkin .mceButtonEnabled:hover span.mce_strikethrough,
.wp_themeSkin .mceButtonActive span.mce_strikethrough {background-position:-540px 0} .wp_themeSkin .mceButtonActive span.mce_strikethrough {background-position:-540px 0}
.wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {background-position:-321px -22px} .wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {background-position:-320px -20px}
.wp_themeSkin .mceSplitButtonEnabled:hover span.mce_forecolor, .wp_themeSkin .mceSplitButtonEnabled:hover span.mce_forecolor,
.wp_themeSkin .mceSplitButtonActive span.mce_forecolor {background-position:-321px -2px} .wp_themeSkin .mceSplitButtonActive span.mce_forecolor {background-position:-320px 0}
.wp_themeSkin .mce_forecolorpicker {background-position:-320px -20px} .wp_themeSkin .mce_forecolorpicker {background-position:-320px -20px}
@ -771,9 +771,9 @@
.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_fullscreen, .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_fullscreen,
.wp_themeSkin .mceButtonActive span.mce_wp_fullscreen {background-position:-240px 0} .wp_themeSkin .mceButtonActive span.mce_wp_fullscreen {background-position:-240px 0}
.wp_themeSkin span.mce_media {background-position:-401px -20px} .wp_themeSkin span.mce_media {background-position:-400px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_media, .wp_themeSkin .mceButtonEnabled:hover span.mce_media,
.wp_themeSkin .mceButtonActive span.mce_media {background-position:-401px 0} .wp_themeSkin .mceButtonActive span.mce_media {background-position:-400px 0}
.wp_themeSkin span.mce_pastetext {background-position:-340px -20px} .wp_themeSkin span.mce_pastetext {background-position:-340px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext, .wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext,
@ -783,23 +783,23 @@
.wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword, .wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword,
.wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-360px 0} .wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-360px 0}
.wp_themeSkin span.mce_spellchecker {background-position:-220px -19px} .wp_themeSkin span.mce_spellchecker {background-position:-220px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker, .wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker,
.wp_themeSkin .mceSplitButtonEnabled:hover span.mce_spellchecker, .wp_themeSkin .mceSplitButtonEnabled:hover span.mce_spellchecker,
.wp_themeSkin .mceButtonActive span.mce_spellchecker, .wp_themeSkin .mceButtonActive span.mce_spellchecker,
.wp_themeSkin .mceSplitButtonActive span.mce_spellchecker {background-position:-220px 1px} .wp_themeSkin .mceSplitButtonActive span.mce_spellchecker {background-position:-220px 0}
.wp_themeSkin span.mce_wp_help {background-position:-521px -20px} .wp_themeSkin span.mce_wp_help {background-position:-520px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help, .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help,
.wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-521px 0} .wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-520px 0}
.wp_themeSkin span.mce_wp_adv {background-position:-260px -20px} .wp_themeSkin span.mce_wp_adv {background-position:-260px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_adv, .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_adv,
.wp_themeSkin .mceButtonActive span.mce_wp_adv {background-position:-260px 0} .wp_themeSkin .mceButtonActive span.mce_wp_adv {background-position:-260px 0}
.wp_themeSkin span.mce_wp_more {background-position:-201px -20px} .wp_themeSkin span.mce_wp_more {background-position:-200px -20px}
.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_more, .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_more,
.wp_themeSkin .mceButtonActive span.mce_wp_more {background-position:-201px 0} .wp_themeSkin .mceButtonActive span.mce_wp_more {background-position:-200px 0}
/* Default icons */ /* Default icons */
.wp_themeSkin span.mce_cleanup {background-position:-380px -20px} .wp_themeSkin span.mce_cleanup {background-position:-380px -20px}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 17 KiB