Ticket #34323: 34323.2.diff
File 34323.2.diff, 2.2 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/customize-controls.css
809 809 width: 100%; 810 810 position: relative; 811 811 text-align: center; 812 cursor: default; 812 cursor: pointer; 813 background: #fff; 813 814 border: 1px dashed #b4b9be; 814 815 -webkit-box-sizing: border-box; 815 816 -moz-box-sizing: border-box; … … 818 819 line-height: 20px; 819 820 } 820 821 822 .customize-control .attachment-media-view .placeholder:hover { /* Placeholder is not focusable. */ 823 border-color: #191e23; 824 } 825 826 .customize-control-header .placeholder { /* This area is used for more than a placeholder for headers. */ 827 background: transparent; 828 cursor: default; 829 } 830 821 831 .customize-control-header .inner { 822 832 display: none; 823 833 position: absolute; -
src/wp-admin/js/customize-controls.js
1883 1883 // Bind events, with delegation to facilitate re-rendering. 1884 1884 control.container.on( 'click keydown', '.upload-button', control.openFrame ); 1885 1885 control.container.on( 'click keydown', '.upload-button', control.pausePlayer ); 1886 control.container.on( 'click', '.placeholder', control.openFrame ); 1886 1887 control.container.on( 'click keydown', '.thumbnail-image img', control.openFrame ); 1887 1888 control.container.on( 'click keydown', '.default-button', control.restoreDefault ); 1888 1889 control.container.on( 'click keydown', '.remove-button', control.pausePlayer ); -
src/wp-includes/customize/class-wp-customize-media-control.php
199 199 <# } else { #> 200 200 <div class="attachment-media-view"> 201 201 <div class="placeholder"> 202 202 {{ data.button_labels.placeholder }} 203 203 </div> 204 204 <div class="actions"> 205 205 <# if ( data.defaultAttachment ) { #>