Bump H3 headings to H2 on the Network Admin > Sites > Edit Site screens.
The navigation tabs appear in an `<h3>` heading immediately following the main `<h1>` and need to have a proper hierarchy. Also, fix the tabs focus style and introduce a new `.nav-tab-small` CSS class. Fixes #34079. Built from https://develop.svn.wordpress.org/trunk@34913 git-svn-id: http://core.svn.wordpress.org/trunk@34878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1960,15 +1960,20 @@ html.wp-toolbar {
|
||||
border-bottom: none;
|
||||
background: #e4e4e4;
|
||||
color: #555;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: inline-block;
|
||||
padding: 4px 14px 6px;
|
||||
text-decoration: none;
|
||||
margin: -4px 0 -1px 4px;
|
||||
}
|
||||
|
||||
.nav-tab:hover {
|
||||
.nav-tab,
|
||||
.nav-tab-small .nav-tab {
|
||||
display: inline-block;
|
||||
margin: -4px 0 -1px 4px;
|
||||
padding: 5px 14px;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-tab:hover,
|
||||
.nav-tab:focus {
|
||||
background-color: #fff;
|
||||
color: #464646;
|
||||
}
|
||||
@@ -1978,7 +1983,8 @@ html.wp-toolbar {
|
||||
}
|
||||
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
.nav-tab-active:hover,
|
||||
.nav-tab-active:focus {
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
background: #f1f1f1;
|
||||
color: #000;
|
||||
@@ -1995,7 +2001,7 @@ h3.nav-tab-wrapper {
|
||||
h1 .nav-tab,
|
||||
h2 .nav-tab {
|
||||
padding: 6px 10px;
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user