Making WordPress.org


Ignore:
Timestamp:
01/30/2018 10:25:19 PM (8 years ago)
Author:
obenland
Message:

Plugins: Remove read-more styles.

See #3032.

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

    r5255 r6476  
    11.section {
    2 
    3     &.read-more {
    4         border-bottom: 2px solid $color__border;
    5         max-height: 200px;
    6         overflow: hidden;
    7         padding-bottom: 1px;
    8 
    9         &.plugin-description {
    10             max-height: 520px;
    11 
    12             &.toggled {
    13                 max-height: none;
    14             }
    15         }
    16 
    17         &.toggled {
    18             max-height: none;
    19         }
    20 
    21         .no-js & {
    22             max-height: none;
    23             overflow: auto;
    24         }
    25     }
    26 
    272    h1, h2, h3 {
    283        font-size: ms( 0 );
     
    5833    }
    5934}
    60 
    61 .section-toggle {
    62     color: $color__link;
    63     cursor: pointer;
    64     font-size: ms( -2 );
    65     margin-top: 0.5rem;
    66     position: relative;
    67 
    68     .no-js & {
    69         display: none;
    70     }
    71 
    72 
    73     &:after {
    74         content: "\f347";
    75         font-family: dashicons;
    76         padding-left: 5px;
    77         vertical-align: text-top;
    78         position: relative;
    79         float: right;
    80         top: 1px;
    81 
    82         .toggled + & {
    83             content: "\f343";
    84         }
    85     }
    86 
    87     &:hover {
    88         text-decoration: underline;
    89     }
    90 }
Note: See TracChangeset for help on using the changeset viewer.