diff --git wp-admin/css/customize-controls.css wp-admin/css/customize-controls.css
index becc7a5..aa93525 100644
|
|
|
p.customize-section-description {
|
| 764 | 764 | /* Header control: overlay "close" button */ |
| 765 | 765 | |
| 766 | 766 | .customize-control-header .uploaded .header-view .close { |
| 767 | | font-size: 2em; |
| 768 | | color: grey; |
| | 767 | font-size: 20px; |
| | 768 | color: #fff; |
| | 769 | background: #555; |
| | 770 | background: rgba(0, 0, 0, 0.5); |
| 769 | 771 | position: absolute; |
| 770 | | visibility: hidden; |
| 771 | 772 | top: 10px; |
| 772 | | right: 10px; |
| | 773 | right: -999px; |
| 773 | 774 | z-index: 1; |
| 774 | | width: 20px; |
| 775 | | height: 20px; |
| | 775 | width: 26px; |
| | 776 | height: 26px; |
| 776 | 777 | cursor: pointer; |
| | 778 | padding: 2px; |
| 777 | 779 | } |
| 778 | 780 | |
| 779 | | .customize-control-header .uploaded .header-view .close:hover { |
| 780 | | color: black; |
| 781 | | text-shadow: |
| 782 | | -1px -1px 0 #fff, |
| 783 | | 1px -1px 0 #fff, |
| 784 | | -1px 1px 0 #fff, |
| 785 | | 1px 1px 0 #fff; |
| 786 | | } |
| 787 | | |
| 788 | | .customize-control-header .header-view:hover .close { |
| 789 | | visibility: visible; |
| | 781 | .customize-control-header .header-view:hover .close, |
| | 782 | .customize-control-header .header-view .close:focus { |
| | 783 | right: 10px; |
| 790 | 784 | } |
| 791 | 785 | |
| 792 | 786 | /* Header control: randomiz(s)er */ |
diff --git wp-includes/class-wp-customize-control.php wp-includes/class-wp-customize-control.php
index bf17fb2..9cba28c 100644
|
|
|
class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
|
| 1074 | 1074 | <# } else { #> |
| 1075 | 1075 | |
| 1076 | 1076 | <# if (data.type === 'uploaded') { #> |
| 1077 | | <div class="dashicons dashicons-no close"></div> |
| | 1077 | <button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button> |
| 1078 | 1078 | <# } #> |
| 1079 | 1079 | |
| 1080 | 1080 | <button type="button" class="choice thumbnail" |