Changeset 9196
- Timestamp:
- 10/16/2008 10:32:26 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/ie.css
r9182 r9196 51 51 #wpcontent #adminmenu ul.wp-submenu li { 52 52 padding: 0; 53 } 54 55 #wpcontent #adminmenu .wp-submenu li.wp-submenu-head { 56 padding: 3px 4px 4px 10px; 53 57 } 54 58 -
trunk/wp-admin/js/menu.js
r9182 r9196 6 6 $('#adminmenu a').attr('tabindex', '10'); 7 7 $('#adminmenu a.wp-has-submenu').click( function() { return adminMenu.toggle( $(this).siblings('ul') ); } ); 8 $('#adminmenu li.wp-has-submenu img.wp-menu-image').dblclick( function() { window.location = $(this).siblings('a.wp-has-submenu')[0].href; } ); 8 9 9 10 var li = document.createElement('li'); // temp … … 53 54 $('#wpbody-content').css('marginLeft', '140px'); 54 55 $('#adminmenu').removeClass('folded'); 56 $('#adminmenu li.wp-submenu-head').hide(); 55 57 $('#adminmenu a.wp-has-submenu').show(); 56 58 $('#adminmenu li.wp-has-submenu').unbind().css('width', ''); 57 59 } else { 58 60 $('#adminmenu').addClass('folded'); 59 $('#adminmenu a.wp-has-submenu ').hide();60 $('#adminmenu .wp-submenu').hide();61 $('#adminmenu a.wp-has-submenu, #adminmenu .wp-submenu').hide(); 62 $('#adminmenu li.wp-submenu-head').show(); 61 63 $('#wpbody-content').css('marginLeft', '38px'); 62 64 $('#adminmenu li.wp-has-submenu').css({'width':'24px'}).hoverIntent({ -
trunk/wp-admin/menu-header.php
r9178 r9196 80 80 81 81 if ( !empty($submenu[$item[2]]) ) { 82 echo "\n\t<ul class='wp-submenu'> ";82 echo "\n\t<ul class='wp-submenu'><li class='wp-submenu-head' style='display:none;'>{$item[0]}</li>"; 83 83 $first = true; 84 84 foreach ( $submenu[$item[2]] as $sub_key => $sub_item ) { -
trunk/wp-admin/wp-admin.css
r9182 r9196 707 707 } 708 708 709 #adminmenu li.wp-submenu {709 #adminmenu .wp-submenu { 710 710 margin: 0; 711 711 position: relative; … … 713 713 } 714 714 715 #adminmenu ul.wp-submenu li {715 #adminmenu .wp-submenu li { 716 716 padding: 0; 717 717 margin: 0; … … 727 727 } 728 728 729 #adminmenu ul.wp-submenu li.current {729 #adminmenu .wp-submenu li.current { 730 730 background-color: #fff; 731 731 } … … 749 749 padding: 0; 750 750 margin: 0; 751 } 752 753 #adminmenu .wp-submenu li.wp-submenu-head { 754 border-top: 0 none; 755 padding: 4px 4px 4px 10px; 756 cursor: default; 757 758 759 760 background-color: #E4F2FD; 751 761 } 752 762
Note: See TracChangeset
for help on using the changeset viewer.