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