Making WordPress.org


Ignore:
Timestamp:
08/23/2016 10:35:28 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Restructuring Sass and React client.

Merges Sass files into the React component structure. This allows styles to be
bundled with their React components. In an ideal world that would extend to
their PHP fallback templates as well, but it remains to be seen how feasible
that is.
Also introduces Sass Globbing and Pixrem pre-processing to automatically import
Sass files and add pixel fallbacks for rem values.

See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/site/primary/plugin/section/_reviews.scss

    r3825 r3847  
    77
    88    .plugin-review + .plugin-review {
    9         margin: 32px 0 16px;
    109        margin: 2rem 0 1rem;
    1110    }
     
    2322
    2423    .review-header {
    25         margin: 0 0 8px;
    2624        margin: 0 0 0.5rem;
    2725    }
    2826
    2927    .review-title {
    30         @include font-size( ms-unitless( ms(0) ) );
     28        font-size: ms( 0 );
    3129        font-weight: 600;
    32         letter-spacing: 0.16px;
    3330        letter-spacing: 0.01rem;
    34         margin: 0 0 8px;
    3531        margin: 0 0 0.5rem;
    3632        text-transform: inherit;
     
    4844
    4945            .avatar {
    50                 margin-right: 16px;
    5146                margin-right: 1rem;
    5247            }
     
    6964.reviews-link {
    7065    display: inline-block;
    71     @include font-size( ms-unitless( ms(-2) ) );
    72     margin-top: 8px;
     66    font-size: ms( -2 );
    7367    margin-top: 0.5rem;
    7468
Note: See TracChangeset for help on using the changeset viewer.