Skip to content

Commit

Permalink
Adding abc-border-width support #143
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldaineka committed Aug 6, 2019
1 parent aed2fe2 commit 1612284
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
5 changes: 3 additions & 2 deletions awesome-bootstrap-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$font-family-icon: 'FontAwesome' !default;
$fa-var-check: "\f00c" !default;
$check-icon: $fa-var-check !default;
$abc-border-width: 5px !default;

@mixin checkbox-variant($parent, $color) {
#{$parent} input[type="checkbox"]:checked + label,
Expand Down Expand Up @@ -55,7 +56,7 @@ $check-icon: $fa-var-check !default;
top: 2px;
left: 0;
margin-left: -$form-check-input-gutter;
border: 1px solid $input-border-color;
border: $abc-border-width solid $input-border-color;
border-radius: 3px;
background-color: #fff;
@include transition(border 0.15s ease-in-out, color 0.15s ease-in-out);
Expand Down Expand Up @@ -187,7 +188,7 @@ $check-icon: $fa-var-check !default;
top: 2px;
left: 0;
margin-left: -20px;
border: 1px solid $input-border-color;
border: $abc-border-width solid $input-border-color;
border-radius: 50%;
background-color: #fff;
@include transition(border 0.15s ease-in-out);
Expand Down
17 changes: 12 additions & 5 deletions demo/build.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"bower.json"
],
"devDependencies": {
"bootstrap": "4.0.0",
"font-awesome": "5.0.8"
"bootstrap": "^4.3.1",
"font-awesome": "4.7.0"
}
}

0 comments on commit 1612284

Please sign in to comment.