Make WordPress Core

Changeset 26446


Ignore:
Timestamp:
11/28/2013 12:52:25 AM (10 years ago)
Author:
azaozz
Message:

TinyMCE: fix editor.css.

  • Re-enable the default images for buttons not used in WordPress.
  • Remove redundant styles for the old buttons sprite.

Fixes #26294.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/editor.css

    r26411 r26446  
    5151
    5252/* These are part of TinyMCE, used in TinyMCE Advanced, but not WordPress. These are not MP6-ified.  */
    53 /*
    5453.wp_themeSkin span.mce_sup,
    5554.wp_themeSkin span.mce_sub,
     
    9493.wp_themeSkin span.mce_moveforward,
    9594.wp_themeSkin span.mce_movebackward,
    96 .wp_themeSkin span.mce_absolute
    97 {
     95.wp_themeSkin span.mce_absolute {
    9896    -moz-transition: none;
    9997    -webkit-transition: none;
    10098    transition: none;
    10199    background: url("../js/tinymce/themes/advanced/img/icons.gif") no-repeat 20px 20px;
    102 }*/
     100}
    103101
    104102
     
    372370}
    373371
     372.wp_themeSkin .mceSplitButton span.mceAction.mce_bullist,
     373.wp_themeSkin .mceSplitButton span.mceAction.mce_numlist {
     374    background-image: none;
     375}
     376
    374377.wp_themeSkin .mceSplitButton a.mceOpen {
    375378    width: 11px;
     
    628631
    629632span.mce_bold:before {
    630     content:'\f200';
    631 }
     633    content: '\f200';
     634}
     635
    632636span.mce_italic:before {
    633     content:'\f201';
     637    content: '\f201';
    634638}
    635639
    636640span.mce_bullist:before {
    637     content:'\f203';
     641    content: '\f203';
    638642}
    639643
    640644span.mce_numlist:before {
    641     content:'\f204';
     645    content: '\f204';
    642646}
    643647
    644648span.mce_blockquote:before {
    645     content:'\f205';
    646 }
     649    content: '\f205';
     650}
     651
    647652span.mce_justifyleft:before {
    648     content:'\f206';
    649 }
     653    content: '\f206';
     654}
     655
    650656span.mce_justifycenter:before {
    651     content:'\f207';
    652 }
     657    content: '\f207';
     658}
     659
    653660span.mce_justifyright:before {
    654     content:'\f208';
    655 }
     661    content: '\f208';
     662}
     663
    656664span.mce_link:before {
    657     content:'\f103';
    658 }
     665    content: '\f103';
     666}
     667
    659668span.mce_unlink:before {
    660     content:'\f225';
    661 }
     669    content: '\f225';
     670}
     671
    662672span.mce_wp_more:before {
    663     content:'\f209';
    664 }
     673    content: '\f209';
     674}
     675
    665676span.mce_strikethrough:before {
    666     content:'\f224';
     677    content: '\f224';
    667678}
    668679
    669680span.mce_spellchecker {
    670     font-size:20px;
    671     background:none !important;
     681    font-size: 20px;
     682    background: none !important;
    672683    margin-top: 2px;
    673684}
     685
    674686span.mce_spellchecker:before {
    675     content:'\f210';
    676 }
     687    content: '\f210';
     688}
     689
    677690span.mce_fullscreen:before,
    678691span.mce_wp_fullscreen:before {
    679     content:'\f211';
     692    content: '\f211';
    680693}
    681694
    682695span.mce_wp_adv:before {
    683     content:'\f212';
     696    content: '\f212';
    684697}
    685698span.mce_underline:before {
    686     content:'\f213';
     699    content: '\f213';
    687700}
    688701
    689702span.mce_justifyfull:before {
    690     content:'\f214';
     703    content: '\f214';
    691704}
    692705
    693706span.mce_forecolor {
    694     background:none !important;
    695 }
     707    background: none !important;
     708}
     709
    696710span.mce_forecolor:before {
    697     content:'\f215';
    698 }
     711    content: '\f215';
     712}
     713
    699714span.mce_pastetext:before {
    700     content:'\f217';
    701 }
     715    content: '\f217';
     716}
     717
    702718span.mce_pasteword:before {
    703     content:'\f216';
    704 }
     719    content: '\f216';
     720}
     721
    705722span.mce_removeformat:before {
    706     content:'\f218';
    707 }
     723    content: '\f218';
     724}
     725
    708726span.mce_charmap:before {
    709     content:'\f220';
    710 }
     727    content: '\f220';
     728}
     729
    711730span.mce_outdent:before {
    712     content:'\f221';
    713 }
     731    content: '\f221';
     732}
     733
    714734span.mce_indent:before {
    715     content:'\f222';
    716 }
     735    content: '\f222';
     736}
     737
    717738span.mce_undo:before {
    718     content:'\f171';
    719 }
     739    content: '\f171';
     740}
     741
    720742span.mce_redo:before {
    721     content:'\f172';
    722 }
     743    content: '\f172';
     744}
     745
    723746span.mce_wp_help:before {
    724     content:'\f223';
    725 }
     747    content: '\f223';
     748}
     749
    726750span.mce_image:before {
    727751    content: '\f104';
    728752}
     753
    729754span.mce_ltr:before {
    730755    content: '\f320';
    731756}
    732 
    733 
    734 /* Theme */
    735 .wp_themeSkin span.mce_undo {background-position:-500px -20px}
    736 .wp_themeSkin .mceButtonEnabled:hover span.mce_undo,
    737 .wp_themeSkin .mceButtonActive span.mce_undo {background-position:-500px 0}
    738 
    739 .wp_themeSkin span.mce_redo {background-position:-480px -20px}
    740 .wp_themeSkin .mceButtonEnabled:hover span.mce_redo,
    741 .wp_themeSkin .mceButtonActive span.mce_redo {background-position:-480px 0}
    742 
    743 .wp_themeSkin span.mce_bullist {background-position:-40px -20px}
    744 .wp_themeSkin .mceButtonEnabled:hover span.mce_bullist,
    745 .wp_themeSkin .mceButtonActive span.mce_bullist,
    746 .wp_themeSkin .mceSplitButton:hover span.mce_bullist {background-position:-40px 0}
    747 
    748 .wp_themeSkin span.mce_numlist {background-position:-60px -20px}
    749 .wp_themeSkin .mceButtonEnabled:hover span.mce_numlist,
    750 .wp_themeSkin .mceButtonActive span.mce_numlist,
    751 .wp_themeSkin .mceSplitButton:hover span.mce_numlist {background-position:-60px 0}
    752 
    753 .wp_themeSkin span.mce_blockquote {background-position:-80px -20px}
    754 .wp_themeSkin .mceButtonEnabled:hover span.mce_blockquote,
    755 .wp_themeSkin .mceButtonActive span.mce_blockquote {background-position:-80px 0}
    756 
    757 .wp_themeSkin span.mce_charmap {background-position:-420px -20px}
    758 .wp_themeSkin .mceButtonEnabled:hover span.mce_charmap,
    759 .wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-420px 0}
    760 
    761 .wp_themeSkin span.mce_bold {background-position:0 -20px}
    762 .wp_themeSkin .mceButtonEnabled:hover span.mce_bold,
    763 .wp_themeSkin .mceButtonActive span.mce_bold {background-position:0 0}
    764 
    765 .wp_themeSkin span.mce_italic {background-position:-20px -20px}
    766 .wp_themeSkin .mceButtonEnabled:hover span.mce_italic,
    767 .wp_themeSkin .mceButtonActive span.mce_italic {background-position:-20px 0}
    768 
    769 .wp_themeSkin span.mce_underline {background-position:-280px -20px}
    770 .wp_themeSkin .mceButtonEnabled:hover span.mce_underline,
    771 .wp_themeSkin .mceButtonActive span.mce_underline {background-position:-280px 0}
    772 
    773 .wp_themeSkin span.mce_justifyleft {background-position:-100px -20px}
    774 .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyleft,
    775 .wp_themeSkin .mceButtonActive span.mce_justifyleft {background-position:-100px 0}
    776 
    777 .wp_themeSkin span.mce_justifyright {background-position:-140px -20px}
    778 .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyright,
    779 .wp_themeSkin .mceButtonActive span.mce_justifyright {background-position:-140px 0}
    780 
    781 .wp_themeSkin span.mce_justifycenter {background-position:-120px -20px}
    782 .wp_themeSkin .mceButtonEnabled:hover span.mce_justifycenter,
    783 .wp_themeSkin .mceButtonActive span.mce_justifycenter {background-position:-120px 0}
    784 
    785 .wp_themeSkin span.mce_justifyfull {background-position:-300px -20px}
    786 .wp_themeSkin .mceButtonEnabled:hover span.mce_justifyfull,
    787 .wp_themeSkin .mceButtonActive span.mce_justifyfull {background-position:-300px 0}
    788 
    789 .wp_themeSkin span.mce_indent {background-position:-460px -20px}
    790 .wp_themeSkin .mceButtonEnabled:hover span.mce_indent,
    791 .wp_themeSkin .mceButtonActive span.mce_indent {background-position:-460px 0}
    792 
    793 .wp_themeSkin span.mce_outdent {background-position:-440px -20px}
    794 .wp_themeSkin .mceButtonEnabled:hover span.mce_outdent,
    795 .wp_themeSkin .mceButtonActive span.mce_outdent {background-position:-440px 0}
    796 
    797 .wp_themeSkin span.mce_link {background-position:-160px -20px}
    798 .wp_themeSkin .mceButtonEnabled:hover span.mce_link,
    799 .wp_themeSkin .mceButtonActive span.mce_link {background-position:-160px 0}
    800 
    801 .wp_themeSkin span.mce_unlink {background-position:-180px -20px}
    802 .wp_themeSkin .mceButtonEnabled:hover span.mce_unlink,
    803 .wp_themeSkin .mceButtonActive span.mce_unlink {background-position:-180px 0}
    804 
    805 .wp_themeSkin span.mce_help {background-position:-520px -20px}
    806 .wp_themeSkin .mceButtonEnabled:hover span.mce_help,
    807 .wp_themeSkin .mceButtonActive span.mce_help {background-position:-520px 0}
    808 
    809 .wp_themeSkin span.mce_removeformat {background-position:-380px -20px}
    810 .wp_themeSkin .mceButtonEnabled:hover span.mce_removeformat,
    811 .wp_themeSkin .mceButtonActive span.mce_removeformat {background-position:-380px 0}
    812 
    813 .wp_themeSkin span.mce_strikethrough {background-position:-540px -20px;}
    814 .wp_themeSkin .mceButtonEnabled:hover span.mce_strikethrough,
    815 .wp_themeSkin .mceButtonActive span.mce_strikethrough {background-position:-540px 0}
    816 
    817 .wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {background-position:-320px -20px}
    818 .wp_themeSkin .mceSplitButtonEnabled:hover span.mce_forecolor,
    819 .wp_themeSkin .mceSplitButtonSelected span.mce_forecolor {background-position:-320px 0}
    820 
    821 .wp_themeSkin .mce_forecolorpicker {background-position:-320px -20px}
    822 
    823 /* Plugins in WP */
    824 .wp_themeSkin span.mce_fullscreen {background-position:-240px -20px}
    825 .wp_themeSkin .mceButtonEnabled:hover span.mce_fullscreen,
    826 .wp_themeSkin .mceButtonActive span.mce_fullscreen {background-position:-240px 0}
    827 
    828 .wp_themeSkin span.mce_wp_fullscreen {background-position:-240px -20px}
    829 .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_fullscreen,
    830 .wp_themeSkin .mceButtonActive span.mce_wp_fullscreen {background-position:-240px 0}
    831 
    832 .wp_themeSkin span.mce_media {background-position:-400px -20px}
    833 .wp_themeSkin .mceButtonEnabled:hover span.mce_media,
    834 .wp_themeSkin .mceButtonActive span.mce_media {background-position:-400px 0}
    835 
    836 .wp_themeSkin span.mce_pastetext {background-position:-340px -20px}
    837 .wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext,
    838 .wp_themeSkin .mceButtonActive span.mce_pastetext {background-position:-340px 0}
    839 
    840 .wp_themeSkin span.mce_pasteword {background-position:-360px -20px}
    841 .wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword,
    842 .wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-360px 0}
    843 
    844 .wp_themeSkin span.mce_spellchecker {background-position:-220px -20px}
    845 .wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker,
    846 .wp_themeSkin .mceSplitButtonEnabled:hover span.mce_spellchecker,
    847 .wp_themeSkin .mceButtonActive span.mce_spellchecker,
    848 .wp_themeSkin .mceSplitButtonSelected span.mce_spellchecker {background-position:-220px 0}
    849 
    850 .wp_themeSkin span.mce_wp_help {background-position:-520px -20px}
    851 .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help,
    852 .wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-520px 0}
    853 
    854 .wp_themeSkin span.mce_wp_adv {background-position:-260px -20px}
    855 .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_adv,
    856 .wp_themeSkin .mceButtonActive span.mce_wp_adv {background-position:-260px 0}
    857 
    858 .wp_themeSkin span.mce_wp_more {background-position:-200px -20px}
    859 .wp_themeSkin .mceButtonEnabled:hover span.mce_wp_more,
    860 .wp_themeSkin .mceButtonActive span.mce_wp_more {background-position:-200px 0}
    861757
    862758/* Default icons */
     
    892788.wp_themeSkin span.mce_movebackward {background-position:-280px -20px}
    893789.wp_themeSkin span.mce_moveforward {background-position:-300px -20px}
     790.wp_themeSkin span.mce_media {background-position:-320px -20px}
    894791.wp_themeSkin span.mce_nonbreaking {background-position:-340px -20px}
    895792.wp_themeSkin span.mce_selectall {background-position:-400px -20px}
     
    950847    border-width: 1px;
    951848}
     849
    952850.wp_themeSkin .mceListBox .mceText {
    953851    border-right: 0 none;
    954852}
     853
    955854.wp_themeSkin iframe {
    956855    background: transparent;
Note: See TracChangeset for help on using the changeset viewer.