Make WordPress Core


Ignore:
Timestamp:
11/04/2013 06:07:18 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812.

File:
1 edited

Legend:

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

    r25999 r26003  
    140140        $css = '/* Custom accent color. */
    141141                a,
    142                 .paging-navigation .page-numbers.current,
    143142                .content-sidebar .widget a {
    144143                        color: ' . $accent_color . ';
     
    157156                .widget input[type="submit"],
    158157                .widget_calendar tbody a,
    159                 .slider-control-paging a:hover:before,
     158                .content-sidebar .widget input[type="button"],
     159                .content-sidebar .widget input[type="reset"],
     160                .content-sidebar .widget input[type="submit"],
     161                .slider-control-paging .slider-active:before,
     162                .slider-control-paging .slider-active:hover:before,
    160163                .slider-direction-nav a:hover {
    161164                        background-color: ' . $accent_color . ';
     
    175178
    176179                @media screen and (min-width: 782px) {
    177                         .primary-navigation ul ul,
    178                         .primary-navigation li:hover > a {
     180                        .primary-navigation li:hover > a,
     181                        .primary-navigation li.focus > a,
     182                        .primary-navigation ul ul {
    179183                                background-color: ' . $accent_color . ';
    180184                        }
     
    183187                @media screen and (min-width: 1008px) {
    184188                        .secondary-navigation li:hover > a,
     189                        .secondary-navigation li.focus > a,
    185190                        .secondary-navigation ul ul {
    186191                                background-color: ' . $accent_color . ';
     
    201206                .search-toggle.active,
    202207                .search-box,
     208                .entry-meta .tag-links a:hover,
     209                .widget input[type="button"]:hover,
     210                .widget input[type="button"]:focus,
     211                .widget input[type="reset"]:hover,
     212                .widget input[type="reset"]:focus,
     213                .widget input[type="submit"]:hover,
     214                .widget input[type="submit"]:focus,
    203215                .widget_calendar tbody a:hover,
    204                 .slider-control-paging .slider-active:before {
     216                .content-sidebar .widget input[type="button"]:hover,
     217                .content-sidebar .widget input[type="button"]:focus,
     218                .content-sidebar .widget input[type="reset"]:hover,
     219                .content-sidebar .widget input[type="reset"]:focus,
     220                .content-sidebar .widget input[type="submit"]:hover,
     221                .content-sidebar .widget input[type="submit"]:focus,
     222                .slider-control-paging a:hover:before {
    205223                        background-color: ' . $accent_lighter . ';
    206224                }
    207225
    208                 @media screen and (min-width: 782px) {
    209                         .primary-navigation ul ul a:hover,
    210                         .secondary-navigation ul ul a:hover {
    211                                 background-color: ' . $accent_lighter . ';
    212                         }
    213                 }
    214 
    215                 /* Generated variant of custom accent color: much lighter. */
    216                 button:active,
    217                 .contributor-posts-link:active,
    218                 input[type="button"]:active,
    219                 input[type="reset"]:active,
    220                 input[type="submit"]:active,
    221                 .page-links a:hover {
    222                         background-color: ' . $accent_much_lighter . ';
    223                 }
    224 
     226                a:active,
    225227                a:hover,
    226                 a:focus,
    227                 a:active,
    228                 .site-navigation .current_page_item > a,
    229                 .site-navigation .current_page_ancestor > a,
    230                 .site-navigation .current-menu-item > a,
    231                 .site-navigation .current-menu-ancestor > a,
     228                .site-navigation a:hover,
    232229                .entry-title a:hover,
    233230                .entry-meta a:hover,
    234231                .cat-links a:hover,
    235232                .entry-content .edit-link a:hover,
     233                .page-links a:hover,
    236234                .post-navigation a:hover,
    237235                .image-navigation a:hover,
     
    242240                .comment-reply-title small a:hover,
    243241                .widget a:hover,
    244                 .widget a:focus,
    245                 .widget a:active,
     242                .widget-title a:hover,
    246243                .content-sidebar .widget a:hover,
    247                 .content-sidebar .widget a:focus,
    248                 .content-sidebar .widget a:active,
    249244                .content-sidebar .widget .widget-title a:hover,
    250                 .content-sidebar .widget .widget-title a:focus,
    251                 .content-sidebar .widget .widget-title a:active,
    252245                .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover,
     246                .site-info a:hover,
    253247                .featured-content a:hover {
    254                         color: ' . $accent_much_lighter . ';
     248                        color: ' . $accent_lighter . ';
    255249                }
    256250
    257251                .page-links a:hover,
    258252                .paging-navigation a:hover {
    259                         border-color: ' . $accent_much_lighter . ';
     253                        border-color: ' . $accent_lighter . ';
     254                }
     255
     256                .tag-links a:hover:before {
     257                        border-right-color: ' . $accent_lighter . ';
     258                }
     259
     260                @media screen and (min-width: 782px) {
     261                        .primary-navigation ul ul a:hover,
     262                        .primary-navigation ul ul li.focus > a {
     263                                background-color: ' . $accent_lighter . ';
     264                        }
     265                }
     266
     267                @media screen and (min-width: 1008px) {
     268                        .secondary-navigation ul ul a:hover,
     269                        .secondary-navigation ul ul li.focus > a {
     270                                background-color: ' . $accent_lighter . ';
     271                        }
     272                }
     273
     274                /* Generated variant of custom accent color: much lighter. */
     275                button:active,
     276                .contributor-posts-link:active,
     277                input[type="button"]:active,
     278                input[type="reset"]:active,
     279                input[type="submit"]:active,
     280                .widget input[type="button"]:active,
     281                .widget input[type="reset"]:active,
     282                .widget input[type="submit"]:active,
     283                .content-sidebar .widget input[type="button"]:active,
     284                .content-sidebar .widget input[type="reset"]:active,
     285                .content-sidebar .widget input[type="submit"]:active {
     286                        background-color: ' . $accent_much_lighter . ';
     287                }
     288
     289                .site-navigation .current_page_item > a,
     290                .site-navigation .current_page_ancestor > a,
     291                .site-navigation .current-menu-item > a,
     292                .site-navigation .current-menu-ancestor > a {
     293                        color: ' . $accent_much_lighter . ';
    260294                }';
    261295
     296
    262297        wp_add_inline_style( 'twentyfourteen-style', $css );
    263298}
Note: See TracChangeset for help on using the changeset viewer.