Make WordPress Core

Ticket #49231: 49231.diff

File 49231.diff, 2.6 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 children `filter-links` and search form will become flex items. */
     1090.plugin-install-php .wp-filter {
     1091        display: flex;
     1092        flex-wrap: wrap;
     1093        justify-content: space-between;
     1094}
     1095
    10891096.wp-filter .search-form.search-plugins {
     1097        margin-top: 0;
     1098}
     1099
     1100.wp-filter .search-form.search-plugins select,
     1101.wp-filter .search-form.search-plugins .wp-filter-search {
    10901102        display: inline-block;
     1103        margin-top: 10px;
     1104        vertical-align: top;
    10911105}
    10921106
    10931107.wp-filter .button.drawer-toggle {
     
    39683982        .wp-filter .search-form input[type="search"] {
    39693983                font-size: 1rem;
    39703984        }
     3985
     3986        .wp-filter .search-form.search-plugins {
     3987                /* This element is a flex item. */
     3988                min-width: 100%;
     3989        }
    39713990}
    39723991
    39733992/* 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