Widgets background and new style buttons

git-svn-id: http://svn.automattic.com/wordpress/trunk@9944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-28 10:54:01 +00:00
parent e17c93c846
commit 741624aae1
5 changed files with 15 additions and 24 deletions

View File

@ -474,12 +474,6 @@ h3.dashboard-widget-title small a:hover {
color: #fff;
}
.widget-control-save,
.widget-control-remove {
background-color: #cee1ef;
color: #246;
}
#adminmenu a,
#poststuff #edButtonPreview,
#poststuff #edButtonHTML,

View File

@ -123,6 +123,12 @@ h3.info-box-title,
background-color: #eaf3fa;
}
*/
li.widget-list-control-item div.widget-control {
background-color: #fff;
border-color: #dfdfdf;
}
#poststuff h3,
.metabox-holder h3 {
background-color: #dfdfdf;
@ -469,12 +475,6 @@ h3.dashboard-widget-title small a:hover {
color: #fff;
}
.widget-control-save,
.widget-control-remove {
background-color: #cee1ef;
color: #246;
}
#adminmenu a,
#poststuff #edButtonPreview,
#poststuff #edButtonHTML,

View File

@ -29,7 +29,8 @@ ul#widget-list li.widget-list-item div.widget-description {
margin: 0 200px 0 0;
padding: 0 4em 0 0;
}
.widget-control-save, .widget-control-remove {
.widget-control-save,
.widget-control-remove {
margin-right: 0;
margin-left: 8px;
float: right;

View File

@ -119,12 +119,8 @@ li.widget-sortable h4 {
border-radius: 3px;
}
.widget-control-save, .widget-control-remove {
padding: 3px 5px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
.widget-control-save,
.widget-control-remove {
margin-right: 8px;
float: left;
text-decoration: none;
@ -142,6 +138,8 @@ li.widget-list-control-item h4.widget-title a:hover {
}
li.widget-list-control-item div.widget-control {
border-width: 0 1px 1px;
border-style: none solid solid;
display: none;
padding: 15px;
font-size: 11px;
@ -154,8 +152,6 @@ li.widget-list-control-item div.widget-control p {
}
ul.widget-control-list div.widget-control-actions {
border-top-width: 1px;
border-top-style: solid;
padding: 0.5em 0 0;
}
@ -166,7 +162,7 @@ ul.widget-control-list div.widget-control-actions {
div#current-widgets {
padding-top: 1em;
border-width: 1px;
border-width: 1px 0 0;
border-style: solid none none;
}

View File

@ -305,11 +305,11 @@ function wp_widget_control( $sidebar_args ) {
<?php if ( $control ) : ?>
<a class="widget-action widget-control-save hide-if-no-js edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Done'); ?></a>
<a class="button widget-action widget-control-save hide-if-no-js edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Done'); ?></a>
<?php endif; ?>
<a class="widget-action widget-control-remove delete alignright" href="<?php echo clean_url( wp_nonce_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ) ), "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a>
<a class="button widget-action widget-control-remove alignright" href="<?php echo clean_url( wp_nonce_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ) ), "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a>
<br class="clear" />
</div>
</div>