Ticket #35943: 35943.diff
File 35943.diff, 2.7 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/customize-controls.css
979 979 .customize-control-image img, 980 980 .customize-control-background img, 981 981 .customize-control-cropped_image img, 982 .customize-control-site_icon img,983 982 .customize-control-header img { 984 983 width: 100%; 985 984 -webkit-border-radius: 2px; -
src/wp-admin/css/site-icon.css
24 24 25 25 .site-icon-preview .browser-title { 26 26 left: 109px; 27 width: 72px; 28 white-space: nowrap; 27 29 } 28 30 29 31 .site-icon-preview .app-icon-preview { … … 35 37 width: 64px; 36 38 margin-top: 5px; 37 39 } 40 41 .customize-control-site_icon .favicon-preview { 42 float: left; 43 margin-right: 12px; 44 margin-bottom: 0; 45 } 46 47 .customize-control-site_icon .app-icon-preview { 48 margin-top: 9px; 49 } -
src/wp-includes/customize/class-wp-customize-site-icon-control.php
61 61 <# if ( data.attachment && data.attachment.id ) { #> 62 62 <div class="current"> 63 63 <div class="container"> 64 <div class="attachment-media-view attachment-media-view-{{ data.attachment.type }} {{ data.attachment.orientation }} site-icon-preview"> 65 <strong><?php _e( 'As a browser icon' ); ?></strong> 64 <div class="site-icon-preview"> 66 65 <div class="favicon-preview"> 67 <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" />66 <img src="images/browser.png" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" /> 68 67 69 68 <div class="favicon"> 70 69 <img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> … … 71 70 </div> 72 71 <span class="browser-title"><?php bloginfo( 'name' ); ?></span> 73 72 </div> 74 75 <strong><?php _e( 'As an app icon' ); ?></strong> 76 <p class="app-icon-preview"> 77 <img id="preview-app-icon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> 78 </p> 73 <img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> 79 74 </div> 80 75 </div> 81 76 </div>