Changeset 8726
- Timestamp:
- 08/25/2008 10:17:41 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r8720 r8726 56 56 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 57 57 ul.view-switch li.current, .form-table tr, #poststuff h3, #replyhandle, 58 .login form, h3.info-box-title, #post-status-info {58 .login form, h3.info-box-title, #post-status-info, #edit-settings-wrap { 59 59 background-color: #cfebf7; 60 60 } … … 764 764 color: #fff; 765 765 } 766 767 #edit-settings-wrap, 768 #show-settings { 769 background-color: #14568A; 770 border-color: #14568A; 771 color: #CFEBF6; 772 } 773 774 #show-settings a, 775 #show-settings a:visited { 776 color: #CFEBF6; 777 } 778 779 #show-settings.show-settings-opened { 780 border-bottom-color: #14568A; 781 } -
trunk/wp-admin/css/colors-fresh.css
r8720 r8726 56 56 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 57 57 ul.view-switch li.current, .form-table tr, #poststuff h3, #replyhandle, 58 .login form, h3.info-box-title, #post-status-info {58 .login form, h3.info-box-title, #post-status-info, #edit-settings-wrap { 59 59 background-color: #eaf3fa; 60 60 } … … 743 743 } 744 744 745 746 /* fixed tool bar */747 #fixedbar {748 background-color:#464646;749 color: #ccc;750 }751 752 #html-upload-help {753 color: #328AB2;754 }755 756 #fixedbar #last-edit {757 758 }759 760 #fixedbar a,761 #fixedbar #curtime {762 color: #ccc;763 }764 765 #fixedbar a:hover {766 color: #fff;767 }768 769 #fixedbar a.button {770 color: #246;771 }772 773 #fixedbar a.button:hover {774 color: #d54e21;775 }776 777 #timestampdiv {778 color: #ccc;779 }780 781 745 /* media popup 0819 */ 782 746 #sidemenu a { … … 789 753 color: #fff; 790 754 } 755 756 #edit-settings-wrap, 757 #show-settings { 758 background-color: #E4F2FD; 759 border-color: #c6d9e9; 760 } 761 762 #show-settings.show-settings-opened { 763 border-bottom-color: #E4F2FD; 764 } -
trunk/wp-admin/edit-form-advanced.php
r8720 r8726 401 401 </div> 402 402 403 <a href="#edit_settings" class="edit-settings-link hide-if-no-js"><?php _e('Edit Settings') ?></a>404 405 <div id="edit-settings" class="hide-if-js hide-if-no-js">406 <h5><?php _e('Show on screen') ?></h5>407 <?php meta_box_prefs('post') ?>408 </div>409 410 403 <?php 411 404 … … 436 429 <div id="poststuff"> 437 430 431 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Show Settings') ?></a> 432 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Settings') ?></a></div> 433 434 <div id="edit-settings" class="hide-if-js hide-if-no-js"> 435 <div id="edit-settings-wrap"> 436 <h5><?php _e('Show on screen') ?></h5> 437 <div class="metabox-prefs"> 438 <?php meta_box_prefs('post') ?> 439 <br class="clear" /> 440 </div></div> 441 </div> 442 438 443 <div id="side-info" style="display: none;"><?php // TODO ?> 439 444 … … 460 465 461 466 <?php $side_meta_boxes = do_meta_boxes('post', 'side', $post); ?> 462 463 467 </div> 464 468 -
trunk/wp-admin/includes/template.php
r8720 r8726 1368 1368 $hidden = (array) get_user_option( "meta-box-hidden_$page" ); 1369 1369 1370 echo '<ul class="metabox-prefs">';1371 1370 foreach ( array_keys($wp_meta_boxes[$page]) as $context ) { 1372 1371 foreach ( array_keys($wp_meta_boxes[$page][$context]) as $priority ) { … … 1377 1376 echo '<label for="' . $box_id . '-hide">'; 1378 1377 echo '<input class="hide-postbox-tog" name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />'; 1379 echo "{$box['title']}</label> ";1378 echo "{$box['title']}</label>\n"; 1380 1379 } 1381 1380 } 1382 1381 } 1383 echo '</ul>';1384 1382 } 1385 1383 ?> -
trunk/wp-admin/js/post.js
r8712 r8726 61 61 } 62 62 63 jQuery(document).ready( function( ) {63 jQuery(document).ready( function($) { 64 64 // close postboxes that should be closed 65 65 jQuery('.if-js-closed').removeClass('if-js-closed').addClass('closed'); … … 187 187 188 188 // Edit Settings 189 jQuery('.edit-settings-link').click(function () { 190 if (jQuery('#edit-settings').is(":hidden")) { 191 jQuery('#edit-settings').slideDown("normal"); 192 } else { 193 jQuery('#edit-settings').slideUp("normal"); 194 } 189 $('#show-settings-link').click(function () { 190 $('#edit-settings').slideDown('normal', function(){ 191 $('#show-settings-link').hide(); 192 $('#hide-settings-link').show(); 193 194 }); 195 $('#show-settings').addClass('show-settings-opened'); 196 return false; 197 }); 198 199 $('#hide-settings-link').click(function () { 200 $('#edit-settings').slideUp('normal', function(){ 201 $('#hide-settings-link').hide(); 202 $('#show-settings-link').show(); 203 $('#show-settings').removeClass('show-settings-opened'); 204 }); 205 195 206 return false; 196 207 }); -
trunk/wp-admin/wp-admin.css
r8725 r8726 620 620 } 621 621 622 #wphead a, #dashmenu a, #adminmenu a, #sidemenu a, #taglist a, #catlist a {622 #wphead a, #dashmenu a, #adminmenu a, #sidemenu a, #taglist a, #catlist a, #show-settings a { 623 623 text-decoration: none; 624 624 } … … 1382 1382 #side-info-column #side-sortables { 1383 1383 height: 100%; 1384 padding-top: 39px; 1384 1385 } 1385 1386 … … 2003 2004 margin: 15px 0 0; 2004 2005 } 2006 2007 /* show/hide settings */ 2008 #show-settings { 2009 float: right; 2010 margin: 0 0 -30px; 2011 position: relative; 2012 z-index: 1; 2013 width: 218px; 2014 height: 28px; 2015 border-width: 1px; 2016 border-style: solid; 2017 -moz-border-radius: 4px; 2018 -khtml-border-radius: 4px; 2019 -webkit-border-radius: 4px; 2020 border-radius: 4px; 2021 } 2022 2023 #show-settings-link, 2024 #hide-settings-link { 2025 background-position: 8px center; 2026 background-repeat: no-repeat; 2027 line-height: 28px; 2028 padding: 0 0 0 26px; 2029 } 2030 2031 #show-settings-link { 2032 background-image: url(images/menu-closed.png); 2033 } 2034 2035 #hide-settings-link { 2036 background-image: url(images/menu-open.png); 2037 } 2038 2039 #edit-settings { 2040 padding: 28px 0 0; 2041 margin: 0 0 20px; 2042 } 2043 2044 #edit-settings-wrap h5 { 2045 padding: 10px 0 5px 20px; 2046 margin: 0; 2047 font-size: 13px; 2048 } 2049 2050 #edit-settings-wrap { 2051 -moz-border-radius: 4px 0 4px 4px; 2052 -khtml-border-radius: 4px; 2053 -webkit-border-radius: 4px; 2054 border-radius: 4px 0 4px 4px; 2055 border-width: 1px; 2056 border-style: solid; 2057 } 2058 2059 .show-settings-opened { 2060 -moz-border-radius: 4px 4px 0 0; 2061 -khtml-border-radius: 4px; 2062 -webkit-border-radius: 4px; 2063 border-radius: 4px 4px 0 0; 2064 } 2065 2066 .metabox-prefs { 2067 padding: 8px 15px 15px; 2068 } 2069 2070 .metabox-prefs label { 2071 display: block; 2072 float: left; 2073 padding: 5px 3px; 2074 white-space: nowrap; 2075 width: 15em; 2076 } 2077 2078 .metabox-prefs label input { 2079 margin: 0 5px 0 2px; 2080 }
Note: See TracChangeset
for help on using the changeset viewer.