Changeset 20791
- Timestamp:
- 05/15/2012 01:03:31 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.dev.css
r20789 r20791 5286 5286 5287 5287 .wp-full-overlay.collapsed, 5288 .wp-full-overlay.collapsed div.wp-full-overlay-header, 5289 .wp-full-overlay.collapsed div.wp-full-overlay-footer { 5288 .wp-full-overlay.collapsed .wp-full-overlay-sidebar > div { 5290 5289 left: -302px; 5291 5290 } … … 5300 5299 overflow: auto; 5301 5300 background: #f5f5f5; 5302 box-shadow: inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 );5303 5301 border-right: 1px solid rgba( 0, 0, 0, 0.2 ); 5304 5302 } … … 5306 5304 .wp-full-overlay.collapsed .wp-full-overlay-sidebar { 5307 5305 overflow: visible; 5306 } 5307 5308 .wp-full-overlay-sidebar:after { 5309 content: ''; 5310 display: block; 5311 position: absolute; 5312 top: 0; 5313 bottom: 0; 5314 right: 0; 5315 width: 8px; 5316 box-shadow: inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 ); 5317 z-index: 1000; 5308 5318 } 5309 5319 … … 5320 5330 } 5321 5331 5322 .wp-full-overlay-sidebar div.wp-full-overlay-header,5323 .wp-full-overlay-sidebar div.wp-full-overlay-footer {5332 .wp-full-overlay-sidebar .wp-full-overlay-header, 5333 .wp-full-overlay-sidebar .wp-full-overlay-footer { 5324 5334 position: fixed; 5325 5335 left: 0; 5326 5336 width: 260px; 5327 padding: 15px 20px; 5328 min-height: 16px; 5337 height: 45px; 5338 padding: 0 20px; 5339 line-height: 45px; 5340 z-index: 10; 5329 5341 margin: 0; 5330 z-index: 10; 5331 background: #f5f5f5; 5332 } 5333 5334 .wp-full-overlay-sidebar div.wp-full-overlay-header { 5342 } 5343 5344 .wp-full-overlay-sidebar .wp-full-overlay-header { 5335 5345 top: 0; 5336 5346 border-top: 0; 5337 5347 border-bottom: 1px solid #fff; 5338 box-shadow: 5339 inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 ), 5340 inset 0 -1px 0 0px #dfdfdf; 5341 } 5342 5343 .wp-full-overlay-sidebar div.wp-full-overlay-footer { 5348 box-shadow: inset 0 -1px 0 0px #dfdfdf; 5349 } 5350 5351 .wp-full-overlay-sidebar .wp-full-overlay-footer { 5344 5352 bottom: 0; 5345 5353 border-bottom: 0; 5346 5354 border-top: 1px solid #dfdfdf; 5347 box-shadow: 5348 inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 ), 5349 inset 0 1px 0 0px #fff; 5355 box-shadow: inset 0 1px 0 0px #fff; 5356 } 5357 5358 .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { 5359 position: fixed; 5360 top: 45px; 5361 bottom: 45px; 5362 width: 300px; 5363 overflow: auto; 5350 5364 } 5351 5365 … … 5366 5380 .wp-full-overlay .collapse-sidebar { 5367 5381 position: absolute; 5368 bottom: 1 3px;5382 bottom: 12px; 5369 5383 left: 265px; 5370 5384 z-index: 50; … … 5414 5428 .wp-full-overlay, 5415 5429 .wp-full-overlay .collapse-sidebar, 5416 .wp-full-overlay-sidebar div.wp-full-overlay-header, 5417 .wp-full-overlay-sidebar div.wp-full-overlay-footer, 5430 .wp-full-overlay-sidebar > div, 5418 5431 .wp-full-overlay-main { 5419 5432 -moz-transition-property: left, right, top, bottom; … … 5481 5494 .install-theme-info { 5482 5495 display: none; 5483 padding: 45px 20px 15px;5496 padding: 10px 20px 20px; 5484 5497 } 5485 5498 … … 5507 5520 width: 258px; 5508 5521 border: 1px solid #ccc; 5522 } 5523 5524 .install-theme-info .theme-details { 5525 overflow: hidden; 5509 5526 } 5510 5527 -
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r20765 r20791 259 259 <div class="wp-full-overlay-sidebar"> 260 260 <div class="wp-full-overlay-header"></div> 261 <div class="install-theme-info"></div> 261 <div class="wp-full-overlay-sidebar-content"> 262 <div class="install-theme-info"></div> 263 </div> 262 264 <div class="wp-full-overlay-footer"></div> 263 265 </div> -
trunk/wp-includes/css/customize-controls.dev.css
r20777 r20791 100 100 } 101 101 102 #customize-info {103 margin-top: 45px;104 }105 106 102 #customize-info .preview-notice { 107 103 font-size: 13px; … … 133 129 } 134 130 135 #customize-theme-controls {136 padding-bottom: 60px;137 }138 139 131 #customize-theme-controls > ul, 140 132 #customize-theme-controls .customize-section-content { … … 145 137 display: none; 146 138 position: absolute; 147 top: 1 8px;139 top: 15px; 148 140 margin-left: 4px; 149 141 } … … 151 143 .saving #customize-footer-actions img { 152 144 display: inline; 145 } 146 147 #customize-footer-actions .button-primary { 148 display: inline-block; 149 margin-top: 12px; 153 150 } 154 151 -
trunk/wp-includes/customize-controls.php
r20737 r20791 44 44 <form id="customize-controls" class="wrap wp-full-overlay-sidebar"> 45 45 <?php wp_nonce_field( 'customize_controls' ); ?> 46 <div id="customize-header-actions" class=" customize-sectionwp-full-overlay-header">46 <div id="customize-header-actions" class="wp-full-overlay-header"> 47 47 <a class="back" href="<?php echo esc_url( admin_url( 'themes.php' ) ); ?>"> 48 48 <?php printf( __( '← Return to %s' ), __('Manage Themes') ); ?> … … 50 50 </div> 51 51 52 <div id="customize-info" class="customize-section"> 53 <div class="customize-section-title"> 54 <span class="preview-notice"><?php _e('You are previewing'); ?></span> 55 <strong class="theme-name"><?php echo $this->theme->display('Name'); ?></strong> 52 <div class="wp-full-overlay-sidebar-content"> 53 <div id="customize-info" class="customize-section"> 54 <div class="customize-section-title"> 55 <span class="preview-notice"><?php _e('You are previewing'); ?></span> 56 <strong class="theme-name"><?php echo $this->theme->display('Name'); ?></strong> 57 </div> 58 <div class="customize-section-content"> 59 <?php if ( $screenshot = $this->theme->get_screenshot() ) : ?> 60 <img class="theme-screenshot" src="<?php echo esc_url( $screenshot ); ?>" /> 61 <?php endif; ?> 62 63 <?php if ( $this->theme->get('Description') ): ?> 64 <div class="theme-description"><?php echo $this->theme->display('Description'); ?></div> 65 <?php endif; ?> 66 </div> 56 67 </div> 57 <div class="customize-section-content">58 <?php if ( $screenshot = $this->theme->get_screenshot() ) : ?>59 <img class="theme-screenshot" src="<?php echo esc_url( $screenshot ); ?>" />60 <?php endif; ?>61 68 62 <?php if ( $this->theme->get('Description') ): ?> 63 <div class="theme-description"><?php echo $this->theme->display('Description'); ?></div> 64 <?php endif; ?> 65 </div> 69 <div id="customize-theme-controls"><ul> 70 <?php 71 foreach ( $this->sections as $section ) 72 $section->maybe_render(); 73 ?> 74 </ul></div> 66 75 </div> 67 76 68 <div id="customize-theme-controls"><ul> 69 <?php 70 foreach ( $this->sections as $section ) 71 $section->maybe_render(); 72 ?> 73 </ul></div> 74 75 <div id="customize-footer-actions" class="customize-section wp-full-overlay-footer"> 77 <div id="customize-footer-actions" class="wp-full-overlay-footer"> 76 78 <?php 77 79 $save_text = $this->get_stylesheet() == $this->original_stylesheet ? __('Save') : __('Save and Activate');
Note: See TracChangeset
for help on using the changeset viewer.