/*---------------------------------------------------------------------------------------------
* 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/index";

.uifw-sheet-navigation {
  height: 96px;
  width: 96px;
  box-sizing: border-box;
  border-color: $buic-background-widget-stroke;
  border-width: 1px;
  border-radius: 3px;
  border-style: solid;
  color: $buic-foreground-body;
  background: $buic-background-window;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

  > .sheet-title {
    font-size: 12px;
    font-weight: bold;
  }

  > .sheet-name {
    cursor: pointer;
    font-size: 11px;
    z-index: 1;
    height: 46px;
    overflow: hidden;
    margin: 0 2px;

    &:focus {
      outline: none;
    }
  }

  > .sheet-container {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    > * {
      text-align: center;
    }
    > .sheet-caret {
      cursor: pointer;
      font-size: 15px;
      filter: drop-shadow(0 1px 0 $buic-foreground-body-reverse);
      z-index: 1;

      &:active {
        color: $buic-foreground-body-reverse;
        filter: drop-shadow(0 0 0 transparent);
      }
      &:hover {
        color: $buic-foreground-primary;
      }
      &:focus {
        outline: none;
      }
    }
  }

  > .gradient {
    background: linear-gradient(to bottom, $buic-button-gradient1, $buic-button-gradient2);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    display: none;
  }
}