Make WordPress Core

Ticket #49231: 49231.3.diff

File 49231.3.diff, 3.5 KB (added by afercia, 5 years ago)
  • src/wp-admin/css/common.css

     
    10861086        margin: 0;
    10871087}
    10881088
     1089/* Use flexbox only on the plugins install page. The `filter-links` and search form children will become flex items. */
     1090.plugin-install-php .wp-filter {
     1091        display: flex;
     1092        flex-wrap: wrap;
     1093        justify-content: space-between;
     1094        align-items: center;
     1095}
     1096
    10891097.wp-filter .search-form.search-plugins {
     1098        /* This element is a flex item: the inherited float won't have any effect. */
     1099        margin-top: 0;
     1100}
     1101
     1102.wp-filter .search-form.search-plugins select,
     1103.wp-filter .search-form.search-plugins .wp-filter-search {
    10901104        display: inline-block;
     1105        margin-top: 10px;
     1106        vertical-align: top;
    10911107}
    10921108
    10931109.wp-filter .button.drawer-toggle {
     
    39683984        .wp-filter .search-form input[type="search"] {
    39693985                font-size: 1rem;
    39703986        }
     3987
     3988        .wp-filter .search-form.search-plugins {
     3989                /* This element is a flex item. */
     3990                min-width: 100%;
     3991        }
    39713992}
    39723993
    39733994/* Smartphone */
  • src/wp-admin/css/list-tables.css

     
    20942094                line-height: 1.5;
    20952095        }
    20962096
     2097        .plugins tbody th.check-column {
     2098                padding: 8px 0 0 5px;
     2099        }
     2100
     2101        .plugins thead td.check-column,
     2102        .plugins tfoot td.check-column,
     2103        .plugins .inactive th.check-column {
     2104                padding-left: 9px;
     2105        }
     2106
    20972107        /* Add New plugins page */
    20982108        table.plugin-install .column-name,
    20992109        table.plugin-install .column-version,
  • src/wp-admin/includes/plugin-install.php

     
    334334                        <option value="author"<?php selected( 'author', $type ); ?>><?php _e( 'Author' ); ?></option>
    335335                        <option value="tag"<?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Plugin Installer' ); ?></option>
    336336                </select>
    337                 <label><span class="screen-reader-text"><?php _e( 'Search Plugins' ); ?></span>
    338                         <input type="search" name="s" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
    339                 </label>
     337                <label class="screen-reader-text" for="search-plugins"><?php _e( 'Search Plugins' ); ?></label>
     338                <input type="search" name="s" id="search-plugins" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
    340339                <?php submit_button( __( 'Search Plugins' ), 'hide-if-js', false, false, array( 'id' => 'search-submit' ) ); ?>
    341340        </form>
    342341        <?php
     
    370369        $user   = get_user_option( 'wporg_favorites' );
    371370        $action = 'save_wporg_username_' . get_current_user_id();
    372371        ?>
    373         <p class="install-help"><?php _e( 'If you have marked plugins as favorites on WordPress.org, you can browse them here.' ); ?></p>
     372        <p><?php _e( 'If you have marked plugins as favorites on WordPress.org, you can browse them here.' ); ?></p>
    374373        <form method="get">
    375374                <input type="hidden" name="tab" value="favorites" />
    376375                <p>
  • src/wp-admin/plugin-install.php

     
    158158        </div>
    159159        <?php
    160160        $wp_list_table->views();
    161         echo '<br class="clear" />';
    162161}
    163162
    164163/**