Sha256: 7ce238cbf5da9b70b42a55d450a41b9440be3bc0917bfff0617f94b17f3685b6

Contents?: true

Size: 1.13 KB

Versions: 17

Compression:

Stored size: 1.13 KB

Contents

.checkbox label:after,
.radio label:after {
  content: '';
  display: table;
  clear: both;
}

.checkbox .cr,
.radio .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  width: 32px;
  height: 32px;
  float: left;
  margin-right: .5em;
}

.radio .cr {
  border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
  position: absolute;
  font-size: 25px;
  line-height: 0;
  left: 2px;
  top: 50%;
}

.radio .cr .cr-icon {
  margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
  display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
  transform: scale(3) rotateZ(-20deg);
  opacity: 0;
  transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
  transform: scale(1) rotateZ(0deg);
  opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
  opacity: .5;
}

.fa-check:before {
  font-family: FontAwesome !important;
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.24 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.23 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.22 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.21 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.20 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.18 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.17 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.16 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.15 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.14 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.13 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.12 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.11 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.10 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.9 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.8 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss