WordPress.org

Making WordPress.org


Ignore:
Timestamp:
08/23/2016 10:35:28 PM (3 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 copied
1 moved

Legend:

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

    r3844 r3847  
    1 @import "../../variables-site/variables-site";
    2 
    31.plugin-section {
    42    border-bottom: 2px solid $color__border;
     
    1614
    1715    .section-title {
    18         @include font-size( ms-unitless( ms(4) ) );
     16        font-size: ms( 4 );
    1917        font-weight: 400;
    20         margin-bottom: 48px;
    2118        margin-bottom: 3rem;
    2219    }
    2320
    2421    .section-link {
    25         @include font-size( ms-unitless( ms(0) ) );
     22        font-size: ms( 0 );
    2623        position: absolute;
    2724        right: 0;
    28         top: 11.2px;
    2925        top: 0.7rem;
    3026    }
Note: See TracChangeset for help on using the changeset viewer.