index.less 1.18 KB
Newer Older
李纪文's avatar
李纪文 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
@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;
李纪文's avatar
李纪文 committed
28 29
    width: 100%;
    height: 100%;
李纪文's avatar
李纪文 committed
30 31 32 33 34 35 36 37 38 39 40 41
  }

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

  &-header {
    flex: none;
    margin-bottom: 10px;
李纪文's avatar
李纪文 committed
42 43 44 45 46 47 48 49 50 51 52 53 54
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

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

  &-down-load {
    display: flex;
    align-items: center;
李纪文's avatar
李纪文 committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68
  }

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

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

  &-chart {
李纪文's avatar
李纪文 committed
69
    flex: 4;
李纪文's avatar
李纪文 committed
70 71 72 73 74 75 76 77
    overflow: hidden;
  }

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