/*---------------------------------------------------------------------------------------------
* 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/themecolors";

@mixin ui-fw-visibility-tree-base {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;

  .core-tree-node.with-checkbox {
    > .contents {
      padding-left: 31px;
    }
  }

  .core-image-checkbox {
    position: absolute;
    left: 5px;
    padding: 0;
    margin: -2px 0px 0px 5px;
  }

  .filteredTreeOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255,255,255,.8);
  }

  .components-tree-errormessage {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 75%;
    text-align: center;
    transform: translate(-50%,-50%);
    font-style: italic;
    color: $buic-foreground-muted;

    .errormessage-header {
      display: block;
      font-weight: bold;
    }
  }

}
