Making WordPress.org


Ignore:
Timestamp:
11/24/2016 01:38:06 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Clean up the section templates, bring some custom functionality into their respective shortcodes and shifting the read-more logic from CSS/JS to PHP/HTML.

File:
1 edited

Legend:

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

    r4399 r4410  
    1 .read-more {
    2     border-bottom: 2px solid $color__border;
    3     max-height: 200px;
    4     overflow: hidden;
    5     padding-bottom: 1px;
     1.section {
    62
    7     &#reviews {
    8         max-height: none;
    9         overflow: auto;
    10     }
     3    &.read-more {
     4        border-bottom: 2px solid $color__border;
     5        max-height: 200px;
     6        overflow: hidden;
     7        padding-bottom: 1px;
    118
    12     &:nth-of-type(1) {
    13         max-height: 400px;
     9        &#description {
     10            max-height: 400px;
     11        }
     12
     13        &.toggled {
     14            max-height: none;
     15        }
     16
    1417    }
    1518
     
    5053        margin-top: 0;
    5154    }
    52 
    53     &.toggled {
    54         max-height: none;
    55     }
    56 }
    57 
    58 #screenshots.read-more {
    59     border-bottom: none;
    6055}
    6156
Note: See TracChangeset for help on using the changeset viewer.