WordPress.org

Make WordPress Core

Changeset 27778


Ignore:
Timestamp:
03/27/2014 07:18:18 AM (7 years ago)
Author:
nacin
Message:

TinyMCE: Differentiate active and hover states for toolbar buttons like the kitchen sink.

This restores 3.8 behavior.

see #27279.

File:
1 edited

Legend:

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

    r27771 r27778  
    181181
    182182#wp-fullscreen-buttons .mce-btn:hover,
    183 .mce-toolbar .mce-btn-group .mce-btn:hover,
    184 .mce-toolbar .mce-btn-group .mce-btn.mce-active {
     183.mce-toolbar .mce-btn-group .mce-btn:hover {
    185184    -webkit-box-shadow: 0 0 transparent;
    186185    box-shadow: 0 0 transparent;
     
    190189    background-image: -webkit-linear-gradient(bottom, #e5e5e5, #fff);
    191190    background-image: linear-gradient(to top, #e5e5e5, #fff);
     191}
     192
     193.mce-toolbar .mce-btn-group .mce-btn.mce-active {
     194    -webkit-box-shadow: 0 0 transparent;
     195    box-shadow: 0 0 transparent;
     196    border-color: #bbb;
     197    background: #eee;
     198    background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#e3e3e3));
     199    background-image: -webkit-linear-gradient(bottom, #f6f6f6, #e3e3e3);
     200    background-image:    -moz-linear-gradient(bottom, #f6f6f6, #e3e3e3);
     201    background-image:      -o-linear-gradient(bottom, #f6f6f6, #e3e3e3);
     202    background-image: linear-gradient(to top, #f6f6f6, #e3e3e3);
    192203}
    193204
Note: See TracChangeset for help on using the changeset viewer.