mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 22:45:39 +00:00
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:
parent
c22307fd9a
commit
acc6c422e2
@ -312,7 +312,7 @@ strong {
|
|||||||
*
|
*
|
||||||
* Pushing buttons is what I do.
|
* Pushing buttons is what I do.
|
||||||
*/
|
*/
|
||||||
.button-primary,
|
|
||||||
.button-subtle,
|
.button-subtle,
|
||||||
.scan-submit {
|
.scan-submit {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -330,37 +330,6 @@ strong {
|
|||||||
-webkit-appearance: none;
|
-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 {
|
.button-subtle {
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
@ -396,6 +365,23 @@ strong {
|
|||||||
outline: 0;
|
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
|
* Forms
|
||||||
@ -667,9 +653,12 @@ dd {
|
|||||||
border: 0;
|
border: 0;
|
||||||
-webkit-border-radius: 0;
|
-webkit-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
margin: 0;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
border-right: 1px solid #f1f1f1;
|
border-right: 1px solid #f1f1f1;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagsdiv .tagadd:hover,
|
.tagsdiv .tagadd:hover,
|
||||||
@ -679,6 +668,8 @@ dd {
|
|||||||
background: #2991b7;
|
background: #2991b7;
|
||||||
border-color: #20708e;
|
border-color: #20708e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagsdiv .howto {
|
.tagsdiv .howto {
|
||||||
|
2
wp-admin/css/press-this-rtl.min.css
vendored
2
wp-admin/css/press-this-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -312,7 +312,7 @@ strong {
|
|||||||
*
|
*
|
||||||
* Pushing buttons is what I do.
|
* Pushing buttons is what I do.
|
||||||
*/
|
*/
|
||||||
.button-primary,
|
|
||||||
.button-subtle,
|
.button-subtle,
|
||||||
.scan-submit {
|
.scan-submit {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -330,37 +330,6 @@ strong {
|
|||||||
-webkit-appearance: none;
|
-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 {
|
.button-subtle {
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
@ -396,6 +365,23 @@ strong {
|
|||||||
outline: 0;
|
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
|
* Forms
|
||||||
@ -667,9 +653,12 @@ dd {
|
|||||||
border: 0;
|
border: 0;
|
||||||
-webkit-border-radius: 0;
|
-webkit-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
margin: 0;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
border-left: 1px solid #f1f1f1;
|
border-left: 1px solid #f1f1f1;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagsdiv .tagadd:hover,
|
.tagsdiv .tagadd:hover,
|
||||||
@ -679,6 +668,8 @@ dd {
|
|||||||
background: #2991b7;
|
background: #2991b7;
|
||||||
border-color: #20708e;
|
border-color: #20708e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagsdiv .howto {
|
.tagsdiv .howto {
|
||||||
|
2
wp-admin/css/press-this.min.css
vendored
2
wp-admin/css/press-this.min.css
vendored
File diff suppressed because one or more lines are too long
@ -340,11 +340,7 @@ TABLE OF CONTENTS:
|
|||||||
|
|
||||||
/* Reset responsive styles in Press This, Customizer */
|
/* Reset responsive styles in Press This, Customizer */
|
||||||
|
|
||||||
.wp-core-ui.wp-customizer .button,
|
.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 {
|
|
||||||
padding: 0 10px 1px;
|
padding: 0 10px 1px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
|
2
wp-includes/css/buttons-rtl.min.css
vendored
2
wp-includes/css/buttons-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -340,11 +340,7 @@ TABLE OF CONTENTS:
|
|||||||
|
|
||||||
/* Reset responsive styles in Press This, Customizer */
|
/* Reset responsive styles in Press This, Customizer */
|
||||||
|
|
||||||
.wp-core-ui.wp-customizer .button,
|
.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 {
|
|
||||||
padding: 0 10px 1px;
|
padding: 0 10px 1px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
|
2
wp-includes/css/buttons.min.css
vendored
2
wp-includes/css/buttons.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user