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. git-svn-id: https://develop.svn.wordpress.org/trunk@27702 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e54fff3bb1
commit
2e1f98d2a0
@ -101,12 +101,13 @@
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
/* @todo What does this do? */
|
||||
.control-section.accordion-section.widget-customizer-highlighted > .accordion-section-title,
|
||||
.customize-control-widget_form.widget-customizer-highlighted {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0 0 3px #ce0000;
|
||||
box-shadow: 0 0 3px #ce0000;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#widget-customizer-control-templates {
|
||||
|
@ -734,9 +734,11 @@ class WP_Customize_Widgets {
|
||||
?>
|
||||
<style>
|
||||
.widget-customizer-highlighted-widget {
|
||||
border-radius: 2px;
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0 0 3px #ce0000;
|
||||
box-shadow: 0 0 3px #ce0000;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user