Sha256: b7ab71fdceacc385012efe72f64a1058521ed277131c813fc30c14ee82e5c4da

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

.radio_collection--vertical {
  label {
    display: inline;
    cursor: pointer;
    line-height: 1.75;

    &:after {
      content: '\a';
      white-space: pre;
    }
  }

  input[type=radio] {
    position: absolute;
    left: -9999em;
  }
}

.radio_collection--horizontal {
  label:not(.control-label) {
    display: inline-block;
    margin-right: 50px;
    cursor: pointer;
  }

  input[type=radio] {
    position: absolute;
    left: -9999em;
  }
}

.radio_collection-bullet {
  position: relative;
  bottom: 3px;
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin-right: 5px;
  background: $c-white;
  border: 1px solid $c-border;
  @include border-radius(50%);

  input:checked + label &, input:checked + & {
    border-color: $c-custom-highlight;

    &:before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      height: 9px;
      width: 9px;
      background: $c-custom-highlight;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      @include border-radius(50%);
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 app/assets/stylesheets/fae/modules/forms/_radio.scss
fae-rails-1.2.4 app/assets/stylesheets/fae/modules/forms/_radio.scss
fae-rails-1.2.3 app/assets/stylesheets/fae/modules/forms/_radio.scss
fae-rails-1.2.2 app/assets/stylesheets/fae/modules/forms/_radio.scss