WordPress.org

Making WordPress.org

Changeset 1235


Ignore:
Timestamp:
02/09/2015 07:18:26 PM (5 years ago)
Author:
obenland
Message:

WP.org Themes: Visual improvements for empty search results.

Gives the no-result message more room, and only applies padding to themes, if
there actually are themes to display.

Fixes #861.

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

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php

    r1156 r1235  
    7878                ?>
    7979            </div>
     80            <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    8081        </div>
    8182        <div class="theme-install-overlay"></div>
    8283        <div class="theme-overlay"></div>
    83 
    84         <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    8584        <span class="spinner"></span>
    8685    </div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css

    r1228 r1235  
    101101
    102102.theme-browser .themes {
     103    padding: 0;
     104}
     105.theme-browser .themes:not(:empty) {
    103106    font-size: 0;
     107    padding: 0 0 100px;
    104108}
    105109.theme-browser .theme {
     
    123127.theme-browser .theme .more-details:focus {
    124128    opacity: 1;
     129}
     130
     131.theme-browser .no-themes {
     132    margin: 100px 0 150px;
    125133}
    126134
Note: See TracChangeset for help on using the changeset viewer.