@@ -1082,14 +1082,24 @@ p.customize-section-description {
10821082 float : left;
10831083}
10841084
1085- # available-menu-items .accordion-section-content .new-content-item ,
1086- .customize-control-dropdown-pages .new-content-item {
1085+ # available-menu-items .accordion-section-content .new-content-item-wrapper ,
1086+ .customize-control-dropdown-pages .new-content-item-wrapper {
10871087 width : calc (100% - 30px );
10881088 padding : 8px 15px ;
10891089 position : absolute;
10901090 bottom : 0 ;
10911091 z-index : 10 ;
10921092 background : # f0f0f1 ;
1093+ }
1094+
1095+ .customize-control-dropdown-pages .new-content-item-wrapper {
1096+ width : 100% ;
1097+ padding : 0 ;
1098+ position : static;
1099+ }
1100+
1101+ # available-menu-items .accordion-section-content .new-content-item ,
1102+ .customize-control-dropdown-pages .new-content-item {
10931103 display : flex;
10941104}
10951105
@@ -1099,6 +1109,14 @@ p.customize-section-description {
10991109 position : relative;
11001110}
11011111
1112+ .customize-control-dropdown-pages .new-content-item-wrapper .new-content-item {
1113+ padding : 0 ;
1114+ }
1115+
1116+ .customize-control-dropdown-pages .new-content-item-wrapper .new-content-item label {
1117+ line-height : 1.6 ;
1118+ }
1119+
11021120# available-menu-items .new-content-item .create-item-input ,
11031121.customize-control-dropdown-pages .new-content-item .create-item-input {
11041122 flex-grow : 10 ;
@@ -1815,11 +1833,6 @@ p.customize-section-description {
18151833 bottom : 0 ;
18161834}
18171835
1818- .themes-filter-bar .feature-filter-toggle {
1819- float : right;
1820- margin : 3px 0 3px 25px ;
1821- }
1822-
18231836.themes-filter-bar .feature-filter-toggle : before {
18241837 content : "\f111" ;
18251838 margin : 0 5px 0 0 ;
@@ -1880,12 +1893,6 @@ p.customize-section-description {
18801893 animation : .6s themes-fade-in 1 ;
18811894}
18821895
1883- .control-panel-themes .filter-themes-count {
1884- position : relative;
1885- float : right;
1886- line-height : 2.6 ;
1887- }
1888-
18891896.control-panel-themes .filter-themes-count .themes-displayed {
18901897 font-weight : 600 ;
18911898 color : # 50575e ;
@@ -2097,6 +2104,28 @@ p.customize-section-description {
20972104 box-sizing : border-box;
20982105 border-bottom : 1px solid # dcdcde ;
20992106}
2107+ .customize-preview-header .themes-filter-bar ,
2108+ .customize-preview-header .themes-filter-bar .search-form {
2109+ display : flex;
2110+ align-items : center;
2111+ gap : 10px ;
2112+ flex-wrap : wrap;
2113+ }
2114+
2115+ .customize-preview-header .themes-filter-bar .search-form-input {
2116+ position : relative;
2117+ }
2118+
2119+ .customize-preview-header .filter-themes-wrapper {
2120+ display : grid;
2121+ align-items : center;
2122+ gap : 10px ;
2123+ grid-template-columns : auto 1fr ;
2124+ }
2125+
2126+ .customize-preview-header .filter-themes-wrapper .filter-themes-count {
2127+ justify-self : end;
2128+ }
21002129
21012130@media screen and (min-width : 1670px ) {
21022131 .customize-preview-header .themes-filter-bar {
@@ -2109,6 +2138,9 @@ p.customize-section-description {
21092138.themes-filter-bar .themes-filter-container {
21102139 margin : 0 ;
21112140 padding : 0 ;
2141+ display : flex;
2142+ align-items : center;
2143+ gap : 10px ;
21122144}
21132145
21142146.themes-filter-bar .wp-filter-search {
@@ -2117,11 +2149,10 @@ p.customize-section-description {
21172149 max-width : 100% ;
21182150 width : 40% ;
21192151 min-width : 300px ;
2120- position : absolute;
2121- top : 6px ;
2122- left : 25px ;
21232152 height : 32px ;
21242153 margin : 1px 0 ;
2154+ top : 0 ;
2155+ left : 0 ;
21252156}
21262157
21272158/* Unstick the filter bar on short windows/screens. This breakpoint is based on the
@@ -2155,18 +2186,31 @@ p.customize-section-description {
21552186 }
21562187}
21572188
2158- @media screen and (max-width : 900 px ) {
2189+ @media screen and (max-width : 960 px ) {
21592190 .customize-preview-header .themes-filter-bar {
2160- height : 86px ;
2161- padding-top : 46px ;
2191+ height : 96px ;
21622192 }
2193+ }
21632194
2195+ @media screen and (max-width : 900px ) {
21642196 .themes-filter-bar .wp-filter-search {
2165- width : calc ( 100% - 50 px ) ;
2197+ width : 100% ;
21662198 margin : 0 ;
21672199 min-width : 200px ;
21682200 }
21692201
2202+ .customize-preview-header .themes-filter-bar ,
2203+ .customize-preview-header .themes-filter-bar .search-form
2204+ .themes-filter-bar .themes-filter-container {
2205+ display : grid;
2206+ gap : 4px ;
2207+ }
2208+
2209+ .customize-preview-header .themes-filter-bar .search-form-input {
2210+ display : flex;
2211+ flex-grow : 1 ;
2212+ }
2213+
21702214 .filter-drawer {
21712215 top : 86px ;
21722216 }
@@ -2580,7 +2624,7 @@ body.adding-widget .add-new-widget:before,
25802624}
25812625
25822626# available-widgets-list {
2583- top : 60 px ;
2627+ top : 82 px ;
25842628 position : absolute;
25852629 overflow : auto;
25862630 bottom : 0 ;
@@ -2624,7 +2668,7 @@ body.adding-widget .add-new-widget:before,
26242668# available-widgets-filter .search-icon {
26252669 display : block;
26262670 position : absolute;
2627- top : 15px ; /* 13 container padding +1 input margin +1 input border */
2671+ bottom : 15px ; /* 13 container padding +1 input margin +1 input border */
26282672 left : 16px ;
26292673 width : 30px ;
26302674 height : 30px ;
@@ -2634,9 +2678,9 @@ body.adding-widget .add-new-widget:before,
26342678}
26352679
26362680# available-widgets-filter .clear-results ,
2637- # available-menu-items-search .clear-results {
2681+ # available-menu-items-search .accordion-section-title . clear-results {
26382682 position : absolute;
2639- top : 15 px ; /* 13 container padding +1 input margin +1 input border */
2683+ top : 36 px ; /* 13 container padding +1 input margin +1 input border */
26402684 right : 16px ;
26412685 width : 30px ;
26422686 height : 30px ;
@@ -2695,8 +2739,8 @@ body.adding-widget .add-new-widget:before,
26952739
26962740.themes-filter-bar .search-icon {
26972741 position : absolute;
2698- top : 7 px ;
2699- left : 26 px ;
2742+ top : 2 px ;
2743+ left : 2 px ;
27002744 z-index : 1 ;
27012745 color : # 646970 ;
27022746 height : 30px ;
@@ -2814,8 +2858,8 @@ body.adding-widget .add-new-widget:before,
28142858 margin-top : 12px ;
28152859 }
28162860
2817- .wp-core-ui .themes-filter-bar .feature-filter-toggle {
2818- margin : 3 px 0 3 px 25 px ;
2861+ .customize-preview-header .themes-filter-bar .search-icon {
2862+ top : 6 px ;
28192863 }
28202864}
28212865
@@ -2952,22 +2996,18 @@ body.adding-widget .add-new-widget:before,
29522996 }
29532997
29542998 # available-widgets-list {
2955- top : 130 px ;
2999+ top : 152 px ;
29563000 }
29573001
2958- # available-menu-items-search .clear-results ,
2959- # available-menu-items-search . search-icon {
2960- top : 85 px ; /* 70 section title height + 13 container padding +1 input margin +1 input border */
3002+ # available-menu-items-search .clear-results {
3003+ top : 36 px ;
3004+ right : 16 px ;
29613005 }
29623006
29633007 .reorder ,
29643008 .reordering .reorder-done {
29653009 padding : 8px ;
29663010 }
2967-
2968- .wp-core-ui .themes-filter-bar .feature-filter-toggle {
2969- margin : 0 ;
2970- }
29713011}
29723012
29733013@media screen and (max-width : 600px ) {
0 commit comments