/**
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

.Chart {
  position: relative;

  &.BarChart {
    margin-left: -$margin * 2.2;
    height: 100%;
    overflow: hidden;
  }

  .legend {
    .LegendBadge {
      background: transparent;
      transition: background-color 250ms;
      white-space: normal;

      &:hover {
        background: var(--colorVague);
        cursor: default;
      }
    }
  }

  .zebra-cover {
    position: absolute;
    pointer-events: none;
  }
}
