/**Variable**/
/**Variable**/
@import './helpers/mixin.scss';

.vhb-pulldown {
  position: relative;
  display: inline-block;
  color: $vhb-font-color;
  text-align: left;
}

.vhb-pulldown--panel {
  display: none;
  position: absolute;
  left: 0;
  padding: 4px 0;
  color: $vhb-font-color;
  text-align: left;
  &:not(.is--transfer) {
    min-width: 100%;
  }
  &.is--transfer {
    position: fixed;
  }
  &.animat--leave {
    display: block;
    opacity: 0;
    transform: scaleY(0.5);
    transition: transform .3s cubic-bezier(.23,1,.32,1), opacity .3s cubic-bezier(.23,1,.32,1);
    transform-origin: center top;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    &[placement="top"] {
      transform-origin: center bottom;
    }
  }
  &.animat--enter {
    opacity: 1;
    transform: scaleY(1);
  }
}
.vhb-pulldown--wrapper {
  background-color: $vhb-pulldown-panel-background-color;
}

.vhb-pulldown,
.vhb-pulldown--panel {
  font-size: $vhb-font-size;
  &.size--medium {
    font-size: $vhb-font-size-medium;
  }
  &.size--small {
    font-size: $vhb-font-size-small;
  }
  &.size--mini {
    font-size: $vhb-font-size-mini;
  }
}
