From e540955d03439b4ec9f8896be3d8527d1d2da7e9 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 11 Nov 2015 21:53:54 +0000 Subject: [PATCH] Help/About: unify tab styling. Props afercia. Fixes #34214. git-svn-id: https://develop.svn.wordpress.org/trunk@35616 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/credits.php | 10 +++---- src/wp-admin/css/about.css | 20 -------------- src/wp-admin/css/common.css | 54 +++++++++++++++++++++++++------------ src/wp-admin/freedoms.php | 10 +++---- 4 files changed, 43 insertions(+), 51 deletions(-) diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 9466fa6204..b68f149394 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -25,13 +25,9 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
h2:first-child */ h3.nav-tab-wrapper { border-bottom: 1px solid #ccc; margin: 0; - padding: 9px 15px 0 10px; - font-size: 23px; - font-weight: 400; - line-height: 29px; -} - -h1 .nav-tab, /* Back-compat for pre-4.4 */ -h2 .nav-tab { - padding: 6px 10px; - font-weight: 600; - font-size: 15px; - line-height: 24px; + padding: 9px 15px 0 6px; + font-size: 1px; /* normalize white space between inline-block elements */ + line-height: inherit; } @@ -3597,6 +3602,21 @@ img { div#post-body.metabox-holder.columns-1 { overflow-x: hidden; } + + h1.nav-tab-wrapper, + .wrap h2.nav-tab-wrapper, + h3.nav-tab-wrapper { + padding-left: 0; + border-bottom: 0; + } + + h1 .nav-tab, + h2 .nav-tab, + h3 .nav-tab { + margin-top: 10px; + margin-right: 10px; + border-bottom: 1px solid #ccc; + } } @media screen and (max-width: 320px) { diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index 7788f65c5d..6a50e9c3c2 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -24,13 +24,9 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

license, the GPL.' ), 'https://wordpress.org/about/license/' ); ?>