@import "mixins";

.lea-input-select-filter {
  position: relative;
  float: left;
  width: 100%;
  .sort-title {
    font-size: 0.7rem;
    font-weight: bold;
    width: 100%;
  }
  .sort-option {
    display: flex;
    align-content: center;
    align-items: center;
    .sort-option-text {
      flex: 1;
      margin-right: 0.5rem;
    }
  }
  input {
    position: relative;
    float: left;
    width: 100%;
    display: flex;
    border: none;
    font-family: $title;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    background: transparent;    
    padding-right: 2.5rem;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.5s;
    &:focus{
        outline: none;
    }
  }
  .dropdown-button{
      position: absolute;
      right: 0;
      bottom: 0;
  }
  .select-dropdown {
    @include select-dropdown;
    top: 3.4rem;
  }
}

.dark-mode{
  .lea-input-select-filter{
    input{
      color: white;
      transition: color 0.5s;
    }
    .select-dropdown {
      @include dark-select-dropdown
    }
  }
}