Sha256: db48cf7c5aa4b1fc4e7fd7dcc73153b5b483d64c499dea9bb13dedca44ff151d

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 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;
}

.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

1 entries across 1 versions & 1 rubygems

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