Making WordPress.org

Changeset 3406


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

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

See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css

    r3405 r3406  
    18401840}
    18411841
     1842.site-main .no-results {
     1843  margin: 0 auto;
     1844  max-width: 35.527136788rem;
     1845  padding: 0 32px;
     1846  padding: 0 2rem;
     1847}
     1848
     1849.site-main .no-results .search-form {
     1850  margin: 32px auto;
     1851  margin: 2rem auto;
     1852  position: relative;
     1853}
     1854
     1855.site-main .no-results .search-form:after {
     1856  content: "\f179";
     1857  font-family: dashicons;
     1858  position: absolute;
     1859  left: 16px;
     1860  top: 11px;
     1861}
     1862
     1863.site-main .no-results .search-field {
     1864  font-size: 16px;
     1865  font-size: 1rem;
     1866  padding: 8px 8px 8px 40px;
     1867  padding: 0.5rem 0.5rem 0.5rem 40px;
     1868  width: 100%;
     1869}
     1870
     1871.site-main .no-results .button-search {
     1872  display: none;
     1873}
     1874
    18421875.home .type-plugin,
    18431876.search .type-plugin,
    … …  
    22842317}
    22852318
    2286 .search .no-results {
    2287   margin: 0 auto;
    2288   max-width: 35.527136788rem;
    2289   padding: 0 32px;
    2290   padding: 0 2rem;
    2291 }
    2292 
    2293 .search .no-results .search-form {
    2294   margin: 32px auto;
    2295   margin: 2rem auto;
    2296   position: relative;
    2297 }
    2298 
    2299 .search .no-results .search-form:after {
    2300   content: "\f179";
    2301   font-family: dashicons;
    2302   position: absolute;
    2303   left: 16px;
    2304   top: 11px;
    2305 }
    2306 
    2307 .search .no-results .search-field {
    2308   font-size: 16px;
    2309   font-size: 1rem;
    2310   padding: 8px 8px 8px 40px;
    2311   padding: 0.5rem 0.5rem 0.5rem 40px;
    2312   width: 100%;
    2313 }
    2314 
    2315 .search .no-results .button-search {
    2316   display: none;
    2317 }
    2318 
    23192319/*--------------------------------------------------------------
    23202320## Comments
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r3405 r3406  
    18401840}
    18411841
     1842.site-main .no-results {
     1843  margin: 0 auto;
     1844  max-width: 35.527136788rem;
     1845  padding: 0 32px;
     1846  padding: 0 2rem;
     1847}
     1848
     1849.site-main .no-results .search-form {
     1850  margin: 32px auto;
     1851  margin: 2rem auto;
     1852  position: relative;
     1853}
     1854
     1855.site-main .no-results .search-form:after {
     1856  content: "\f179";
     1857  font-family: dashicons;
     1858  position: absolute;
     1859  right: 16px;
     1860  top: 11px;
     1861}
     1862
     1863.site-main .no-results .search-field {
     1864  font-size: 16px;
     1865  font-size: 1rem;
     1866  padding: 8px 40px 8px 8px;
     1867  padding: 0.5rem 40px 0.5rem 0.5rem;
     1868  width: 100%;
     1869}
     1870
     1871.site-main .no-results .button-search {
     1872  display: none;
     1873}
     1874
    18421875.home .type-plugin,
    18431876.search .type-plugin,
    … …  
    22842317}
    22852318
    2286 .search .no-results {
    2287   margin: 0 auto;
    2288   max-width: 35.527136788rem;
    2289   padding: 0 32px;
    2290   padding: 0 2rem;
    2291 }
    2292 
    2293 .search .no-results .search-form {
    2294   margin: 32px auto;
    2295   margin: 2rem auto;
    2296   position: relative;
    2297 }
    2298 
    2299 .search .no-results .search-form:after {
    2300   content: "\f179";
    2301   font-family: dashicons;
    2302   position: absolute;
    2303   right: 16px;
    2304   top: 11px;
    2305 }
    2306 
    2307 .search .no-results .search-field {
    2308   font-size: 16px;
    2309   font-size: 1rem;
    2310   padding: 8px 40px 8px 8px;
    2311   padding: 0.5rem 40px 0.5rem 0.5rem;
    2312   width: 100%;
    2313 }
    2314 
    2315 .search .no-results .button-search {
    2316   display: none;
    2317 }
    2318 
    23192319/*--------------------------------------------------------------
    23202320## Comments
  • 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}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_main.scss

    r3398 r3406  
    2222                font-weight: 400;
    2323        }
     24
     25        .no-results {
     26                margin: 0 auto;
     27                max-width: ms(32);
     28                padding: 0 32px;
     29                padding: 0 2rem;
     30
     31                .search-form {
     32                        margin: 32px auto;
     33                        margin: 2rem auto;
     34                        position: relative;
     35
     36                        &:after {
     37                                content: "\f179";
     38                                font-family: dashicons;
     39                                position: absolute;
     40                                right: 16px;
     41                                top: 11px;
     42                        }
     43                }
     44
     45                .search-field {
     46                        @include font-size( ms-unitless( ms(0) ) );
     47                        padding: 8px 40px 8px 8px;
     48                        padding: 0.5rem 40px 0.5rem 0.5rem;
     49                        width: 100%;
     50                }
     51
     52                .button-search {
     53                        display: none;
     54                }
     55        }
    2456}
Note: See TracChangeset for help on using the changeset viewer.