diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index cb940d0abf..ace21b0656 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -1126,9 +1126,10 @@ th.action-links { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; + position: relative; float: left; margin: 0 1% 0 0; - padding: 10px; + padding: 20px 10px 10px; width: 24%; background: #fff; border: 1px solid #e5e5e5; @@ -1136,24 +1137,27 @@ th.action-links { box-shadow: 0 1px 1px rgba(0,0,0,0.04); } -.filter-group h4 { - position: relative; +.filter-group legend { + position: absolute; + top: 10px; + display: block; margin: 0; + padding: 0; + font-size: 1em; + font-weight: 600; } -.filter-drawer ol { - margin: 20px 0 0; +.filter-drawer .filter-group-feature { + margin: 28px 0 0; list-style-type: none; font-size: 12px; } -.filter-drawer li { +.filter-drawer .filter-group-feature input, +.filter-drawer .filter-group-feature label { display: inline-block; - vertical-align: top; - margin: 5px 0; - padding-right: 25px; - width: 160px; - list-style-type: none; + margin: 7px 4px 7px 0; + line-height: 16px; } .filter-drawer .buttons { @@ -3518,6 +3522,11 @@ img { .edit-comment-author { margin: 2px 0 0; } + + .filter-drawer .filter-group-feature input, + .filter-drawer .filter-group-feature label { + line-height: 25px; + } } /* Smartphone */ diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css index 1fa160f8e4..78f84e0c11 100644 --- a/src/wp-admin/css/ie.css +++ b/src/wp-admin/css/ie.css @@ -396,15 +396,10 @@ p.search-box { margin: -3px 0 4px; } -#widget-list .widget, -.feature-filter .feature-group li { +#widget-list .widget { display: inline; } -.feature-filter .feature-group li input { - vertical-align: middle; -} - #editorcontainer #content { overflow: auto; margin: auto; @@ -695,10 +690,6 @@ input[type="password"], border: 1px solid #DFDFDF; } -* html .feature-filter .feature-group li { - width: 145px; -} - * html div.widget-liquid-left { width: 99%; } diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index b095c97ad6..919969db1d 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -960,7 +960,7 @@ themes.view.Themes = wp.Backbone.View.extend({ } // Make sure the add-new stays at the end - if ( page >= 1 ) { + if ( ! themes.isInstall && page >= 1 ) { $( '.add-new-theme' ).remove(); } @@ -982,7 +982,7 @@ themes.view.Themes = wp.Backbone.View.extend({ }); // 'Add new theme' element shown at the end of the grid - if ( themes.data.settings.canInstall ) { + if ( ! themes.isInstall && themes.data.settings.canInstall ) { this.$el.append( '

' + l10n.addNew + '

' ); } diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index bf60bf3b30..6213a5aed2 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -153,17 +153,17 @@ include(ABSPATH . 'wp-admin/admin-header.php'); $features ) { - echo '
'; + echo '
'; $feature_name = esc_html( $feature_name ); - echo '

' . $feature_name . '

'; - echo '
    '; + echo '' . $feature_name . ''; + echo '
    '; foreach ( $features as $feature => $feature_name ) { $feature = esc_attr( $feature ); - echo '
  1. '; - echo '
  2. '; + echo ' '; + echo '
    '; } - echo '
'; echo '
'; + echo ''; } ?>