Ticket #27521: 27521.4.diff
File 27521.4.diff, 9.2 KB (added by , 10 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/common.css
1838 1838 line-height: 18px; 1839 1839 font-size: 14px; 1840 1840 text-decoration: none; 1841 -webkit-transition: none; 1841 1842 transition: none; 1842 1843 } 1843 1844 -
src/wp-admin/css/customize-controls.css
469 469 470 470 #customize-control-header_image .current .container { 471 471 overflow: hidden; 472 -webkit-border-radius: 2px; 472 473 border-radius: 2px; 473 474 } 474 475 … … 526 527 527 528 #customize-control-header_image .random.placeholder { 528 529 cursor: pointer; 530 -webkit-border-radius: 2px; 529 531 border-radius: 2px; 530 532 height: 40px; 531 533 } … … 536 538 537 539 #customize-control-header_image .placeholder:hover .dice { 538 540 -webkit-animation: dice-color-change 3s infinite; 539 -moz-animation: dice-color-change 3s infinite;540 541 -ms-animation: dice-color-change 3s infinite; 541 542 animation: dice-color-change 3s infinite; 542 543 } … … 548 549 100% { color: #d4b146; } 549 550 } 550 551 551 @-moz-keyframes dice-color-change {552 0% { color: #d4b146; }553 50% { color: #ef54b0; }554 75% { color: #7190d3; }555 100% { color: #d4b146; }556 }557 558 552 @-ms-keyframes dice-color-change { 559 553 0% { color: #d4b146; } 560 554 50% { color: #ef54b0; } … … 598 592 599 593 #customize-control-header_image img { 600 594 width: 100%; 595 -webkit-border-radius: 2px; 601 596 border-radius: 2px; 602 597 } 603 598 -
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 { … … 1067 1071 1068 1072 .theme-navigation { 1069 1073 background: #fff; 1074 -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); 1070 1075 box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); 1071 1076 -moz-box-sizing: border-box; 1077 -webkit-box-sizing: border-box; 1072 1078 box-sizing: border-box; 1073 1079 color: #555; 1074 1080 display: inline-block; … … 1091 1097 } 1092 1098 .upload-theme { 1093 1099 -moz-box-sizing: border-box; 1100 -webkit-box-sizing: border-box; 1094 1101 box-sizing: border-box; 1095 1102 display: none; 1096 1103 margin: 0px 0 0; … … 1155 1162 display: inline-block; 1156 1163 margin: 0 10px; 1157 1164 padding: 4px 6px; 1158 -moz-transition: color .1s ease-in, background .1s ease-in;1159 1165 -webkit-transition: color .1s ease-in, background .1s ease-in; 1160 1166 transition: color .1s ease-in, background .1s ease-in; 1161 1167 } 1162 1168 body.more-filters-opened .more-filters, 1163 1169 body.more-filters-opened .more-filters:before { 1164 background: rgb(46, 162, 204); 1170 background: #777; 1171 -webkit-border-radius: 2px; 1165 1172 border-radius: 2px; 1166 1173 border: none; 1167 1174 color: #fff; 1175 -webkit-transition: color .1s ease-in, background .1s ease-in; 1176 transition: color .1s ease-in, background .1s ease-in; 1168 1177 } 1178 body.more-filters-opened .more-filters:hover, 1179 body.more-filters-opened .more-filters:focus, 1180 body.more-filters-opened .more-filters:hover:before, 1181 body.more-filters-opened .more-filters:focus:before { 1182 background: rgb(46, 162, 204); 1183 } 1184 1169 1185 .theme-install-php .theme-search { 1170 1186 position: absolute; 1171 1187 right: 10px; … … 1191 1207 font-weight: normal; 1192 1208 font-style: normal; 1193 1209 vertical-align: top; 1194 -moz-transition: color .1s ease-in 0;1195 1210 -webkit-transition: color .1s ease-in 0; 1196 1211 transition: color .1s ease-in 0; 1197 1212 text-align: center; … … 1211 1226 } 1212 1227 .more-filters-container .filters-group { 1213 1228 -moz-box-sizing: border-box; 1229 -webkit-box-sizing: border-box; 1214 1230 box-sizing: border-box; 1215 1231 float: left; 1216 1232 width: 20%; -
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 -
src/wp-includes/css/editor.css
197 197 background: #eee; 198 198 background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#e3e3e3)); 199 199 background-image: -webkit-linear-gradient(bottom, #f6f6f6, #e3e3e3); 200 background-image: -moz-linear-gradient(bottom, #f6f6f6, #e3e3e3);201 background-image: -o-linear-gradient(bottom, #f6f6f6, #e3e3e3);202 200 background-image: linear-gradient(to top, #f6f6f6, #e3e3e3); 203 201 } 204 202 … … 933 931 top: 50%; 934 932 left: 50%; 935 933 z-index: 100105; 934 -webkit-transition: height 0.2s, margin-top 0.2s; 936 935 transition: height 0.2s, margin-top 0.2s; 937 936 } 938 937 … … 1153 1152 #wp-link .item-title { 1154 1153 display: inline-block; 1155 1154 width: 80%; 1155 width: -webkit-calc(100% - 68px); 1156 1156 width: calc(100% - 68px); 1157 1157 } 1158 1158 … … 1243 1243 1244 1244 @media screen and ( max-height: 520px ) { 1245 1245 #wp-link-wrap { 1246 -webkit-transition: none; 1246 1247 transition: none; 1247 1248 } 1248 1249 … … 1272 1273 1273 1274 #link-selector { 1274 1275 overflow: auto; 1276 height: -webkit-calc(100% - 92px); 1275 1277 height: calc(100% - 92px); 1276 1278 padding-bottom: 2px; 1277 1279 }