/*---------------------------------------------------------------------------------------------
* 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/base/base";
@import "~@bentley/ui-core/lib/ui-core/style/typography";
@import "~@bentley/ui-core/lib/ui-core/z-index";
@import "~@bentley/ui-ninezone/lib/ui-ninezone/footer/variables";
@import "../variables";

#uifw-configurableui-wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: $uicore-font-size;
}

#uifw-frontstage-composer {
  width: 100%;
  height: 100%;
}

.uifw-unselectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.uifw-centered {
  @include uicore-centered;
}

.uifw-dragdrop-layer {
  cursor: grabbing;
  position: fixed;
  pointer-events: none;
  @include uicore-z-index(dragdrop);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.uifw-element-tooltip-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  @include uicore-z-index(tooltip);

  >.uifw-element-tooltip {
    width: max-content;
    font-size: $uicore-font-size;
  }

  >.nz-popup-tooltip {
    border: {
      color: $uifw-popup-border-color;
      radius: $uifw-popup-border-radius;
      style: solid;
      width: $uifw-popup-border-width;
      }
  }
}

.uifw-app-button-small {
  margin-bottom: 6px;
}
