Making WordPress.org


Ignore:
Timestamp:
05/20/2016 10:13:57 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Let the plugin rating break down shine.

Adds syles to show the breakdown of ratings by star level.

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

    r3200 r3205  
    8282        float: right;
    8383        width: 30%;
    84 
    85         .plugin-ratings {
    86             .description {
    87                 @include font-size( ms-unitless( ms(-2) ) );
    88             }
    89 
    90             [class*='dashicons-star-'] {
    91                 color: #FFB900;
    92                 display: inline-block;
    93                 @include font-size( ms-unitless( ms(4) ) );
    94                 height: auto;
    95                 margin: 0;
    96                 width: auto;
    97             }
    98         }
    99 
    100         .stars__small {
    101             @extend .plugin-ratings;
    102             display: inline-block;
    103             line-height: 1;
    104             margin: 0 10px 0 0;
    105 
    106             [class*='dashicons-star-'] {
    107                 @include font-size( ms-unitless( ms(0) ) );
    108             }
    109         }
    110 
    111         .plugin-support {
    112             @include font-size( ms-unitless( ms(-2) ) );
    113         }
    114 
    115         .plugin-meta ul {
    116             @include font-size( ms-unitless( ms(-2) ) );
    117             list-style-type: none;
    118             margin: 0;
    119             padding: 0;
    120 
    121             li {
    122                 padding: 0.5rem 0;
    123                 border-top: 1px solid #eee;
    124             }
    125         }
    12684    }
    12785}
Note: See TracChangeset for help on using the changeset viewer.