Making WordPress.org


Ignore:
Timestamp:
08/26/2016 07:58:01 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: React components for single plugin view.

Adds a React version of the single plugin page. Still needs more work around
certain plugin sections, like showing different links based on whether a user
is logged in or not.
Moves over the last component-based sass files into the component structure.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/site-main/style.scss

    r3847 r3862  
    22    margin: 0 auto;
    33    max-width: $size__site-main;
    4     padding: ms(10) ms(4);
     4    padding: ms( 10 ) ms( 4 );
    55
    66    @media screen and ( min-width: $ms-breakpoint ) {
    7         padding: ms(10) 10px;
     7        padding: ms( 10 ) 10px;
    88    }
    99
     10    &.single,
    1011    .single & {
    1112        padding: 0;
    1213
    1314        @media screen and ( min-width: $ms-breakpoint ) {
    14             padding: 0 10px ms(10);
     15            padding: 0 10px ms( 10 );
    1516        }
    1617    }
    1718
     19    &.page,
    1820    .page & {
    1921        padding-top: 0;
     
    2729    .no-results {
    2830        margin: 0 auto;
    29         max-width: ms(32);
     31        max-width: ms( 32 );
    3032        padding: 0 2rem;
    3133    }
Note: See TracChangeset for help on using the changeset viewer.