/*
 * Copyright (c) 2016-present, Parse, LLC
 * All rights reserved.
 *
 * This source code is licensed under the license found in the LICENSE file in
 * the root directory of this source tree.
 */
@import 'stylesheets/globals.scss';

.wrap {
  display: inline-block;
}

.entry {
  height: 30px;
  padding: 8px;

  svg {
    fill: #66637A;
  }

  &:hover svg {
    fill: white;
  }
}

.entry.active {
  background: $blue;
  border-radius: 5px;

  svg {
    fill: white;
  }
}

.active .title, .active .body {
  background: $blue;
}

.title {
  background: #797691;
  padding: 8px;
  border-radius: 5px 5px 0 0;

  svg {
    fill: white;
  }
}

.entry, .title {
  @include DosisFont;
  position: relative;
  bottom: -4px;
  font-size: 14px;
  color: #ffffff;
  cursor: pointer;

  svg {
    vertical-align: top;
    margin-right: 6px;
  }

  span {
    display: inline-block;
    vertical-align: top;
    height: 14px;
    line-height: 14px;
  }
}

.body {
  position: absolute;
  top: 30px;
  right: 0;
  border-radius: 5px 0 5px 5px;
  background: #797691;
  width: 470px;
  font-size: 14px;
}

.row {
  padding: 8px 15px;

  > * {
    margin-right: 10px;

    &:nth-last-child(1) {
      margin-right: 0;
    }
  }

  input {
    @include MonospaceFont;
    height: 30px;
    width: 140px;
    background: #343445;
    border: none;
    outline: none;
    border-radius: 5px;
    vertical-align: top;
    padding: 0 8px;
    color: white;
    font-size: 14px;
  }
}

.active .row input {
  background: #0E69A1;
}
