Make WordPress Core


Ignore:
Timestamp:
12/02/2013 07:11:43 AM (13 years ago)
Author:
dd32
Message:

Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r26517 r26519  
    246246        <div class="theme-backdrop"></div>
    247247        <div class="theme-wrap">
    248                 <div class="theme-utility">
    249                         <div alt="<?php _e( 'Close overlay' ); ?>" class="back dashicons dashicons-no"></div>
     248                <div class="theme-header">
     249                        <div alt="<?php _e( 'Close overlay' ); ?>" class="close dashicons dashicons-no"></div>
    250250                        <div alt="<?php _e( 'Show previous theme' ); ?>" class="left dashicons dashicons-no"></div>
    251251                        <div alt="<?php _e( 'Show next theme' ); ?>" class="right dashicons dashicons-no"></div>
    252252                </div>
    253 
     253        <div class="theme-about">
    254254                <div class="theme-screenshots">
    255255                <# if ( data.screenshot[0] ) { #>
     
    311311
    312312                <# if ( ! data.active && data.actions.delete ) { #>
    313                         <a href="{{{ data.actions.delete }}}" class="delete-theme"><?php _e( 'Delete' ); ?></a>
     313                        <a href="{{{ data.actions.delete }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
    314314                <# } #>
    315315        </div>
     316        </div>
    316317</script>
    317318
Note: See TracChangeset for help on using the changeset viewer.