Making WordPress.org


Ignore:
Timestamp:
05/25/2016 05:33:00 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Introduce our very own accordion.

Makes "Read more" toggles work on single plugin pages.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_plugin-single.scss

    r3223 r3252  
    6262                margin-top: 0;
    6363            }
     64
     65            &.toggled {
     66                max-height: none;
     67            }
    6468        }
    6569
     
    6771            @extend a;
    6872            font-size: ms(-2);
    69             padding-top: 0.5rem;
     73            margin-top: 0.5rem;
    7074            position: relative;
    7175
     
    7680                vertical-align: text-top;
    7781            }
     82        }
     83
     84        .toggled + .section-toggle:after {
     85            content: "\f343";
    7886        }
    7987
Note: See TracChangeset for help on using the changeset viewer.