Sha256: f3dd4f7e78aec7d5e63977806276c52e0bf63e82e4176acdf63056d9cebad867

Contents?: true

Size: 1.38 KB

Versions: 22

Compression:

Stored size: 1.38 KB

Contents

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

.search-pf {
  &.has-button {
    border-collapse: separate;
    display: table;
    .form-group {
      display: table-cell;
      width: 100%;
      .btn {
        .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(255,255,255,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

22 entries across 22 versions & 1 rubygems

Version Path
bastion-2.1.0 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-2.0.4 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-2.0.3 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-2.0.2 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-2.0.1 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-2.0.0 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-1.0.2 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.3.3 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-1.0.1 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.3.2 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-1.0.0 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.3.1 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.3.0 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.9 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.8 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.7 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.6 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.5 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.3 vendor/assets/stylesheets/bastion/patternfly/search.less
bastion-0.2.2 vendor/assets/stylesheets/bastion/patternfly/search.less