- Timestamp:
- 11/04/2013 06:07:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r25999 r26003 140 140 $css = '/* Custom accent color. */ 141 141 a, 142 .paging-navigation .page-numbers.current,143 142 .content-sidebar .widget a { 144 143 color: ' . $accent_color . '; … … 157 156 .widget input[type="submit"], 158 157 .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, 160 163 .slider-direction-nav a:hover { 161 164 background-color: ' . $accent_color . '; … … 175 178 176 179 @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 { 179 183 background-color: ' . $accent_color . '; 180 184 } … … 183 187 @media screen and (min-width: 1008px) { 184 188 .secondary-navigation li:hover > a, 189 .secondary-navigation li.focus > a, 185 190 .secondary-navigation ul ul { 186 191 background-color: ' . $accent_color . '; … … 201 206 .search-toggle.active, 202 207 .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, 203 215 .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 { 205 223 background-color: ' . $accent_lighter . '; 206 224 } 207 225 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, 225 227 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, 232 229 .entry-title a:hover, 233 230 .entry-meta a:hover, 234 231 .cat-links a:hover, 235 232 .entry-content .edit-link a:hover, 233 .page-links a:hover, 236 234 .post-navigation a:hover, 237 235 .image-navigation a:hover, … … 242 240 .comment-reply-title small a:hover, 243 241 .widget a:hover, 244 .widget a:focus, 245 .widget a:active, 242 .widget-title a:hover, 246 243 .content-sidebar .widget a:hover, 247 .content-sidebar .widget a:focus,248 .content-sidebar .widget a:active,249 244 .content-sidebar .widget .widget-title a:hover, 250 .content-sidebar .widget .widget-title a:focus,251 .content-sidebar .widget .widget-title a:active,252 245 .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover, 246 .site-info a:hover, 253 247 .featured-content a:hover { 254 color: ' . $accent_ much_lighter . ';248 color: ' . $accent_lighter . '; 255 249 } 256 250 257 251 .page-links a:hover, 258 252 .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 . '; 260 294 }'; 261 295 296 262 297 wp_add_inline_style( 'twentyfourteen-style', $css ); 263 298 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)