Ticket #30725: 30725.2.diff
File 30725.2.diff, 1.9 KB (added by , 10 years ago) |
---|
-
src/wp-includes/css/media-views.css
235 235 } 236 236 237 237 .media-toolbar-secondary { 238 position: relative;239 238 float: left; 240 -webkit-box-sizing: border-box;241 -moz-box-sizing: border-box;242 box-sizing: border-box;243 padding-right: 20px;244 239 height: 100%; 245 240 max-width: 66%; 246 241 } 247 242 248 .media-toolbar-secondary .spinner {249 position: absolute;250 top: 2px;251 right: 0px;252 }253 254 243 .media-toolbar-primary > .media-button, 255 244 .media-toolbar-primary > .media-button-group { 256 245 margin-left: 10px; … … 751 740 margin-top: 11px; 752 741 margin-right: 2%; 753 742 max-width: 47%; 754 width: 100%; /* prevents options from invisibly taking up horizontal space */755 743 } 756 744 757 745 /** … … 1508 1496 background: url(../images/spinner.gif) no-repeat; 1509 1497 -webkit-background-size: 20px 20px; 1510 1498 background-size: 20px 20px; 1511 display: none; 1499 display: inline-block; 1500 visibility: hidden; 1512 1501 opacity: 0.7; 1513 1502 filter: alpha(opacity=70); 1514 1503 width: 20px; … … 2371 2360 } 2372 2361 2373 2362 .media-modal .attachments-browser .media-toolbar .spinner { 2374 margin: 14px 00;2363 margin: 14px 8px 0; 2375 2364 } 2376 2365 2377 2366 /* Text inputs need to be 16px, or they force zooming on iOS */ -
src/wp-includes/js/media-views.js
7792 7792 show: function() { 7793 7793 if ( ! this.spinnerTimeout ) { 7794 7794 this.spinnerTimeout = _.delay(function( $el ) { 7795 $el. show();7795 $el.css('visibility', 'visible'); 7796 7796 }, this.delay, this.$el ); 7797 7797 } 7798 7798 … … 7800 7800 }, 7801 7801 7802 7802 hide: function() { 7803 this.$el. hide();7803 this.$el.css('visibility', 'hidden'); 7804 7804 this.spinnerTimeout = clearTimeout( this.spinnerTimeout ); 7805 7805 7806 7806 return this;