Make WordPress Core


Ignore:
Timestamp:
10/31/2013 04:27:51 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: second pass at revamping the main CSS file. Update pattern graphics to fix issue with orientation changes on tablets. Props iamtakashi, fixes #25592.

File:
1 edited

Legend:

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

    r25979 r25998  
    141141        a,
    142142        .paging-navigation .page-numbers.current,
    143         .content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link {
     143        .content-sidebar .widget a {
    144144            color: ' . $accent_color . ';
    145145        }
     
    152152        .search-toggle,
    153153        .hentry .mejs-controls .mejs-time-rail .mejs-time-current,
    154         .widget_calendar tbody a {
     154        .widget_calendar tbody a,
     155        .slider-control-paging a:hover:before,
     156        .slider-direction-nav a:hover {
    155157            background-color: ' . $accent_color . ';
     158        }
     159
     160        ::-moz-selection {
     161            background: ' . $accent_color . ';
     162        }
     163
     164        ::selection {
     165            background: ' . $accent_color . ';
     166        }
     167
     168        .paging-navigation .page-numbers.current {
     169            border-color: ' .  $accent_color . ';
    156170        }
    157171
     
    163177        }
    164178
    165         ::-moz-selection {
    166             background: ' . $accent_color . ';
    167         }
    168 
    169         ::selection {
    170             background: ' . $accent_color . ';
    171         }
    172 
    173         .paging-navigation .page-numbers.current {
    174             border-color: ' .  $accent_color . ';
     179        @media screen and (min-width: 1008px) {
     180            .secondary-navigation li:hover > a,
     181            .secondary-navigation ul ul {
     182                background-color: ' . $accent_color . ';
     183            }
    175184        }
    176185
     
    188197        .search-toggle.active,
    189198        .search-box,
    190         .primary-navigation ul ul a:hover,
    191         .widget_calendar tbody a:hover {
     199        .widget_calendar tbody a:hover,
     200        .slider-control-paging .slider-active:before {
    192201            background-color: ' . $accent_lighter . ';
     202        }
     203
     204        @media screen and (min-width: 782px) {
     205            .primary-navigation ul ul a:hover,
     206            .secondary-navigation ul ul a:hover {
     207                background-color: ' . $accent_lighter . ';
     208            }
    193209        }
    194210
     
    210226        .site-navigation .current-menu-item > a,
    211227        .site-navigation .current-menu-ancestor > a,
    212         .secondary-navigation a:hover,
    213228        .entry-title a:hover,
     229        .entry-meta a:hover,
    214230        .cat-links a:hover,
    215231        .post-navigation a:hover,
     
    219235        .comment-list .trackback a:hover,
    220236        .comment-metadata a:hover,
    221         .footer-sidebar a:hover,
    222         .primary-sidebar a:hover,
    223         .content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link:hover,
     237        .widget a:hover,
     238        .widget a:focus,
     239        .widget a:active,
     240        .content-sidebar .widget a:hover,
     241        .content-sidebar .widget a:focus,
     242        .content-sidebar .widget a:active,
     243        .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover,
    224244        .featured-content a:hover {
    225245            color: ' . $accent_much_lighter . ';
Note: See TracChangeset for help on using the changeset viewer.