PressThis: fix and update buttons styles. Props Michael-Arestad. Fixes #31498.

Built from https://develop.svn.wordpress.org/trunk@31598


git-svn-id: http://core.svn.wordpress.org/trunk@31579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-02 01:18:27 +00:00
parent c22307fd9a
commit acc6c422e2
9 changed files with 53 additions and 79 deletions

View File

@ -312,7 +312,7 @@ strong {
*
* Pushing buttons is what I do.
*/
.button-primary,
.button-subtle,
.scan-submit {
display: inline-block;
@ -330,37 +330,6 @@ strong {
-webkit-appearance: none;
}
.button-primary {
background: #2ea2cc;
border-color: #2581a2;
color: #fff;
}
.button-primary:hover,
.button-primary:focus {
background: #2991b7;
border-color: #20708e;
color: #fff;
outline: 0;
}
.button-primary:active {
background: #2581a2;
border-color: #20708e;
color: #fff;
}
.button-primary[disabled],
.button-primary:disabled {
color: #c7ced1 !important;
background: #2688ab !important;
border-color: #20708e !important;
}
.button-primary:visited {
color: #fff;
}
.button-subtle {
background: none;
border: 0;
@ -396,6 +365,23 @@ strong {
outline: 0;
}
.button-link {
margin: 0;
padding: 0;
border: 0;
background: none;
color: #0074a2;
cursor: pointer;
-webkit-appearance: none;
}
.button-link:hover,
.button-link:active,
.button-link:focus {
color: #2ea2cc;
text-decoration: underline;
}
/**
* Forms
@ -667,9 +653,12 @@ dd {
border: 0;
-webkit-border-radius: 0;
border-radius: 0;
margin: 0;
padding: 0 16px;
background: #f7f7f7;
border-right: 1px solid #f1f1f1;
-webkit-box-shadow: none;
box-shadow: none;
}
.tagsdiv .tagadd:hover,
@ -679,6 +668,8 @@ dd {
background: #2991b7;
border-color: #20708e;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
.tagsdiv .howto {

File diff suppressed because one or more lines are too long

View File

@ -312,7 +312,7 @@ strong {
*
* Pushing buttons is what I do.
*/
.button-primary,
.button-subtle,
.scan-submit {
display: inline-block;
@ -330,37 +330,6 @@ strong {
-webkit-appearance: none;
}
.button-primary {
background: #2ea2cc;
border-color: #2581a2;
color: #fff;
}
.button-primary:hover,
.button-primary:focus {
background: #2991b7;
border-color: #20708e;
color: #fff;
outline: 0;
}
.button-primary:active {
background: #2581a2;
border-color: #20708e;
color: #fff;
}
.button-primary[disabled],
.button-primary:disabled {
color: #c7ced1 !important;
background: #2688ab !important;
border-color: #20708e !important;
}
.button-primary:visited {
color: #fff;
}
.button-subtle {
background: none;
border: 0;
@ -396,6 +365,23 @@ strong {
outline: 0;
}
.button-link {
margin: 0;
padding: 0;
border: 0;
background: none;
color: #0074a2;
cursor: pointer;
-webkit-appearance: none;
}
.button-link:hover,
.button-link:active,
.button-link:focus {
color: #2ea2cc;
text-decoration: underline;
}
/**
* Forms
@ -667,9 +653,12 @@ dd {
border: 0;
-webkit-border-radius: 0;
border-radius: 0;
margin: 0;
padding: 0 16px;
background: #f7f7f7;
border-left: 1px solid #f1f1f1;
-webkit-box-shadow: none;
box-shadow: none;
}
.tagsdiv .tagadd:hover,
@ -679,6 +668,8 @@ dd {
background: #2991b7;
border-color: #20708e;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
.tagsdiv .howto {

File diff suppressed because one or more lines are too long

View File

@ -340,11 +340,7 @@ TABLE OF CONTENTS:
/* 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;

File diff suppressed because one or more lines are too long

View File

@ -340,11 +340,7 @@ TABLE OF CONTENTS:
/* 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;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31597';
$wp_version = '4.2-alpha-31598';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.