index.less 1.26 KB
Newer Older
jim's avatar
jim committed
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
  .meta {
    color: @text-color-secondary;
    font-size: @font-size-base;
    line-height: 22px;
    height: 22px;
  }
  .action {
    cursor: pointer;
    position: absolute;
afc163's avatar
afc163 committed
37
    top: 4px;
38
    right: 0;
afc163's avatar
afc163 committed
39
    line-height: 1;
40 41
  }
  .total {
42 43 44 45
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
46
    color: @heading-color;
niko's avatar
niko committed
47
    margin-top: 4px;
afc163's avatar
afc163 committed
48
    margin-bottom: 0;
49 50 51 52 53
    font-size: 30px;
    line-height: 38px;
    height: 38px;
  }
  .content {
nikogu's avatar
nikogu committed
54
    margin-bottom: 12px;
55 56 57 58 59 60 61 62 63 64 65
    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
66
    padding-top: 9px;
nikogu's avatar
nikogu committed
67
    margin-top: 8px;
68 69 70 71
    & > * {
      position: relative;
    }
  }
72 73 74
  .footerMargin {
    margin-top: 20px;
  }
75
}