@import "src/styles.scss";

.chart-card {
  background: rgb(255, 255, 255);
  padding: 1.5rem;
  height: 100%;
  .chart-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: $title-color;
    line-height: 1.5;
    padding: 0.4rem;
  }
  .bodys {
    position: relative;
    height: 93%;
    .chart-body {
      width: 100%;
      height: 100%;
      font-size: 1.2rem;
    }
  }
}
.echart-menu-panel {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  //   border: 0.1rem solid #aaa4a4;
  width: 14rem;
  padding: 2rem 1.7rem 2rem 2rem;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  font-weight: 450;
  .echart-menu-panel-border {
    box-shadow: 0.2rem 0.2rem 1rem #888888;
    border: 0.1rem solid #aaa4a4;
    background-color: #ffffff;
  }
  .echart-menu-panel-box {
    padding: 0.4rem 0;
    border-bottom: 0.1rem solid #aaa4a4;
    div {
      padding: 0.4rem 0.8rem;
    }
    div:hover {
      background-color: #335cad;
      cursor: pointer;
      color: #ffffff;
    }
  }
}

::-webkit-scrollbar {
  width: 0;
  height: 0.6rem;
}

::-webkit-scrollbar-track {
  background-color: rgb(214, 212, 212);
  -webkit-border-radius: 0.2rem;
  -moz-border-radius: 0.2rem;
  border-radius: 0.2rem;
}

::-webkit-scrollbar-thumb {
  background-color: #beb9b9;
  -webkit-border-radius: 0.2rem;
  -moz-border-radius: 0.2rem;
  border-radius: 0.2rem;
}
