@import '../style/var';

.van-dropdown-item {
  position: fixed;
  right: 0;
  left: 0;
  z-index: @dropdown-item-z-index;
  overflow: hidden;

  &__icon {
    font-size: 12px;
    display: block;
    line-height: inherit;
  }

  &__option {
    text-align: left;

    &--active {
      color: @dropdown-menu-option-active-color;

      .van-dropdown-item__icon {
        color: @dropdown-menu-option-active-color;
      }
    }
  }

  &--up {
    top: 0;
  }

  &--down {
    bottom: 0;
  }

  &__content {
    position: absolute;
    max-height: @dropdown-menu-content-max-height;
  }
}
