Sha256: 1b49ed94ecdc23bb7802870817ca0dbac9e3294ceffb02e16848c61991e24f19

Contents?: true

Size: 1.53 KB

Versions: 16

Compression:

Stored size: 1.53 KB

Contents

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

form[data-remote="true"]:not(.show-flash-success) {
  .effective-form-flash.alert-success { display: none; }
}

form[data-remote="true"].hide-flash-danger {
  .effective-form-flash.alert-danger { display: none; }
}

.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; }

.invalid-feedback { text-transform: capitalize; }
.valid-feedback { display: none; }

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
effective_bootstrap-0.10.17 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.16 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.15 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.14 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.13 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.12 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.11 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.10 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.9 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.8 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.7 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.6 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.5 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.4 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.3 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.10.2 app/assets/stylesheets/effective_bootstrap/forms.scss