mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
Twenty Fourteen: improve primary navigation styles for a clearer distinction between hover and the current page highlight, and change color to harmonize with the search toggle. Props iamtakashi, fixes #25554.
Built from https://develop.svn.wordpress.org/trunk@25754 git-svn-id: http://core.svn.wordpress.org/trunk@25667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a03adbb52
commit
1d14316169
@ -131,6 +131,8 @@ function twentyfourteen_customizer_styles() {
|
||||
.hentry .mejs-controls .mejs-time-rail .mejs-time-current,
|
||||
.header-extra,
|
||||
.search-toggle,
|
||||
.primary-navigation ul ul,
|
||||
.primary-navigation li:hover > a,
|
||||
.widget-area button,
|
||||
.widget-area html input[type="button"],
|
||||
.widget-area input[type="reset"],
|
||||
|
@ -675,7 +675,7 @@ body {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.primary-navigation ul ul {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
background-color: #24890d;
|
||||
float: left;
|
||||
position: absolute;
|
||||
top: 48px;
|
||||
@ -699,11 +699,11 @@ body {
|
||||
.primary-navigation ul ul li {
|
||||
}
|
||||
.primary-navigation li:hover > a {
|
||||
background-color: #2b2b2b;
|
||||
background-color: #24890d;
|
||||
color: #fff;
|
||||
}
|
||||
.primary-navigation ul ul a:hover {
|
||||
color: #8c8c8c;
|
||||
background-color: #000;
|
||||
}
|
||||
.primary-navigation ul li:hover > ul,
|
||||
.primary-navigation ul li.a11y-focus > ul {
|
||||
@ -713,9 +713,9 @@ body {
|
||||
.primary-navigation ul ul li.a11y-focus > ul {
|
||||
left: 100%;
|
||||
}
|
||||
.primary-navigation li.current_page_item > a,
|
||||
.primary-navigation li.current-menu-item > a {
|
||||
color: #5FF23D;
|
||||
.primary-navigation .current_page_item > a,
|
||||
.primary-navigation .current-menu-item > a {
|
||||
color: #5ff23d;
|
||||
}
|
||||
|
||||
/* Secondary Navigation */
|
||||
|
Loading…
Reference in New Issue
Block a user