flatlogic / awesome-bootstrap-checkbox

✔️Font Awesome Bootstrap Checkboxes & Radios. Pure css way to make inputs look prettier
http://flatlogic.github.io/awesome-bootstrap-checkbox/demo/1.0.0/
MIT License
2.03k stars 433 forks source link

Bootstrap 4 update #63

Closed okendoken closed 8 years ago

okendoken commented 8 years ago

There are should be a separate branch of awesome-bootstrap-checkbox based on Bootstrap 4 version.

kswope commented 8 years ago

:+1:

And how about a warning that bootstrap 4 isn't currently supported, took me a while to figure that out :(

gaea44 commented 8 years ago

Add theses lines before importing awesome-bootstrap-checkbox (scss version) :

// preserve compatibility between awesome-bootstrap-checkbox and bootstrap 4
$input-border: $input-border-color;

@mixin scale($ratio...) {
  -webkit-transform: scale($ratio);
  -ms-transform: scale($ratio); // IE9 only
  -o-transform: scale($ratio);
  transform: scale($ratio);
}

@mixin transition-transform($transition...) {
  -webkit-transition: -webkit-transform $transition;
  -moz-transition: -moz-transform $transition;
  -o-transition: -o-transform $transition;
  transition: transform $transition;
}
DimaSavchenko commented 8 years ago

Hi, Guys ! We released new version v1.0.0-alpha.1 with support Bootstrap4. Thanks !