diff --git src/wp-admin/css/customize-controls.css src/wp-admin/css/customize-controls.css
index b2f0a2d..49e0252 100644
|
|
|
p.customize-section-description {
|
| 2114 | 2114 | |
| 2115 | 2115 | .themes-filter-bar .wp-filter-search { |
| 2116 | 2116 | line-height: 25px; |
| 2117 | | padding: 3px 5px; |
| | 2117 | padding: 6px 10px 6px 30px; |
| 2118 | 2118 | max-width: 100%; |
| 2119 | 2119 | width: 40%; |
| 2120 | 2120 | min-width: 300px; |
| 2121 | 2121 | position: absolute; |
| 2122 | 2122 | top: 6px; |
| 2123 | 2123 | left: 25px; |
| | 2124 | height: 32px; |
| | 2125 | margin: 1px 0; |
| 2124 | 2126 | } |
| 2125 | 2127 | |
| 2126 | 2128 | /* Unstick the filter bar on short windows/screens. This breakpoint is based on the |
| … |
… |
p.customize-section-description {
|
| 2232 | 2234 | height: 42px; |
| 2233 | 2235 | width: 26px; |
| 2234 | 2236 | display: block; |
| 2235 | | line-height: 46px; |
| | 2237 | line-height: 40px; |
| 2236 | 2238 | padding: 0 8px 0 8px; |
| 2237 | 2239 | border-right: 1px solid #ddd; |
| 2238 | 2240 | } |
| … |
… |
body.adding-widget .add-new-widget:before,
|
| 2673 | 2675 | } |
| 2674 | 2676 | |
| 2675 | 2677 | #available-menu-items-search .search-icon:after, |
| 2676 | | #available-widgets-filter .search-icon:after { |
| | 2678 | #available-widgets-filter .search-icon:after, |
| | 2679 | .themes-filter-bar .search-icon:after { |
| 2677 | 2680 | content: "\f179"; |
| 2678 | 2681 | font: normal 20px/1 dashicons; |
| 2679 | 2682 | vertical-align: middle; |
| … |
… |
body.adding-widget .add-new-widget:before,
|
| 2681 | 2684 | -moz-osx-font-smoothing: grayscale; |
| 2682 | 2685 | } |
| 2683 | 2686 | |
| | 2687 | .themes-filter-bar .search-icon { |
| | 2688 | position: absolute; |
| | 2689 | top: 7px; |
| | 2690 | left: 26px; |
| | 2691 | z-index: 1; |
| | 2692 | color: #72777c; |
| | 2693 | height: 30px; |
| | 2694 | width: 30px; |
| | 2695 | line-height: 2; |
| | 2696 | text-align: center; |
| | 2697 | } |
| | 2698 | |
| 2684 | 2699 | .no-widgets-found-message { |
| 2685 | 2700 | display: none; |
| 2686 | 2701 | margin: 0; |
| … |
… |
body.adding-widget .add-new-widget:before,
|
| 2793 | 2808 | .media-widget-control .media-widget-buttons .button.select-media { |
| 2794 | 2809 | margin-top: 12px; |
| 2795 | 2810 | } |
| | 2811 | |
| | 2812 | .wp-core-ui .themes-filter-bar .feature-filter-toggle { |
| | 2813 | margin: 3px 0 3px 25px; |
| | 2814 | } |
| 2796 | 2815 | } |
| 2797 | 2816 | |
| 2798 | 2817 | @media screen and ( max-width: 640px ) { |
| … |
… |
body.adding-widget .add-new-widget:before,
|
| 2958 | 2977 | .reordering .reorder-done { |
| 2959 | 2978 | padding: 8px; |
| 2960 | 2979 | } |
| | 2980 | |
| | 2981 | .wp-core-ui .themes-filter-bar .feature-filter-toggle { |
| | 2982 | margin: 0; |
| | 2983 | } |
| 2961 | 2984 | } |
diff --git src/wp-admin/css/themes.css src/wp-admin/css/themes.css
index e339448..881913b 100644
|
|
|
body.js .theme-browser.search-loading {
|
| 98 | 98 | opacity: 0; |
| 99 | 99 | transition: opacity 0.1s ease-in-out; |
| 100 | 100 | position: absolute; |
| 101 | | bottom: 0; |
| | 101 | bottom: 1px; |
| 102 | 102 | right: 0; |
| 103 | | height: 38px; |
| 104 | | padding: 9px 10px 0 10px; |
| | 103 | height: auto; |
| | 104 | padding: 9px 10px; |
| 105 | 105 | background: rgba(244, 244, 244, 0.7); |
| 106 | 106 | border-left: 1px solid rgba(0,0,0,0.05); |
| 107 | 107 | } |
| … |
… |
body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
| 852 | 852 | } |
| 853 | 853 | |
| 854 | 854 | .theme-browser .theme .theme-actions { |
| 855 | | padding: 5px 10px 4px 10px; |
| | 855 | padding: 9px 10px; |
| 856 | 856 | } |
| 857 | 857 | |
| 858 | 858 | .theme-overlay.small-screenshot .theme-screenshots { |
| … |
… |
body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
| 889 | 889 | .theme-browser .theme:nth-child(3n) { |
| 890 | 890 | margin-right: 0; |
| 891 | 891 | } |
| | 892 | |
| | 893 | .theme-browser .theme .theme-actions { |
| | 894 | padding: 8px 10px; |
| | 895 | } |
| 892 | 896 | } |
| 893 | 897 | |
| 894 | 898 | @media only screen and (max-width: 650px) { |
| … |
… |
body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
| 958 | 962 | .single-theme .theme-overlay .theme-actions { |
| 959 | 963 | position: static; |
| 960 | 964 | } |
| | 965 | |
| | 966 | .theme-browser .theme .theme-actions { |
| | 967 | padding: 8px 10px; |
| | 968 | } |
| | 969 | |
| 961 | 970 | } |
| 962 | 971 | |
| 963 | 972 | .broken-themes { |
| … |
… |
body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
| 971 | 980 | padding: 3px; |
| 972 | 981 | } |
| 973 | 982 | |
| | 983 | @media only screen and ( max-width: 640px ) { |
| | 984 | .theme-browser .theme .theme-actions { |
| | 985 | padding: 8px 10px; |
| | 986 | } |
| | 987 | } |
| 974 | 988 | |
| 975 | 989 | /*------------------------------------------------------------------------------ |
| 976 | 990 | 16.2 - Install Themes |
diff --git src/wp-includes/customize/class-wp-customize-themes-section.php src/wp-includes/customize/class-wp-customize-themes-section.php
index a89439a..032c53a 100644
|
|
|
class WP_Customize_Themes_Section extends WP_Customize_Section {
|
| 114 | 114 | <div class="search-form"> |
| 115 | 115 | <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> |
| 116 | 116 | <input type="search" id="wp-filter-search-input-{{ data.id }}" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search"> |
| 117 | | <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> |
| | 117 | <div class="search-icon" aria-hidden="true"></div> |
| | 118 | <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> |
| 118 | 119 | </div> |
| 119 | 120 | <button type="button" class="button feature-filter-toggle"> |
| 120 | 121 | <span class="filter-count-0"><?php _e( 'Filter themes' ); ?></span><span class="filter-count-filters"> |
| … |
… |
class WP_Customize_Themes_Section extends WP_Customize_Section {
|
| 144 | 145 | <div class="themes-filter-container"> |
| 145 | 146 | <label for="{{ data.id }}-themes-filter" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> |
| 146 | 147 | <input type="search" id="{{ data.id }}-themes-filter" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" /> |
| 147 | | <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> |
| | 148 | <div class="search-icon" aria-hidden="true"></div> |
| | 149 | <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> |
| 148 | 150 | </div> |
| 149 | 151 | <# } #> |
| 150 | 152 | <div class="filter-themes-count"> |