Ticket #30521: 30521.diff
File 30521.diff, 1.9 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/functions.php
265 265 $prevthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $previous->ID ), 'post-thumbnail' ); 266 266 $css .= ' 267 267 .post-navigation .nav-previous { background-image: url(' . esc_url( $prevthumb[0] ) . '); } 268 .post-navigation .nav-previous .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; }268 .post-navigation .nav-previous .post-title, .post-navigation .nav-previous a:hover .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; } 269 269 .post-navigation .nav-previous a:before { background-color: rgba(0, 0, 0, 0.4); } 270 270 '; 271 271 } … … 274 274 $nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next->ID ), 'post-thumbnail' ); 275 275 $css .= ' 276 276 .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); } 277 .post-navigation .nav-next .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }277 .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; } 278 278 .post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); } 279 279 '; 280 280 } -
src/wp-content/themes/twentyfifteen/inc/customizer.php
486 486 border-color: {{ data.border_color }}; 487 487 } 488 488 489 .post-navigation .nav-previous:not(.has-post-thumbnail) .nav-next:not(.has-post-thumbnail){489 .post-navigation div + div { 490 490 border-color: {{ data.border_color }}; 491 491 } 492 492