Projects.less 991 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
愚道's avatar
愚道 committed
2
@import '../../utils/utils.less';
3 4

.coverCardList {
nikogu's avatar
nikogu committed
5
  margin-bottom: -24px;
ddcat1115's avatar
ddcat1115 committed
6 7 8 9 10

  .card {
    :global {
      .ant-card-meta-title {
        margin-bottom: 4px;
11 12
        & > a {
          color: @heading-color;
ddcat1115's avatar
ddcat1115 committed
13 14
          display: inline-block;
          max-width: 100%;
15
        }
ddcat1115's avatar
ddcat1115 committed
16 17 18 19 20 21
      }
      .ant-card-meta-description {
        height: 44px;
        line-height: 22px;
        overflow: hidden;
      }
afc163's avatar
afc163 committed
22
    }
ddcat1115's avatar
ddcat1115 committed
23 24 25 26 27 28 29

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

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

  :global {
    .ant-list .ant-list-item-content-single {
      max-width: 100%;
    }
  }
57
}