index.less 1.3 KB
Newer Older
1
@import "~antd/lib/style/themes/default.less";
2

3 4
.chartCard {
  position: relative;
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
  .chartTop {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  .chartTopMargin {
    margin-bottom: 12px;
  }
  .chartTopHasMargin {
    margin-bottom: 20px;
  }
  .metaWrap {
    float: left;
  }
  .avatar {
    position: relative;
    top: 4px;
    float: left;
    margin-right: 20px;
    img {
      border-radius: 100%;
    }
  }
28 29 30 31 32 33 34 35 36 37 38 39 40
  .meta {
    color: @text-color-secondary;
    font-size: @font-size-base;
    line-height: 22px;
    height: 22px;
  }
  .action {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
  }
  .total {
41 42 43 44
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
45
    color: @heading-color;
niko's avatar
niko committed
46
    margin-top: 4px;
afc163's avatar
afc163 committed
47
    margin-bottom: 0;
48 49 50 51 52
    font-size: 30px;
    line-height: 38px;
    height: 38px;
  }
  .content {
nikogu's avatar
nikogu committed
53
    margin-bottom: 12px;
54 55 56 57 58 59 60 61 62 63 64
    position: relative;
    width: 100%;
  }
  .contentFixed {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
  }
  .footer {
    border-top: 1px solid @border-color-split;
afc163's avatar
afc163 committed
65
    padding-top: 9px;
nikogu's avatar
nikogu committed
66
    margin-top: 8px;
67 68 69 70
    & > * {
      position: relative;
    }
  }
71 72 73
  .footerMargin {
    margin-top: 20px;
  }
74
}
afc163's avatar
afc163 committed
75 76 77 78

.spin :global(.ant-spin-container) {
  overflow: visible;
}