portal html css js resource

common.css 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. @charset "utf-8";
  2. /*reset*/
  3. p,dl,dt,dd,ul,ol,li,a,em,div,span,th,td{margin:0;padding:0; word-break:break-all; font-family: PingFang SC,Arial,Microsoft Yahei,WenQuanYi Micro Hei,Helvetica Neue,Hiragino Sans GB,sans-serif}
  4. form,label,button,input,select,textarea{font-size:14px; font-family:PingFang SC,Arial,Microsoft Yahei,WenQuanYi Micro Hei,Helvetica Neue,Hiragino Sans GB,sans-serif}
  5. h1,h2,h3,h4,h5,h6{font-family:PingFang SC,Arial,Microsoft Yahei,WenQuanYi Micro Hei,Helvetica Neue,Hiragino Sans GB,sans-serif;}
  6. html,body{height:100%; width:100%; margin:0;padding:0;font-family:PingFang SC,Arial,Microsoft Yahei,WenQuanYi Micro Hei,Helvetica Neue,Hiragino Sans GB,sans-serif;}
  7. input{vertical-align:middle; outline:none;}
  8. img{color:transparent;font-size:0;vertical-align:middle;-ms-interpolation-mode:bicubic;border:0;padding:0; margin:0;}
  9. small{font-size:12px;}
  10. ul,ol{list-style:none;}
  11. button,input,select,textarea{font-size:100%;}
  12. table{border-collapse:collapse;border-spacing:0;}
  13. table>tbody>tr>td,table>tbody>tr>th{padding: 5px 10px;border: 1px solid #DDD;}
  14. a,a:active,a:hover{outline:0;text-decoration:none;}
  15. /* CSS Document */
  16. /*栅格化宽度类型*/
  17. .col-w-1,.col-w-2,.col-w-3,.col-w-4,.col-w-5,.col-w-6,.col-w-7,.col-w-8,.col-w-9,.col-w-10,.col-w-11,.col-w-12{float:left;}
  18. .col-w-1{width:8.333333333333332%}
  19. .col-w-2{width:16.666666666666664%}
  20. .col-w-3{width:25%}
  21. .col-w-4{width:33.33333333333333%}
  22. .col-w-5{width:41.66666666666667%}
  23. .col-w-6{width:50%}
  24. .col-w-7{width:58.333333333333336%}
  25. .col-w-8{width:66.66666666666666%}
  26. .col-w-9{width:75%}
  27. .col-w-10{width:83.33333333333334%}
  28. .col-w-11{width:91.66666666666666%}
  29. .col-w-12{width:100%}
  30. .floatL{ float:left;}
  31. .floatR{float:right;}
  32. .clearfix{ clear:both;}
  33. .clearfix:before,.clearfix:after{display:table;content:" "}
  34. .clearfix:after{clear:both}
  35. .loading{position: absolute;top:50%;left:50%;margin-left: -15px;}
  36. /*更改placeholder的颜色*/
  37. :-moz-placeholder {color: #999999;}
  38. ::-moz-placeholder {color: #999999;}
  39. input:-ms-input-placeholder,textarea:-ms-input-placeholder {color: #999999;}
  40. input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color: #999999;}
  41. /* 显示和隐藏样式 */
  42. .inline {display:inline-block;}
  43. .displayNone{display:none;}
  44. .displayBlock{display:block;}
  45. .ellipsisSty {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  46. .ellipsisSty-2 { display: -webkit-box;max-height:42px;white-space: normal !important;text-overflow: ellipsis;word-wrap: break-word; -webkit-line-clamp:2;-webkit-box-orient: vertical;overflow: hidden;}
  47. .ellipsisSty-3 { display: -webkit-box;max-height:68px;white-space: normal !important;text-overflow: ellipsis;word-wrap: break-word; -webkit-line-clamp:3;-webkit-box-orient: vertical;overflow: hidden;}
  48. .ellipsisSty-5 { display: -webkit-box;max-height:120px;white-space: normal !important;text-overflow: ellipsis;word-wrap: break-word; -webkit-line-clamp:5;-webkit-box-orient: vertical;overflow: hidden;}
  49. .alignCenter{text-align: center;}
  50. /*默认/主题颜色*/
  51. .mainColor{color:#ff9900;}
  52. .defaultColor{ color:#333;}
  53. /*文字*/
  54. .h1Font{font-size:20px;} /*标题*/
  55. .h2Font{font-size:18px; line-height:30px; color:#333; }
  56. .h3Font{font-size:16px; line-height:28px; color:#555; }
  57. .h4Font{font-size:14px; line-height:26px; color:#333;}
  58. .h5Font{font-size:14px; line-height:22px; color:#666;}
  59. .h6Font{font-size:13px;color:#888;margin-left:8px;}
  60. .pIndent{ padding-left: 13px;color: #888;font-size: 12px;}
  61. /* .h4tit{ color:#078DEF;} */
  62. .thistime{position:relative;padding:0 20px; font-size: 12px; color: #ccc;}
  63. .thistime:before{content:"";display:inline-block;width:4px; height: 4px;border-radius:50%;background: #ccc;position: absolute;top:36%;left:10px;}
  64. .paddingSpace{ padding:4px 0;}
  65. /*圆角*/
  66. /*头像、资源圆角*/
  67. .headRadius{border-radius: 4px;}
  68. .userRadius{border-radius:50%;}
  69. .cmpRadius{border-radius: 4px;}
  70. /*底板背景圆角*/
  71. .bgRadius{border-radius: 6px;}
  72. /* 表单样式 */
  73. .frmtype{ width:100%; border-radius:5px; border:1px #dadada solid; padding:0 10px; min-height:30px;font-size:14px;line-height:30px;}
  74. textarea.frmtype{line-height:20px;padding:6px 8px;min-height:100px;}
  75. .frmtype:focus{ border:1px solid #ff8500;box-shadow: none;outline:none}
  76. .frmbtn{ width:100px; margin:10px; background:#ff9900; color:#fff; border:none; }
  77. .frmrbtn{ background:none; color:#303030; border:none; }
  78. body{height:auto;position: relative;min-height: 100%;}
  79. input{ outline:none;}
  80. .save-block{margin:20px auto 40px;padding:6px 40px;}/*保存按钮*/
  81. .fontLink{background:none;border:none;}/*字体链接按钮*/
  82. .limitNum{text-align: right;color:#AAAAAA;}/*限制字数*/
  83. /*表单消息提示*/
  84. .frmmsg{background:url(../images/con_icon_info_warn.png) 0 center no-repeat;background-size: auto 50%;padding-left:18px;line-height:28px;}
  85. /*主体部分*/
  86. .contentBody{width:1050px;height:auto; margin:10px auto; padding:80px 0 2px 0; }
  87. /*------------------------------------------------------------------------------------*/
  88. /*点击加载更多*/
  89. .js-load-more{position:relative;outline:0;background:#ff9900;border:none;height: 40px;border-radius: 5px;width:200px;margin:20px auto 10px;left: 50%;margin-left: -100px;cursor: pointer;}
  90. .js-load-more:before{position:absolute;content:"点击加载更多";top:0;left:29%;font-size: 15px;line-height: 40px;color:#fff;}
  91. .js-load-more.active{background:buttonface;}
  92. .js-load-more.active:before{content:"加载中...";left:38%;}
  93. /*分页*/
  94. .tcdPageCode{ padding: 20px; margin: 10px 0;text-align: left;color: #333;text-align:center;font-size:14px;line-height:24px; }
  95. .tcdPageCode a{display: inline-block;height: 30px;line-height: 30px;padding: 0 10px;border: 1px solid #CCCCCC;margin: 0 8px;color:#333;}
  96. .tcdPageCode a:hover{text-decoration: none;}
  97. .tcdPageCode span.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #ff9900;}
  98. .tcdPageCode span.disabled{ display: inline-block;height: 30px;line-height:30px;padding: 0 10px;margin: 0 8px;color: #ccc;border:1px solid #E5E5E5;}
  99. .tcdPageCode li { display: inline;}
  100. .tcdPageCode a.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #ff9900;}
  101. /*认证标识相关*/
  102. .authicon,.authiconNew{position:relative;top:2px;display: inline-block;margin-left:4px;background-position: center;background-repeat: no-repeat;}
  103. .authicon-pro{width:16px;height:16px;margin-left:0;background-image:url(../images/porfile_icon_zhuanjia_nor.png);background-size: cover;}/*科袖认证专家*/
  104. .authicon-com-ok{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_hig.png);background-size: cover;}/*认证企业*/
  105. .authicon-com-no{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_nor.png);background-size: cover;}/*未认证企业*/
  106. .authicon-staff-ok{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_hig.png);background-size: cover;}/*企业认证员工*/
  107. .authicon-staff-no{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_nor.png);background-size: cover;}/*企业未认证员工*/
  108. .authicon-real{width: 24px;height:16px;background-image:url(../images/porfile_icon_shimin_nor.png);background-size: cover;}/*实名认证用户*/
  109. /***********************缺省页面*******************/
  110. .picbox{margin:8px auto;display:inline-block;width:140px;height:140px;background-position: center;background-repeat: no-repeat;background-size:cover;}
  111. .picbox.picNull{background-image:url(../images/points_icon_ku_nor.png);}
  112. .txtbox { margin:6px auto;font-size:18px;color: #999;line-height:40px;}
  113. .con-kong{line-height:20px;color: #aaa;font-size: 16px;text-align: center;padding:10% 0;background:#fff;}
  114. .nodatabox{line-height:20px;color: #aaa;font-size: 16px;text-align: center;padding:10% 0;}
  115. .nowAn{color:#ff9900;cursor: pointer;}
  116. /***********************缺省页面*******************/
  117. /*.ResImgBox{display: inline-block;text-align: center;max-width:100px;width:100px;height:100px;background:#FAFAFA;border:1px solid #F8F8F8;overflow: hidden;padding:2px;border-radius:4px;}
  118. .ResImgBox .resImg{max-width: 100%;max-height: 100%;vertical-align: middle;position: relative;}
  119. .ResImgBox:before {content: ' ';display: inline-block;vertical-align: middle;width: 0;height: 100%;overflow: hidden;margin-left: 0px;}
  120. .beforMargin:before{margin-left:-4px;}*/
  121. /*图片在容器中无变形居中显示*//*display: table;table-layout: fixed;*/
  122. .boxBlock{width:140px; height:140px;display: table-cell;vertical-align:middle; text-align:center;overflow: hidden;}
  123. .boxBlockimg{max-width: 100%;max-height: 100%;vertical-align:middle;height:auto !important; overflow-y:auto;}
  124. /*kexiu用户协议*/
  125. .privacyBox{padding:20px;}
  126. .single-column {width:900px;margin: 0 auto;min-height: 560px;}
  127. .single-white-wrap {border:1px solid #E5E5E5 ; margin: 30px 0 50px;padding: 40px 20px; text-align: left;}
  128. .faq-title {margin-bottom: 10px;font-size: 20px;font-weight: 700;text-align: center;}
  129. .faq-content {line-height: 22px;margin:30px 10px 20px;text-align: justify;}
  130. .faq-content p {margin-bottom: 10px;}
  131. .faq-content ul {margin-bottom: 10px;}
  132. .faq-content ul>li{margin-bottom: 4px;}
  133. .faq-sub-title {margin-bottom: 12px;font-weight: 700;}
  134. .containerCon{width:1120px;padding:0 10px;position:relative; margin:auto;clear:both}
  135. .containerCon:before,.containerCon:after{display:table;content:" "}
  136. .containerCon:after{clear:both}
  137. /*新版footer*/
  138. footer{position: absolute;right:0; left: 0;bottom:0;background: #373d41;color:#888;font-size:14px;line-height:30px;}
  139. footer .containerCon{background: #373d41;}
  140. footer a{color:#888;text-decoration: none;}
  141. footer p .listlink{margin-right:25px;color:#888;}
  142. footer .bottom-block{padding:30px 0;}
  143. footer .logo-block{width:271px; height:60px;background:url(../images/home_icon_logo_nor.png);background-size:cover;margin-bottom:30px;}
  144. footer .copy-block{color:#666;margin-top:10px;font-size:12px;}
  145. footer .copy-block a{ color:#666;}
  146. footer .copy-block a.beianbox em{display: inline-block;width:14px; height:14px;background:url(../images/home_icon_beian.png);background-size:cover;}
  147. footer .code-block div{text-align: center;}
  148. footer .code-block div:last-child{margin-left:80px;}
  149. footer .codelist{margin:20px auto 10px;width:118px;height:118px;text-align:center;background-position: center center;background-repeat: no-repeat;}
  150. footer .codelist span{display:inline-block;width:94px;height:94px;margin:12px auto; }
  151. footer .appcode{background-image: url(../images/home_bg_xiazaiapp_nor.png);}
  152. footer .appcode span{background-image:url(../images/home_code_app.jpg);background-size: cover;}
  153. footer .weixincode{background-image: url(../images/home_bg_guanzhu_nor.png);}
  154. footer .weixincode span{background-image:url(../images/home_code_weixin.jpg);background-size: cover;}
  155. /*新版header*/
  156. .topheader{background: #333;height:30px;font-size:14px;line-height:30px;}
  157. .topheader .containerCon{background: #333;}
  158. .topheader a{padding:0 10px;margin-right:16px;color:#c4c3c3;}
  159. .topheader a:hover{color:#FFFFFF;}
  160. .topheader .downicon{background: url(../images/top_icon_shouji_nor.png) 0 center no-repeat;padding-left:18px;}
  161. .searchblock{ width:280px; height:39px;background:#fff;border:1px solid #d8d8d8;border-radius:6px;overflow: hidden; position:absolute; left:50%; top:50%; margin-left:-140px; margin-top:-19.5px;}
  162. .search-txt{ width:240px;line-height:35px; height:35px;border:none; behavior:url(../js/ie-css3.htc); float:left;font-size:14px;padding-left:10px; color:#444;}
  163. .search-btn{ width:35px; height:35px; float:right; behavior:url(../js/ie-css3.htc);cursor:pointer;}
  164. .search-icon{ display:block; width:20px; height:20px; background:url(../images/index-icon.png) no-repeat; background-position:left; margin:8px;}
  165. header{ position:fixed; top:0;left:0;right: 0; z-index:1000;font-size:16px;line-height:32px;}
  166. header .navheader{background:#FFFFFF;height:62px;border-bottom: 2px solid #e5e5e5;}
  167. header .navheader.navhdown{background: rgba(256,256,256,1);border-color:#E5E5E5;box-shadow: 0px 2px 12px 0px rgba(204, 204, 204, 0.6);-webkit-box-shadow: 0px 2px 12px 0px rgba(204, 204, 204, 0.6);}
  168. header .navheader.navhdown li a{color:#666;}
  169. header .headlogo h1 {width: 60px;height: 30px;margin:15px 14px 15px 0;padding: 0;background-image:url(../images/home_icon_logo_orange.png);background-repeat: no-repeat;background-size:contain;overflow: hidden;}
  170. header .headnav{margin:0 14px;}
  171. header .headnav li{float:left;margin:0 4px; padding:14px 0;}
  172. header .headnav li a{ color:#666; padding:14px 18px;}
  173. header .headuserimg{position:relative;padding: 10px 0 10px 20px; width: 60px;height: 60px;}
  174. header .headuser{overflow: hidden;border:1px solid #E5E5E5; width: 42px;height: 42px;display: table-cell; vertical-align:middle; text-align:center;cursor: pointer;}
  175. header .headuser img{max-width: 40px;max-height: 100%;vertical-align:middle;height:auto !important; overflow-y:auto;}
  176. header .headnavbtn{margin:14px 6px;}
  177. header .headnavbtn a{color:#666;font-size:15px;}
  178. header .headnavbtn li{float:left;margin:0 6px;}
  179. header .headnavbtn li.pr{padding-right:20px;cursor: pointer;}
  180. header .headnavbtn li.pr>a{position:relative;}
  181. header .headnavbtn li.pr>a>.badge{position:absolute;right:-12px;top:-10px;background:#FF0000;}
  182. header .headnavbtn .teyaologin{padding:4px 20px;border-radius:6px;margin-right:16px;}
  183. header .navbtn{width: 18px;height:20px;cursor: pointer; padding:10px 18px;background-position:center;background-repeat:no-repeat;}
  184. header .navnews{background-image: url(../images/nav_button_news_nor.png);background-size:contain;}
  185. header .navsearch{background-image: url(../images/nav_button_search_nor_2.png);background-size:contain;}
  186. header .navheader li a:hover{color:#ff9900;}
  187. header .navheader li.navcurrent a{color:#ff9900;}
  188. header .comuserSelf{width:180px; height:180px; position:absolute; top:42px; right:0;z-index: 100;}
  189. header .triangleB{ display:block; width:0; height:0; border:8px solid transparent; border-bottom-color:#ff9900; float:right; margin-right:12px; margin-top:14px;}
  190. header .personal-box{ width:100%;background:#ff9900; clear:both; overflow:hidden;}
  191. header .personal-box a{ display:block; width:100%; height:40px;line-height:40px; font-size: 13px; color:#fff;}
  192. header .personal-box a:hover{ background:#ff8800;}
  193. header .icon{ display:block; width:20px; height:20px; margin-left:15px; margin-right:12px; margin-top:10px; float:left;}
  194. header .icon1{ background:url(../images/index-icon.png) no-repeat; background-position:-80px 0;}
  195. header .icon3{ background:url(../images/index-icon.png) no-repeat; background-position:-60px 0;}
  196. header .icon2{ background:url(../images/index-icon.png) no-repeat; background-position:-40px 0;}
  197. header .icon4{ background:url(../images/index-icon.png) no-repeat; background-position:-20px 0;}
  198. /*广告位的设计规则及尺寸 底部(760*120) 侧栏(260*200)*/
  199. .rightconBox .conItem.advertBox{padding:0;width:260px;background: none;}
  200. .commentsArea.advertItem{margin-top:30px}
  201. .advertItem .swiper-pagination-bullet{width:6px; height:6px;}
  202. .advertsub{position: relative;display: block;margin-bottom: 10px;}
  203. .advertsub:after{content:"广告";font-size:10px;color:#fff;background:rgba(0,0,0,0.3);position:absolute;padding:0 4px;right:0;bottom:0px;}