mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004.
Built from https://develop.svn.wordpress.org/trunk@26331 git-svn-id: http://core.svn.wordpress.org/trunk@26233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f0ec4ea835
commit
456ce72df2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -37,13 +37,6 @@ input[type=radio] {
|
|||||||
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
|
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox]:disabled,
|
|
||||||
input[type=radio]:disabled,
|
|
||||||
input[type=checkbox]:disabled:checked:before,
|
|
||||||
input[type=radio]:disabled:checked:before {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=checkbox]:checked:before {
|
input[type=checkbox]:checked:before {
|
||||||
color: #1e8cbe;
|
color: #1e8cbe;
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/colors-fresh-rtl.min.css
vendored
2
wp-admin/css/colors-fresh-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -37,13 +37,6 @@ input[type=radio] {
|
|||||||
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
|
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox]:disabled,
|
|
||||||
input[type=radio]:disabled,
|
|
||||||
input[type=checkbox]:disabled:checked:before,
|
|
||||||
input[type=radio]:disabled:checked:before {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=checkbox]:checked:before {
|
input[type=checkbox]:checked:before {
|
||||||
color: #1e8cbe;
|
color: #1e8cbe;
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/colors-fresh.min.css
vendored
2
wp-admin/css/colors-fresh.min.css
vendored
File diff suppressed because one or more lines are too long
@ -293,6 +293,13 @@ input[type=radio] {
|
|||||||
line-height: 10px;
|
line-height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type=checkbox]:disabled,
|
||||||
|
input[type=radio]:disabled,
|
||||||
|
input[type=checkbox]:disabled:checked:before,
|
||||||
|
input[type=radio]:disabled:checked:before {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
input[type=checkbox]:checked:before,
|
input[type=checkbox]:checked:before,
|
||||||
input[type=radio]:checked:before {
|
input[type=radio]:checked:before {
|
||||||
float: right;
|
float: right;
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -293,6 +293,13 @@ input[type=radio] {
|
|||||||
line-height: 10px;
|
line-height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type=checkbox]:disabled,
|
||||||
|
input[type=radio]:disabled,
|
||||||
|
input[type=checkbox]:disabled:checked:before,
|
||||||
|
input[type=radio]:disabled:checked:before {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
input[type=checkbox]:checked:before,
|
input[type=checkbox]:checked:before,
|
||||||
input[type=radio]:checked:before {
|
input[type=radio]:checked:before {
|
||||||
float: left;
|
float: left;
|
||||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user