Make WordPress Core

Changeset 27702


Ignore:
Timestamp:
03/25/2014 11:47:27 AM (11 years ago)
Author:
ocean90
Message:

Widget Customizer: Improve widget highlighting.

  • Prefix box-shadow in inject_preview_css()
  • Remove border-radius in inject_preview_css()
  • Prevent hidden box-shadows in Customizer

see #27358.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-widgets.css

    r27650 r27702  
    102102}
    103103
    104 /* @todo What does this do? */
    105104.control-section.accordion-section.widget-customizer-highlighted > .accordion-section-title,
    106105.customize-control-widget_form.widget-customizer-highlighted {
     
    108107    -webkit-box-shadow: 0 0 3px #ce0000;
    109108    box-shadow: 0 0 3px #ce0000;
     109    position: relative;
     110    z-index: 1;
    110111}
    111112
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r27653 r27702  
    735735        <style>
    736736        .widget-customizer-highlighted-widget {
    737             border-radius: 2px;
    738737            outline: none;
     738            -webkit-box-shadow: 0 0 3px #ce0000;
    739739            box-shadow: 0 0 3px #ce0000;
     740            position: relative;
     741            z-index: 1;
    740742        }
    741743        </style>
Note: See TracChangeset for help on using the changeset viewer.