WordPress.org

Make WordPress Core

Ticket #15986: 15986.colored-hover.diff

File 15986.colored-hover.diff, 5.4 KB (added by chexee, 7 years ago)

adds colored hover states to icons with colored versions

  • wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

     
    302302/* Theme */
    303303.wp_themeSkin span.mce_bold {background-position:0 0}
    304304.wp_themeSkin span.mce_italic {background-position:-60px 0}
    305 .wp_themeSkin span.mce_underline {background-position:-140px 0}
     305.wp_themeSkin span.mce_underline {background-position:-141px 0}
    306306.wp_themeSkin span.mce_strikethrough {background-position:-120px 0}
    307307.wp_themeSkin span.mce_undo {background-position:-159px 0}
     308.wp_themeSkin span.mce_undo:hover, .wp_themeSkin .mceButtonActive span.mce_undo {background-position:-159px -60px}
    308309.wp_themeSkin span.mce_redo {background-position:-100px 0}
     310.wp_themeSkin span.mce_redo:hover, .wp_themeSkin .mceButtonActive span.mce_redo {background-position:-100px -60px}
    309311.wp_themeSkin span.mce_cleanup {background-position:-40px 0}
    310312.wp_themeSkin span.mce_bullist {background-position:-20px 0}
     313.wp_themeSkin span.mce_bullist:hover, .wp_themeSkin .mceButtonActive span.mce_bullist {background-position:-20px -61px}
    311314.wp_themeSkin span.mce_numlist {background-position:-80px 0}
     315.wp_themeSkin span.mce_numlist:hover, .wp_themeSkin .mceButtonActive span.mce_numlist {background-position:-80px -60px}
    312316.wp_themeSkin span.mce_justifyleft {background-position:-460px 0}
    313317.wp_themeSkin span.mce_justifyright {background-position:-480px 0}
    314318.wp_themeSkin span.mce_justifycenter {background-position:-420px 0}
     
    328332.wp_themeSkin span.mce_hr {background-position:-360px 0}
    329333.wp_themeSkin span.mce_visualaid {background-position:-660px 0}
    330334.wp_themeSkin span.mce_charmap {background-position:-240px 0}
     335.wp_themeSkin span.mce_charmap:hover, .wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-240px -60px}
    331336.wp_themeSkin span.mce_paste {background-position:-560px 0}
    332337.wp_themeSkin span.mce_copy {background-position:-700px 0}
    333338.wp_themeSkin span.mce_cut {background-position:-680px 0}
    334339.wp_themeSkin span.mce_blockquote {background-position:-220px 0}
     340.wp_themeSkin span.mce_blockquote:hover, .wp_themeSkin .mceButtonActive span.mce_blockquote {background-position:-220px -60px}
    335341.wp_themeSkin .mce_forecolor span.mceAction {background-position:-720px 0}
    336342.wp_themeSkin .mce_backcolor span.mceAction {background-position:-760px 0}
    337343.wp_themeSkin .mce_forecolorpicker {background-position:-720px 0}
     
    344350.wp_themeSkin span.mce_emotions {background-position:-60px -20px}
    345351.wp_themeSkin span.mce_fullpage {background-position:-80px -20px}
    346352.wp_themeSkin span.mce_fullscreen {background-position:-99px -20px}
     353.wp_themeSkin span.mce_fullscreen:hover, .wp_themeSkin .mceButtonActive span.mce_fullscreen {background-position:-99px -80px}
    347354.wp_themeSkin span.mce_iespell {background-position:-120px -20px}
    348355.wp_themeSkin span.mce_insertdate {background-position:-140px -20px}
    349356.wp_themeSkin span.mce_inserttime {background-position:-160px -20px}
     
    355362.wp_themeSkin span.mce_movebackward {background-position:-280px -20px}
    356363.wp_themeSkin span.mce_moveforward {background-position:-300px -20px}
    357364.wp_themeSkin span.mce_media {background-position:-320px -20px}
     365.wp_themeSkin span.mce_media:hover, .wp_themeSkin .mceButtonActive span.mce_media {background-position:-320px -80px}
    358366.wp_themeSkin span.mce_nonbreaking {background-position:-340px -20px}
    359367.wp_themeSkin span.mce_pastetext {background-position:-360px -20px}
     368.wp_themeSkin span.mce_pastetext:hover, .wp_themeSkin .mceButtonActive span.mce_pastetext {background-position:-360px -80px}
    360369.wp_themeSkin span.mce_pasteword {background-position:-380px -20px}
     370.wp_themeSkin span.mce_pasteword:hover, .wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-380px -80px}
    361371.wp_themeSkin span.mce_selectall {background-position:-400px -20px}
    362372.wp_themeSkin span.mce_preview {background-position:-420px -20px}
    363373.wp_themeSkin span.mce_print {background-position:-440px -20px}
     
    389399.wp_themeSkin span.mce_ins {background-position:-960px -20px}
    390400.wp_themeSkin span.mce_pagebreak {background-position:0 -40px}
    391401.wp_themeSkin span.mce_spellchecker {background-position:-540px -20px}
     402.wp_themeSkin span.mce_spellchecker:hover, .wp_themeSkin .mceButtonActive span.mce_spellchecker {background-position:-540px -80px}
    392403
    393404.wp_themeSkin span.mce_wp_adv {background-position:-935px 1px}
    394405.wp_themeSkin span.mce_wp_more {background-position:0 -40px}
    395406.wp_themeSkin span.mce_wp_help {background-position:-340px 0}
     407.wp_themeSkin span.mce_wp_help:hover, .wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-340px -60px}
    396408
     409
    397410/* border */
    398411.wp_themeSkin .mceExternalToolbar,
    399412.wp_themeSkin .mceButton,
  • wp-admin/css/wp-admin.dev.css

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
     
    42224222}
    42234223
    42244224.pressthis a span {
    4225         background: url(../images/press-this.png) no-repeat 10px 7px ;
     4225        background: url(../images/press-this.png) no-repeat -45px 5px ;
    42264226        padding: 8px 0 8px 32px;
    42274227        display: inline-block;
    42284228}