style.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. @subject-maxwidth:1460px;
  2. @subject-minwidth:1220px;
  3. @font-face {
  4. font-family: 'iconfont';
  5. src: url('../../iconfont/iconfont.eot');
  6. src: url('../../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
  7. url('../../iconfont/iconfont.woff') format('woff'),
  8. url('../../iconfont/iconfont.ttf') format('truetype'),
  9. url('../../iconfont/iconfont.svg#iconfont') format('svg');
  10. }
  11. *{
  12. margin:0;
  13. padding:0;
  14. list-style: none;
  15. border:none;
  16. font-style: normal;
  17. }
  18. html{
  19. width: 100%;
  20. min-width: @subject-minwidth;
  21. font-family:"Source Han Sans SC","HanHei SC","PingFang SC","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  22. }
  23. img{
  24. display:block;
  25. }
  26. a{
  27. text-decoration: none;
  28. color: #333;
  29. }
  30. .iconfont{
  31. font-family:"iconfont" !important;
  32. font-size:14px;font-style:normal;
  33. -webkit-font-smoothing: antialiased;
  34. -webkit-text-stroke-width: 0.2px;
  35. -moz-osx-font-smoothing: grayscale;
  36. }
  37. .screen-box{
  38. font-size: 14px;
  39. background: #f1f1f1;
  40. padding: 20px 0;
  41. .screen-content-box{
  42. width: 1220px;
  43. margin: 0 auto;
  44. background: #fff;
  45. border: 1px solid #ccc;
  46. padding: 5px 0;
  47. div:after{
  48. content: '';
  49. display: block;
  50. clear: both;
  51. }
  52. div{
  53. padding-left: 20px;
  54. span{
  55. float: left;
  56. line-height: 40px;
  57. }
  58. ul{
  59. float: left;
  60. li{
  61. float: left;
  62. padding: 6px 0;
  63. a{
  64. display: block;
  65. line-height: 26px;
  66. padding: 0 12px;
  67. margin-left: 10px;
  68. }
  69. a:hover{
  70. color: #fff;
  71. background: #f39800;
  72. }
  73. .all-btn{
  74. color: #fff;
  75. background: #f39800;
  76. }
  77. }
  78. }
  79. ul:after{
  80. content: '';
  81. display: block;
  82. clear: both;
  83. }
  84. }
  85. }
  86. }
  87. .result-box{
  88. font-size: 14px;
  89. background: #f1f1f1;
  90. padding-bottom: 30px;
  91. .result-content-box{
  92. width: 1220px;
  93. box-sizing: border-box;
  94. margin: 0 auto;
  95. border: 1px solid #ccc;
  96. background: #fff;
  97. padding: 0 12px 20px;
  98. .result-content-title:after{
  99. content: '';
  100. display: block;
  101. clear: both;
  102. }
  103. .result-content-title{
  104. border-bottom: 1px solid #ccc;
  105. padding: 10px 0 10px 6px ;
  106. div{
  107. span{
  108. margin-right: 45px;
  109. position: relative;
  110. }
  111. }
  112. .result-content-title-left{
  113. float: left;
  114. span{
  115. i{
  116. display: inline-block;
  117. position: absolute;
  118. top: -3px;
  119. margin-left: 2px;
  120. font-size: 20px;
  121. }
  122. }
  123. }
  124. .result-content-title-right{
  125. float: right;
  126. span{
  127. margin: 0;
  128. i{
  129. color: #f39800;
  130. font-size: 18px;
  131. }
  132. }
  133. }
  134. }
  135. .result-content-column{
  136. border-bottom: 1px solid #ccc;
  137. padding: 22px 0;
  138. ul:after{
  139. content: '';
  140. display: block;
  141. clear: both;
  142. }
  143. ul{
  144. li{
  145. float: left;
  146. font-size: 16px;
  147. text-align: center;
  148. }
  149. .column-name{
  150. width: 406px;
  151. margin:0 20px;
  152. }
  153. .column-time{
  154. width: 80px;
  155. margin:0 32px;
  156. }
  157. .column-source{
  158. width: 182px;
  159. margin:0 20px;
  160. }
  161. .column-area{
  162. width: 80px;
  163. margin:0 40px;
  164. }
  165. .column-countdown{
  166. width: 120px;
  167. margin: 0 20px;
  168. }
  169. }
  170. }
  171. .result-content-line{
  172. ul{
  173. li:hover{
  174. background: #f1f1f1;
  175. .names{
  176. color: #f39800;
  177. }
  178. }
  179. li{
  180. border-bottom: 1px dashed #ccc;
  181. padding: 15px 6px;
  182. line-height: 30px;
  183. a{
  184. display: inline-block;
  185. line-height: 30px;
  186. }
  187. span{
  188. display: inline-block;
  189. }
  190. .reds{
  191. background: #ffe7e7;
  192. border: 1px solid #f24645;
  193. color: #f24645;
  194. }
  195. .greens{
  196. background: #efffea;
  197. border: 1px solid #2abf01;
  198. color: #2abf01;
  199. }
  200. .blues{
  201. background: #def1ff;
  202. border: 1px solid #2fa4ff;
  203. color: #2fa4ff;
  204. }
  205. .icons{
  206. text-align: center;
  207. line-height: 20px;
  208. font-size: 12px;
  209. display: inline-block;
  210. position: relative;
  211. width: 30px;
  212. height: 20px;
  213. }
  214. .names{
  215. width: 406px;
  216. margin-right: 28px;
  217. margin-left: 5px;
  218. overflow: hidden;
  219. text-overflow: ellipsis;
  220. white-space: nowrap;
  221. vertical-align: bottom;
  222. }
  223. .times{
  224. width: 80px;
  225. margin-right: 50px;
  226. text-align: center;
  227. }
  228. .sources{
  229. width: 196px;
  230. overflow: hidden;
  231. text-overflow: ellipsis;
  232. white-space: nowrap;
  233. vertical-align: bottom;
  234. margin-right: 45px;
  235. text-align: center;
  236. }
  237. .areas{
  238. width: 100px;
  239. text-align: center;
  240. margin-right: 45px;
  241. overflow: hidden;
  242. text-overflow: ellipsis;
  243. white-space: nowrap;
  244. vertical-align: bottom;
  245. white-space:nowrap;
  246. text-overflow:ellipsis;
  247. overflow:hidden;
  248. }
  249. .countdowns{
  250. width: 120px;
  251. text-align: center;
  252. i{
  253. color: #f39800;
  254. }
  255. }
  256. }
  257. }
  258. }
  259. .result-content-paging{
  260. #paging{
  261. text-align: center;
  262. padding-top: 22px;
  263. }
  264. }
  265. }
  266. }