Ticket #57949: 57949.diff
File 57949.diff, 3.7 KB (added by , 22 months ago) |
---|
-
src/wp-admin/css/common.css
1081 1081 } 1082 1082 1083 1083 .wp-filter .search-form input[type="search"] { 1084 margin: 1px 0;1085 1084 width: 280px; 1086 1085 max-width: 100%; 1087 1086 } … … 4063 4062 } 4064 4063 4065 4064 .wp-filter .search-form input[type="search"] { 4065 width: 100%; 4066 4066 font-size: 1rem; 4067 4067 } 4068 4068 … … 4116 4116 .nav-tab-active:focus:active { 4117 4117 border-bottom: 1px solid #c3c4c7; 4118 4118 } 4119 4120 .wp-filter .search-form input[type="search"] {4121 width: 100%;4122 }4123 4119 } 4124 4120 4125 4121 @media screen and (max-width: 480px) { -
src/wp-admin/css/forms.css
1650 1650 1651 1651 p.search-box { 1652 1652 float: none; 1653 position: absolute; 1654 bottom: 0; 1655 width: 98%; 1656 height: 90px; 1653 width: 100%; 1657 1654 margin-bottom: 20px; 1655 display: flex; 1658 1656 } 1659 1657 1660 1658 p.search-box input[name="s"] { -
src/wp-admin/css/media.css
583 583 margin-top: 0; 584 584 } 585 585 586 .media-search-input-label {587 margin: 0 .2em 0 0;588 vertical-align: baseline;589 }590 591 .media-frame.mode-grid .media-search-input-label {592 position: static;593 margin: 0 .5em 0 0;594 }595 596 586 .attachments-browser .media-toolbar-secondary > .media-button { 597 587 margin-right: 10px; 598 588 } -
src/wp-admin/includes/class-wp-media-list-table.php
312 312 </div> 313 313 314 314 <div class="search-form"> 315 <label for="media-search-input" class="media-search-input-label"><?php esc_html_e( 'Search' ); ?></label> 316 <input type="search" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"> 315 <p class="search-box"> 316 <label class="screen-reader-text" for="media-search-input"> 317 <?php 318 /* translators: Hidden accessibility text. */ 319 esc_html_e( 'Search Media' ); 320 ?> 321 </label> 322 <input type="search" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"> 323 <input id="search-submit" type="submit" class="button" value="<?php esc_attr_e( 'Search Media' ); ?>"> 324 </p> 317 325 </div> 318 326 </div> 319 327 <?php -
src/wp-includes/css/media-views.css
924 924 max-width: 100%; 925 925 } 926 926 927 .media-frame .media-search-input-label {928 position: absolute;929 left: 0;930 top: 10px;931 margin: 0;932 line-height: 1;933 }934 935 927 /** 936 928 * Attachments 937 929 */ … … 1217 1209 .mode-grid .attachments-browser .media-toolbar-primary { 1218 1210 display: flex; 1219 1211 align-items: center; 1212 column-gap: .5rem; 1220 1213 } 1221 1214 1222 1215 .mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary { … … 2806 2799 } 2807 2800 2808 2801 .mode-grid .attachments-browser .media-toolbar-primary { 2809 display: block;2802 display: flex; 2810 2803 } 2811 2804 2805 .mode-grid .attachments-browser .media-toolbar-primary input[type="search"] { 2806 width: 100%; 2807 } 2808 2812 2809 .media-sidebar .copy-to-clipboard-container .success, 2813 2810 .attachment-details .copy-to-clipboard-container .success { 2814 2811 font-size: 14px;