WordPress.org

Make WordPress Core

Changeset 8871


Ignore:
Timestamp:
09/11/08 21:40:28 (6 years ago)
Author:
azaozz
Message:

Fix "cursor in the air" in postboxes, fixes #7578

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r8827 r8871  
    325325} 
    326326 
    327 #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, a { 
     327#poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-sortable .postbox h3:hover span, a { 
    328328    color: #2e7ca0; 
    329329} 
  • trunk/wp-admin/css/colors-fresh.css

    r8827 r8871  
    324324} 
    325325 
    326 #adminmenu a, #adminmenu ul.wp-submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, a { 
     326#adminmenu a, #adminmenu ul.wp-submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, .ui-sortable .postbox h3:hover span, a { 
    327327    color: #2583ad; 
    328328} 
  • trunk/wp-admin/js/postbox.js

    r8712 r8871  
    44        add_postbox_toggles : function(page) { 
    55            $('.postbox h3').before('<a class="togbox">+</a> '); 
    6             $('.postbox a.togbox').click( function() { $($(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } ); 
     6            $('.postbox h3, .postbox a.togbox').click( function() { $($(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } ); 
    77 
    88            $('.hide-postbox-tog').click( function() { 
     
    4141                connectWith: [ '.meta-box-sortables' ], 
    4242                items: '> .postbox', 
    43                 handle: 'h3', 
     43                handle: '.hndle', 
     44                distance: 2, 
     45                containment: '#wpbody-content', 
    4446                stop: function() { 
    4547                    if ( 'side-sortables' == this.id ) { // doing this with jQuery doesn't work for some reason: make-it-tall gets duplicated 
  • trunk/wp-admin/wp-admin.css

    r8867 r8871  
    658658    color: #246; 
    659659} 
    660      
    661660 
    662661#wphead h1 { 
     
    18201819    margin: 0; 
    18211820} 
    1822 /* 
    1823 p.meta-options { 
    1824     border: 1px solid; 
    1825     padding: 1em .5em; 
    1826 } 
    1827 */ 
     1821 
    18281822.ui-sortable .postbox h3 { 
    1829     cursor:move; 
     1823    cursor: pointer; 
    18301824} 
    18311825 
     
    18341828} 
    18351829 
    1836 p#post-search-prep { 
    1837     margin: 0; 
    1838     position: absolute; 
    1839     right: 20px; 
    1840     top: 50px; 
     1830.ui-sortable .postbox .hndle { 
     1831    padding: 6px 0; 
     1832    cursor: move; 
    18411833} 
    18421834 
     
    20892081 
    20902082#hide-settings-link { 
    2091     background-image: url(images/menu-open.png);  
     2083    background-image: url(images/menu-open.png); 
    20922084} 
    20932085 
     
    22242216.inline ul.categories { 
    22252217    list-style: none; 
    2226     padding: 0; margin: 0;  
     2218    padding: 0; margin: 0; 
    22272219    height: 65px; 
    22282220    overflow: auto; 
Note: See TracChangeset for help on using the changeset viewer.