Sha256: 41cb39a1dd8e306bb715060c6c24c569c9d1b9e9156b5934c4c2a9502144ba69

Contents?: true

Size: 1.41 KB

Versions: 8

Compression:

Stored size: 1.41 KB

Contents

//
// Search
// --------------------------------------------------

.search-pf {
  &.has-button {
    border-collapse: separate;
    display: table;
    .form-group {
      display: table-cell;
      width: 100%;
      .btn {
        @include box-shadow(none);
        float: left;
        margin-left: -1px;
        &.btn-lg {
          font-size: ($font-size-large + .5); // to make button height consistent across browsers!
        }
        &.btn-sm {
          font-size: ($font-size-small - .3); // to make button height consistent across browsers!
        }
      }
      .form-control {
        float: left;
      }
    }
  }
  .has-clear {
    .clear {
      background: transparent; // IE8
      background: rgba($color-pf-white, 0.0); // to make the whole button clickable in IE9+
      border: 0;
      height: ($input-height-base - 1);
      line-height: 1;
      padding: 0;
      position: absolute;
      right: 1px;
      top: 1px;
      width: 28px;
      &:focus {
        outline: none;
      }
    }
    .form-control {
      padding-right: 30px;
      &::-ms-clear {
        display: none;
      }
    }
    .input-lg + .clear {
      height: ($input-height-large - 2);
      width: 28px;
    }
    .input-sm  + .clear {
      height: ($input-height-small - 2);
      width: 28px;
      span {
        font-size: ($font-size-base - 2);
      }
    }
    .search-pf-input-group {
      position: relative;
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
patternfly-sass-3.9.0 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.8.1 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.8.0 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.7.0 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.6.0 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.5.1 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.5.0 assets/stylesheets/patternfly/_search.scss
patternfly-sass-3.4.0 assets/stylesheets/patternfly/_search.scss