/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
@import "~@bentley/ui-core/lib/ui-core/style/variables";
@import "~@bentley/ui-core/lib/ui-core/style/themecolors";
@import "~@bentley/ui-core/lib/ui-core/z-index";

// 40px is used to ensure scrubber is not drawn behind a widget tab
.uifw-view-overlay {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: calc(100% - 80px);
  height: auto;
  position: absolute;
  bottom: 10px;
  left: 40px;
  right: 40px;
  pointer-events: none;
  @include uicore-z-index(view-overlay);
}

$widget-transparency: 0.90;

.uifw-animation-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 1000px;
  height: auto;
  background: $buic-background-dialog;
  border: 1px solid $buic-background-dialog-stroke;
  border-radius: $uicore-border-radius;
  // overflow: hidden;
  opacity: $widget-transparency;
  pointer-events: auto;

  &:hover {
    opacity: 1.00;
  }
}
