forked from alxlit/bootstrap-chosen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for input status. See more on alxlit#22.
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.
- Loading branch information
Showing
7 changed files
with
6,111 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// bootstrap-chosen-mixins.scss | ||
// | ||
// An alternate stylesheet for Chosen (http://harvesthq.github.com/chosen/). | ||
// This one is supposed to integrate better with Bootstrap. | ||
// | ||
// Submit bugfixes to: http://github.com/alxlit/bootstrap-chosen | ||
// | ||
|
||
@mixin chosen-control-validation($text-color: $input-color, $border-color: $input-border, $background-color: $input-bg) { | ||
.chosen-single, | ||
.chosen-choices { | ||
border-color: $border-color; | ||
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); | ||
} | ||
&.chosen-container-active { | ||
.chosen-single, | ||
.chosen-choices { | ||
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); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ $chosen-focus-border: 1px solid $input-border-focus !default; | |
$chosen-focus-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px $chosen-border-color !default; | ||
$chosen-focus-transition: border linear .2s, box-shadow linear .2s !default; | ||
$chosen-height: $input-height-base !default; | ||
$chosen-multi-height: $input-height-base + 6px !default; | ||
$chosen-multi-height: $input-height-base + 6px !default; | ||
$chosen-feedback-padding: ($chosen-height * 1.25); | ||
$chosen-sprite-path: 'chosen-sprite.png' !default; | ||
$chosen-sprite-retina-path: '[email protected]' !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.