WordPress.org

Making WordPress.org


Ignore:
Timestamp:
06/17/2016 09:47:42 AM (4 years ago)
Author:
obenland
Message:

Plugin Directory: Make no results styles available outside of searches.

See #1719.

File:
1 edited

Legend:

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

    r3393 r3406  
    1010        margin: 2rem 0;
    1111    }
    12 
    13     .no-results {
    14         margin: 0 auto;
    15         max-width: ms(32);
    16         padding: 0 32px;
    17         padding: 0 2rem;
    18 
    19         .search-form {
    20             margin: 32px auto;
    21             margin: 2rem auto;
    22             position: relative;
    23 
    24             &:after {
    25                 content: "\f179";
    26                 font-family: dashicons;
    27                 position: absolute;
    28                 right: 16px;
    29                 top: 11px;
    30             }
    31         }
    32 
    33         .search-field {
    34             @include font-size( ms-unitless( ms(0) ) );
    35             padding: 8px 40px 8px 8px;
    36             padding: 0.5rem 40px 0.5rem 0.5rem;
    37             width: 100%;
    38         }
    39 
    40         .button-search {
    41             display: none;
    42         }
    43     }
    4412}
Note: See TracChangeset for help on using the changeset viewer.