Add a :disabled style for radio inputs and checkboxes. Fixes #26004.

git-svn-id: https://develop.svn.wordpress.org/trunk@26170 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-11-14 19:45:25 +00:00
parent 8dc91f3646
commit 896777db21

View File

@ -37,6 +37,13 @@ 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;
} }