diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
index 53151a4f84..e2c246b6b3 100644
|
a
|
b
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ |
| 2405 | 2405 | |
| 2406 | 2406 | /* Back-compat for nav-menus screen */ |
| 2407 | 2407 | .nav-menus-php .metabox-holder h3 { |
| 2408 | | padding: 10px 10px 11px 14px; |
| 2409 | | line-height: 1.5; |
| | 2408 | padding: 0; /*10px 10px 11px 14px*/ |
| | 2409 | line-height: 0; /*1.5*/ |
| | 2410 | } |
| | 2411 | .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger { |
| | 2412 | background: inherit; |
| | 2413 | color: #1d2327; |
| | 2414 | display: block; |
| | 2415 | position: relative; |
| | 2416 | text-align: left; |
| | 2417 | width: 100%; |
| | 2418 | outline: none; |
| | 2419 | border: 0; |
| | 2420 | padding: 10px 10px 11px 14px; |
| | 2421 | line-height: 1.5; |
| | 2422 | cursor: pointer; |
| | 2423 | } |
| | 2424 | .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down { |
| | 2425 | position: absolute; |
| | 2426 | right: 10px; |
| | 2427 | left: auto; |
| | 2428 | color: #787c82; |
| | 2429 | border-radius: 50px; |
| | 2430 | } |
| | 2431 | .nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down { |
| | 2432 | color: #1d2327; |
| | 2433 | } |
| | 2434 | .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before { |
| | 2435 | position: relative; |
| | 2436 | left: -1px |
| | 2437 | } |
| | 2438 | .nav-menus-php .metabox-holder .accordion-section-title:focus span.dashicons.dashicons-arrow-down { |
| | 2439 | box-shadow: 0 0 0 2px #2271b1; |
| | 2440 | outline: 2px solid transparent; |
| | 2441 | color: #1d2327; |
| | 2442 | } |
| | 2443 | .nav-menus-php .metabox-holder .accordion-section-title::after { |
| | 2444 | display: none; |
| | 2445 | } |
| | 2446 | .nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down { |
| | 2447 | transform: rotate(180deg); |
| 2410 | 2448 | } |
| 2411 | 2449 | |
| 2412 | 2450 | #templateside ul li a { |
| … |
… |
img { |
| 3943 | 3981 | padding: 12px; |
| 3944 | 3982 | } |
| 3945 | 3983 | |
| | 3984 | .nav-menus-php .metabox-holder h3 { |
| | 3985 | padding: 0; |
| | 3986 | } |
| | 3987 | |
| 3946 | 3988 | .postbox .handlediv { |
| 3947 | 3989 | margin-top: 3px; |
| 3948 | 3990 | } |
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 90b375e882..47248b759f 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" tabindex="-1"> |
| | 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"> |