Sha256: cd50349c42c017fb377959e4943da4fecfec5a0c1119340776b187893a0fcdee

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 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;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
c80_yax-0.1.0.7 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.6 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.5 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.4 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.3 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss
c80_yax-0.1.0.2 app/assets/stylesheets/c80_yax/lib/bootstrap_checkboxes.scss