Accessibility: Restore the primary buttons original background color for alternate color schemes after [46241].
Props david.binda, audrasjb, azaozz. See #34904. Fixes #48396. Built from https://develop.svn.wordpress.org/trunk@46575 git-svn-id: http://core.svn.wordpress.org/trunk@46372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -40,8 +40,8 @@
|
||||
&.button-primary-disabled,
|
||||
&.disabled {
|
||||
color: hsl( hue( $button-color ), 10%, 80% ) !important;
|
||||
background: lighten( $button-color, 15% ) !important;
|
||||
border-color: lighten( $button-color, 15% ) !important;
|
||||
background: darken( $button-color, 8% ) !important;
|
||||
border-color: darken( $button-color, 8% ) !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #ecc88a !important;
|
||||
border-color: #ecc88a !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #ecc88a !important;
|
||||
border-color: #ecc88a !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/blue/colors.min.css
vendored
2
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #e0cdbd !important;
|
||||
border-color: #e0cdbd !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #e0cdbd !important;
|
||||
border-color: #e0cdbd !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/coffee/colors.min.css
vendored
2
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #bfcd7b !important;
|
||||
border-color: #bfcd7b !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #bfcd7b !important;
|
||||
border-color: #bfcd7b !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #22cffb !important;
|
||||
border-color: #22cffb !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #22cffb !important;
|
||||
border-color: #22cffb !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #ec8b85 !important;
|
||||
border-color: #ec8b85 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #ec8b85 !important;
|
||||
border-color: #ec8b85 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #cbdacc !important;
|
||||
border-color: #cbdacc !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #cbdacc !important;
|
||||
border-color: #cbdacc !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #e8ac7c !important;
|
||||
border-color: #e8ac7c !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,8 +130,8 @@ textarea:focus {
|
||||
|
||||
.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: #e8ac7c !important;
|
||||
border-color: #e8ac7c !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user