/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
@use "sass:math";
@import "variables";

.nz-toolbar-item-expandable-group-tool-expander {
  > .nz-expansion-indicator {
    $border: solid $expander-arrow-thickness currentColor;
    $size: math.sqrt($expander-arrow-size-val * $expander-arrow-size-val * 8) * 0.5 +  px;

    width: $size;
    height: $size;
    border-top: $border;
    border-left: $border;
    margin-left: $expander-arrow-thickness;
    margin-top: $expander-arrow-thickness;
    margin-right: $space-after-expander;
    box-sizing: border-box;
    transform: rotate(135deg);
  }

  &:active:not(.nz-disabled) {
    > .nz-expansion-indicator {
      filter: $no-shadow;
    }
  }
}
