CoverCardList.less 852 Bytes
Newer Older
1 2 3 4
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.coverCardList {
nikogu's avatar
nikogu committed
5
  margin-bottom: -24px;
ddcat1115's avatar
ddcat1115 committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19

  .card {
    :global {
      .ant-card-meta-title {
        margin-bottom: 4px;
      }
      .ant-card-meta-title > a {
        color: @heading-color;
      }
      .ant-card-meta-description {
        height: 44px;
        line-height: 22px;
        overflow: hidden;
      }
afc163's avatar
afc163 committed
20
    }
ddcat1115's avatar
ddcat1115 committed
21 22 23 24 25 26 27

    &:hover {
      :global {
        .ant-card-meta-title > a {
          color: @primary-color;
        }
      }
28 29
    }
  }
ddcat1115's avatar
ddcat1115 committed
30

31 32
  .cardItemContent {
    display: flex;
ddcat1115's avatar
ddcat1115 committed
33 34
    margin-top: 16px;
    margin-bottom: -4px;
35 36
    line-height: 20px;
    height: 20px;
nikogu's avatar
nikogu committed
37
    & > span {
niko's avatar
niko committed
38
      color: @text-color-secondary;
39 40 41 42 43 44 45
      flex: 1;
      font-size: 12px;
    }
    .avatarList {
      flex: 0 1 auto;
    }
  }
nikogu's avatar
nikogu committed
46 47 48
  .cardList {
    margin-top: 24px;
  }
49
}