Skip to content

Commit

Permalink
Merge pull request #263 from nwhittaker/feature/select-validation-state
Browse files Browse the repository at this point in the history
Validation states on select controls.
  • Loading branch information
TheBlueDog committed May 2, 2016
2 parents 83d0070 + 1a9f28a commit f9e86c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/sass/calcite/_forms-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ select.form-control {
&:focus {
outline: 1px inset $Calcite_Blue_a200;
}

.has-success & {
outline-color: $state-success-border;
}

.has-warning & {
outline-color: $state-warning-border;
}

.has-error & {
outline-color: $state-danger-border;
}
}

select.form-control#disabledSelect {
Expand Down

0 comments on commit f9e86c3

Please sign in to comment.