WordPress-style Buttons
=======================
-Create a button by adding the %60.button` class to an element. For backwards
+Create a button by adding the `.button` class to an element. For backwards
compatibility, we support several other classes (such as `.button-secondary`),
but these will *not* work with the stackable classes described below.
.wp-core-ui .button-secondary:focus {
background: #fafafa;
border-color: #999;
- color: #222;
+ color: #23282d;
}
.wp-core-ui .button.focus,
.wp-core-ui .button-secondary:active {
background: #eee;
border-color: #999;
- color: #333;
+ color: #32373c;
-webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
}
.wp-core-ui .button-secondary:disabled,
.wp-core-ui .button-secondary.disabled,
.wp-core-ui .button-disabled {
- color: #aaa !important;
+ color: #a0a5aa !important;
border-color: #ddd !important;
background: #f7f7f7 !important;
-webkit-box-shadow: none !important;
---------------------------------------------------------------------------- */
.wp-core-ui .button-primary {
- background: #2ea2cc;
- border-color: #0074a2;
+ background: #00a0d2;
+ border-color: #0073aa;
-webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 );
box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
color: #fff;
.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary:focus {
- background: #1e8cbe;
- border-color: #0074a2;
+ background: #0091cd;
+ border-color: #0073aa;
-webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
color: #fff;
.wp-core-ui .button-primary.active:hover,
.wp-core-ui .button-primary.active:focus,
.wp-core-ui .button-primary:active {
- background: #1b7aa6;
- border-color: #005684;
+ background: #0073aa;
+ border-color: #005082;
color: rgba( 255, 255, 255, 0.95 );
-webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
/* Reset responsive styles in Press This, Customizer */
- .wp-core-ui.wp-customizer .button,
- .press-this.wp-core-ui .button,
- .press-this input#publish,
- .press-this input#save-post,
- .press-this a.preview {
+ .wp-core-ui.wp-customizer .button {
padding: 0 10px 1px;
font-size: 13px;
line-height: 26px;