index.less 1.06 KB
Newer Older
1 2 3 4 5
@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
@tree-custom-prefix-cls: ~'@{ant-prefix}-prediction-curve';

.@{tree-custom-prefix-cls} {
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
  &-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .@{ant-prefix}-modal-body {
    height: 650px;
  }

  &-title {
    display: flex;
    width: 100%;
    flex: none;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;

    &-name {
      font-size: 16px;
    }

    .@{ant-prefix}-btn {
      margin-left: 10px;
    }
  }

  &-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  &-list {
    margin-right: 20px;
  }

  &-chart {
    flex: 1;
    width: 100%;
    overflow: hidden;
  }

  &-load {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 100;
  }
65
}