Skip to content

Commit

Permalink
Merge pull request #45 from kalidema/master
Browse files Browse the repository at this point in the history
Fix bower.jsons "main" field, make Sass variables overwritable via `!default`.
  • Loading branch information
fk authored Jun 29, 2016
2 parents e57cdde + 494123d commit 1ef8ee2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "select2-bootstrap-theme",
"version": "0.1.0-beta.7",
"main": [
"dist/select2-bootstrap.css",
"dist/select2-bootstrap.min.css"
"src/build.scss",
"src/build.less"
],
"ignore": [
"**/.*",
Expand Down
6 changes: 3 additions & 3 deletions src/select2-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
// These should not be overridden.
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L127

$form-control-default-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
$form-control-default-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;

// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/mixins/_forms.scss#L43
$form-control-focus-box-shadow: $form-control-default-box-shadow, 0 0 8px rgba($input-border-focus, 0.6);
$form-control-focus-box-shadow: $form-control-default-box-shadow, 0 0 8px rgba($input-border-focus, 0.6) !default;

// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L128
$form-control-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
$form-control-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;

// Custom variables
// -------------------------
Expand Down

0 comments on commit 1ef8ee2

Please sign in to comment.