/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.source-search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  &__input {
    width: 100%;
    margin: 16px 16px 8px 16px;
    height: 32px;
    color: var(--text--primary);
    border-radius: 4px;
    background-color: var(--fill--primary);
    border: 1px solid var(--border--neutral--solid);
    padding-left: 36px;
    outline: none;

    &:hover {
      border-color: var(--border--hover);
    }
    &:focus {
      border-color: var(--border--focused);
    }
  }

  &__input::placeholder {
    color: var(--text--placeholder);
  }

  span {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 24px;
    width: 24px;
    bottom: 12px;
    left: 24px;

    .search-icon {
      height: 24px;
      width: 24px;
      color: var(--icon--primary);
    }
  }
}
