@import "Beam";
@import "mixins";

.hint {
  color: graytext;
}

$colorSelectedFg: rgb(139, 192, 212);
$colorItemSelectedBg: #F9F7FF;

##{$prefix}-popup {
  @include topLevel();

  position: absolute;
  background-color: white;
  box-shadow: lightgrey 0 5px 10px 0;
  border-radius: 0.5rem;
  border: 1px solid lightgray;
  transition: opacity 0.3s ease-out, transform 0.3s ease;
  opacity: 0;
  transform: scale(0.9) translateY(-2rem);
  animation: appear 0.3s ease forwards;

  .#{$prefix}-form-row {
    padding: 0 1em;
    margin: 1em 0;
  }
  .#{$prefix}-note input {
    width: 100%;
    padding-top: 1em;
    border-top: 1px solid #F0F0F2;
  }

  .#{$prefix}-card {
    label {
      font-weight: bold;
      float: left;
      margin-right: 0.4em;
    }
    .#{$prefix}-input {
      padding: 0;
      margin: 0;
      border: none;
    }
  }

  .#{$prefix}-input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
  }

  .#{$prefix}-proposals {
    // position: absolute;
    background-color: white;
    list-style: none;
    margin: 0;
    padding: 0;

    .#{$prefix}-proposal {
      padding: 0.5em 1em;
      cursor: pointer;

      &:hover {
        background-color: $colorItemSelectedBg;
      }
    }
  }
}
