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/forms/_buttons.scss

    r3832 r3847  
    5656    line-height: 1;
    5757    margin: 0;
    58     padding: 0 12.8px;
    5958    padding: 0 0.8rem;
    6059    text-decoration: none;
     
    7675    height: ms(6);
    7776    line-height: 1;
    78     padding: 0 16px;
    7977    padding: 0 1rem;
    8078}
     
    8280.button.button-small,
    8381.button-group.button-small .button {
    84     @include font-size( ms-unitless( ms(-4) ) );
     82    font-size: ms( -4 );
    8583    height: ms(2);
    8684    line-height: 1;
    87     padding: 0 8px;
    8885    padding: 0 0.5rem;
    8986}
Note: See TracChangeset for help on using the changeset viewer.