Making WordPress.org


Ignore:
Timestamp:
05/20/2016 09:01:31 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Tighten up Widget setup and styles.

  • Removes the use of dynamic sidebars and makes information strings translatable.
  • Unifies widget styles across front page and single plugin pages.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/secondary/_widgets.scss

    r3193 r3200  
     1@import "../../variables-site/variables-site";
     2@import "../../mixins/mixins-master";
     3
    14.widget {
    25    margin: 0 0 1.5em;
     6}
    37
    4     /* Make sure select elements fit in widgets. */
    5     select {
    6         max-width: 100%;
     8.home .widget-area {
     9    margin: 0 auto;
     10    max-width: $size__site-main;
     11    padding: 0 ms(4) ms(10) ms(4);
     12
     13    @media ( min-width: 67rem ) {
     14        padding: 0 0 ms(10) 0;
     15    }
     16
     17    .widget {
     18        display: inline-block;
     19        @include font-size( ms-unitless( ms(-2) ) );
     20        margin-right: 5%;
     21        vertical-align: top;
     22        width: 30%;
     23
     24        &:last-child {
     25            margin-right: 0;
     26        }
     27
     28        /* Make sure select elements fit in widgets. */
     29        select {
     30            max-width: 100%;
     31        }
    732    }
    833}
Note: See TracChangeset for help on using the changeset viewer.