/*
 * Copyright (c) 2010, 2023 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.
     */
    #scout.transform(scaleY(0.5));
    #scout.animation-name(grow-y);
    #scout.animation-duration(0.125s);

    &.bottom {
      #scout.transform-origin(top);
    }

    &.top {
      #scout.transform-origin(bottom);
    }
  }

  &.animate-remove {
    #scout.animation-name(shrink-y);
    #scout.animation-duration(0.125s);

    &.bottom {
      #scout.transform-origin(top);
    }

    &.top {
      #scout.transform-origin(bottom);
    }
  }
}


