Ticket #26527: 26527.2.diff
File 26527.2.diff, 2.4 KB (added by , 11 years ago) |
---|
-
wp-admin/css/wp-admin.css
6483 6483 padding: 15px 12px; 6484 6484 text-align: center; 6485 6485 border-radius: 3px; 6486 text-decoration:none; 6486 6487 -webkit-transition: opacity 0.1s ease-in-out; 6487 6488 transition: opacity 0.1s ease-in-out; 6488 6489 } 6489 6490 6490 .theme-browser.rendered .theme:hover .more-details { 6491 .theme-browser.rendered .theme:hover .more-details, 6492 .theme-browser.rendered .theme .more-details:focus { 6491 6493 opacity: 1; 6492 6494 } 6493 6495 -
wp-admin/js/theme.js
233 233 } 234 234 235 235 this.trigger( 'theme:expand', self.model.cid ); 236 237 event.preventDefault(); 236 238 }, 237 239 238 240 preventExpand: function() { … … 735 737 }; 736 738 737 739 $(window).resize(function(){ tb_position(); }); 740 741 // Make theme actions available via keyboard navigation. 742 $( '.theme-browser .theme .theme-actions a' ).on( 'focus', function() { 743 if ( $( this ).parent().parent().hasClass( 'active' ) === false ) { 744 $( this ).parent().css( 'opacity', '1' ); 745 } 746 } ); 747 748 $( '.theme-browser .theme .theme-actions a' ).on( 'blur', function() { 749 if ( $( this ).parent().parent().hasClass( 'active' ) === false ) { 750 $( this ).parent().css( 'opacity', '0' ); 751 } 752 } ); 738 753 }); -
wp-admin/themes.php
200 200 <?php } else { ?> 201 201 <div class="theme-screenshot blank"></div> 202 202 <?php } ?> 203 < span class="more-details"><?php _e( 'Theme Details' ); ?></span>203 <a class="more-details" href="<?php echo $theme['actions']['preview']; ?>"><?php _e( 'Theme Details' ); ?></a> 204 204 <div class="theme-author"><?php printf( __( 'By %s' ), $theme['author'] ); ?></div> 205 205 206 206 <?php if ( $theme['active'] ) { ?> … … 277 277 <# } else { #> 278 278 <div class="theme-screenshot blank"></div> 279 279 <# } #> 280 < span class="more-details"><?php _e( 'Theme Details' ); ?></span>280 <a class="more-details" href="{{{ data.actions.preview }}}"><?php _e( 'Theme Details' ); ?></a> 281 281 <div class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></div> 282 282 283 283 <# if ( data.active ) { #>