Changeset 35414
- Timestamp:
- 10/28/2015 05:56:22 PM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r35343 r35414 565 565 } 566 566 567 .wrap > h2:first-child, /* Back-compat for old plugins */ 568 .wrap h1, 569 .subtitle { 570 font-weight: normal; 571 margin: 0; 572 } 573 574 .wrap > h2:first-child, /* Back-compat for old plugins */ 567 .wrap > h2:first-child, /* Back-compat for pre-4.4 */ 568 .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ 569 .postbox .inside h2, /* Back-compat for pre-4.4 */ 575 570 .wrap h1 { 576 571 font-size: 23px; 577 572 font-weight: 400; 573 margin: 0; 578 574 padding: 9px 15px 4px 0; 579 575 line-height: 29px; … … 581 577 582 578 .subtitle { 579 margin: 0; 580 padding-left: 25px; 583 581 color: #777; 584 582 font-size: 14px; 585 padding-left: 25px;583 font-weight: normal; 586 584 } 587 585 … … 2059 2057 } 2060 2058 2061 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */2062 2059 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 2063 2060 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 2064 .metabox-holder h2 { 2061 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 2062 .metabox-holder h2.hndle { 2065 2063 font-size: 14px; 2066 2064 padding: 8px 12px; -
trunk/src/wp-admin/css/dashboard.css
r35128 r35414 116 116 } 117 117 118 .welcome-panel h 3{118 .welcome-panel h2 { 119 119 margin: 0; 120 120 font-size: 21px; … … 123 123 } 124 124 125 .welcome-panel h 4{125 .welcome-panel h3 { 126 126 margin: 1.33em 0 0; 127 127 font-size: 16px; … … 361 361 } 362 362 363 #dashboard-widgets h4.mu-storage { 364 margin-bottom: 10px; 363 #dashboard-widgets h3.mu-storage { 364 margin: 0 0 10px; 365 padding: 0; 366 font-size: 14px; 367 font-weight: normal; 365 368 } 366 369 … … 379 382 } 380 383 381 #dashboard_right_now .sub h 4{384 #dashboard_right_now .sub h3 { 382 385 color: #555; 383 386 } … … 538 541 } 539 542 540 #dashboard_quick_press .drafts h4 {541 margin: 0 12px 8px;542 font-weight: normal;543 }544 545 543 #dashboard_quick_press .drafts .view-all { 546 544 float: right; … … 577 575 } 578 576 577 /* Dashboard common styles */ 578 579 #dashboard-widgets h4, /* Back-compat for pre-4.4 */ 580 #dashboard-widgets h3, 581 #dashboard_quick_press .drafts h2 { 582 margin: 0 12px 8px; 583 padding: 0; 584 font-size: 14px; 585 font-weight: normal; 586 color: #23282d; 587 } 588 589 #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ 590 #dashboard-widgets .inside h3 { 591 margin-left: 0; 592 margin-right: 0; 593 } 594 579 595 /* Dashboard activity widget */ 580 581 #dashboard-widgets #dashboard_activity h4 {582 margin: 0 0 8px 12px;583 font-weight: normal;584 }585 586 #dashboard-widgets #dashboard_activity h4.comment-meta {587 margin: 0;588 }589 590 #dashboard_activity h4.comment-meta {591 margin-bottom: 4px;592 }593 596 594 597 #dashboard_activity ul { … … 707 710 #activity-widget #the-comment-list .dashboard-comment-wrap blockquote { 708 711 margin: 1em 0; 709 }710 711 #activity-widget #the-comment-list .comment-item h4 {712 font-size: 13px;713 color: #999;714 712 } 715 713 … … 795 793 } 796 794 797 #dashboard-widgets h4 {798 color: #23282d;799 font-weight: normal;800 font-size: 14px;801 margin: 0 0 .2em;802 padding: 0;803 }804 805 795 #dashboard_plugins h5 { 806 796 font-size: 14px; … … 835 825 } 836 826 837 #latest-comments #the-comment-list .comment- item h4{827 #latest-comments #the-comment-list .comment-meta { 838 828 line-height: 1.5em; 839 margin -top: 0;829 margin: 0; 840 830 color: #666; 841 831 } 842 832 843 #latest-comments #the-comment-list .comment- item h4cite {833 #latest-comments #the-comment-list .comment-meta cite { 844 834 font-style: normal; 845 835 font-weight: normal; -
trunk/src/wp-admin/includes/dashboard.php
r35282 r35414 541 541 echo '<div class="drafts">'; 542 542 if ( count( $drafts ) > 3 ) { 543 echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '" >' . _x( 'View all', 'drafts' ) . "</a></p>\n";543 echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '" aria-label="' . __( 'View all drafts' ) . '">' . _x( 'View all', 'drafts' ) . "</a></p>\n"; 544 544 } 545 echo '<h 4 class="hide-if-no-js">' . __( 'Drafts' ) . "</h4>\n<ul>";545 echo '<h2 class="hide-if-no-js">' . __( 'Drafts' ) . "</h2>\n<ul>"; 546 546 547 547 $drafts = array_slice( $drafts, 0, 3 ); … … 649 649 650 650 <div class="dashboard-comment-wrap has-row-actions"> 651 < h4class="comment-meta">651 <p class="comment-meta"> 652 652 <?php 653 653 if ( $comment_post_link ) { … … 668 668 } 669 669 ?> 670 </ h4>670 </p> 671 671 672 672 <?php … … 686 686 <div class="dashboard-comment-wrap has-row-actions"> 687 687 <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?> 688 < h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></h4>688 <p class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></p> 689 689 <p class="comment-author"><?php comment_author_link( $comment ); ?></p> 690 690 … … 776 776 echo '<div id="' . $args['id'] . '" class="activity-block">'; 777 777 778 echo '<h 4>' . $args['title'] . '</h4>';778 echo '<h3>' . $args['title'] . '</h3>'; 779 779 780 780 echo '<ul>'; … … 855 855 if ( $comments ) { 856 856 echo '<div id="latest-comments" class="activity-block">'; 857 echo '<h 4>' . __( 'Comments' ) . '</h4>';857 echo '<h3>' . __( 'Comments' ) . '</h3>'; 858 858 859 859 echo '<div id="the-comment-list" data-wp-lists="list:comment">'; … … 1225 1225 1226 1226 ?> 1227 <h 4 class="mu-storage"><?php _e( 'Storage Space' ); ?></h4>1227 <h3 class="mu-storage"><?php _e( 'Storage Space' ); ?></h3> 1228 1228 <div class="mu-storage"> 1229 1229 <ul> … … 1379 1379 ?> 1380 1380 <div class="welcome-panel-content"> 1381 <h 3><?php _e( 'Welcome to WordPress!' ); ?></h3>1381 <h2><?php _e( 'Welcome to WordPress!' ); ?></h2> 1382 1382 <p class="about-description"><?php _e( 'We’ve assembled some links to get you started:' ); ?></p> 1383 1383 <div class="welcome-panel-column-container"> 1384 1384 <div class="welcome-panel-column"> 1385 1385 <?php if ( current_user_can( 'customize' ) ): ?> 1386 <h 4><?php _e( 'Get Started' ); ?></h4>1386 <h3><?php _e( 'Get Started' ); ?></h3> 1387 1387 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1388 1388 <?php endif; ?> … … 1393 1393 </div> 1394 1394 <div class="welcome-panel-column"> 1395 <h 4><?php _e( 'Next Steps' ); ?></h4>1395 <h3><?php _e( 'Next Steps' ); ?></h3> 1396 1396 <ul> 1397 1397 <?php if ( 'page' == get_option( 'show_on_front' ) && ! get_option( 'page_for_posts' ) ) : ?> … … 1410 1410 </div> 1411 1411 <div class="welcome-panel-column welcome-panel-last"> 1412 <h 4><?php _e( 'More Actions' ); ?></h4>1412 <h3><?php _e( 'More Actions' ); ?></h3> 1413 1413 <ul> 1414 1414 <?php if ( current_theme_supports( 'widgets' ) || current_theme_supports( 'menus' ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.