Sha256: fc56bb6686f32d79dce052c28e4540a827e22d4ae582bc99f7f658e8d7a45d19

Contents?: true

Size: 1.17 KB

Versions: 10

Compression:

Stored size: 1.17 KB

Contents

.simple_form {

  fieldset .input.toggle {
    @include display-flex;
    @include justify-content(space-between);

    & > .form-wrapper {
      background: transparent;
      border: none;
      margin-top: 0px;

      input[type=checkbox] {
        float: none;
        margin-left: 0;
      }

      .bootstrap-switch {
        border-color: transparent;
      }

      .bootstrap-switch.bootstrap-switch-small {
        min-width: 84px;
      }

      .bootstrap-switch.bootstrap-switch-focused {
        @include box-shadow(none);
      }

      .bootstrap-switch .bootstrap-switch-label {
        background: #ccc;
        color: #fff;
        font-weight: normal;
      }

      .bootstrap-switch.bootstrap-switch-focused {
        border-color: transparent;
      }

      .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-handle-on,
      .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-handle-off {
        @include box-shadow(0px -1px 0px 0px rgba(0, 0, 0, 0.15) inset);
      }

    }

  }

}

@media (max-width: $screen-sm-min) {

  .simple_form {
    fieldset .input.toggle {
      display: block;

      .form-wrapper {
        margin-top: 5px;
      }
    }
  }

}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc6 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.rc5 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.rc4 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.rc3 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.rc2 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.rc1 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.pre.beta.1 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.pre.alpha.3 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.pre.alpha.2 app/assets/stylesheets/locomotive/base/form/_toggle.scss
locomotivecms-3.0.0.pre.alpha app/assets/stylesheets/locomotive/base/form/_toggle.scss