index.less 1.43 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1 2
@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
3 4 5
@history-info-prefix-cls: ~'@{ant-prefix}-history-info';

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

邓晓峰's avatar
邓晓峰 committed
8 9
  .@{ant-prefix}-tabs,
  .@{ant-prefix}-tabs-content {
涂茜's avatar
涂茜 committed
10 11 12
    height: 100%;
  }

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

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

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

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

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

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

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

邓晓峰's avatar
邓晓峰 committed
51 52
    .@{ant-prefix}-radio-group,
    .@{ant-prefix}-select {
53 54 55 56 57 58
      margin-right: 16px;
    }

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

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

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

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

  &-connect {
    margin: 0 10px;
  }

  &-connect.first {
    display: none;
  }

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