SearchList.less 1.17 KB
Newer Older
1 2 3 4 5 6
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.listContent {
  p {
    line-height: 24px;
niko's avatar
niko committed
7
    max-width: 720px;
8 9 10 11 12 13
  }
  & > div {
    color: @text-color-secondary;
    margin-top: 16px;
    height: 22px;
    line-height: 22px;
nikogu's avatar
nikogu committed
14
    & > img {
15 16 17 18
      margin-right: 16px;
    }
    & > span {
      vertical-align: top;
niko's avatar
niko committed
19
      margin-right: 8px;
20 21
      width: 20px;
      height: 20px;
nikogu's avatar
nikogu committed
22 23 24
      & > img {
        vertical-align: top;
      }
25 26 27 28
    }
    & > em {
      color: @disabled-color;
      font-style: normal;
niko's avatar
niko committed
29
      margin-left: 16px;
30 31 32 33 34 35 36 37 38
    }
    a {
      color: @text-color-secondary;
      &:hover {
        color: @primary-color;
      }
    }
  }
}
niko's avatar
niko committed
39 40 41
.listItemMetaTitle {
  color: @heading-color;
}
42 43 44 45
.listItemExtra {
  width: 272px;
  height: 1px;
}
niko's avatar
niko committed
46 47 48
.selfTrigger {
  margin-left: 24px;
}
49

nikogu's avatar
nikogu committed
50 51 52 53 54 55
@media screen and (max-width: @screen-xs) {
  .listContent {
    & > div {
      height: auto;
    }
  }
niko's avatar
niko committed
56 57 58 59 60 61 62 63 64 65
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
}
@media screen and (max-width: @screen-md) {
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
nikogu's avatar
nikogu committed
66
}
67 68 69 70 71 72
@media screen and (max-width: @screen-lg) {
  .listItemExtra {
    width: 0;
    height: 1px;
  }
}