news-show.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .ms-news-show{
  2. input::-webkit-input-placeholder {
  3. color:#999;
  4. }
  5. color:#555;
  6. .ms-news-show-title{
  7. }
  8. .ms-news-show-content{
  9. padding: 0 1rem;
  10. margin-top: 0.5rem;
  11. }
  12. .ms-news-show-main{
  13. margin: 0 1rem;
  14. border-bottom: 1px solid #ddd;
  15. padding-bottom: 0.5rem;
  16. padding-top: 1rem;
  17. .ms-news-show-title{
  18. font-size: 1.9rem;
  19. color: #444;
  20. }
  21. p{
  22. display: none;
  23. }
  24. .ms-news-show-icon{
  25. .ms-news-show-icon-title{
  26. display: block;
  27. float: left;
  28. }
  29. .ms-news-show-icon-con{
  30. display: block;
  31. overflow: hidden;
  32. text-overflow: ellipsis;
  33. white-space: nowrap;
  34. width: 6rem;
  35. float: left;
  36. }
  37. overflow: hidden;
  38. font-size: 1.3rem;
  39. color: #999;
  40. div{
  41. float: left;
  42. span{
  43. margin: 0 0.5rem;
  44. }
  45. }
  46. .ms-news-show-icon-clicks,.ms-news-show-icon-Fabulous{
  47. background-image: url(../images/pics.png);
  48. width: 22px;
  49. height: 15px;
  50. margin-top: 0.4rem;
  51. }
  52. .ms-news-show-icon-clicks{
  53. background-position: -11px 84px;
  54. }
  55. .ms-news-show-icon-Fabulous{
  56. background-position: -120px 85px;
  57. }
  58. }
  59. }
  60. .ms-news-show-comment{
  61. padding-top: 2rem;
  62. padding-bottom: 1rem;
  63. border-bottom: 1px solid #ddd;
  64. .ms-news-show-comment-top{
  65. margin-bottom: 1rem;
  66. .ms-news-show-comment-top-icon{
  67. transition: all .6s;
  68. background-image: url(../images/pics.png);
  69. width: 4rem;
  70. height: 4rem;
  71. background-position: -49px 49px;
  72. background-color: #bababa;
  73. border-radius: 50%;
  74. margin: 0 auto;
  75. cursor: pointer;
  76. }
  77. .ms-is-attention {
  78. background-color: #009bff;
  79. }
  80. }
  81. .ms-news-show-comment-bottom{
  82. border-top: 1px solid #ddd;
  83. padding-top: 1rem;
  84. margin: 0 0.5rem;
  85. .ms-news-show-comment-input{
  86. /*margin-bottom: 1rem;*/
  87. border-bottom: 1px solid #ddd;
  88. padding-bottom: 2rem;
  89. textarea{
  90. height: 3.3rem;
  91. padding: 0.7rem;
  92. background-color: #fafafa;
  93. border: 1px solid #eee;
  94. border-radius: 3px;
  95. width: 100%;
  96. outline:none;
  97. }
  98. textarea::-webkit-input-placeholder{
  99. color:#ccc;
  100. font-size: 1.4rem;
  101. }
  102. .ms-news-show-comment-button{
  103. overflow: hidden;
  104. margin-top: 0.5rem;
  105. .ms-news-show-comment-expression{
  106. background-image: url(../images/pics.png);
  107. background-position: -2px 37px;
  108. width: 3rem;
  109. height: 2rem;
  110. float: left;
  111. cursor: pointer;
  112. }
  113. .ms-news-show-comment-submit{
  114. width: 5rem;
  115. background-color: #fafafa;
  116. font-size: 1.4rem;
  117. height: 2.5rem;
  118. border-radius: 4px;
  119. color: #ccc;
  120. line-height: 2.5rem;
  121. text-align: center;
  122. float: right;
  123. cursor: no-drop;
  124. }
  125. .ms-submit-comments-css {
  126. opacity: .9 !important;
  127. cursor: pointer;
  128. background-color: #009aff !important;
  129. color: #ffffff;
  130. &:hover {
  131. opacity: 1 !important;
  132. }
  133. }
  134. }
  135. }
  136. .ms-news-show-comment-whole{
  137. text-align: center;
  138. margin: 1rem 0;
  139. }
  140. .ms-news-show-comment-list{
  141. .ms-news-show-comment-list-div{
  142. overflow: hidden;
  143. border-bottom: 1px solid #ddd;
  144. padding: 1rem 0;
  145. .ms-news-show-comment-list-left{
  146. overflow: hidden;
  147. float: left;
  148. width: 100%;
  149. .ms-news-show-comment-list-portrait{
  150. float: left;
  151. overflow: hidden;
  152. margin-right: 0.5rem;
  153. img{
  154. width: 4rem;
  155. height: 4rem;
  156. border-radius: 50%;
  157. }
  158. }
  159. .ms-news-show-comment-list-content{
  160. .ms-news-show-comment-list-top{
  161. width: 100%;
  162. overflow: hidden;
  163. }
  164. .ms-news-show-comment-list-right{
  165. overflow: hidden;
  166. float: right;
  167. width: 11%;
  168. .ms-news-show-main-icon-Fabulous{
  169. background-position: -120px 85px;
  170. background-image: url(../images/pics.png);
  171. width: 1.5rem;
  172. height: 1.5rem;
  173. margin-top: 0.3rem;
  174. float: left;
  175. }
  176. .ms-news-show-main-icon-num{
  177. }
  178. }
  179. font-size: 1.2rem;
  180. overflow: hidden;
  181. .ms-news-show-comment-list-name,.ms-news-show-comment-list-time{
  182. color: #999;
  183. }
  184. .ms-news-show-comment-list-name{
  185. float: left;
  186. }
  187. }
  188. }
  189. }
  190. .ms-news-show-comment-more{
  191. text-align: center;
  192. color: #999;
  193. margin: 1rem 0;
  194. font-size: 14px;
  195. }
  196. }
  197. }
  198. }
  199. }