Ticket #35943: 35943.1.diff
File 35943.1.diff, 2.8 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/customize-controls.css
956 956 .customize-control-image img, 957 957 .customize-control-background img, 958 958 .customize-control-cropped_image img, 959 .customize-control-site_icon img,960 959 .customize-control-header img { 961 960 width: 100%; 962 961 -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: 15px; 44 margin-bottom: 0; 45 } 46 47 .customize-control-site_icon .favicon, 48 .customize-control-site_icon .browser-title { 49 top: 35px; 50 } 51 52 .customize-control-site_icon .app-icon { 53 float: left; 54 margin-top: 5px; 55 } -
src/wp-includes/customize/class-wp-customize-site-icon-control.php
62 62 <div class="current"> 63 63 <div class="container"> 64 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>66 65 <div class="favicon-preview"> 67 <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" /> 66 <strong><?php _e( 'Browser icon' ); ?></strong> 67 <img src="images/browser.png" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" /> 68 68 69 69 <div class="favicon"> 70 70 <img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> 71 71 </div> 72 72 <span class="browser-title"><?php bloginfo( 'name' ); ?></span> 73 73 </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> 74 <div class="app-icon"> 75 <strong><?php _e( 'App icon' ); ?></strong> 76 <div 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 </div> 79 </div> 79 80 </div> 80 81 </div> 81 82 </div>