index.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /* pages/refresher/index.wxss */
  2. .panel {
  3. background-color: #FFF;
  4. margin-top: 10px;
  5. position: relative;
  6. overflow: hidden;
  7. }
  8. .panel:first-child {
  9. margin-top: 0;
  10. }
  11. .panel::before {
  12. content: " ";
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. right: 0;
  17. height: 1px;
  18. border-top: 1rpx solid #E5E5E5;
  19. color: #E5E5E5;
  20. }
  21. .panel::after {
  22. content: " ";
  23. position: absolute;
  24. left: 0;
  25. bottom: 0;
  26. right: 0;
  27. height: 1px;
  28. border-bottom: 1rpx solid #E5E5E5;
  29. color: #E5E5E5;
  30. }
  31. .panel__hd {
  32. padding: 14px 15px 10px;
  33. color: #999;
  34. font-size: 13px;
  35. position: relative;
  36. }
  37. .panel__hd::after {
  38. content: " ";
  39. position: absolute;
  40. left: 0;
  41. bottom: 0;
  42. right: 0;
  43. height: 1px;
  44. border-bottom: 1rpx solid #E5E5E5;
  45. color: #E5E5E5;
  46. left: 15px;
  47. }
  48. .media-box {
  49. padding: 15px;
  50. position: relative;
  51. }
  52. .media-box::before {
  53. content: " ";
  54. position: absolute;
  55. left: 0;
  56. top: 0;
  57. right: 0;
  58. height: 1px;
  59. border-top: 1rpx solid #E5E5E5;
  60. color: #E5E5E5;
  61. left: 15px;
  62. }
  63. .media-box:first-child::before {
  64. display: none;
  65. }
  66. .media-box__title {
  67. font-weight: 400;
  68. font-size: 17px;
  69. width: auto;
  70. overflow: hidden;
  71. text-overflow: ellipsis;
  72. white-space: nowrap;
  73. word-wrap: normal;
  74. word-wrap: break-word;
  75. word-break: break-all;
  76. }
  77. .media-box__desc {
  78. color: #999;
  79. font-size: 13px;
  80. line-height: 1.2;
  81. overflow: hidden;
  82. text-overflow: ellipsis;
  83. display: -webkit-box;
  84. -webkit-box-orient: vertical;
  85. -webkit-line-clamp: 2;
  86. }
  87. .media-box__info {
  88. margin-top: 15px;
  89. padding-bottom: 5px;
  90. font-size: 13px;
  91. color: #CECECE;
  92. line-height: 1em;
  93. list-style: none;
  94. overflow: hidden;
  95. }
  96. .media-box__info__meta {
  97. float: left;
  98. padding-right: 1em;
  99. }
  100. .media-box__info__meta_extra {
  101. padding-left: 1em;
  102. border-left: 1px solid #CECECE;
  103. }
  104. .media-box__title_in-text {
  105. margin-bottom: 8px;
  106. }
  107. .media-box_appmsg {
  108. display: -webkit-box;
  109. display: -webkit-flex;
  110. display: flex;
  111. -webkit-box-align: center;
  112. -webkit-align-items: center;
  113. align-items: center;
  114. }
  115. .media-box__thumb {
  116. width: 100%;
  117. height: 100%;
  118. vertical-align: top;
  119. }
  120. .media-box__hd_in-appmsg {
  121. margin-right: .8em;
  122. width: 60px;
  123. height: 60px;
  124. line-height: 60px;
  125. text-align: center;
  126. }
  127. .media-box__bd_in-appmsg {
  128. -webkit-box-flex: 1;
  129. -webkit-flex: 1;
  130. flex: 1;
  131. min-width: 0;
  132. }
  133. .media-box_small-appmsg {
  134. padding: 0;
  135. }