Make WordPress Core


Ignore:
Timestamp:
07/18/2013 05:42:53 PM (13 years ago)
Author:
markjaquith
Message:

Fixes and tweaks for the metabox accordion.

  • Fixed hover issues in Customizer.
  • Toned down the default active/hover style (as it is normally not the top level menu, and should not be so prominent).
  • Allow the active section to be closed.
  • Other misc fixes.

Props ocean90, helen. Fixes #23449.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/customize.php

    r23417 r24734  
    4747_wp_admin_html_begin();
    4848
    49 $body_class = 'wp-core-ui';
     49$body_class = 'wp-core-ui js';
    5050
    5151if ( wp_is_mobile() ) :
     
    9191        ?>
    9292
    93         <div class="wp-full-overlay-sidebar-content" tabindex="-1">
    94             <div id="customize-info" class="accordion-section<?php if ( $cannot_expand ) echo ' cannot-expand'; ?>">
     93        <div class="wp-full-overlay-sidebar-content accordion-container" tabindex="-1">
     94            <div id="customize-info" class="accordion-section <?php if ( $cannot_expand ) echo ' cannot-expand'; ?>">
    9595                <div class="accordion-section-title" aria-label="<?php esc_attr_e( 'Theme Customizer Options' ); ?>" tabindex="0">
    9696                    <span class="preview-notice"><?php
     
    112112            </div>
    113113
    114             <div id="customize-theme-controls" class="accordion-container"><ul>
     114            <div id="customize-theme-controls"><ul>
    115115                <?php
    116116                foreach ( $wp_customize->sections() as $section )
Note: See TracChangeset for help on using the changeset viewer.