@use "sass:math";@use "../../styles/__imports" as *;$itemHeaderHeight: 35px;$itemMenuElementSize: $toolItemSize - 4px;$itemMenuVerticalOffset: $itemHeaderHeight + 30px;$itemMenuHorizontalOffset: -37px;$menuAnimationLength: $fastAnimationLength;$shadowSize: math.div($splitterSize, 2);$itemPlateWidth: 30px;$itemPlateHeight: 16px;$itemPlateVerticalOffset: math.div($itemPlateHeight, 2) - $shadowSize;@mixin menu-cover-animation {    visibility: hidden;    opacity: 0;}.dx-dashboard-item-menu-container {    top: 0;    height: calc(100% - #{$splitterSize});    position: absolute;    margin: $shadowSize 0;    z-index: $dashboardItemMenuZIndex;    pointer-events: none;    right: $itemMenuHorizontalOffset;    .dx-dashboard-item-menu  {        border-radius: 0 2px 2px 0;    }    &.dx-position-left {        left: $itemMenuHorizontalOffset;        right: auto;        .dx-dashboard-item-menu  {            border-radius: 2px 0 0 2px;        }    }    &.dx-position-left-inside {        left: $shadowSize;        right: auto;    }    &.dx-dashboard-item-bottom  {         position: absolute;        top: auto;        transform: none;        bottom: 0;        height: initial;    }}.dx-dashboard-item-menu {    position: sticky;    top: 0;    bottom: 0;    pointer-events: all;    @include dx-dashboard-noselect;    @include menu-cover-animation;    body:hover dashboard-docking-layout .dx-layout-root .dx-state-selected > &,    dashboard-docking-layout.dx-dashboard-in-work .dx-state-selected > & {        opacity: 1;        visibility: visible;    }    background-color: $dashboard-item-menu-bg;    overflow: hidden;    .dx-dashboard-designer-menu-item {        @include dx-dashboard-icon-image($itemMenuElementSize, $defaultIconSize, $dashboard-item-menu-icon-color);        margin: 2px;        border-radius: 2px;        &:hover {            background-color: rgba(255,255,255,0.15);        }        &.dx-state-selected {            opacity: 0.25;            background-color: inherit;            color: $dashboard-item-menu-icon-color;        }        &.dx-dashboard-remove-item-button {            svg {                color: $dashboard-item-menu-remove-icon-color;                .dx-dashboard-red-icon {                    fill: currentColor;                }            }        }        &.dx-dashboard-item-menu-toggle {            svg {                color: $dashboard-item-menu-separator-color;                .dx-dashboard-grey-icon {                    fill: currentColor;                }            }        }        svg {            pointer-events: none;            fill: $dashboard-item-menu-icon-sub-color;            .dx-dashboard-accent-icon {                fill: $dashboard-item-menu-icon-sub-color;            }        }    }    .dx-dashboard-designer-menu-separator {        width: 32px;        height: 2px;        border-top: 1px solid $dashboard-item-menu-separator-color;        margin: 0 4px;    }  }.dx-dashboard-item-plate-container {    position: absolute;    top: -$itemPlateVerticalOffset;    left: calc(50% - #{math.div($itemPlateWidth, 2)});    height: $itemPlateVerticalOffset + $shadowSize + $itemPlateHeight;    width: $itemPlateWidth;    pointer-events: none;}.dx-dashboard-item-plate {    pointer-events: auto;    position: sticky;    top: 0;    @include menu-cover-animation;    body:hover dashboard-docking-layout .dx-layout-root &.dx-state-selected,    dashboard-docking-layout.dx-dashboard-in-work &.dx-state-selected {        opacity: 1;        visibility: visible;    }    cursor: move;    background: none;    background-color: $dashboard-item-menu-bg;    border-radius: 2px;    z-index: $dashboardItemMenuZIndex;    @include dx-dashboard-icon-rect-image($itemPlateWidth, $itemPlateHeight, $dataItemIconSize, $dashboard-item-menu-icon-color);    > svg {        display: block;    }}.dx-dashboard-item-menu-expand {    transform: rotate(180deg);}