mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 00:25:37 +01:00
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:
parent
b9a948d5b5
commit
428c9158e8
@ -7,9 +7,6 @@
|
|||||||
#footer {
|
#footer {
|
||||||
background-position:99% 10px;
|
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 {
|
.bar {
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: #99d;
|
border-left-color: #99d;
|
||||||
|
@ -502,22 +502,12 @@ input.readonly {
|
|||||||
color: #333;
|
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 {
|
.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
|
||||||
border-color: #ebebeb;
|
border-color: #ebebeb;
|
||||||
border-right-color: #ccc;
|
border-right-color: #ccc;
|
||||||
border-bottom-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 {
|
.metabox-holder .postbox, #poststuff .postbox {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,6 @@
|
|||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: #ccc;
|
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 {
|
#upload-menu li.current {
|
||||||
border-right-color:transparent;
|
border-right-color:transparent;
|
||||||
border-left-color: #448abd;
|
border-left-color: #448abd;
|
||||||
|
@ -483,22 +483,12 @@ input.readonly {
|
|||||||
color: #333;
|
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 {
|
.metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox {
|
||||||
border-color: #ebebeb;
|
border-color: #ebebeb;
|
||||||
border-right-color: #ccc;
|
border-right-color: #ccc;
|
||||||
border-bottom-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 {
|
.metabox-holder .postbox, #poststuff .postbox {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,6 @@ div#dashboard-widgets {
|
|||||||
#tagchecklist span a {
|
#tagchecklist span a {
|
||||||
margin: 4px -9px 0 0;
|
margin: 4px -9px 0 0;
|
||||||
}
|
}
|
||||||
.metabox-holder .togbox, #poststuff .togbox {
|
|
||||||
margin-left:0;
|
|
||||||
margin-right: -19px;
|
|
||||||
}
|
|
||||||
.widefat th input {
|
.widefat th input {
|
||||||
margin: 0 5px 0 0;
|
margin: 0 5px 0 0;
|
||||||
}
|
}
|
||||||
|
@ -136,10 +136,6 @@ div#dashboard-widgets {
|
|||||||
margin: 4px 0 0 -9px;
|
margin: 4px 0 0 -9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metabox-holder .togbox, #poststuff .togbox {
|
|
||||||
margin-left: -19px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tablenav .button-secondary, .nav .button-secondary {
|
.tablenav .button-secondary, .nav .button-secondary {
|
||||||
padding: 0 1px;
|
padding: 0 1px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -2659,7 +2659,7 @@ function meta_box_prefs($page) {
|
|||||||
continue;
|
continue;
|
||||||
$box_id = $box['id'];
|
$box_id = $box['id'];
|
||||||
echo '<label for="' . $box_id . '-hide">';
|
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";
|
echo "{$box['title']}</label>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
(function($) {
|
(function($) {
|
||||||
postboxes = {
|
postboxes = {
|
||||||
add_postbox_toggles : function(page,args) {
|
add_postbox_toggles : function(page,args) {
|
||||||
$('.postbox h3').before('<a class="togbox">+</a> ');
|
$('.postbox h3').click( function() {
|
||||||
$('.postbox h3, .postbox a.togbox').click( function() {
|
|
||||||
$($(this).parent().get(0)).toggleClass('closed');
|
$($(this).parent().get(0)).toggleClass('closed');
|
||||||
postboxes.save_state(page);
|
postboxes.save_state(page);
|
||||||
});
|
});
|
||||||
@ -10,19 +9,6 @@
|
|||||||
e.stopPropagation();
|
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 ) {
|
if ( $.browser.msie ) {
|
||||||
$('#side-sortables').append( '<div id="make-it-tall"></div>' );
|
$('#side-sortables').append( '<div id="make-it-tall"></div>' );
|
||||||
} else {
|
} else {
|
||||||
|
@ -209,26 +209,6 @@ td.available-theme {
|
|||||||
#poststuff #media-buttons a {
|
#poststuff #media-buttons a {
|
||||||
padding: 0 2px 2px 5px;
|
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 {
|
.submitbox .submitdelete {
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
margin-right:8px;
|
margin-right:8px;
|
||||||
|
@ -1392,26 +1392,6 @@ table.form-table td .updated {
|
|||||||
vertical-align: middle;
|
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 {
|
.metabox-holder .closed .inside, #poststuff .closed .inside {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -1420,10 +1400,6 @@ table.form-table td .updated {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metabox-holder .closed .togbox, #poststuff .closed .togbox {
|
|
||||||
background-position: 4px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#side-info-column #side-sortables {
|
#side-info-column #side-sortables {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@ -1831,10 +1807,6 @@ fieldset {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.togbox {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-sortable .postbox .hndle {
|
.ui-sortable .postbox .hndle {
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
cursor: move;
|
cursor: move;
|
||||||
|
Loading…
Reference in New Issue
Block a user