Sha256: 702747c62daea37f8df52790b73d6579f9c058c576da322d9b5e6d7fd6811539

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

.form-group {
  position: relative;
  margin-bottom: 1rem;

  &.has-error {
    > .form-label {
      color: $form-feedback-invalid-color;
    }

    > .invalid-feedback {
      display: block;
    }
  }
}

ul.invalid-feedback {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.form-text {
  color: $form-text-color;
  font-size: 0.9rem;

  @include media-breakpoint-up(sm) {
    &.floating {
      position: absolute;
      top: 0;
      right: 0;
      margin: 2px 0;
    }
  }
}

.form-label {
  display: block;
}

.control-label {
  @extend .form-label;
}

// Prevent input zooming on mobile devices
@include media-breakpoint-down(sm) {
  .form-control,
  .form-select,
  .input-group-text {
    font-size: 16px;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trestle-0.10.0.pre frontend/css/components/_forms.scss