Administration: Ensure that disabled buttons look disabled.
This change removes the disabled state from the admin scheme specific styles. Fixes #48709. Props drw158, SergeyBiryukov, afercia, kennethroberson5556, melchoyce, joedolson, valentinbora, audrasjb, larrach, nrqsnchz, youknowriad. Built from https://develop.svn.wordpress.org/trunk@48360 git-svn-id: http://core.svn.wordpress.org/trunk@48129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aad1fa48ea
commit
93b69e27d4
|
@ -34,14 +34,4 @@
|
|||
border-color: darken( $button-color, 15% );
|
||||
box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
|
||||
}
|
||||
|
||||
&[disabled],
|
||||
&:disabled,
|
||||
&.button-primary-disabled,
|
||||
&.disabled {
|
||||
color: hsl( hue( $button-color ), 10%, 80% ) !important;
|
||||
background: darken( $button-color, 8% ) !important;
|
||||
border-color: darken( $button-color, 8% ) !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e1a948;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e1a948;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -137,13 +137,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #c7a589;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -137,13 +137,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #c7a589;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #a3b745;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #a3b745;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e14d43;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e14d43;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7c9d1 !important;
|
||||
background: #193ddf !important;
|
||||
border-color: #193ddf !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7c9d1 !important;
|
||||
background: #193ddf !important;
|
||||
border-color: #193ddf !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -137,13 +137,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #9ebaa0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -137,13 +137,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #9ebaa0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #dd823b;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -162,13 +162,6 @@ textarea:focus {
|
|||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #dd823b;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -182,7 +182,6 @@ TABLE OF CONTENTS:
|
|||
border-color: #ddd !important;
|
||||
background: #f7f7f7 !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: 0 1px 0 #fff !important;
|
||||
cursor: default;
|
||||
transform: none !important;
|
||||
}
|
||||
|
@ -277,9 +276,9 @@ TABLE OF CONTENTS:
|
|||
.wp-core-ui .button-primary:disabled,
|
||||
.wp-core-ui .button-primary-disabled,
|
||||
.wp-core-ui .button-primary.disabled {
|
||||
color: #66c6e4 !important;
|
||||
background: #008ec2 !important;
|
||||
border-color: #008ec2 !important;
|
||||
color: #a0a5aa !important;
|
||||
background: #f7f7f7 !important;
|
||||
border-color: #ddd !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: none !important;
|
||||
cursor: default;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -181,7 +181,6 @@ TABLE OF CONTENTS:
|
|||
border-color: #ddd !important;
|
||||
background: #f7f7f7 !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: 0 1px 0 #fff !important;
|
||||
cursor: default;
|
||||
transform: none !important;
|
||||
}
|
||||
|
@ -276,9 +275,9 @@ TABLE OF CONTENTS:
|
|||
.wp-core-ui .button-primary:disabled,
|
||||
.wp-core-ui .button-primary-disabled,
|
||||
.wp-core-ui .button-primary.disabled {
|
||||
color: #66c6e4 !important;
|
||||
background: #008ec2 !important;
|
||||
border-color: #008ec2 !important;
|
||||
color: #a0a5aa !important;
|
||||
background: #f7f7f7 !important;
|
||||
border-color: #ddd !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: none !important;
|
||||
cursor: default;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-48359';
|
||||
$wp_version = '5.5-alpha-48360';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue