Skip to:
Content

BuddyPress.org

Changeset 11133


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

A11y: Update contrast ratios in twentyfifteen.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/twentyfifteen-rtl.css

    r11006 r11133  
    336336}
    337337
     338#buddypress .item-list a.activity-time-since {
     339    color: #717171;
     340}
     341
    338342#buddypress ul.item-list li {
    339343    overflow: hidden !important;
     
    600604    background-color: #f7f7f7;
    601605    border: 1px solid rgba(234, 234, 234, 0.6);
     606    color: #717171;
    602607    padding: 0 0.2em;
    603608}
     
    674679}
    675680
     681#buddypress #activity-stream .activity-comments a {
     682    color: #717171;
     683}
     684
    676685#buddypress #activity-stream .activity-comments.has-comments {
    677686    border-right: 1px solid #eaeaea;
     
    713722#buddypress #activity-stream .activity-comments > ul .acomment-meta {
    714723    border-bottom: 1px solid #eaeaea;
     724    color: #737373;
    715725    font-style: italic;
    716726}
     
    10481058.groups.group-settings #group-settings-form div.radio ul,
    10491059.groups.group-settings #create-group-form div.radio ul {
    1050     color: rgba(51, 51, 51, 0.6);
     1060    color: #767676;
    10511061    font-size: 14px;
    10521062    font-size: 1.4rem;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css

    r11006 r11133  
    336336}
    337337
     338#buddypress .item-list a.activity-time-since {
     339    color: #717171;
     340}
     341
    338342#buddypress ul.item-list li {
    339343    overflow: hidden !important;
     
    600604    background-color: #f7f7f7;
    601605    border: 1px solid rgba(234, 234, 234, 0.6);
     606    color: #717171;
    602607    padding: 0 0.2em;
    603608}
     
    674679}
    675680
     681#buddypress #activity-stream .activity-comments a {
     682    color: #717171;
     683}
     684
    676685#buddypress #activity-stream .activity-comments.has-comments {
    677686    border-left: 1px solid #eaeaea;
     
    713722#buddypress #activity-stream .activity-comments > ul .acomment-meta {
    714723    border-bottom: 1px solid #eaeaea;
     724    color: #737373;
    715725    font-style: italic;
    716726}
     
    10481058.groups.group-settings #group-settings-form div.radio ul,
    10491059.groups.group-settings #create-group-form div.radio ul {
    1050     color: rgba(51, 51, 51, 0.6);
     1060    color: #767676;
    10511061    font-size: 14px;
    10521062    font-size: 1.4rem;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss

    r11006 r11133  
    523523            @include default-font-sans();
    524524        }
     525
     526        a.activity-time-since {
     527            color: #717171;
     528        }
    525529    }
    526530}
     
    824828                    background-color: $light-background;
    825829                    border: 1px solid rgba($border-light, 0.6);
     830                    color: #717171;
    826831                    padding: 0 0.2em;
    827832                }
     
    904909            margin: $spacing-val-sm 0 0;
    905910
     911            a {
     912                color: #717171;
     913            }
     914
    906915            &.has-comments {
    907916                border-left: 1px solid $border-light;
     
    937946                }
    938947
    939                 .acomment-meta {border-bottom: 1px solid $border-light; font-style: italic;}
     948                .acomment-meta {
     949                    border-bottom: 1px solid $border-light;
     950                    color: #737373;
     951                    font-style: italic;
     952                }
    940953
    941954                // Display the user avatar stacked up to 30em
     
    13281341
    13291342            ul {
    1330                 color: rgba($body-text, 0.6);
     1343                color: #767676;
    13311344                @include font-size(14);
    13321345            }
Note: See TracChangeset for help on using the changeset viewer.