Skip to:
Content

BuddyPress.org

Changeset 11134


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

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

See #7222.

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
3 edited

Legend:

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

    r11006 r11134  
    124124}
    125125
     126#buddypress .item-list-tabs ul a {
     127    color: #1b6e08;
     128}
     129
    126130.directory #buddypress .item-list-tabs ul:before,
    127131.directory #buddypress .item-list-tabs ul:after {
     
    163167}
    164168
     169.directory #buddypress #subnav a {
     170    color: #1b6e08;
     171}
     172
    165173/* List last filters global */
    166174#buddypress #subnav li#activity-filter-select.last {
     
    213221    }
    214222    #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover {
    215         background: #bebebe;
     223        background: #f1f1f1;
    216224    }
    217225    #buddypress #object-nav ul li span {
     
    236244    #buddypress #item-body #subnav li:focus,
    237245    #buddypress #item-body #subnav li:hover {
    238         background: #bebebe;
     246        background: #f1f1f1;
    239247    }
    240248    #buddypress #item-body #subnav li.current {
     
    553561}
    554562
     563#buddypress .activity .activity-comments a {
     564    color: #1b6e08;
     565}
     566
    555567#buddypress .activity .activity-comments ul {
    556568    background: rgba(247, 247, 247, 0.6);
     
    561573    border-right: 1px solid rgba(0, 0, 0, 0.1);
    562574    padding-right: 2%;
     575}
     576
     577#buddypress .activity .activity-comments .acomment-meta {
     578    color: #737373;
    563579}
    564580
     
    805821#group-settings-form .radio ul,
    806822#create-group-form .radio ul {
    807     color: #787878;
     823    color: #6b6b6b;
    808824}
    809825
     
    841857.groups.manage-members #group-settings-form .item-list li h5 > a {
    842858    border-bottom: 0;
     859    color: #22830c;
    843860}
    844861
     
    9981015    */
    9991016#buddypress .profile .bp-widget h2 {
    1000     background: #999;
     1017    background: #949494;
    10011018    color: #fff;
    10021019    padding: 0.4em 0.2em;
     
    14601477}
    14611478
     1479#buddypress table .alt a {
     1480    color: #22820c;
     1481}
     1482
    14621483/*__ User Account tables __*/
    14631484/**
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.css

    r11006 r11134  
    124124}
    125125
     126#buddypress .item-list-tabs ul a {
     127    color: #1b6e08;
     128}
     129
    126130.directory #buddypress .item-list-tabs ul:before,
    127131.directory #buddypress .item-list-tabs ul:after {
     
    163167}
    164168
     169.directory #buddypress #subnav a {
     170    color: #1b6e08;
     171}
     172
    165173/* List last filters global */
    166174#buddypress #subnav li#activity-filter-select.last {
     
    213221    }
    214222    #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover {
    215         background: #bebebe;
     223        background: #f1f1f1;
    216224    }
    217225    #buddypress #object-nav ul li span {
     
    236244    #buddypress #item-body #subnav li:focus,
    237245    #buddypress #item-body #subnav li:hover {
    238         background: #bebebe;
     246        background: #f1f1f1;
    239247    }
    240248    #buddypress #item-body #subnav li.current {
     
    553561}
    554562
     563#buddypress .activity .activity-comments a {
     564    color: #1b6e08;
     565}
     566
    555567#buddypress .activity .activity-comments ul {
    556568    background: rgba(247, 247, 247, 0.6);
     
    561573    border-left: 1px solid rgba(0, 0, 0, 0.1);
    562574    padding-left: 2%;
     575}
     576
     577#buddypress .activity .activity-comments .acomment-meta {
     578    color: #737373;
    563579}
    564580
     
    805821#group-settings-form .radio ul,
    806822#create-group-form .radio ul {
    807     color: #787878;
     823    color: #6b6b6b;
    808824}
    809825
     
    841857.groups.manage-members #group-settings-form .item-list li h5 > a {
    842858    border-bottom: 0;
     859    color: #22830c;
    843860}
    844861
     
    9981015    */
    9991016#buddypress .profile .bp-widget h2 {
    1000     background: #999;
     1017    background: #949494;
    10011018    color: #fff;
    10021019    padding: 0.4em 0.2em;
     
    14601477}
    14611478
     1479#buddypress table .alt a {
     1480    color: #22820c;
     1481}
     1482
    14621483/*__ User Account tables __*/
    14631484/**
  • 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.