/*
 * Copyright (c) 2010, 2026 BSI Business Systems Integration AG
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 */
.dropdown-field-popup, .smart-field-popup, .proposal-field-popup {
  &.animate-open {
    /* Changed initial transform from 0 to 0.5 because in Chrome browser v72 on zoom levels > 100%
     * the proposal-chooser popup produced an accidental flickering animation where the proposal table
     * jumped a few pixels to the left. With 0.5 this does not happen - only god knows why. See #241249.
     */
    transform: scaleY(0.5);
    animation-name: grow-y;
    animation-duration: 0.125s;

    &.bottom {
      transform-origin: top;
    }

    &.top {
      transform-origin: bottom;
    }
  }

  &.animate-remove {
    animation-name: shrink-y;
    animation-duration: 0.125s;

    &.bottom {
      transform-origin: top;
    }

    &.top {
      transform-origin: bottom;
    }
  }
}


