Make WordPress Core

Changeset 17961


Ignore:
Timestamp:
05/18/2011 09:10:12 PM (13 years ago)
Author:
azaozz
Message:

New sprite for the TinyMCE buttons, props empireoflight, props saracannon, see #15986

Location:
trunk/wp-includes
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

    r17890 r17961  
    1414.wp_themeSkin .mceExternalToolbar {position:absolute; border-bottom:0; display:none}
    1515.wp_themeSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
    16 .wp_themeSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/wpicons.png) -820px 0}
     16.wp_themeSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0}
    1717
    1818/* Layout */
     
    3535    display: block;
    3636    float: right;
    37     background: url(../../img/wpicons.png) -800px 0;
     37    background: url(../../img/icons.gif) -800px 0;
    3838    width: 20px;
    3939    height: 20px;
     
    4545.wp_themeSkin .mceToolbar .mceToolbarEndListBox span {display:none}
    4646.wp_themeSkin span.mceIcon, .wp_themeSkin img.mceIcon {display:block; width:20px; height:20px}
    47 .wp_themeSkin .mceIcon {background:url(../../img/wpicons.png) no-repeat 20px 20px}
     47.wp_themeSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
     48
     49.wp_themeSkin span.mce_undo,
     50.wp_themeSkin span.mce_redo,
     51.wp_themeSkin span.mce_bullist,
     52.wp_themeSkin span.mce_numlist,
     53.wp_themeSkin span.mce_blockquote,
     54.wp_themeSkin span.mce_charmap,
     55.wp_themeSkin span.mce_bold,
     56.wp_themeSkin span.mce_italic,
     57.wp_themeSkin span.mce_underline,
     58.wp_themeSkin span.mce_justifyleft,
     59.wp_themeSkin span.mce_justifyright,
     60.wp_themeSkin span.mce_justifycenter,
     61.wp_themeSkin span.mce_justifyfull,
     62.wp_themeSkin span.mce_indent,
     63.wp_themeSkin span.mce_outdent,
     64.wp_themeSkin span.mce_link,
     65.wp_themeSkin span.mce_unlink,
     66.wp_themeSkin span.mce_help,
     67.wp_themeSkin span.mce_removeformat,
     68.wp_themeSkin  span.mce_forecolor,
     69.wp_themeSkin .mce_forecolorpicker,
     70.wp_themeSkin span.mce_fullscreen,
     71.wp_themeSkin span.mce_media,
     72.wp_themeSkin span.mce_pastetext,
     73.wp_themeSkin span.mce_pasteword,
     74.wp_themeSkin span.mce_spellchecker,
     75.wp_themeSkin span.mce_wp_help,
     76.wp_themeSkin span.mce_wp_adv,
     77.wp_themeSkin span.mce_wp_more,
     78.wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {
     79    background: url(../../img/wpicons.png) no-repeat 20px 20px;
     80}
     81
     82/* missing */
     83.wp_themeSkin span.mce_strikethrough {
     84    background: url(../../img/allicons.png) no-repeat 20px 20px;
     85    background-position:-120px 0;
     86}
    4887
    4988/* Button */
     
    194233}
    195234.wp_themeSkin .mceSplitButton span.mceAction {
    196     background-image: url(../../img/wpicons.png);
     235    background-image: url(../../img/icons.gif);
    197236    background-repeat: no-repeat;
    198237    background-color: transparent;
     
    303342
    304343/* Theme */
    305 .wp_themeSkin span.mce_undo {background-position:-159px 0}
     344.wp_themeSkin span.mce_undo {background-position: -500px -20px}
    306345.wp_themeSkin .mceButtonEnabled:hover span.mce_undo,
    307 .wp_themeSkin .mceButtonActive span.mce_undo {background-position:-159px -60px}
    308 
    309 .wp_themeSkin span.mce_redo {background-position:-100px 0}
     346.wp_themeSkin .mceButtonActive span.mce_undo {background-position:-500px 0}
     347
     348.wp_themeSkin span.mce_redo {background-position:-480px -20px}
    310349.wp_themeSkin .mceButtonEnabled:hover span.mce_redo,
    311 .wp_themeSkin .mceButtonActive span.mce_redo {background-position:-100px -60px}
    312 
    313 .wp_themeSkin span.mce_bullist {background-position:-20px 0}
     350.wp_themeSkin .mceButtonActive span.mce_redo {background-position:-480px 0}
     351
     352.wp_themeSkin span.mce_bullist {background-position:-40px -20px}
    314353.wp_themeSkin .mceButtonEnabled:hover span.mce_bullist,
    315 .wp_themeSkin .mceButtonActive span.mce_bullist {background-position:-20px -61px}
    316 
    317 .wp_themeSkin span.mce_numlist {background-position:-80px 0}
     354.wp_themeSkin .mceButtonActive span.mce_bullist {background-position:-40px 0}
     355
     356.wp_themeSkin span.mce_numlist {background-position:-61px -20px}
    318357.wp_themeSkin .mceButtonEnabled:hover span.mce_numlist,
    319 .wp_themeSkin .mceButtonActive span.mce_numlist {background-position:-80px -60px}
    320 
    321 .wp_themeSkin span.mce_blockquote {background-position:-220px 0}
     358.wp_themeSkin .mceButtonActive span.mce_numlist {background-position:-61px 0}
     359
     360.wp_themeSkin span.mce_blockquote {background-position:-80px -20px}
    322361.wp_themeSkin .mceButtonEnabled:hover span.mce_blockquote,
    323 .wp_themeSkin .mceButtonActive span.mce_blockquote {background-position:-220px -60px}
    324 
    325 .wp_themeSkin span.mce_charmap {background-position:-240px 0}
     362.wp_themeSkin .mceButtonActive span.mce_blockquote {background-position:-80px 0}
     363
     364.wp_themeSkin span.mce_charmap {background-position:-420px -20px}
    326365.wp_themeSkin .mceButtonEnabled:hover span.mce_charmap,
    327 .wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-240px -60px}
    328 
    329 .wp_themeSkin span.mce_bold {background-position:0 0}
    330 .wp_themeSkin span.mce_italic {background-position:-60px 0}
    331 .wp_themeSkin span.mce_underline {background-position:-141px 0}
    332 .wp_themeSkin span.mce_strikethrough {background-position:-120px 0}
    333 .wp_themeSkin span.mce_cleanup {background-position:-40px 0}
    334 .wp_themeSkin span.mce_justifyleft {background-position:-460px 0}
    335 .wp_themeSkin span.mce_justifyright {background-position:-480px 0}
    336 .wp_themeSkin span.mce_justifycenter {background-position:-420px 0}
    337 .wp_themeSkin span.mce_justifyfull {background-position:-440px 0}
     366.wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-420px 0}
     367
     368.wp_themeSkin span.mce_bold {background-position:-1px -20px}
     369.wp_themeSkin .mceButtonEnabled:hover span.mce_bold,
     370.wp_themeSkin .mceButtonActive span.mce_bold {background-position:-1px 0}
     371
     372.wp_themeSkin span.mce_italic {background-position:-21px -20px}
     373.wp_themeSkin .mceButtonEnabled:hover span.mce_italic,
     374.wp_themeSkin .mceButtonActive span.mce_italic {background-position:-21px 0}
     375
     376.wp_themeSkin span.mce_underline {background-position:-280px -19px}
     377.wp_themeSkin .mceButtonEnabled:hover span.mce_underline,
     378.wp_themeSkin .mceButtonActive span.mce_underline {background-position:-280px 1px}
     379
     380.wp_themeSkin span.mce_justifyleft {background-position:-100px -19px}
     381.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyleft,
     382.wp_themeSkin .mceButtonActive span.mce_justifyleft {background-position:-100px 1px}
     383
     384.wp_themeSkin span.mce_justifyright {background-position:-141px -19px}
     385.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyright,
     386.wp_themeSkin .mceButtonActive span.mce_justifyright {background-position:-141px 1px}
     387
     388.wp_themeSkin span.mce_justifycenter {background-position:-120px -19px}
     389.wp_themeSkin .mceButtonEnabled:hover span.mce_justifycenter,
     390.wp_themeSkin .mceButtonActive span.mce_justifycenter {background-position:-120px 1px}
     391
     392.wp_themeSkin span.mce_justifyfull {background-position:-300px -19px}
     393.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyfull,
     394.wp_themeSkin .mceButtonActive span.mce_justifyfull {background-position:-300px 1px}
     395
     396.wp_themeSkin span.mce_indent {background-position:-461px -19px}
     397.wp_themeSkin .mceButtonEnabled:hover span.mce_indent,
     398.wp_themeSkin .mceButtonActive span.mce_indent {background-position:-461px 1px}
     399
     400.wp_themeSkin span.mce_outdent {background-position:-440px -19px}
     401.wp_themeSkin .mceButtonEnabled:hover span.mce_outdent,
     402.wp_themeSkin .mceButtonActive span.mce_outdent {background-position:-440px 1px}
     403
     404.wp_themeSkin span.mce_link {background-position:-161px -20px}
     405.wp_themeSkin .mceButtonEnabled:hover span.mce_link,
     406.wp_themeSkin .mceButtonActive span.mce_link {background-position:-161px 0}
     407
     408.wp_themeSkin span.mce_unlink {background-position:-180px -20px}
     409.wp_themeSkin .mceButtonEnabled:hover span.mce_unlink,
     410.wp_themeSkin .mceButtonActive span.mce_unlink {background-position:-180px 0}
     411
     412.wp_themeSkin span.mce_help {background-position:-521px -20px}
     413.wp_themeSkin .mceButtonEnabled:hover span.mce_help,
     414.wp_themeSkin .mceButtonActive span.mce_help {background-position:-521px 0}
     415
     416.wp_themeSkin span.mce_removeformat {background-position:-381px -20px}
     417.wp_themeSkin .mceButtonEnabled:hover span.mce_removeformat,
     418.wp_themeSkin .mceButtonActive span.mce_removeformat {background-position:-381px 0}
     419
     420.wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {background-position:-321px -22px}
     421.wp_themeSkin .mceSplitButtonEnabled:hover span.mce_forecolor,
     422.wp_themeSkin .mceSplitButtonActive span.mce_forecolor {background-position:-321px -2px}
     423
     424.wp_themeSkin .mce_forecolorpicker {background-position:-320px -20px}
     425
     426/* Plugins in WP */
     427.wp_themeSkin span.mce_fullscreen {background-position:-240px -20px}
     428.wp_themeSkin .mceButtonEnabled:hover span.mce_fullscreen,
     429.wp_themeSkin .mceButtonActive span.mce_fullscreen {background-position:-240px 0}
     430
     431.wp_themeSkin span.mce_media {background-position:-401px -20px}
     432.wp_themeSkin .mceButtonEnabled:hover span.mce_media,
     433.wp_themeSkin .mceButtonActive span.mce_media {background-position:-401px 0}
     434
     435.wp_themeSkin span.mce_pastetext {background-position:-340px -20px}
     436.wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext,
     437.wp_themeSkin .mceButtonActive span.mce_pastetext {background-position:-340px 0}
     438
     439.wp_themeSkin span.mce_pasteword {background-position:-360px -20px}
     440.wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword,
     441.wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-360px 0}
     442
     443.wp_themeSkin span.mce_spellchecker {background-position:-220px -20px}
     444.wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker,
     445.wp_themeSkin .mceButtonActive span.mce_spellchecker {background-position:-220px 0}
     446
     447.wp_themeSkin span.mce_wp_help {background-position:-521px -20px}
     448.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help,
     449.wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-521px 0}
     450
     451.wp_themeSkin span.mce_wp_adv {background-position:-260px -20px}
     452.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_adv,
     453.wp_themeSkin .mceButtonActive span.mce_wp_adv {background-position:-260px 0}
     454
     455.wp_themeSkin span.mce_wp_more {background-position:-201px -20px}
     456.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_more,
     457.wp_themeSkin .mceButtonActive span.mce_wp_more {background-position:-201px 0}
     458
     459/* Default icons */
     460.wp_themeSkin span.mce_cleanup {background-position:-380px -20px}
    338461.wp_themeSkin span.mce_anchor {background-position:-200px 0}
    339 .wp_themeSkin span.mce_indent {background-position:-400px -1px}
    340 .wp_themeSkin span.mce_outdent {background-position:-540px 0}
    341 .wp_themeSkin span.mce_link {background-position:-499px -1px}
    342 .wp_themeSkin span.mce_unlink {background-position:-640px 0}
    343462.wp_themeSkin span.mce_sub {background-position:-600px 0}
    344463.wp_themeSkin span.mce_sup {background-position:-620px 0}
    345 .wp_themeSkin span.mce_removeformat {background-position:-581px 0}
    346464.wp_themeSkin span.mce_newdocument {background-position:-520px 0}
    347465.wp_themeSkin span.mce_image {background-position:-380px 0}
    348 .wp_themeSkin span.mce_help {background-position:-340px 0}
    349466.wp_themeSkin span.mce_code {background-position:-260px 0}
    350467.wp_themeSkin span.mce_hr {background-position:-360px 0}
     
    353470.wp_themeSkin span.mce_copy {background-position:-700px 0}
    354471.wp_themeSkin span.mce_cut {background-position:-680px 0}
    355 .wp_themeSkin .mce_forecolor span.mceAction {background-position:-720px 0}
    356472.wp_themeSkin .mce_backcolor span.mceAction {background-position:-760px 0}
    357 .wp_themeSkin .mce_forecolorpicker {background-position:-720px 0}
    358473.wp_themeSkin .mce_backcolorpicker {background-position:-760px 0}
    359474
     475
    360476/* Plugins */
    361 .wp_themeSkin span.mce_fullscreen {background-position:-99px -20px}
    362 .wp_themeSkin .mceButtonEnabled:hover span.mce_fullscreen,
    363 .wp_themeSkin .mceButtonActive span.mce_fullscreen {background-position:-99px -80px}
    364 
    365 .wp_themeSkin span.mce_media {background-position:-320px -20px}
    366 .wp_themeSkin .mceButtonEnabled:hover span.mce_media,
    367 .wp_themeSkin .mceButtonActive span.mce_media {background-position:-320px -80px}
    368 
    369 .wp_themeSkin span.mce_pastetext {background-position:-360px -20px}
    370 .wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext,
    371 .wp_themeSkin .mceButtonActive span.mce_pastetext {background-position:-360px -80px}
    372 
    373 .wp_themeSkin span.mce_pasteword {background-position:-380px -20px}
    374 .wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword,
    375 .wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-380px -80px}
    376 
    377 .wp_themeSkin span.mce_spellchecker {background-position:-540px -20px}
    378 .wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker,
    379 .wp_themeSkin .mceButtonActive span.mce_spellchecker {background-position:-540px -80px}
    380 
    381 .wp_themeSkin span.mce_wp_help {background-position:-340px 0}
    382 .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help,
    383 .wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-340px -60px}
    384 
    385477.wp_themeSkin span.mce_advhr {background-position:-0px -20px}
    386478.wp_themeSkin span.mce_ltr {background-position:-20px -20px}
     
    429521.wp_themeSkin span.mce_ins {background-position:-960px -20px}
    430522.wp_themeSkin span.mce_pagebreak {background-position:0 -40px}
    431 .wp_themeSkin span.mce_wp_adv {background-position:-935px 1px}
    432 .wp_themeSkin span.mce_wp_more {background-position:0 -40px}
     523
    433524
    434525/* border */
  • trunk/wp-includes/version.php

    r17936 r17961  
    3737 * @global string $tinymce_version
    3838 */
    39 $tinymce_version = '342-20110515';
     39$tinymce_version = '342-20110518';
    4040
    4141/**
Note: See TracChangeset for help on using the changeset viewer.