/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
@import "~@bentley/ui-core/lib/ui-core/button/hollow";
@import "~@bentley/ui-core/lib/ui-core/inputs/input";

.components-filtering-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px;
}

// Input wrapper
.components-filtering-input-input{
  position: relative;
  flex: 1;

  // The input itself
  input {
    @include uicore-inputs-input;
    box-sizing:border-box;
  }

  input::-ms-clear {
    display: none;
  }
}

.components-filtering-input-input-components {
  display: flex;
  position: absolute;
  right: 8px;
  top: 1px;
  bottom: 0px;

  > .icon {
    align-self: center;
    border: none;
    outline: none;
  }
}

@mixin filtering-button-base {
  @include uicore-buttons-hollow;
  margin-left: 6px;
}

.components-filtering-input-button {
  @include filtering-button-base;
}

.components-filtering-input-clear {
  @include filtering-button-base;
  color: $uicore-gray-5;
  font-size: "12px";
}

.components-filtering-input-loader {
  margin-bottom: auto;
  margin-top: auto;
}
