/*!
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */


@mixin ouiFlyout {
  border-left: $ouiFlyoutBorder;
  // The mixin augments the above
  // sass-lint:disable mixins-before-declarations
  @include ouiBottomShadowLarge($adjustBorders: true);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  z-index: $ouiZFlyout;
  background: $ouiColorEmptyShade;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  clip-path: polygon(-50% 0, 100% 0, 100% 100%, -50% 100%);
}


/* OUI -> EUI Aliases */
@mixin euiFlyout { @include ouiFlyout; }
/* End of Aliases */
