From 63e6a6b7e723e2dbaa1b933efcbd98b3dc739ed7 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 21 Apr 2017 05:15:29 +0000 Subject: [PATCH] Customize: Fix visibility of "Hide Controls" link in IE. Amends [39214]. Props timmydcrawford. See #32296, #38762. Fixes #40507. git-svn-id: https://develop.svn.wordpress.org/trunk@40510 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 7 +++++-- src/wp-admin/customize.php | 42 +++++++++++++++++++------------------ 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index a18a89a740..56fc43fc54 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -1520,7 +1520,6 @@ body.full-overlay-active { box-shadow: none !important; -webkit-border-radius: 0 !important; border-radius: 0 !important; - z-index: -1; /* Below device buttons */ } .wp-core-ui .wp-full-overlay .collapse-sidebar:hover, @@ -1622,8 +1621,12 @@ body.full-overlay-active { background: #eee; } -.wp-full-overlay-footer .devices { +.wp-full-overlay-footer .devices-wrapper { float: right; +} + +.wp-full-overlay-footer .devices { + position: relative; background: #eee; -webkit-box-shadow: -20px 0 10px -5px #eee; box-shadow: -20px 0 10px -5px #eee; diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index f1e66ff3dd..b6c1e63827 100644 --- a/src/wp-admin/customize.php +++ b/src/wp-admin/customize.php @@ -171,30 +171,32 @@ do_action( 'customize_controls_print_scripts' );