Skip to content

Commit

Permalink
fix(checkbox): hide check mark when unchecked and disabled (#863)
Browse files Browse the repository at this point in the history
Fixes #862
  • Loading branch information
yggg authored and nnixaa committed Oct 5, 2018
1 parent efa7f61 commit c7205d4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,19 @@

@include check-mark-style(
nb-theme(checkbox-disabled-size),
nb-theme(checkbox-disabled-checkmark),
nb-theme(checkbox-checkmark),
nb-theme(checkbox-disabled-border-size)
);
}

.customised-control-input:disabled:checked + .customised-control-indicator {
border-color: nb-theme(checkbox-checked-border-color);

@include check-mark-style(
nb-theme(checkbox-disabled-size),
nb-theme(checkbox-disabled-checkmark),
nb-theme(checkbox-disabled-border-size)
);
}

@include checkbox-border(nb-theme(checkbox-checked-border-color));
Expand Down

0 comments on commit c7205d4

Please sign in to comment.