Make WordPress Core

Ticket #28485: 28485.2.patch

File 28485.2.patch, 1.9 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-admin/css/common.css

     
    705705------------------------------------------------------------------------------*/
    706706
    707707.widget .widget-top,
    708 .postbox h3,
    709 .stuffbox h3,
     708.postbox > h3,
     709.stuffbox > h3,
    710710.control-section .accordion-section-title,
    711711h3.dashboard-widget-title,
    712712h3.dashboard-widget-title span,
     
    729729        color: #222;
    730730}
    731731
    732 .postbox h3,
    733 #namediv h3,
    734 #submitdiv h3 {
     732.postbox > h3,
     733.stuffbox > h3 {
    735734        border-bottom: 1px solid #eee;
    736735}
    737736
     
    13801379        line-height: 1;
    13811380}
    13821381
    1383 .postbox h3,
    1384 .stuffbox h3 {
     1382.postbox > h3,
     1383.stuffbox > h3 {
    13851384        margin-top: 1px;
    13861385        -webkit-user-select: none;
    13871386        -moz-user-select: none;
     
    13901389}
    13911390
    13921391.js .widget .widget-top,
    1393 .js .postbox h3 {
     1392.js .postbox > h3 {
    13941393        cursor: move;
    13951394}
    13961395
  • src/wp-admin/css/ie.css

     
    260260        border: 1px solid #dfdfdf;
    261261}
    262262
    263 #wpbody-content .postbox h3 {
     263#wpbody-content .postbox > h3 {
    264264        margin-bottom: -1px;
    265265}
    266266
  • src/wp-admin/js/postbox.js

     
    99
    1010                        self.init(page, args);
    1111
    12                         $('.postbox h3, .postbox .handlediv').bind('click.postboxes', function() {
     12                        $('.postbox > h3, .postbox .handlediv').bind('click.postboxes', function() {
    1313                                var p = $(this).parent('.postbox'), id = p.attr('id');
    1414
    1515                                if ( 'dashboard_browser_nag' == id )
     
    2828                                }
    2929                        });
    3030
    31                         $('.postbox h3 a').click( function(e) {
     31                        $('.postbox > h3 a').click( function(e) {
    3232                                e.stopPropagation();
    3333                        });
    3434