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. git-svn-id: https://develop.svn.wordpress.org/trunk@48360 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f86dd5c6ce
commit
bbe94ef0fd
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user