Make WordPress Core

Changeset 18057


Ignore:
Timestamp:
05/26/2011 06:41:35 PM (14 years ago)
Author:
iandstewart
Message:

Twenty Eleven: focus styles for all links; Fixes #17410

Location:
trunk/wp-content/themes/twentyeleven
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/colors/dark.css

    r18050 r18057  
    5757#site-title a {
    5858    color: #eee;
     59}
     60#site-title a:hover,
     61#site-title a:focus,
     62#site-title a:active {
     63    color: #e4741f;
    5964}
    6065#site-description {
     
    9398    color: #ddd;
    9499}
    95 .entry-title a:hover {
     100.entry-title a:hover,
     101.entry-title a:focus,
     102.entry-title a:active {
    96103    color: #e4741f;
    97104}
     
    134141    color: #000;
    135142}
    136 .entry-meta .edit-link a:hover {
     143.entry-meta .edit-link a:hover,
     144.entry-meta .edit-link a:focus,
     145.entry-meta .edit-link a:active {
    137146    background: #888;
    138147}
     
    162171    color: #888;
    163172}
    164 .entry-header .comments-link a:hover {
     173.entry-header .comments-link a:hover,
     174.entry-header .comments-link a:focus,
     175.entry-header .comments-link a:active {
    165176    background: #888;
    166177    border-color: #aaa;
  • trunk/wp-content/themes/twentyeleven/inc/theme-options.php

    r18050 r18057  
    312312        /* Link color */
    313313        a,
     314        #site-title a:focus,
     315        #site-title a:hover,
     316        #site-title a:active,
    314317        .entry-title a:hover,
     318        .entry-title a:focus,
     319        .entry-title a:active,
    315320        .widget_twentyeleven_ephemera .comments-link a:hover,
    316321        section.recent-posts .other-recent-posts a[rel="bookmark"]:hover,
  • trunk/wp-content/themes/twentyeleven/style.css

    r18050 r18057  
    485485    text-decoration: none;
    486486}
     487#site-title a:hover,
     488#site-title a:focus,
     489#site-title a:active {
     490    color: #1b8be0;
     491}
    487492#site-description {
    488493    color: #7a7a7a;
     
    560565}
    561566#access li:hover > a,
    562 #access ul ul :hover > a {
     567#access ul ul :hover > a,
     568#access a:focus {
    563569    background: #efefef;
    564570}
    565 #access li:hover > a {
     571#access li:hover > a,
     572#access a:focus {
    566573    background: #f9f9f9; /* Show a solid color for older browsers */
    567574    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
     
    690697    text-decoration: none;
    691698}
    692 .entry-title a:hover {
     699.entry-title a:hover,
     700.entry-title a:focus,
     701.entry-title a:active {
    693702    color: #1b8be0;
    694703}
     
    859868    height: 48px;
    860869}
    861 .entry-header .comments-link a:hover {
     870.entry-header .comments-link a:hover,
     871.entry-header .comments-link a:focus,
     872.entry-header .comments-link a:active {
    862873    background: #777;
    863874    border-color: #555;
     
    11621173    text-decoration: none;
    11631174}
    1164 article.intro .edit-link a:hover {
     1175article.intro .edit-link a:hover,
     1176article.intro .edit-link a:focus,
     1177article.intro .edit-link a:active {
    11651178    background: #777;
    11661179}
Note: See TracChangeset for help on using the changeset viewer.