Ticket #38389: 38389.diff
File 38389.diff, 17.2 KB (added by , 8 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/inc/color-patterns.php
28 28 * Twenty Seventeen: Color Patterns 29 29 */ 30 30 31 .colors-custom a:hover, 32 .colors-custom a:active, 33 .colors-custom .entry-content a:focus, 34 .colors-custom .entry-content a:hover, 35 .colors-custom .entry-summary a:focus, 36 .colors-custom .entry-summary a:hover, 37 .colors-custom .widget a:focus, 38 .colors-custom .widget a:hover, 39 .colors-custom .colors-custom .site-footer .widget-area a:focus, 40 .colors-custom .site-footer .widget-area a:hover, 41 .colors-custom .posts-navigation a:focus, 42 .colors-custom .posts-navigation a:hover, 43 .colors-custom .comment-metadata a:focus, 44 .colors-custom .comment-metadata a:hover, 45 .colors-custom .comment-metadata a.comment-edit-link:focus, 46 .colors-custom .comment-metadata a.comment-edit-link:hover, 47 .colors-custom .comment-reply-link:focus, 48 .colors-custom .comment-reply-link:hover, 49 .colors-custom .widget_authors a:focus strong, 50 .colors-custom .widget_authors a:hover strong, 51 .colors-custom .project-terms a:focus, 52 .colors-custom .project-terms a:hover, 53 .colors-custom .entry-title a:focus, 54 .colors-custom .entry-title a:hover, 55 .colors-custom .entry-meta a:focus, 56 .colors-custom .entry-meta a:hover, 57 .colors-custom .page-links a:focus .page-number, 58 .colors-custom .page-links a:hover .page-number, 59 .colors-custom .entry-footer a:focus, 60 .colors-custom .entry-footer a:hover, 61 .colors-custom .entry-footer .cat-links a:focus, 62 .colors-custom .entry-footer .cat-links a:hover, 63 .colors-custom .entry-footer .tags-links a:focus, 64 .colors-custom .entry-footer .tags-links a:hover, 65 .colors-custom .post-navigation a:focus, 66 .colors-custom .post-navigation a:hover, 67 .colors-custom .logged-in-as a:focus, 68 .colors-custom .logged-in-as a:hover, 69 .colors-custom a:focus .nav-title, 70 .colors-custom a:hover .nav-title, 71 .colors-custom .edit-link a:focus, 72 .colors-custom .edit-link a:hover, 73 .colors-custom .site-info a:focus, 74 .colors-custom .site-info a:hover, 75 .colors-custom .widget .widget-title a:focus, 76 .colors-custom .widget .widget-title a:hover, 77 .colors-custom .widget ul li a:focus, 78 .colors-custom .widget ul li a:hover { 79 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 0% ); /* base: #000; */ 80 } 81 82 .colors-custom .entry-content a, 83 .colors-custom .entry-summary a, 84 .colors-custom .widget a, 85 .colors-custom .site-footer .widget-area a, 86 .colors-custom .posts-navigation a, 87 .colors-custom .widget_authors a strong { 88 -webkit-box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 6% ); /* base: rgba(15, 15, 15, 1); */ 89 box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 6% ); /* base: rgba(15, 15, 15, 1); */ 90 } 91 31 92 .colors-custom button, 32 93 .colors-custom input[type="button"], 33 94 .colors-custom input[type="submit"], … … 57 118 .colors-custom input[type="reset"].secondary, 58 119 .colors-custom input[type="submit"].secondary, 59 120 .colors-custom a, 60 .colors-custom a:visited,61 121 .colors-custom .site-title, 62 122 .colors-custom .site-title a, 63 123 .colors-custom .navigation-top a, 64 .colors-custom .navigation-top a:visited,65 124 .colors-custom .dropdown-toggle, 66 125 .colors-custom .menu-toggle, 67 126 .colors-custom .page .panel-content .entry-title, … … 71 130 .colors-custom .comment-metadata a.comment-edit-link, 72 131 .colors-custom .comment-reply-link .icon, 73 132 .colors-custom h2.widget-title, 74 .colors-custom mark { 133 .colors-custom mark, 134 .colors-custom .post-navigation a:focus .icon, 135 .colors-custom .post-navigation a:hover .icon, 136 .colors-custom .site-content .site-content-light, 137 .colors-custom.blog .entry-meta a.post-edit-link, 138 .colors-custom.archive .entry-meta a.post-edit-link, 139 .colors-custom.search .entry-meta a.post-edit-link, 140 .colors-custom .twentyseventeen-panel .recent-posts .entry-header .edit-link { 75 141 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% ); /* base: #222; */ 76 142 } 77 143 … … 90 156 .colors-custom .entry-footer .tags-links a, 91 157 .colors-custom .format-quote blockquote, 92 158 .colors-custom .nav-title, 93 .colors-custom .comment-body { 159 .colors-custom .comment-body, 160 .colors-custom .site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album { 94 161 color: hsl( ' . esc_attr( $hue ) . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */ 95 162 } 96 163 164 .colors-custom .social-navigation a:hover, 165 .colors-custom .social-navigation a:focus { 166 background: hsl( ' . esc_attr( $hue ) . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */ 167 } 97 168 98 169 .colors-custom input[type="text"]:focus, 99 170 .colors-custom input[type="email"]:focus, … … 133 204 .colors-custom input[type="datetime-local"], 134 205 .colors-custom input[type="color"], 135 206 .colors-custom textarea, 207 .colors-custom .site-description, 136 208 .colors-custom .entry-content blockquote.alignleft, 137 209 .colors-custom .entry-content blockquote.alignright, 138 210 .colors-custom .colors-custom .taxonomy-description, 139 211 .colors-custom .site-info a, 140 .colors-custom .wp-caption { 212 .colors-custom .wp-caption, 213 .colors-custom .gallery-caption { 141 214 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 40% ); /* base: #666; */ 142 215 } 143 216 … … 156 229 .colors-custom .comment-awaiting-moderation, 157 230 .colors-custom .page-numbers.current, 158 231 .colors-custom .page-links .page-number, 159 .colors-custom .site-description,160 232 .colors-custom .navigation-top .current-menu-item > a, 161 .colors-custom .navigation-top .current-menu-item > a:visited,162 233 .colors-custom .navigation-top .current_page_item > a, 163 .colors-custom .navigation-top .current_page_item > a:visited { 234 .colors-custom .main-navigation a:hover, 235 .colors-custom .site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist { 164 236 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */ 165 237 } 166 238 … … 170 242 .colors-custom input[type="button"]:focus, 171 243 .colors-custom input[type="submit"]:hover, 172 244 .colors-custom input[type="submit"]:focus, 173 .colors-custom .entry-content a:focus,174 .colors-custom .entry-content a:hover,175 .colors-custom .entry-summary a:focus,176 .colors-custom .entry-summary a:hover,177 .colors-custom .widget a:focus,178 .colors-custom .widget a:hover,179 .colors-custom .colors-custom .site-footer .widget-area a:focus,180 .colors-custom .site-footer .widget-area a:hover,181 .colors-custom .posts-navigation a:focus,182 .colors-custom .posts-navigation a:hover,183 .colors-custom .comment-navigation a:focus,184 .colors-custom .comment-navigation a:hover,185 .colors-custom .comment-metadata a:focus,186 .colors-custom .comment-metadata a:hover,187 .colors-custom .comment-metadata a.comment-edit-link:focus,188 .colors-custom .comment-metadata a.comment-edit-link:hover,189 .colors-custom .comment-reply-link:focus,190 .colors-custom .comment-reply-link:hover,191 .colors-custom .widget_authors a:focus strong,192 .colors-custom .widget_authors a:hover strong,193 .colors-custom .project-terms a:focus,194 .colors-custom .project-terms a:hover,195 .colors-custom .entry-title a:focus,196 .colors-custom .entry-title a:hover,197 .colors-custom .entry-meta a:focus,198 .colors-custom .entry-meta a:hover,199 .colors-custom .page-links a:focus .page-number,200 .colors-custom .page-links a:hover .page-number,201 .colors-custom .entry-footer a:focus,202 .colors-custom .entry-footer a:hover,203 .colors-custom .entry-footer .cat-links a:focus,204 .colors-custom .entry-footer .cat-links a:hover,205 .colors-custom .entry-footer .tags-links a:focus,206 .colors-custom .entry-footer .tags-links a:hover,207 .colors-custom .post-navigation a:focus,208 .colors-custom .post-navigation a:hover,209 .colors-custom .logged-in-as a:focus,210 .colors-custom .logged-in-as a:hover,211 .colors-custom .comment-navigation a:focus,212 .colors-custom .comment-navigation a:hover,213 .colors-custom a:focus .nav-title,214 .colors-custom .colors-custom a:hover .nav-title,215 .colors-custom .edit-link a:focus,216 .colors-custom .edit-link a:hover,217 .colors-custom .pagination a:focus,218 .colors-custom .pagination a:hover,219 .colors-custom .site-info a:focus,220 .colors-custom .site-info a:hover,221 .colors-custom .widget .widget-title a:focus,222 .colors-custom .widget .widget-title a:hover,223 .colors-custom .widget ul li a:focus,224 .colors-custom .widget ul li a:hover,225 245 .colors-custom .entry-footer .edit-link a.post-edit-link:hover, 226 246 .colors-custom .entry-footer .edit-link a.post-edit-link:focus, 227 .colors-custom .social-navigation a:hover, 228 .colors-custom .social-navigation a:focus { 247 .colors-custom .social-navigation a, 248 .colors-custom .prev.page-numbers:focus, 249 .colors-custom .prev.page-numbers:hover, 250 .colors-custom .next.page-numbers:focus, 251 .colors-custom .next.page-numbers:hover, 252 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:hover, 253 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:focus { 229 254 background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */ 230 255 } 231 256 232 257 .colors-custom .entry-content a, 233 .colors-custom .entry-content a:visited,234 258 .colors-custom .entry-summary a, 235 .colors-custom .entry-summary a:visited,236 259 .colors-custom .widget a, 237 .colors-custom .widget a:visited,238 260 .colors-custom .site-footer .widget-area a, 239 .colors-custom .site-footer .widget-area a:visited,240 261 .colors-custom .posts-navigation a, 241 .colors-custom .posts-navigation a:visited, 242 .colors-custom .widget_authors a strong, 243 .colors-custom .widget_authors a:visited strong { 262 .colors-custom .widget_authors a strong { 244 263 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */ 245 264 } 246 265 … … 254 273 .colors-custom input[type="reset"].secondary:focus, 255 274 .colors-custom input[type="submit"].secondary:hover, 256 275 .colors-custom input[type="submit"].secondary:focus, 257 .colors-custom .social-navigation a,258 276 .colors-custom hr { 259 277 background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ 260 278 } … … 286 304 border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ 287 305 } 288 306 307 .colors-custom thead th { 308 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ 309 } 310 289 311 .colors-custom .entry-footer .cat-links .icon, 290 312 .colors-custom .entry-footer .tags-links .icon { 291 313 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ … … 325 347 .colors-custom .navigation-top, 326 348 .colors-custom .main-navigation > div > ul, 327 349 .colors-custom .pagination, 328 .colors-custom .comment -navigation,350 .colors-custom .comments-pagination, 329 351 .colors-custom .entry-footer, 330 352 .colors-custom .site-footer { 331 353 border-top-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */ … … 334 356 .colors-custom .navigation-top, 335 357 .colors-custom .main-navigation li, 336 358 .colors-custom .entry-footer, 337 .colors-custom #comments { 359 .colors-custom .single-featured-image-header, 360 .colors-custom .site-content .wp-playlist-light .wp-playlist-item, 361 .colors-custom tr { 338 362 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */ 339 363 } 340 364 341 .colors-custom .site-header { 365 .colors-custom .site-content .wp-playlist-light { 366 border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */ 367 } 368 369 .colors-custom .site-header, 370 .colors-custom .single-featured-image-header { 342 371 background-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 98% ); /* base: #fafafa; */ 343 372 } 344 373 345 .colors-custom .entry-content a:focus,346 .colors-custom .entry-content a:hover,347 .colors-custom .entry-summary a:focus,348 .colors-custom .entry-summary a:hover,349 .colors-custom .widget a:focus,350 .colors-custom .widget a:hover,351 .colors-custom .site-footer .widget-area a:focus,352 .colors-custom .site-footer .widget-area a:hover,353 .colors-custom .posts-navigation a:focus,354 .colors-custom .posts-navigation a:hover,355 .colors-custom .comment-navigation a:focus,356 .colors-custom .comment-navigation a:hover,357 .colors-custom .comment-metadata a:focus,358 .colors-custom .comment-metadata a:hover,359 .colors-custom .comment-metadata a.comment-edit-link:focus,360 .colors-custom .comment-metadata a.comment-edit-link:hover,361 .colors-custom .comment-reply-link:focus,362 .colors-custom .comment-reply-link:hover,363 .colors-custom .widget_authors a:focus strong,364 .colors-custom .widget_authors a:hover strong,365 .colors-custom .project-terms a:focus,366 .colors-custom .project-terms a:hover,367 .colors-custom .colors-custom .entry-title a:focus,368 .colors-custom .entry-title a:hover,369 .colors-custom .entry-meta a:focus,370 .colors-custom .entry-meta a:hover,371 .colors-custom .page-links a:focus .page-number,372 .colors-custom .page-links a:hover .page-number,373 .colors-custom .entry-footer a:focus,374 .colors-custom .entry-footer a:hover,375 .colors-custom .entry-footer .cat-links a:focus,376 .colors-custom .entry-footer .cat-links a:hover,377 .colors-custom .entry-footer .tags-links a:focus,378 .colors-custom .entry-footer .tags-links a:hover,379 .colors-custom .post-navigation a:focus,380 .colors-custom .post-navigation a:hover,381 .colors-custom .logged-in-as a:focus,382 .colors-custom .logged-in-as a:hover,383 .colors-custom .comment-navigation a:focus,384 .colors-custom .comment-navigation a:hover,385 .colors-custom a:focus .nav-title,386 .colors-custom a:hover .nav-title,387 .colors-custom .edit-link a:focus,388 .colors-custom .edit-link a:hover,389 .colors-custom .pagination a:focus,390 .colors-custom .pagination a:hover,391 .colors-custom .site-info a:focus,392 .colors-custom .site-info a:hover,393 .colors-custom .widget .widget-title a:focus,394 .colors-custom .widget .widget-title a:hover,395 .colors-custom .widget ul li a:focus,396 .colors-custom .widget ul li a:hover,397 374 .colors-custom button, 398 375 .colors-custom input[type="button"], 399 376 .colors-custom input[type="submit"], 400 377 .colors-custom .entry-footer .edit-link a.post-edit-link, 401 .colors-custom .social-navigation a { 378 .colors-custom .social-navigation a, 379 .colors-custom .site-content .wp-playlist-light a.wp-playlist-caption:hover, 380 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:hover a, 381 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:focus a, 382 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:hover, 383 .colors-custom .site-content .wp-playlist-light .wp-playlist-item:focus, 384 .colors-custom .prev.page-numbers:focus, 385 .colors-custom .prev.page-numbers:hover, 386 .colors-custom .next.page-numbers:focus, 387 .colors-custom .next.page-numbers:hover, 388 .colors-custom.has-header-image .site-title, 389 .colors-custom.has-header-image .site-title a, 390 .colors-custom.has-header-image .site-description { 402 391 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */ 403 392 } 404 393 … … 418 407 background-color: transparent; 419 408 } 420 409 410 /* Reset non-customizable hover styling for links */ 411 .colors-custom .entry-content a:hover, 412 .colors-custom .entry-content a:focus, 413 .colors-custom .entry-summary a:hover, 414 .colors-custom .entry-summary a:focus, 415 .colors-custom .widget a:hover, 416 .colors-custom .widget a:focus, 417 .colors-custom .site-footer .widget-area a:hover, 418 .colors-custom .site-footer .widget-area a:focus, 419 .colors-custom .posts-navigation a:hover, 420 .colors-custom .posts-navigation a:focus, 421 .colors-custom .widget_authors a:hover strong, 422 .colors-custom .widget_authors a:focus strong { 423 -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1); 424 box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1); 425 } 421 426 422 427 @media screen and (min-width: 48em) { 423 428 … … 431 436 background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */ 432 437 } 433 438 434 .colors-custom . menu-scroll-down {439 .colors-custom .navigation-top .menu-scroll-down { 435 440 color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */; 436 441 } 437 442 443 .colors-custom abbr[title] { 444 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */; 445 } 446 438 447 .colors-custom .main-navigation ul ul { 439 border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */448 border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ 440 449 background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */ 441 450 } 442 451 443 452 .colors-custom .main-navigation ul li.menu-item-has-children:before, 444 453 .colors-custom .main-navigation ul li.page_item_has_children:before { 445 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */454 border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */ 446 455 } 447 456 448 457 .colors-custom .main-navigation ul li.menu-item-has-children:after, -
src/wp-content/themes/twentyseventeen/style.css
2015 2015 2016 2016 .entry-footer .cat-links .icon, 2017 2017 .entry-footer .tags-links .icon { 2018 color: # 999;2018 color: #767676; 2019 2019 left: 0; 2020 2020 margin-right: 0.5em; 2021 2021 position: absolute;