Making WordPress.org

Changeset 3393


Ignore:
Timestamp:
06/17/2016 07:19:00 AM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Updated no-results styles.

See #1719.

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

Legend:

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

    r3389 r3393  
    17461746}
    17471747
    1748 .home .site-header,
    1749 .search .site-header {
     1748.home .site-header {
    17501749  padding: 1.5625rem 1.143rem;
    17511750}
    17521751
    1753 .home .site-header .site-title,
    1754 .search .site-header .site-title {
     1752.home .site-header .site-title {
    17551753  display: inherit;
    17561754  font-size: 61.03515625px;
     
    17601758}
    17611759
    1762 .home .site-header .search-form,
    1763 .search .site-header .search-form {
     1760.home .site-header .search-form {
    17641761  display: inherit;
    17651762  margin-bottom: 2rem;
    17661763}
    17671764
    1768 .home .site-header .search-form .search-field,
    1769 .search .site-header .search-form .search-field {
     1765.home .site-header .search-form .search-field {
    17701766  border: none;
    17711767  border-radius: 0;
     
    17781774}
    17791775
    1780 .home .site-header .search-form .button-search,
    1781 .search .site-header .search-form .button-search {
     1776.home .site-header .search-form .button-search {
    17821777  display: none;
    17831778}
     
    21862181  margin-top: 32px;
    21872182  margin-top: 2rem;
    2188   padding: 0 10px;
     2183  padding-top: 0;
    21892184}
    21902185
     
    21922187  margin: 32px 0;
    21932188  margin: 2rem 0;
     2189}
     2190
     2191.search .site-main {
     2192  margin-top: 32px;
     2193  margin-top: 2rem;
     2194  padding-top: 0;
     2195}
     2196
     2197.search.search-results .page-header {
     2198  margin: 32px 0;
     2199  margin: 2rem 0;
     2200}
     2201
     2202.search .no-results {
     2203  margin: 0 auto;
     2204  max-width: 35.527136788rem;
     2205  padding: 0 32px;
     2206  padding: 0 2rem;
     2207}
     2208
     2209.search .no-results .search-form {
     2210  margin: 32px auto;
     2211  margin: 2rem auto;
     2212  position: relative;
     2213}
     2214
     2215.search .no-results .search-form:after {
     2216  content: "\f179";
     2217  font-family: dashicons;
     2218  position: absolute;
     2219  left: 16px;
     2220  top: 11px;
     2221}
     2222
     2223.search .no-results .search-field {
     2224  font-size: 16px;
     2225  font-size: 1rem;
     2226  padding: 8px 8px 8px 40px;
     2227  padding: 0.5rem 0.5rem 0.5rem 40px;
     2228  width: 100%;
     2229}
     2230
     2231.search .no-results .button-search {
     2232  display: none;
    21942233}
    21952234
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r3389 r3393  
    17461746}
    17471747
    1748 .home .site-header,
    1749 .search .site-header {
     1748.home .site-header {
    17501749  padding: 1.5625rem 1.143rem;
    17511750}
    17521751
    1753 .home .site-header .site-title,
    1754 .search .site-header .site-title {
     1752.home .site-header .site-title {
    17551753  display: inherit;
    17561754  font-size: 61.03515625px;
     
    17601758}
    17611759
    1762 .home .site-header .search-form,
    1763 .search .site-header .search-form {
     1760.home .site-header .search-form {
    17641761  display: inherit;
    17651762  margin-bottom: 2rem;
    17661763}
    17671764
    1768 .home .site-header .search-form .search-field,
    1769 .search .site-header .search-form .search-field {
     1765.home .site-header .search-form .search-field {
    17701766  border: none;
    17711767  border-radius: 0;
     
    17781774}
    17791775
    1780 .home .site-header .search-form .button-search,
    1781 .search .site-header .search-form .button-search {
     1776.home .site-header .search-form .button-search {
    17821777  display: none;
    17831778}
     
    21862181  margin-top: 32px;
    21872182  margin-top: 2rem;
    2188   padding: 0 10px;
     2183  padding-top: 0;
    21892184}
    21902185
     
    21922187  margin: 32px 0;
    21932188  margin: 2rem 0;
     2189}
     2190
     2191.search .site-main {
     2192  margin-top: 32px;
     2193  margin-top: 2rem;
     2194  padding-top: 0;
     2195}
     2196
     2197.search.search-results .page-header {
     2198  margin: 32px 0;
     2199  margin: 2rem 0;
     2200}
     2201
     2202.search .no-results {
     2203  margin: 0 auto;
     2204  max-width: 35.527136788rem;
     2205  padding: 0 32px;
     2206  padding: 0 2rem;
     2207}
     2208
     2209.search .no-results .search-form {
     2210  margin: 32px auto;
     2211  margin: 2rem auto;
     2212  position: relative;
     2213}
     2214
     2215.search .no-results .search-form:after {
     2216  content: "\f179";
     2217  font-family: dashicons;
     2218  position: absolute;
     2219  right: 16px;
     2220  top: 11px;
     2221}
     2222
     2223.search .no-results .search-field {
     2224  font-size: 16px;
     2225  font-size: 1rem;
     2226  padding: 8px 40px 8px 8px;
     2227  padding: 0.5rem 40px 0.5rem 0.5rem;
     2228  width: 100%;
     2229}
     2230
     2231.search .no-results .button-search {
     2232  display: none;
    21942233}
    21952234
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php

    r3372 r3393  
    1313
    1414$GLOBALS['pagetitle'] = __( 'Plugin Directory — Free WordPress Plugins', 'wporg-plugins' );
    15 $description = get_bloginfo( 'description', 'display' );
    16 
    1715require WPORGPATH . 'header.php';
    1816?>
     
    2321        <div class="site-branding">
    2422            <?php if ( is_front_page() && is_home() ) : ?>
    25                 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
     23                <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></h1>
    2624            <?php else : ?>
    27                 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
     25                <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></p>
    2826            <?php endif; ?>
    2927
    30             <?php if ( is_home() || is_search() ) :
    31                 if ( $description || is_customize_preview() ) : ?>
    32                 <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
    33                     <?php endif; ?>
     28            <?php if ( is_home() ) : ?>
     29                <p class="site-description"><?php _e( 'Plugins extend and expand the functionality of WordPress.', 'wporg-plugins' ); ?></p>
    3430                <?php get_search_form(); ?>
    3531            <?php else : ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_archive.scss

    r3389 r3393  
    55        margin-top: 32px;
    66        margin-top: 2rem;
    7         padding: 0 10px;
     7        padding-top: 0;
    88    }
    99
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_header.scss

    r3353 r3393  
    146146    }
    147147
    148     .home &,
    149     .search & {
     148    .home & {
    150149        padding: ms(4) ms(1);
    151150
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_site.scss

    r3389 r3393  
    2323@import "primary/page";
    2424@import "archive";
     25@import "search";
    2526
    2627/*--------------------------------------------------------------
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/content-none.php

    r3193 r3393  
    2323        <?php elseif ( is_search() ) : ?>
    2424
    25             <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'wporg-plugins' ); ?></p>
     25            <p><?php esc_html_e( 'Sorry, but nothing matched your search terms.', 'wporg-plugins' ); ?></p>
     26            <p><?php esc_html_e( 'Please try again with some different keywords.', 'wporg-plugins' ); ?></p>
    2627            <?php
    2728                get_search_form();
Note: See TracChangeset for help on using the changeset viewer.