Changeset 38881
- Timestamp:
- 10/23/2016 07:56:43 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-controls.css
r38880 r38881 918 918 border: 0; 919 919 } 920 921 .customize-control-header .header-view.selected .choice:focus { 922 outline: none; 923 } 924 920 925 .customize-control-header .header-view.selected:after { 921 926 content: ''; … … 927 932 border-radius: 2px; 928 933 } 934 929 935 .customize-control-header .header-view.button.selected { 930 936 border: 0; … … 940 946 position: absolute; 941 947 top: 10px; 942 right: -999px;948 left: -999px; 943 949 z-index: 1; 944 950 width: 26px; … … 949 955 .customize-control-header .header-view:hover .close, 950 956 .customize-control-header .header-view .close:focus { 957 left: auto; 951 958 right: 10px; 959 } 960 961 .customize-control-header .header-view .close:focus { 962 outline: 1px solid #5b9dd9; 952 963 } 953 964 … … 996 1007 display: block; 997 1008 margin-bottom: 9px; 1009 } 1010 1011 .customize-control-header .choice:focus { 1012 outline: none; 1013 -webkit-box-shadow: 1014 0 0 0 1px #5b9dd9, 1015 0 0 3px 1px rgba(30, 140, 190, .8); 1016 box-shadow: 1017 0 0 0 1px #5b9dd9, 1018 0 0 3px 1px rgba(30, 140, 190, .8); 998 1019 } 999 1020 -
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r37426 r38881 103 103 <# } else { #> 104 104 105 <# if (data.type === 'uploaded') { #>106 <button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button>107 <# } #>108 109 105 <button type="button" class="choice thumbnail" 110 106 data-customize-image-value="{{{data.header.url}}}" … … 113 109 <img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}"> 114 110 </button> 111 112 <# if ( data.type === 'uploaded' ) { #> 113 <button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button> 114 <# } #> 115 115 116 116 <# } #> … … 132 132 <# } else { #> 133 133 134 <img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}" tabindex="0"/>134 <img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}" /> 135 135 136 136 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.