Sha256: fda8bf2f82c293ec6e5e04eda3d0b79536dccb4a1bc1d79c506de2793af01184

Contents?: true

Size: 853 Bytes

Versions: 2

Compression:

Stored size: 853 Bytes

Contents

.form-group {
  position: relative;
}

.help-block {
  font-size: 13px;

  @media (min-width: $screen-sm-min) {
    &.floating {
      position: absolute;
      top: 0;
      right: 0;
      margin: 2px 0;
    }
  }
}

.select2-container--bootstrap {
  // This is required to ensure the select field is rendered at full width
  // within Bootstrap tabs that are hidden when the page is first loaded.
  // See: https://github.com/select2/select2/issues/4220
  width: 100% !important;

  .select2-results__group {
    font-size: 10px;
    text-transform: uppercase;
  }
}

.date-select,
.datetime-select,
.time-select {
  select {
    display: inline-block;
    width: auto;
  }

  .select2-container--bootstrap {
    display: inline-block;
    width: auto !important;
  }
}

.control-label {
  display: block;

  & + .checkbox {
    margin-top: 0;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-0.8.13 app/assets/stylesheets/trestle/components/_fields.scss
trestle-0.8.12 app/assets/stylesheets/trestle/components/_fields.scss