@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
@ec-statistical-history-view-prefix-cls: ~'@{ant-prefix}-ec-statistical-history-view';

.@{ec-statistical-history-view-prefix-cls} {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;

  &-load-box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  &-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
  }

  &-header {
    flex: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &-time {
    display: flex;
    align-items: center;
  }

  &-down-load {
    display: flex;
    align-items: center;
  }

  &-select {
    margin: 0 10px;
    width: 100px;
  }

  &-content {
    flex: 1;
    display: flex;
    overflow: hidden;
  }

  &-chart {
    flex: 4;
    overflow: hidden;
  }

  &-table {
    flex: 2;
    overflow: hidden;
  }
}