@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;
  }

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

  &-header {
    flex: none;
    margin-bottom: 10px;
  }

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

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

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

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