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/elements/_banners.scss

    r3676 r3847  
     1@import "../mixins/mixins-master";
    12@import "../variables-site/variables-site";
    23
    34.locale-banner {
    45    background: $color__green;
    5     padding: 8px;
     6    font-size: ms( 0 );
    67    padding: 0.5rem;
    78    text-align: center;
    8     @include font-size(ms-unitless(ms(-2)));
    9 }
    109
    11 @media ( min-width: 67rem ) {
    12     .locale-banner {
    13         margin: 16px auto 0;
     10    @media ( min-width: 67rem ) {
    1411        margin: 1rem auto 0;
    1512        max-width: $size__site-main;
Note: See TracChangeset for help on using the changeset viewer.