Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/21/2016 08:58:05 AM (8 years ago)
Author:
mercime
Message:

A11y: Update contrast ratios in twentyfourteen.css to meet WCAG 2.0 AA standards.

See #7222.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss

    r11006 r11134  
    127127$dark-back-text-color:   #fff;
    128128$light-background:       #f7f7f7;
    129 $medium-background:      #999;
     129$medium-background:      #949494;
    130130$dark-background:        #000;
    131131$border-color:           #000; // border color can be varied using rgba
     
    287287                }
    288288            }
     289
     290            a {
     291                color: #1b6e08;
     292            }
    289293        }
    290294    }
     
    331335        ul {
    332336            border-bottom: 0;
     337        }
     338
     339        a {
     340            color: #1b6e08;
    333341        }
    334342
     
    418426                    &:focus,
    419427                    &:hover {
    420                         background: $nav-background-border;
     428                        background: lighten($nav-background-border, 20%);
    421429                    }
    422430
     
    447455                li:focus,
    448456                li:hover {
    449                     background: $nav-background-border;
     457                    background: lighten($nav-background-border, 20%);
    450458                }
    451459
     
    838846            }
    839847
     848            a {
     849                color: #1b6e08;
     850            }
     851
    840852            ul {
    841853                background: rgba($light-background, 0.6);
     
    846858                border-left: 1px solid $border-light;
    847859                padding-left: 2%;
     860            }
     861
     862            .acomment-meta {
     863                color: #737373;
    848864            }
    849865
     
    11371153
    11381154        ul {
    1139             color: lighten($body-text, 30%);
     1155            color: lighten($body-text, 25%);
    11401156        }
    11411157    }
     
    11631179                    clear: none;
    11641180                    float: left;
    1165                     > a {border-bottom: 0;}
     1181
     1182                    > a {
     1183                        border-bottom: 0;
     1184                        color: #22830c;
     1185                    }
    11661186                }
    11671187
     
    18491869    table {
    18501870        border-color: $border-med;
     1871
     1872        .alt a {
     1873            color: #22820c;
     1874        }
    18511875    }
    18521876}
Note: See TracChangeset for help on using the changeset viewer.