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

git-svn-id: http://svn.automattic.com/wordpress/trunk@9262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-10-21 04:55:38 +00:00
parent b9a948d5b5
commit 428c9158e8
10 changed files with 2 additions and 98 deletions

View File

@ -7,9 +7,6 @@
#footer {
background-position:99% 10px;
}
.metabox-holder .closed .togbox, .metabox-holder .togbox, #poststuff .closed .togbox, #poststuff .togbox {
background-image: url(../images/toggle-arrow-rtl.gif) !important;
}
.bar {
border-right-color: transparent;
border-left-color: #99d;

View File

@ -502,22 +502,12 @@ input.readonly {
color: #333;
}
.metabox-holder .closed .togbox, #poststuff .closed .togbox {
background-color: #2583ad;
background-image: url(../images/toggle-arrow.gif);
}
.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
border-color: #ebebeb;
border-right-color: #ccc;
border-bottom-color: #ccc;
}
.metabox-holder .togbox, #poststuff .togbox {
background-color: #b2b2b2;
background-image: url(../images/toggle-arrow.gif);
}
.metabox-holder .postbox, #poststuff .postbox {
background-color: #FFF;
}

View File

@ -15,9 +15,6 @@
border-right-color: transparent;
border-left-color: #ccc;
}
.metabox-holder .closed .togbox, .metabox-holder .togbox, #poststuff .closed .togbox, #poststuff .togbox {
background-image: url(../images/toggle-arrow-rtl.gif);
}
#upload-menu li.current {
border-right-color:transparent;
border-left-color: #448abd;

View File

@ -483,22 +483,12 @@ input.readonly {
color: #333;
}
.metabox-holder .closed .togbox, #poststuff .closed .togbox {
background-color: #2583ad;
background-image: url(../images/toggle-arrow.gif);
}
.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
border-color: #ebebeb;
border-right-color: #ccc;
border-bottom-color: #ccc;
}
.metabox-holder .togbox, #poststuff .togbox {
background-color: #b2b2b2;
background-image: url(../images/toggle-arrow.gif);
}
.metabox-holder .postbox, #poststuff .postbox {
background-color: #FFF;
}

View File

@ -20,10 +20,6 @@ div#dashboard-widgets {
#tagchecklist span a {
margin: 4px -9px 0 0;
}
.metabox-holder .togbox, #poststuff .togbox {
margin-left:0;
margin-right: -19px;
}
.widefat th input {
margin: 0 5px 0 0;
}

View File

@ -136,10 +136,6 @@ div#dashboard-widgets {
margin: 4px 0 0 -9px;
}
.metabox-holder .togbox, #poststuff .togbox {
margin-left: -19px;
}
.tablenav .button-secondary, .nav .button-secondary {
padding: 0 1px;
vertical-align: middle;

View File

@ -2659,7 +2659,7 @@ function meta_box_prefs($page) {
continue;
$box_id = $box['id'];
echo '<label for="' . $box_id . '-hide">';
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"' : '') . ' />';
echo '<input name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />';
echo "{$box['title']}</label>\n";
}
}

View File

@ -1,8 +1,7 @@
(function($) {
postboxes = {
add_postbox_toggles : function(page,args) {
$('.postbox h3').before('<a class="togbox">+</a> ');
$('.postbox h3, .postbox a.togbox').click( function() {
$('.postbox h3').click( function() {
$($(this).parent().get(0)).toggleClass('closed');
postboxes.save_state(page);
});
@ -10,19 +9,6 @@
e.stopPropagation();
} );
$('.hide-postbox-tog').click( function() {
var box = jQuery(this).val();
if ( jQuery(this).attr('checked') ) {
jQuery('#' + box).show();
if ( $.isFunction( postboxes.onShow ) ) {
postboxes.onShow( box );
}
} else {
jQuery('#' + box).hide();
}
postboxes.save_state(page);
} );
if ( $.browser.msie ) {
$('#side-sortables').append( '<div id="make-it-tall"></div>' );
} else {

View File

@ -209,26 +209,6 @@ td.available-theme {
#poststuff #media-buttons a {
padding: 0 2px 2px 5px;
}
#poststuff .togbox {
margin-left:0;
margin-right: -21px;
-moz-border-radius-topleft:0;
-khtml-border-top-left-radius:0;
-webkit-border-top-left-radius:0;
border-top-left-radius:0;
-moz-border-radius-topright: 3px;
-khtml-border-top-right-radius: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
-moz-border-radius-bottomleft: 0;
-khtml-border-bottom-left-radius:0;
-webkit-border-bottom-left-radius:0;
border-bottom-left-radius:0;
-moz-border-radius-bottomright: 3px;
-khtml-border-bottom-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.submitbox .submitdelete {
margin-left:0;
margin-right:8px;

View File

@ -1392,26 +1392,6 @@ table.form-table td .updated {
vertical-align: middle;
}
.metabox-holder .togbox, #poststuff .togbox {
background-position: -10px 16px;
background-repeat: no-repeat;
display: block;
height: 37px;
margin-left: -14px;
margin-top: -3px;
overflow: hidden;
position: absolute;
text-indent: -9999px;
width: 12px;
-moz-border-radius: 3px 0 0 3px;
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-khtml-border-top-left-radius: 3px;
-khtml-border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.metabox-holder .closed .inside, #poststuff .closed .inside {
display: none;
}
@ -1420,10 +1400,6 @@ table.form-table td .updated {
margin: 0;
}
.metabox-holder .closed .togbox, #poststuff .closed .togbox {
background-position: 4px 15px;
}
#side-info-column #side-sortables {
height: 100%;
}
@ -1831,10 +1807,6 @@ fieldset {
cursor: pointer;
}
a.togbox {
cursor: pointer;
}
.ui-sortable .postbox .hndle {
padding: 6px 0;
cursor: move;