Making WordPress.org


Ignore:
Timestamp:
08/23/2016 10:35:28 PM (10 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/_elements.scss

    r3832 r3847  
    3333        color: #82878c;
    3434        font-style: italic;
    35         margin: 16px 0;
    3635        margin: 1rem 0;
    37         padding-left: 16px;
    3836        padding-left: 1rem;
    3937
    4038        cite {
    41                 @include font-size( ms-unitless( ms(-2) ) );
     39                font-size: ms( -2 );
    4240        }
    4341}
     
    4745        border: 0;
    4846        height: 2px;
    49         margin: 80px auto;
    5047        margin: 5rem auto;
    5148}
Note: See TracChangeset for help on using the changeset viewer.