Skip to content

Commit

Permalink
feat(toggle-switch): added disabled styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pivotal-thulasi-nandakumaran authored and Geoff Pleiss committed Nov 3, 2014
1 parent cb07f98 commit b153d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pivotal-ui/components/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,10 @@ A toggle switch is a horizontally styled checkbox which represents true with blu
background-color: $blue-2;
}

&[disabled] + label {
@include opacity(.5);
}

&.toggle-switch-lg {
+ label {
width: 80px;
Expand Down

0 comments on commit b153d57

Please sign in to comment.