Sha256: 3fc2126bab0efb50a64a24ff88e15dccb8d6c8a97f2b85dcacd6c4ef11212dc0

Contents?: true

Size: 1.6 KB

Versions: 27

Compression:

Stored size: 1.6 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: 0;
  padding: 0;

  > * { 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; }

// File Control
.form-control-file { border: none !important; }

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
effective_bootstrap-0.13.1 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.13.0 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.7 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.6 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.5 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.4 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.3 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.2 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.1 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.12.0 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.22 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.21 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.20 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.19 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.18 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.17 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.16 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.15 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.14 app/assets/stylesheets/effective_bootstrap/forms.scss
effective_bootstrap-0.11.13 app/assets/stylesheets/effective_bootstrap/forms.scss