index.less 1.39 KB
Newer Older
1
@import (reference) '../../../../node_modules/antd/es/style/themes/default';
2 3 4
@history-info-prefix-cls: ~'@{ant-prefix}-history-info';

.@{history-info-prefix-cls} {
涂茜's avatar
涂茜 committed
5 6 7 8 9 10 11
  height: 100%;

  .ant-tabs,
  .ant-tabs-content {
    height: 100%;
  }

12
  &-content {
涂茜's avatar
涂茜 committed
13 14 15
    display: flex;
    flex-direction: column;
    height: 100%;
16 17 18
    padding: 10px 0 0 0;
  }

涂茜's avatar
涂茜 committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
  &-wrap {
    flex: 1;
    overflow: hidden;
  }

  &-main {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }

  &-chart {
    width: 100%;
    height: 100%;
  }

36 37 38 39
  &-time {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
邓晓峰's avatar
邓晓峰 committed
40
    white-space: nowrap;
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

    .@{history-info-prefix-cls}-label {
      letter-spacing: 27px;
    }

    .@{history-info-prefix-cls}-label:after {
      right: -20px;
    }

    .ant-radio-group,
    .ant-select {
      margin-right: 16px;
    }

    .anticon-plus-circle {
      margin-left: 10px;
      color: @primary-color;
邓晓峰's avatar
邓晓峰 committed
58
      font-size: 16px;
59 60 61 62 63 64 65 66
      cursor: pointer;
    }
  }

  &-cover {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
邓晓峰's avatar
邓晓峰 committed
67
    white-space: nowrap;
68 69 70 71 72 73 74 75 76 77
  }

  &-label {
    position: relative;
    width: 80px;
  }

  &-label:after {
    position: absolute;
    top: 0;
邓晓峰's avatar
邓晓峰 committed
78 79
    right: 7px;
    content: ':';
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
  }

  &-connect {
    margin: 0 10px;
  }

  &-connect.first {
    display: none;
  }

  &-contrast-list {
    display: flex;
    align-items: center;
  }
}