@import '../../vars.less';
@import '../../mixins.less';

.box {
  width: 980px !important;
  height: 560px;
}
.table {
  // width: 820px !important;
  // height: 560px;
  overflow: hidden;
  :global {
    .ant-modal-body {
      position: relative;
    }
    .ant-empty, .ant-spin {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
      height: 120px;
    }
    .ant-tabs-tabpane {
      height: 380px;
      overflow: auto;
    }
    .echarts-for-react {
      height: 380px;
    }
  }
}

.select {
  margin-top: 8px;
}
.subtitleBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subtitle {
  color: #999999;
  font-size: 14px;
  margin-top: 8px;
}
.list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 2px;
  padding-bottom: 20px;
  .scroller;
}
.item {
  border-top: solid 2px #10676E;
  border-bottom: solid 2px #10676E;
  font-size: 12px;
  color: #ffffff;
  padding-right: 20px;
  width: 16.66%;
  margin-top: -2px;
}
.itemLabel {
  border-bottom: solid 1px #04E1C2;
  color: #999999;
  padding: 8px 0;
}
.itemValue {
  padding: 8px 0;
}
:global {
  .echarts-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    border: solid 2px red;
  }
}

.date {
  display: flex;
  align-items: center;
}
// .datepicker {
//   :global {
//     .ant-picker-cell-in-view, .ant-picker-cell, .ant-picker-content th, .ant-picker-cell-inner {
//       color: rgba(0,0,0,.85);
//     }
//     .ant-picker-cell-disabled .ant-picker-cell-inner {
//       color: rgba(0, 0, 0, 0.3);
//     }
//   }
// }

// 峰平谷
.peak {
  display: flex;

  > div {
    flex: 1;
    padding-left: 20px;
    &:first-child {
      border-right: solid 2px #0C2A2C;
    }
    div {
      color: @color-active;
      font-size: 14px;
    }
  }
}
.peakText {
  text-align: right;
  padding: 0 25px 30px 25px;
  color: #ffffff !important;
  > span:first-child {
    float: left;
  }
}

.loading {
  margin: 150px auto 0;
  display: block;
}