Make WordPress Core

Ticket #30108: 30108.3.diff

File 30108.3.diff, 2.6 KB (added by morganestes, 10 years ago)

Updates page and entry content rules, and updates customizer rule for elements that have the border removed on hover/focus.

  • src/wp-content/themes/twentyfifteen/inc/customizer.php

     
    415415                .comment-content a:focus,
    416416                .author-description a:hover,
    417417                .author-description a:focus {
    418                         border-color: %4$s; /* Fallback for IE7 and IE8 */
    419                         border-color: %5$s;
     418                        color: %4$s; /* Fallback for IE7 and IE8 */
     419                        color: %5$s;
    420420                }
    421421
    422422                /* Border Color */
  • src/wp-content/themes/twentyfifteen/style.css

     
    11741174        z-index: 100000;
    11751175}
    11761176
     1177a:focus,
     1178a:hover {
     1179        text-decoration: underline;
     1180}
    11771181
     1182.entry-content a:focus,
     1183.entry-content a:hover,
     1184.social-navigation a:focus:before,
     1185.social-navigation a:hover:before,
     1186.comment-reply-title small a:focus:before,
     1187.comment-reply-title small a:hover:before,
     1188.comment-navigation .nav-next a:focus:after,
     1189.comment-navigation .nav-next a:hover:after,
     1190.comment-navigation .nav-previous a:focus:before,
     1191.comment-navigation .nav-previous a:hover:before,
     1192.posted-on a:focus:before,
     1193.posted-on a:hover:before,
     1194.byline a:focus:before,
     1195.byline a:hover:before,
     1196.cat-links span + a:focus:before,
     1197.cat-links span + a:hover:before,
     1198.tags-links span + a:focus:before,
     1199.tags-links span + a:hover:before,
     1200.comments-link a:focus:before,
     1201.comments-link a:hover:before,
     1202.entry-format a:focus:before,
     1203.entry-format a:hover:before,
     1204.edit-link a:focus:before,
     1205.edit-link a:hover:before,
     1206.full-size-link a:focus:before,
     1207.full-size-link a:hover:before,
     1208.pagination .prev:focus:before,
     1209.pagination .prev:focus:before,
     1210.pagination .next:focus:before,
     1211.pagination .next:hover:before,
     1212.image-navigation a:focus:before,
     1213.image-navigation a:hover:before,
     1214.image-navigation a:focus:after,
     1215.image-navigation a:hover:after,
     1216.format-link .entry-title a:focus:after,
     1217.format-link .entry-title a:hover:after,
     1218.entry-content .more-link:focus:after,
     1219.entry-content .more-link:hover:after,
     1220.author-link:focus:after,
     1221.author-link:hover:after {
     1222        text-decoration: none;
     1223        border-bottom: none;
     1224}
     1225
    11781226/**
    11791227 * 8.0 Alignments
    11801228 */
     
    17121760.page-content a:focus,
    17131761.comment-content a:hover,
    17141762.comment-content a:focus {
    1715         border-color: #707070;
    1716         border-color: rgba(51, 51, 51, 0.7);
     1763        border: none;
    17171764        color: #707070;
    17181765        color: rgba(51, 51, 51, 0.7);
    17191766}