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 edited
2 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/forms/_upload.scss

    r3676 r3847  
    77
    88    legend {
    9         margin: 16px 0;
    109        margin: 1rem 0;
    1110    }
     
    1413        @extend .clear;
    1514        list-style-type: none;
    16         margin: 0 0 32px;
    1715        margin: 0 0 2rem;
    1816
    1917        li {
    2018            float: left;
    21             padding: 8px 0;
    2219            padding: 0.5rem 0;
    2320            width: 50%;
     
    3027
    3128            label {
    32                 @include font-size( ms-unitless( ms(-2) ) );
     29                font-size: ms( -2 );
    3330            }
    3431        }
Note: See TracChangeset for help on using the changeset viewer.