Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

Missing bootstrap input states #22

Open
devsergiy opened this issue May 26, 2014 · 1 comment
Open

Missing bootstrap input states #22

devsergiy opened this issue May 26, 2014 · 1 comment

Comments

@devsergiy
Copy link

There is missing styles for such states

  • .has-warning
  • .has-error
  • .has-success
@devsergiy
Copy link
Author

Could be implemented in such way

.has-error {
  $border-color: $state-danger-text;

  .chosen-container .chosen-single {
    border-color: $border-color;
    @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
  }

  .chosen-container-active.chosen-with-drop .chosen-single {
    border-color: darken($border-color, 10%);
    $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
    @include box-shadow($shadow);
  }
}

rafaeldias pushed a commit to rafaeldias/bootstrap-chosen that referenced this issue Feb 26, 2015
Added support input status with success, error and warning and feedback.
Added a mixin file for bootstrap-chosen (bootstrap-chosen-mixinx) and
a new variable for padding the feedback chosen.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants