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 */
|
/* Tabs */
|
||||||
|
|
||||||
.about-wrap h2 .nav-tab {
|
.about-wrap .nav-tab {
|
||||||
|
padding-left: 15px;
|
||||||
|
padding-right: 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,9 @@
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
|
|
||||||
.about-wrap h2 .nav-tab {
|
.about-wrap .nav-tab {
|
||||||
|
padding-right: 15px;
|
||||||
|
padding-left: 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1997,12 +1997,12 @@ html.wp-toolbar {
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
.nav-tab {
|
.nav-tab {
|
||||||
display: inline-block;
|
float: right;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin: 0 0 0 5px;
|
margin-right: 0.5em; /* half the font size so set the font size properly */
|
||||||
padding: 6px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background: #e4e4e4;
|
background: #e4e4e4;
|
||||||
|
@ -2044,17 +2044,21 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
||||||
color: #000;
|
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 */
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||||
h3.nav-tab-wrapper {
|
h3.nav-tab-wrapper {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 9px 6px 0 15px;
|
padding: 9px 0 0 15px;
|
||||||
font-size: 1px; /* normalize white space between inline-block elements */
|
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* contain floats */
|
||||||
|
.nav-tab-wrapper:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
26.0 - Misc
|
26.0 - Misc
|
||||||
|
|
|
@ -1997,12 +1997,12 @@ html.wp-toolbar {
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
.nav-tab {
|
.nav-tab {
|
||||||
display: inline-block;
|
float: left;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin: 0 5px 0 0;
|
margin-left: 0.5em; /* half the font size so set the font size properly */
|
||||||
padding: 6px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background: #e4e4e4;
|
background: #e4e4e4;
|
||||||
|
@ -2044,17 +2044,21 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
||||||
color: #000;
|
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 */
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||||
h3.nav-tab-wrapper {
|
h3.nav-tab-wrapper {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 9px 15px 0 6px;
|
padding: 9px 15px 0 0;
|
||||||
font-size: 1px; /* normalize white space between inline-block elements */
|
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* contain floats */
|
||||||
|
.nav-tab-wrapper:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
26.0 - Misc
|
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
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue