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:
parent
e17c93c846
commit
741624aae1
|
@ -474,12 +474,6 @@ h3.dashboard-widget-title small a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-control-save,
|
|
||||||
.widget-control-remove {
|
|
||||||
background-color: #cee1ef;
|
|
||||||
color: #246;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu a,
|
#adminmenu a,
|
||||||
#poststuff #edButtonPreview,
|
#poststuff #edButtonPreview,
|
||||||
#poststuff #edButtonHTML,
|
#poststuff #edButtonHTML,
|
||||||
|
|
|
@ -123,6 +123,12 @@ h3.info-box-title,
|
||||||
background-color: #eaf3fa;
|
background-color: #eaf3fa;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
li.widget-list-control-item div.widget-control {
|
||||||
|
background-color: #fff;
|
||||||
|
border-color: #dfdfdf;
|
||||||
|
}
|
||||||
|
|
||||||
#poststuff h3,
|
#poststuff h3,
|
||||||
.metabox-holder h3 {
|
.metabox-holder h3 {
|
||||||
background-color: #dfdfdf;
|
background-color: #dfdfdf;
|
||||||
|
@ -469,12 +475,6 @@ h3.dashboard-widget-title small a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-control-save,
|
|
||||||
.widget-control-remove {
|
|
||||||
background-color: #cee1ef;
|
|
||||||
color: #246;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu a,
|
#adminmenu a,
|
||||||
#poststuff #edButtonPreview,
|
#poststuff #edButtonPreview,
|
||||||
#poststuff #edButtonHTML,
|
#poststuff #edButtonHTML,
|
||||||
|
|
|
@ -29,7 +29,8 @@ ul#widget-list li.widget-list-item div.widget-description {
|
||||||
margin: 0 200px 0 0;
|
margin: 0 200px 0 0;
|
||||||
padding: 0 4em 0 0;
|
padding: 0 4em 0 0;
|
||||||
}
|
}
|
||||||
.widget-control-save, .widget-control-remove {
|
.widget-control-save,
|
||||||
|
.widget-control-remove {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
@ -119,12 +119,8 @@ li.widget-sortable h4 {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-control-save, .widget-control-remove {
|
.widget-control-save,
|
||||||
padding: 3px 5px;
|
.widget-control-remove {
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-khtml-border-radius: 3px;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
float: left;
|
float: left;
|
||||||
text-decoration: none;
|
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 {
|
li.widget-list-control-item div.widget-control {
|
||||||
|
border-width: 0 1px 1px;
|
||||||
|
border-style: none solid solid;
|
||||||
display: none;
|
display: none;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
@ -154,8 +152,6 @@ li.widget-list-control-item div.widget-control p {
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.widget-control-list div.widget-control-actions {
|
ul.widget-control-list div.widget-control-actions {
|
||||||
border-top-width: 1px;
|
|
||||||
border-top-style: solid;
|
|
||||||
padding: 0.5em 0 0;
|
padding: 0.5em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,7 +162,7 @@ ul.widget-control-list div.widget-control-actions {
|
||||||
|
|
||||||
div#current-widgets {
|
div#current-widgets {
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
border-width: 1px;
|
border-width: 1px 0 0;
|
||||||
border-style: solid none none;
|
border-style: solid none none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -305,11 +305,11 @@ function wp_widget_control( $sidebar_args ) {
|
||||||
|
|
||||||
<?php if ( $control ) : ?>
|
<?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; ?>
|
<?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" />
|
<br class="clear" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue