Sha256: 19e4ab0cf9358b37bb6938efc45fecde379e0c793b2d68c030a15c3817d7cf08

Contents?: true

Size: 835 Bytes

Versions: 1

Compression:

Stored size: 835 Bytes

Contents

@import "mixins/components.toggles";

.c-toggle {
  @include toggle;

  input:not(:checked) + .c-toggle__track {
    @include toggle__track--unchecked;

    .c-toggle__handle {
      @include toggle__handle--unchecked;
    }
  }

  input:disabled + .c-toggle__track {
    @include toggle__track--disabled;

    .c-toggle__handle {
      @include toggle__handle--disabled;
    }
  }
}

.c-toggle--primary .c-toggle__track {
  @include toggle__track--primary;
}

.c-toggle--secondary .c-toggle__track {
  @include toggle__track--secondary;
}

.c-toggle--success .c-toggle__track {
  @include toggle__track--success;
}

.c-toggle--error .c-toggle__track {
  @include toggle__track--error;
}

.c-toggle input {
  @include toggle__checkbox;
}

.c-toggle__track {
  @include toggle__track;
}

.c-toggle__handle {
  @include toggle__handle;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/components.toggles.scss