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
This commit is contained in:
parent
7966b89e29
commit
63e6a6b7e7
@ -1520,7 +1520,6 @@ body.full-overlay-active {
|
|||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
-webkit-border-radius: 0 !important;
|
-webkit-border-radius: 0 !important;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
z-index: -1; /* Below device buttons */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||||
@ -1622,8 +1621,12 @@ body.full-overlay-active {
|
|||||||
background: #eee;
|
background: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay-footer .devices {
|
.wp-full-overlay-footer .devices-wrapper {
|
||||||
float: right;
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-full-overlay-footer .devices {
|
||||||
|
position: relative;
|
||||||
background: #eee;
|
background: #eee;
|
||||||
-webkit-box-shadow: -20px 0 10px -5px #eee;
|
-webkit-box-shadow: -20px 0 10px -5px #eee;
|
||||||
box-shadow: -20px 0 10px -5px #eee;
|
box-shadow: -20px 0 10px -5px #eee;
|
||||||
|
@ -171,8 +171,13 @@ do_action( 'customize_controls_print_scripts' );
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="customize-footer-actions" class="wp-full-overlay-footer">
|
<div id="customize-footer-actions" class="wp-full-overlay-footer">
|
||||||
|
<button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php echo esc_attr( _x( 'Hide Controls', 'label for hide controls button without length constraints' ) ); ?>">
|
||||||
|
<span class="collapse-sidebar-arrow"></span>
|
||||||
|
<span class="collapse-sidebar-label"><?php _ex( 'Hide Controls', 'short (~12 characters) label for hide controls button' ); ?></span>
|
||||||
|
</button>
|
||||||
<?php $previewable_devices = $wp_customize->get_previewable_devices(); ?>
|
<?php $previewable_devices = $wp_customize->get_previewable_devices(); ?>
|
||||||
<?php if ( ! empty( $previewable_devices ) ) : ?>
|
<?php if ( ! empty( $previewable_devices ) ) : ?>
|
||||||
|
<div class="devices-wrapper">
|
||||||
<div class="devices">
|
<div class="devices">
|
||||||
<?php foreach ( (array) $previewable_devices as $device => $settings ) : ?>
|
<?php foreach ( (array) $previewable_devices as $device => $settings ) : ?>
|
||||||
<?php
|
<?php
|
||||||
@ -190,11 +195,8 @@ do_action( 'customize_controls_print_scripts' );
|
|||||||
</button>
|
</button>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php echo esc_attr( _x( 'Hide Controls', 'label for hide controls button without length constraints' ) ); ?>">
|
|
||||||
<span class="collapse-sidebar-arrow"></span>
|
|
||||||
<span class="collapse-sidebar-label"><?php _ex( 'Hide Controls', 'short (~12 characters) label for hide controls button' ); ?></span>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="customize-preview" class="wp-full-overlay-main"></div>
|
<div id="customize-preview" class="wp-full-overlay-main"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user