After [35616], improve the consistency of tabs styling.
Props afercia. Fixes #34214. Built from https://develop.svn.wordpress.org/trunk@35673 git-svn-id: http://core.svn.wordpress.org/trunk@35637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a45270a43
commit
f0bbe00890
|
@ -79,7 +79,9 @@
|
|||
|
||||
/* Tabs */
|
||||
|
||||
.about-wrap h2 .nav-tab {
|
||||
.about-wrap .nav-tab {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
|
|
@ -79,7 +79,9 @@
|
|||
|
||||
/* Tabs */
|
||||
|
||||
.about-wrap h2 .nav-tab {
|
||||
.about-wrap .nav-tab {
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1997,12 +1997,12 @@ html.wp-toolbar {
|
|||
------------------------------------------------------------------------------*/
|
||||
|
||||
.nav-tab {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: none;
|
||||
margin: 0 0 0 5px;
|
||||
padding: 6px 10px;
|
||||
font-size: 15px;
|
||||
margin-right: 0.5em; /* half the font size so set the font size properly */
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
background: #e4e4e4;
|
||||
|
@ -2044,17 +2044,21 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
|||
color: #000;
|
||||
}
|
||||
|
||||
/* @todo: consider to use flexbox to reset white space between inline-block elements. */
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin: 0;
|
||||
padding: 9px 6px 0 15px;
|
||||
font-size: 1px; /* normalize white space between inline-block elements */
|
||||
padding: 9px 0 0 15px;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
/* contain floats */
|
||||
.nav-tab-wrapper:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
26.0 - Misc
|
||||
|
|
|
@ -1997,12 +1997,12 @@ html.wp-toolbar {
|
|||
------------------------------------------------------------------------------*/
|
||||
|
||||
.nav-tab {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: none;
|
||||
margin: 0 5px 0 0;
|
||||
padding: 6px 10px;
|
||||
font-size: 15px;
|
||||
margin-left: 0.5em; /* half the font size so set the font size properly */
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
background: #e4e4e4;
|
||||
|
@ -2044,17 +2044,21 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
|||
color: #000;
|
||||
}
|
||||
|
||||
/* @todo: consider to use flexbox to reset white space between inline-block elements. */
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin: 0;
|
||||
padding: 9px 15px 0 6px;
|
||||
font-size: 1px; /* normalize white space between inline-block elements */
|
||||
padding: 9px 15px 0 0;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
/* contain floats */
|
||||
.nav-tab-wrapper:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
26.0 - Misc
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta4-35672';
|
||||
$wp_version = '4.4-beta4-35673';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue