Make WordPress Core

Changeset 9262


Ignore:
Timestamp:
10/21/2008 04:55:38 AM (17 years ago)
Author:
markjaquith
Message:

Send togbox to Hades. @ryan: size 8.5 -- something with sapphires.

Location:
trunk/wp-admin
Files:
10 edited

Legend:

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

    r9103 r9262  
    77#footer {
    88    background-position:99% 10px;
    9 }
    10 .metabox-holder .closed .togbox, .metabox-holder .togbox, #poststuff .closed .togbox, #poststuff .togbox {
    11     background-image: url(../images/toggle-arrow-rtl.gif) !important;
    129}
    1310.bar {
  • trunk/wp-admin/css/colors-classic.css

    r9170 r9262  
    503503}
    504504
    505 .metabox-holder .closed .togbox, #poststuff .closed .togbox {
    506     background-color: #2583ad;
    507     background-image: url(../images/toggle-arrow.gif);
    508 }
    509 
    510505.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
    511506    border-color: #ebebeb;
    512507    border-right-color: #ccc;
    513508    border-bottom-color: #ccc;
    514 }
    515 
    516 .metabox-holder .togbox, #poststuff .togbox {
    517     background-color: #b2b2b2;
    518     background-image: url(../images/toggle-arrow.gif);
    519509}
    520510
  • trunk/wp-admin/css/colors-fresh-rtl.css

    r9103 r9262  
    1616    border-left-color: #ccc;
    1717}
    18 .metabox-holder .closed .togbox, .metabox-holder .togbox, #poststuff .closed .togbox, #poststuff .togbox {
    19     background-image: url(../images/toggle-arrow-rtl.gif);
    20 }
    2118#upload-menu li.current {
    2219    border-right-color:transparent;
  • trunk/wp-admin/css/colors-fresh.css

    r9240 r9262  
    484484}
    485485
    486 .metabox-holder .closed .togbox, #poststuff .closed .togbox {
    487     background-color: #2583ad;
    488     background-image: url(../images/toggle-arrow.gif);
    489 }
    490 
    491486.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
    492487    border-color: #ebebeb;
    493488    border-right-color: #ccc;
    494489    border-bottom-color: #ccc;
    495 }
    496 
    497 .metabox-holder .togbox, #poststuff .togbox {
    498     background-color: #b2b2b2;
    499     background-image: url(../images/toggle-arrow.gif);
    500490}
    501491
  • trunk/wp-admin/css/ie-rtl.css

    r9170 r9262  
    2020#tagchecklist span a {
    2121    margin: 4px -9px 0 0;
    22 }
    23 .metabox-holder .togbox, #poststuff .togbox {
    24     margin-left:0;
    25     margin-right: -19px;
    2622}
    2723.widefat th input {
  • trunk/wp-admin/css/ie.css

    r9196 r9262  
    137137}
    138138
    139 .metabox-holder .togbox, #poststuff .togbox {
    140     margin-left: -19px;
    141 }
    142 
    143139.tablenav .button-secondary, .nav .button-secondary {
    144140    padding: 0 1px;
  • trunk/wp-admin/includes/template.php

    r9248 r9262  
    26602660                $box_id = $box['id'];
    26612661                echo '<label for="' . $box_id . '-hide">';
    2662                 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"' : '') . ' />';
     2662                echo '<input name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />';
    26632663                echo "{$box['title']}</label>\n";
    26642664            }
  • trunk/wp-admin/js/postbox.js

    r9103 r9262  
    22    postboxes = {
    33        add_postbox_toggles : function(page,args) {
    4             $('.postbox h3').before('<a class="togbox">+</a> ');
    5             $('.postbox h3, .postbox a.togbox').click( function() {
     4            $('.postbox h3').click( function() {
    65                $($(this).parent().get(0)).toggleClass('closed');
    76                postboxes.save_state(page);
     
    98            $('.postbox h3 a').click( function(e) {
    109                e.stopPropagation();
    11             } );
    12 
    13             $('.hide-postbox-tog').click( function() {
    14                 var box = jQuery(this).val();
    15                 if ( jQuery(this).attr('checked') ) {
    16                     jQuery('#' + box).show();
    17                     if ( $.isFunction( postboxes.onShow ) ) {
    18                         postboxes.onShow( box );
    19                     }
    20                 } else {
    21                     jQuery('#' + box).hide();
    22                 }
    23                 postboxes.save_state(page);
    2410            } );
    2511
  • trunk/wp-admin/rtl.css

    r9170 r9262  
    209209#poststuff #media-buttons a {
    210210    padding: 0 2px 2px 5px;
    211 }
    212 #poststuff .togbox {
    213     margin-left:0;
    214     margin-right: -21px;
    215     -moz-border-radius-topleft:0;
    216     -khtml-border-top-left-radius:0;
    217     -webkit-border-top-left-radius:0;
    218     border-top-left-radius:0;
    219     -moz-border-radius-topright: 3px;
    220     -khtml-border-top-right-radius: 3px;
    221     -webkit-border-top-right-radius: 3px;
    222     border-top-right-radius: 3px;
    223     -moz-border-radius-bottomleft: 0;
    224     -khtml-border-bottom-left-radius:0;
    225     -webkit-border-bottom-left-radius:0;
    226     border-bottom-left-radius:0;
    227     -moz-border-radius-bottomright: 3px;
    228     -khtml-border-bottom-right-radius: 3px;
    229     -webkit-border-bottom-right-radius: 3px;
    230     border-bottom-right-radius: 3px;
    231211}
    232212.submitbox .submitdelete {
  • trunk/wp-admin/wp-admin.css

    r9261 r9262  
    13931393}
    13941394
    1395 .metabox-holder .togbox, #poststuff .togbox {
    1396     background-position: -10px 16px;
    1397     background-repeat: no-repeat;
    1398     display: block;
    1399     height: 37px;
    1400     margin-left: -14px;
    1401     margin-top: -3px;
    1402     overflow: hidden;
    1403     position: absolute;
    1404     text-indent: -9999px;
    1405     width: 12px;
    1406     -moz-border-radius: 3px 0 0 3px;
    1407     -webkit-border-top-left-radius: 3px;
    1408     -webkit-border-bottom-left-radius: 3px;
    1409     -khtml-border-top-left-radius: 3px;
    1410     -khtml-border-bottom-left-radius: 3px;
    1411     border-top-left-radius: 3px;
    1412     border-bottom-left-radius: 3px;
    1413 }
    1414 
    14151395.metabox-holder .closed .inside, #poststuff .closed .inside {
    14161396    display: none;
     
    14191399.metabox-holder .closed h3, #poststuff .closed h3 {
    14201400    margin: 0;
    1421 }
    1422 
    1423 .metabox-holder .closed .togbox, #poststuff .closed .togbox {
    1424     background-position: 4px 15px;
    14251401}
    14261402
     
    18291805
    18301806.ui-sortable .postbox h3 {
    1831     cursor: pointer;
    1832 }
    1833 
    1834 a.togbox {
    18351807    cursor: pointer;
    18361808}
Note: See TracChangeset for help on using the changeset viewer.