Sha256: 071a75eb45c68afd30d6a39d40f5b64efeedb77b6054478a26496783ac212a47

Contents?: true

Size: 958 Bytes

Versions: 1

Compression:

Stored size: 958 Bytes

Contents

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

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

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

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

.form-actions.justify-content-start {
  > * { margin-right: 0.5rem; }
}

.form-actions.justify-content-end {
  > * { margin-left: 0.5rem; }
}

.form-actions.justify-content-center {
  > * { margin-left: 0.5rem; }
}

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

// Custom submit button feedback
.was-validated.form-is-valid .form-actions {
  .valid-feedback { display: block; }
}

.was-validated.form-is-invalid .form-actions {
  .invalid-feedback { display: block; }
}

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

div.form-group > label + .btn-group {
  display: block;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_bootstrap-0.0.7 app/assets/stylesheets/effective_bootstrap/forms.scss