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/site/primary/plugin/_single.scss

    r3832 r3847  
    3333            float: left;
    3434            height: 96px;
    35             margin-right: 16px;
    3635            margin-right: 1rem;
    3736            width: 96px;
     
    8281        @keyframes favme-hover {
    8382            from {
    84                 @include font-size( ms-unitless( ms(3) ) );
     83                font-size: ms( 3 );
    8584            }
    8685            80% {
    87                 @include font-size( ms-unitless( ms(2) ) );
     86                font-size: ms( 2 );
    8887            }
    8988        }
     
    9998                color: #cbcdce;
    10099                display: flex;
    101                 @include font-size( ms-unitless( ms(2) ) );
     100                font-size: ms( 2 );
    102101                height: 100%;
    103102                justify-content: center;
     
    133132        .plugin-title {
    134133            clear: none;
    135             @include font-size( ms-unitless( ms(4) ) );
     134            font-size: ms( 4 );
    136135            font-weight: 400;
    137136            margin: 0;
     
    153152
    154153    .entry-content {
    155         max-width: 768px;
    156154        max-width: 48rem;
    157155
Note: See TracChangeset for help on using the changeset viewer.