Sha256: 6a9136e02fc2ba44353d422dd2e794813c11109e1ca964bb93ee4a758f1bf4dc

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

// Convert input groups to use flexbox instead of table layout.

.input-group {
  display: flex;

  .field_with_errors {
    flex: 1;

    .form-control {
      border-radius: $input-border-radius;
    }

    &:not(:last-child) .form-control {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

    &:not(:first-child) .form-control {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }
}

.input-group-addon,
.input-group-btn {
  width: auto;
  display: flex;
  align-items: center;
}

.input-group-btn {
  > .btn {
    border-width: 1px;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.8.13 app/assets/stylesheets/trestle/components/_input-group.scss
trestle-0.8.12 app/assets/stylesheets/trestle/components/_input-group.scss
trestle-0.8.11 app/assets/stylesheets/trestle/components/_input-group.scss
trestle-0.8.10 app/assets/stylesheets/trestle/components/_input-group.scss