WordPress.org

Make WordPress Core

Changeset 25754


Ignore:
Timestamp:
10/10/2013 03:36:15 AM (8 years ago)
Author:
lancewillett
Message:

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.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php

    r25623 r25754  
    132132        .header-extra,
    133133        .search-toggle,
     134        .primary-navigation ul ul,
     135        .primary-navigation li:hover > a,
    134136        .widget-area button,
    135137        .widget-area html input[type="button"],
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r25753 r25754  
    676676}
    677677.primary-navigation ul ul {
    678     background-color: rgba(0, 0, 0, 0.9);
     678    background-color: #24890d;
    679679    float: left;
    680680    position: absolute;
     
    700700}
    701701.primary-navigation li:hover > a {
    702     background-color: #2b2b2b;
     702    background-color: #24890d;
    703703    color: #fff;
    704704}
    705705.primary-navigation ul ul a:hover {
    706     color: #8c8c8c;
     706    background-color: #000;
    707707}
    708708.primary-navigation ul li:hover > ul,
     
    714714    left: 100%;
    715715}
    716 .primary-navigation li.current_page_item > a,
    717 .primary-navigation li.current-menu-item > a {
    718     color: #5FF23D;
     716.primary-navigation .current_page_item > a,
     717.primary-navigation .current-menu-item > a {
     718    color: #5ff23d;
    719719}
    720720
Note: See TracChangeset for help on using the changeset viewer.