Make WordPress Core


Ignore:
Timestamp:
11/03/2014 05:00:06 PM (9 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus

Props morganestes, iamtakashi, fixes #30108

File:
1 edited

Legend:

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

    r30048 r30208  
    328328        .page-content a,
    329329        .comment-content a,
     330        .pingback .comment-body > a,
    330331        .author-description a,
     332        .taxonomy-description a,
     333        .textwidget a,
     334        .entry-footer a:hover,
     335        .comment-metadata a:hover,
     336        .pingback .edit-link a:hover,
    331337        .comment-list .reply a:hover,
    332         .comment-list .reply a:focus {
     338        .site-info a:hover {
    333339            border-color: %4$s;
    334340        }
     
    368374        .comment-navigation a,
    369375        .widget,
    370         .entry-content a:hover,
    371         .entry-content a:focus,
    372         .entry-summary a:hover,
    373         .entry-summary a:focus,
    374         .page-content a:hover,
    375         .page-content a:focus,
    376         .comment-content a:hover,
    377         .comment-content a:focus,
    378         .author-description a:hover,
    379         .author-description a:focus,
    380376        .author-heading,
    381377        .entry-footer,
     
    387383        .comment-metadata,
    388384        .comment-metadata a,
    389         .pingback .comment-edit-link,
     385        .pingback .edit-link,
     386        .pingback .edit-link a,
    390387        .post-password-form label,
    391388        .comment-form label,
     
    406403        /* Secondary Text Color */
    407404        blockquote,
    408         .entry-content a:hover,
    409         .entry-content a:focus,
    410         .entry-summary a:hover,
    411         .entry-summary a:focus,
    412         .page-content a:hover,
    413         .page-content a:focus,
    414         .comment-content a:hover,
    415         .comment-content a:focus,
    416         .author-description a:hover,
    417         .author-description a:focus {
     405        .logged-in-as a:hover,
     406        .comment-author a:hover {
    418407            border-color: %4$s; /* Fallback for IE7 and IE8 */
    419408            border-color: %5$s;
     
    468457
    469458        /* Border Focus Color */
     459        a:focus,
     460        button:focus,
     461        input:focus {
     462            outline-color: %4$s; /* Fallback for IE7 and IE8 */
     463            outline-color: %7$s;
     464        }
     465
    470466        input:focus,
    471467        textarea:focus {
     
    475471
    476472        /* Sidebar Link Color */
    477         .secondary-toggle:hover {
    478             border-color: %8$s;
    479         }
    480 
    481473        .secondary-toggle:before {
    482474            color: %8$s;
    483         }
    484 
    485         .secondary-toggle:focus {
    486             outline-color: %8$s;
    487475        }
    488476
     
    502490            border-color: %8$s; /* Fallback for IE7 and IE8 */
    503491            border-color: %10$s;
     492        }
     493
     494        /* Sidebar Border Focus Color */
     495        .secondary-toggle:hover,
     496        .secondary-toggle:focus {
     497            border-color: %8$s; /* Fallback for IE7 and IE8 */
     498            border-color: %11$s;
     499        }
     500
     501        .site-title a {
     502            outline-color: %8$s; /* Fallback for IE7 and IE8 */
     503            outline-color: %11$s;
    504504        }
    505505
     
    530530            .widget_calendar tbody a,
    531531            .widget_calendar tbody a:hover,
    532             .widget_calendar tbody a:focus,
    533             .widget mark,
    534             .widget ins {
     532            .widget_calendar tbody a:focus {
    535533                color: %2$s;
    536534            }
    537535
    538536            /* Sidebar Link Color */
    539             .widget button,
    540             .widget input[type="button"],
    541             .widget input[type="reset"],
    542             .widget input[type="submit"],
    543             .widget_calendar tbody a,
    544             .widget mark,
    545             .widget ins {
    546                 background-color: %8$s;
    547             }
    548 
    549537            .secondary a,
    550538            .dropdown-toggle:after,
     
    555543            }
    556544
    557             .dropdown-toggle:focus {
    558                 outline-color: %8$s;
     545            .widget button,
     546            .widget input[type="button"],
     547            .widget input[type="reset"],
     548            .widget input[type="submit"],
     549            .widget_calendar tbody a {
     550                background-color: %8$s;
     551            }
     552
     553            .textwidget a {
     554                border-color: %8$s;
    559555            }
    560556
     
    570566            }
    571567
    572             .dropdown-toggle:hover,
    573             .dropdown-toggle:focus,
    574568            .widget button:hover,
    575569            .widget button:focus,
     
    597591            .widget th,
    598592            .widget td,
    599             .widget input,
    600             .widget textarea,
    601593            .widget pre,
    602594            .widget li,
     
    608600            }
    609601
     602            .dropdown-toggle:hover,
     603            .dropdown-toggle:focus,
    610604            .widget hr {
    611605                background-color: %10$s;
    612606            }
    613607
    614             /* Sidebar Border Focus Color */
    615608            .widget input:focus,
    616609            .widget textarea:focus {
    617610                border-color: %11$s;
     611            }
     612
     613            .sidebar a:focus,
     614            .dropdown-toggle:focus {
     615                outline-color: %11$s;
    618616            }
    619617        }
Note: See TracChangeset for help on using the changeset viewer.