Sha256: ab4064d820f2473f296420c99365281b2c7ebeac03775124178fee5f4ed736d9

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

// Submit buttons
.form-actions {
  display: flex;
  align-items: center;
  position: relative;

  .alert {
    position: absolute;
    top: 4.0em;
  }
}

.form-actions-inline.justify-content-end {
  margin-left: 0.5em;

  svg {
    position: absolute;
    left: -1.6em;
  }
}

.form-actions-inline.justify-content-start {
  margin-right: 0.5em;

  svg {
    position: absolute;
    right: -1.6em;
  }
}

.form-actions-bordered {
  border-top: solid 1px #eee;
  margin-top: 1em;

  > * { margin-top: 1em; }
}

.form-actions.justify-content-start {
  > a,button { margin-right: 0.5em; } // Not svg
}

.form-actions.justify-content-end {
  > a,button { margin-left: 0.5em; } // Not svg
}

.form-actions.justify-content-center {
  > a,button { margin-left: 0.5em; } // Not svg
}

// Spinner
.form-actions .eb-icon-spinner { display: none; }
.form-actions.form-current-submit .eb-icon-spinner { display: inline; }

// Radio and Checkbox fieldsets
fieldset.form-group > label { display: block; }
div.form-group > label + .btn-group { display: block; }

.effective-radios.is-invalid ~ .invalid-feedback { display: block; }
.effective-radios.is-valid ~ .valid-feedback { display: block; }

.effective-checks.is-invalid .invalid-feedback { display: block; }
.effective-checks.is-valid .valid-feedback { display: block; }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_bootstrap-0.0.12 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.0.11 app/assets/stylesheets/effective_bootstrap/forms.scss