Making WordPress.org


Ignore:
Timestamp:
03/23/2017 03:09:40 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Make FAQ toggles accessible

Restores focus styles for keyboard navigation and adds a focusable element to
toggle from.

Fixes #2296.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/faq/style.scss

    r5024 r5166  
    1717    }
    1818
    19     dt {
     19    .button-link {
    2020        border-top: 1px solid $color__border;
    2121        cursor: pointer;
    2222        font-size: ms( 0 );
    2323        font-weight: 600;
     24        margin-bottom: 1px;
    2425        padding: 1rem 0;
     26        text-align: left;
     27        width: 100%;
    2528
    2629        &:before {
     
    2932            font-family: dashicons;
    3033            margin: 0 1rem;
     34        }
     35
     36        &.no-focus {
     37            box-shadow: none;
     38            outline: none;
    3139        }
    3240
Note: See TracChangeset for help on using the changeset viewer.