Ticket #27521: 27521.7.diff
File 27521.7.diff, 5.0 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/colors/_admin.scss
439 439 440 440 body.more-filters-opened .more-filters, 441 441 body.more-filters-opened .more-filters:before { 442 color: $menu-text; 443 background-color: $menu-background; 444 } 445 446 body.more-filters-opened .more-filters:hover, 447 body.more-filters-opened .more-filters:focus, 448 body.more-filters-opened .more-filters:hover:before, 449 body.more-filters-opened .more-filters:focus:before { 450 background-color: $menu-highlight-background; 442 451 color: $menu-highlight-text; 443 background-color: $menu-highlight-background;444 452 } 445 453 454 446 455 /* jQuery UI Slider */ 447 456 448 457 .wp-slider .ui-slider-handle, -
src/wp-admin/css/themes.css
40 40 top: -3px; 41 41 } 42 42 43 .theme-navigation a{ 44 text-decoration:none; 45 } 46 43 47 /* Position admin messages */ 44 48 .themes-php div.updated, 45 49 .themes-php div.error { … … 1163 1167 } 1164 1168 body.more-filters-opened .more-filters, 1165 1169 body.more-filters-opened .more-filters:before { 1166 background: rgb(46, 162, 204);1170 background: #777; 1167 1171 -webkit-border-radius: 2px; 1168 1172 border-radius: 2px; 1169 1173 border: none; 1170 1174 color: #fff; 1175 -moz-transition: color .1s ease-in, background .1s ease-in; 1176 -webkit-transition: color .1s ease-in, background .1s ease-in; 1177 transition: color .1s ease-in, background .1s ease-in; 1171 1178 } 1179 1180 body.more-filters-opened .more-filters:hover, 1181 body.more-filters-opened .more-filters:focus, 1182 body.more-filters-opened .more-filters:hover:before, 1183 body.more-filters-opened .more-filters:focus:before { 1184 background: rgb(46, 162, 204); 1185 } 1186 1172 1187 .theme-install-php .theme-search { 1173 1188 position: absolute; 1174 1189 right: 10px; -
src/wp-admin/js/theme.js
269 269 expand: function( event ) { 270 270 var self = this; 271 271 272 272 273 event = event || window.event; 273 274 274 275 // 'enter' and 'space' keys expand the details view when a theme is :focused … … 303 304 return this.touchDrag = false; 304 305 } 305 306 307 // 'enter' and 'space' keys expand the details view when a theme is :focused 308 if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) { 309 return; 310 } 311 306 312 event.preventDefault(); 307 313 308 314 event = event || window.event; … … 799 805 search: function( event ) { 800 806 var options = {}; 801 807 808 802 809 // Clear on escape. 803 810 if ( event.type === 'keyup' && event.which === 27 ) { 804 811 event.target.value = ''; … … 932 939 933 940 // Handles Ajax request for searching through themes in public repo 934 941 search: function( event ) { 942 943 // Tabbing into the search input shouldn't trigger a search 944 if ( event.type === 'keyup' && event.which === 9 ) { 945 return; 946 } 947 935 948 this.collection = this.options.parent.view.collection; 936 949 937 950 // Clear on escape. … … 1085 1098 var $el = $( event.target ), 1086 1099 sort = $el.data( 'sort' ); 1087 1100 1101 // links that trigger sort have a # as the href, we don't want to add that to the url 1102 event.preventDefault(); 1103 1088 1104 // Bail if this is already active 1089 1105 if ( $el.hasClass( this.activeClass ) ) { 1090 1106 return; -
src/wp-admin/theme-install.php
104 104 <div class="wrap"> 105 105 <h2> 106 106 <?php echo esc_html( $title ); ?> 107 <a class="upload add-new-h2"><?php _e( 'Upload Theme' ); ?></a>108 <a class="browse-themes add-new-h2"><?php _ex( 'Browse', 'themes' ); ?></a>107 <a href="#" class="upload add-new-h2"><?php _e( 'Upload Theme' ); ?></a> 108 <a href="#" class="browse-themes add-new-h2"><?php _ex( 'Browse', 'themes' ); ?></a> 109 109 </h2> 110 110 111 111 <div class="upload-theme"> … … 114 114 115 115 <div class="theme-navigation"> 116 116 <span class="theme-count"></span> 117 < span class="theme-section current" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></span>118 < span class="theme-section" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></span>119 < span class="theme-section" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></span>117 <a class="theme-section current" href="#" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a> 118 <a class="theme-section" href="#" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a> 119 <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a> 120 120 <div class="theme-top-filters"> 121 121 <!--<span class="theme-filter" data-filter="photoblogging">Photography</span> 122 122 <span class="theme-filter" data-filter="responsive-layout">Responsive</span>--> 123 < span class="more-filters"><?php _e( 'Feature Filter' ); ?></span>123 <a class="more-filters" href="#"><?php _e( 'Feature Filter' ); ?></a> 124 124 </div> 125 125 <div class="more-filters-container"> 126 126 <?php