Skip to content

Commit

Permalink
#2505 Fixes indeterminate checkbox styles causing radios to appear ch…
Browse files Browse the repository at this point in the history
…ecked when none selected
  • Loading branch information
jlukic committed Jul 4, 2015
1 parent fbbc014 commit f49c554
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/definitions/modules/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit f49c554

Please sign in to comment.