diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
index 2e6e605ce2..04894f2f65 100644
a
|
b
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ |
2357 | 2357 | |
2358 | 2358 | /* Back-compat for nav-menus screen */ |
2359 | 2359 | .nav-menus-php .metabox-holder h3 { |
2360 | | padding: 10px 10px 11px 14px; |
2361 | | line-height: 1.5; |
| 2360 | padding: 0; /*10px 10px 11px 14px*/ |
| 2361 | line-height: 0; /*1.5*/ |
| 2362 | } |
| 2363 | .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger { |
| 2364 | background: inherit; |
| 2365 | color: #1d2327; |
| 2366 | display: block; |
| 2367 | position: relative; |
| 2368 | text-align: left; |
| 2369 | width: 100%; |
| 2370 | outline: none; |
| 2371 | border: 0; |
| 2372 | padding: 10px 10px 11px 14px; |
| 2373 | line-height: 1.5; |
| 2374 | cursor: pointer; |
| 2375 | } |
| 2376 | .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down { |
| 2377 | position: absolute; |
| 2378 | right: 10px; |
| 2379 | left: auto; |
| 2380 | color: #787c82; |
| 2381 | border-radius: 50px; |
| 2382 | } |
| 2383 | .nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down { |
| 2384 | color: #1d2327; |
| 2385 | } |
| 2386 | .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before { |
| 2387 | position: relative; |
| 2388 | left: -1px |
| 2389 | } |
| 2390 | .nav-menus-php .metabox-holder .accordion-section-title:focus span.dashicons.dashicons-arrow-down, |
| 2391 | .nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down { |
| 2392 | outline: 1px solid #2271b1; |
| 2393 | } |
| 2394 | .nav-menus-php .metabox-holder .accordion-section-title::after { |
| 2395 | display: none; |
| 2396 | } |
| 2397 | .nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down { |
| 2398 | transform: rotate(180deg); |
2362 | 2399 | } |
2363 | 2400 | |
2364 | 2401 | #templateside ul li a { |
… |
… |
img { |
3890 | 3927 | padding: 12px; |
3891 | 3928 | } |
3892 | 3929 | |
| 3930 | .nav-menus-php .metabox-holder h3 { |
| 3931 | padding: 0; |
| 3932 | } |
| 3933 | |
3893 | 3934 | .postbox .handlediv { |
3894 | 3935 | margin-top: 3px; |
3895 | 3936 | } |
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 90b375e882..52667354da 100644
a
|
b
|
function do_accordion_sections( $screen, $context, $data_object ) { |
1574 | 1574 | ?> |
1575 | 1575 | <li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>"> |
1576 | 1576 | <h3 class="accordion-section-title hndle" tabindex="0"> |
1577 | | <?php echo esc_html( $box['title'] ); ?> |
1578 | | <span class="screen-reader-text"> |
1579 | | <?php |
1580 | | /* translators: Hidden accessibility text. */ |
1581 | | _e( 'Press return or enter to open this section' ); |
1582 | | ?> |
1583 | | </span> |
| 1577 | <button type="button" class="accordion-trigger"> |
| 1578 | <span class="accordion-title"> |
| 1579 | <?php echo esc_html( $box['title'] ); ?> |
| 1580 | <span class="screen-reader-text" aria-hidden="true"> |
| 1581 | <?php |
| 1582 | /* translators: Hidden accessibility text. */ |
| 1583 | _e( 'Press return or enter to open this section' ); |
| 1584 | ?> |
| 1585 | </span> |
| 1586 | <span class="dashicons dashicons-arrow-down"></span> |
| 1587 | </span> |
| 1588 | </button> |
1584 | 1589 | </h3> |
1585 | 1590 | <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>"> |
1586 | 1591 | <div class="inside"> |