Skip to content

Commit

Permalink
fix(custom-forms): fix indeterminate state of custom radio issue #46
Browse files Browse the repository at this point in the history
  • Loading branch information
Lausselloic committed Mar 27, 2017
1 parent b9281be commit 17f3c49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scss/_o-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ select.form-control {
border: 2px solid $gray;
}

.custom-control-input:checked ~ .custom-control-indicator {
.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
background-size: 1rem;
border: 0;
}

.custom-control-input:active ~ .custom-control-indicator,
.custom-control-input:indeterminate ~ .custom-control-indicator {
.custom-checkbox .custom-control-input:active ~ .custom-control-indicator,
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-indicator {
border: 0;
}

Expand All @@ -236,7 +236,7 @@ select.form-control {
border: 2px solid $gray-light-o;
}

.custom-control-input:checked:disabled ~ .custom-control-indicator {
.custom-checkbox .custom-control-input:checked:disabled ~ .custom-control-indicator {
background-color: $gray-light-o;
background-image: $custom-checkbox-checked-icon;
border: 0;
Expand Down

0 comments on commit 17f3c49

Please sign in to comment.