diff --git a/src/definitions/modules/checkbox.less b/src/definitions/modules/checkbox.less index c076057de..b3a7cdc69 100755 --- a/src/definitions/modules/checkbox.less +++ b/src/definitions/modules/checkbox.less @@ -203,13 +203,13 @@ Indeterminate ---------------*/ -.ui.checkbox input:indeterminate ~ .box:before, -.ui.checkbox input:indeterminate ~ label:before { +.ui.checkbox input[type="checkbox"]:indeterminate ~ .box:before, +.ui.checkbox input[type="checkbox"]:indeterminate ~ label:before { background: @checkboxIndeterminateBackground; border-color: @checkboxIndeterminateBorderColor; } -.ui.checkbox input:indeterminate ~ .box:after, -.ui.checkbox input:indeterminate ~ label:after { +.ui.checkbox input[type="checkbox"]:indeterminate ~ .box:after, +.ui.checkbox input[type="checkbox"]:indeterminate ~ label:after { opacity: @checkboxIndeterminateCheckOpacity; color: @checkboxIndeterminateCheckColor; } @@ -218,10 +218,10 @@ Active Focus ---------------*/ -.ui.checkbox input[type="radio"]:indeterminate:focus ~ .box:before, -.ui.checkbox input[type="radio"]:indeterminate:focus ~ label:before, -.ui.checkbox input[type="radio"]:checked:focus ~ .box:before, -.ui.checkbox input[type="radio"]:checked:focus ~ label:before { +.ui.checkbox input[type="checkbox"]:indeterminate:focus ~ .box:before, +.ui.checkbox input[type="checkbox"]:indeterminate:focus ~ label:before, +.ui.checkbox input[type="checkbox"]:checked:focus ~ .box:before, +.ui.checkbox input[type="checkbox"]:checked:focus ~ label:before { background: @checkboxFocusedBackground; border-color: @checkboxFocusedBorderColor; }