SearchList.less 920 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.listContent {
  p {
    line-height: 24px;
  }
  & > div {
    color: @text-color-secondary;
    margin-top: 16px;
    height: 22px;
    line-height: 22px;
nikogu's avatar
nikogu committed
13
    & > img {
14 15 16 17 18 19 20
      margin-right: 16px;
    }
    & > span {
      vertical-align: top;
      margin-right: 16px;
      width: 20px;
      height: 20px;
nikogu's avatar
nikogu committed
21 22 23
      & > img {
        vertical-align: top;
      }
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
    }
    & > em {
      color: @disabled-color;
      font-style: normal;
      margin-left: 24px;
    }
    a {
      color: @text-color-secondary;
      &:hover {
        color: @primary-color;
      }
    }
  }
}
.listItemExtra {
  width: 272px;
  height: 1px;
}

nikogu's avatar
nikogu committed
43 44 45 46 47 48 49
@media screen and (max-width: @screen-xs) {
  .listContent {
    & > div {
      height: auto;
    }
  }
}
50 51 52 53 54 55
@media screen and (max-width: @screen-lg) {
  .listItemExtra {
    width: 0;
    height: 1px;
  }
}