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

.listContent {
afc163's avatar
afc163 committed
5 6
  .description {
    line-height: 22px;
niko's avatar
niko committed
7
    max-width: 720px;
8
  }
afc163's avatar
afc163 committed
9
  .extra {
10 11 12 13
    color: @text-color-secondary;
    margin-top: 16px;
    height: 22px;
    line-height: 22px;
afc163's avatar
afc163 committed
14
    & > :global(.ant-avatar) {
15
      vertical-align: top;
niko's avatar
niko committed
16
      margin-right: 8px;
17 18
      width: 20px;
      height: 20px;
afc163's avatar
afc163 committed
19 20
      position: relative;
      top: 1px;
21 22 23 24
    }
    & > em {
      color: @disabled-color;
      font-style: normal;
niko's avatar
niko committed
25
      margin-left: 16px;
26 27 28
    }
  }
}
afc163's avatar
afc163 committed
29
a.listItemMetaTitle {
niko's avatar
niko committed
30 31
  color: @heading-color;
}
32 33 34 35
.listItemExtra {
  width: 272px;
  height: 1px;
}
niko's avatar
niko committed
36
.selfTrigger {
afc163's avatar
afc163 committed
37
  margin-left: 12px;
niko's avatar
niko committed
38
}
39

nikogu's avatar
nikogu committed
40 41 42 43 44 45
@media screen and (max-width: @screen-xs) {
  .listContent {
    & > div {
      height: auto;
    }
  }
niko's avatar
niko committed
46 47 48 49 50 51 52 53 54 55
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
}
@media screen and (max-width: @screen-md) {
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
nikogu's avatar
nikogu committed
56
}
57 58 59 60 61 62
@media screen and (max-width: @screen-lg) {
  .listItemExtra {
    width: 0;
    height: 1px;
  }
}