Make WordPress Core

Changeset 26662


Ignore:
Timestamp:
12/05/2013 06:14:27 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: rework "current menu" submenu icons to use Genericons for simplicity and to inherit colors better. Props celloexpressions, fixes #26424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r26661 r26662  
    34323432    .primary-navigation .menu-item-has-children > a:after,
    34333433    .primary-navigation .page_item_has_children > a:after {
    3434         border: 4px solid transparent;
    3435         border-top-color: #fff;
    3436         content: "";
    3437         margin-top: -2px;
     3434        -webkit-font-smoothing: antialiased;
     3435        content: "\f502";
     3436        display: inline-block;
     3437        font: normal 8px/1 Genericons;
    34383438        position: absolute;
    3439         top: 50%;
    34403439        right: 12px;
     3440        top: 22px;
     3441        vertical-align: text-bottom;
    34413442    }
    34423443
     
    34473448    }
    34483449
    3449     .primary-navigation .menu-item-has-children li > a:after,
    3450     .primary-navigation .page_item_has_children li > a:after {
    3451         border-top-color: transparent;
    3452         border-left-color: #fff;
    3453         margin-top: -4px;
     3450    .primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
     3451    .primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
     3452    .primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
     3453    .primary-navigation .page_item_has_children li.page_item_has_children > a:after {
     3454        content: "\f501";
    34543455        right: 8px;
     3456        top: 20px;
    34553457    }
    34563458}
     
    36633665
    36643666    .secondary-navigation .menu-item-has-children > a:after {
    3665         border: 4px solid transparent;
    3666         border-left-color: #fff;
    3667         content: "";
    3668         margin-top: -4px;
     3667        -webkit-font-smoothing: antialiased;
     3668        content: "\f501";
     3669        display: inline-block;
     3670        font: normal 8px/1 Genericons;
    36693671        position: absolute;
    3670         top: 50%;
    36713672        right: 26px;
     3673        top: 14px;
     3674        vertical-align: text-bottom;
    36723675    }
    36733676
Note: See TracChangeset for help on using the changeset viewer.