WordPress.org

Make WordPress Core

Changeset 20968


Ignore:
Timestamp:
06/01/12 15:03:50 (23 months ago)
Author:
ryan
Message:

Fix collapse button and return link markup for theme install preview. Props koopersmith. fixes #20800

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin-rtl.dev.css

    r20961 r20968  
    15891589    left: auto; 
    15901590    right: 0; 
    1591 } 
    1592  
    1593 /* Return and close buttons. */ 
    1594 .wp-full-overlay .close-full-overlay { 
    1595     left: auto; 
    1596     right: 20px; 
    15971591} 
    15981592 
  • trunk/wp-admin/css/wp-admin.dev.css

    r20922 r20968  
    53325332} 
    53335333 
    5334 /* Return and close buttons. */ 
    5335 .wp-full-overlay .collapse-sidebar, 
     5334/* Close Link */ 
    53365335.wp-full-overlay .close-full-overlay { 
    5337     z-index: 50; 
    5338     position: absolute; 
    53395336    text-decoration: none; 
    5340 } 
    5341  
    5342 .wp-full-overlay .close-full-overlay { 
    5343     top: 15px; 
    5344     left: 20px; 
    53455337} 
    53465338 
     
    53565348    padding: 0; 
    53575349    border-radius: 50%; 
     5350    text-decoration: none; 
    53585351} 
    53595352 
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20812 r20968  
    252252        ?> 
    253253        <div id="theme-installer" class="wp-full-overlay"> 
    254             <a href="#" class="close-full-overlay"><?php printf( __( '&larr; Return to %s' ), get_admin_page_title() ); ?></a> 
    255             <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>"> 
    256                 <span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span> 
    257                 <span class="collapse-sidebar-arrow"></span> 
    258             </a> 
    259254            <div class="wp-full-overlay-sidebar"> 
    260                 <div class="wp-full-overlay-header"></div> 
     255                <div class="wp-full-overlay-header"> 
     256                    <a href="#" class="close-full-overlay"><?php _e( '&larr; Close' ); ?></a> 
     257                </div> 
    261258                <div class="wp-full-overlay-sidebar-content"> 
    262259                    <div class="install-theme-info"></div> 
    263260                </div> 
    264                 <div class="wp-full-overlay-footer"></div> 
     261                <div class="wp-full-overlay-footer"> 
     262                    <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>"> 
     263                        <span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span> 
     264                        <span class="collapse-sidebar-arrow"></span> 
     265                    </a> 
     266                </div> 
    265267            </div> 
    266268            <div class="wp-full-overlay-main"></div> 
Note: See TracChangeset for help on using the changeset viewer.