portal html css js resource

common.css 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. @charset "utf-8";
  2. /*reset*/
  3. p,dl,dt,dd,ul,ol,li,a,em,div,span{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. body{height:auto;position: relative;min-height: 100%;}
  15. a{text-decoration:none;color:#666}
  16. a:focus{}
  17. a:active,a:hover,a:link{outline:0;text-decoration:none;}
  18. /*栅格化宽度类型*/
  19. .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;}
  20. .col-w-1{width:8.333333333333332%}
  21. .col-w-2{width:16.666666666666664%}
  22. .col-w-3{width:25%}
  23. .col-w-4{width:33.33333333333333%}
  24. .col-w-5{width:41.66666666666667%}
  25. .col-w-6{width:50%}
  26. .col-w-7{width:58.333333333333336%}
  27. .col-w-8{width:66.66666666666666%}
  28. .col-w-9{width:75%}
  29. .col-w-10{width:83.33333333333334%}
  30. .col-w-11{width:91.66666666666666%}
  31. .col-w-12{width:100%}
  32. .floatL{ float:left;}
  33. .floatR{float:right;}
  34. .clearfix{ clear:both;}
  35. .clearfix:before,.clearfix:after{display:table;content:" "}
  36. .clearfix:after{clear:both}
  37. .loading{position: absolute;top:50%;left:50%;margin-left:-15px;}
  38. /*更改placeholder的颜色*/
  39. :-moz-placeholder {color: #999;}
  40. ::-moz-placeholder {color: #999;}
  41. input:-ms-input-placeholder,textarea:-ms-input-placeholder {color: #999;}
  42. input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color: #999;}
  43. /* 显示和隐藏样式 */
  44. .inline {display:inline-block;}
  45. .displayNone{display:none;}
  46. .displayBlock{display:block;}
  47. .ellipsisSty {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  48. .ellipsisSty-2 { display: -webkit-box;height:42px;white-space: normal !important;text-overflow: ellipsis;word-wrap: break-word; -webkit-line-clamp:2;-webkit-box-orient: vertical;overflow: hidden;}
  49. /*文字*/
  50. .h1Font{font-size:22px; line-height:36px; color:#151520;} /*标题*/
  51. .h2Font{font-size:18px; line-height:30px; color:#333; }
  52. .h3Font{font-size:16px; line-height:28px; color:#555; }
  53. .h4Font{font-size:14px; line-height:26px; color:#333;}
  54. .h5Font{font-size:14px; line-height:22px; color:#666;}
  55. .h6Font{font-size:13px;color:#888;margin-left:8px;}
  56. .fontweight{font-weight: bold;}
  57. .smalltip{font-size:13px;line-height:24px;margin:8px 0;color:#888;}/*提示性语句*/
  58. .pIndent{ padding-left: 13px;color: #888;font-size: 12px;}
  59. .thistime{position:relative;padding:0 20px; font-size: 12px; color: #ccc;}
  60. .thistime:before{content:"";display:inline-block;width:4px; height: 4px;border-radius:50%;background: #ccc;position: absolute;top:36%;left:10px;}
  61. .paddingSpace{ padding:4px 0;}
  62. .alignCenter{text-align: center;}
  63. /*圆角*/
  64. .headRadius{border-radius: 4px;}/*头像、资源圆角*/
  65. .userRadius{border-radius:50%;}
  66. .cmpRadius{border-radius: 4px;}
  67. .bgRadius{border-radius: 6px;}/*底板背景圆角*/
  68. /*倒三角*/
  69. .to-bottom {display: inline-block;overflow: hidden;width: 0px;height: 0px;border: 6px solid #ccc;border-color: #ccc #fff; border-width: 6px 6px 0 6px;position: absolute;right: 0;top: 40%;}
  70. /*/////////////////////表单样式/////////////////////// */
  71. /*多行文本框样式(带有限制数字)*/
  72. .msgContbox{border: 1px solid #E5E5E5;background:#fff;min-height:120px;height:auto;position: relative;}
  73. .msgContbox textarea{background:none;border:none;color: #55636D;outline: none;padding:12px;
  74. width: 100%;font-size: 16px;resize:vertical;margin-bottom: 15px;min-height:92px;}
  75. .msgContbox .msgconNum{position:absolute;bottom:2px;right:10px;color:#999;font-size:14px;line-height: 26px;}
  76. .msgContbox .msgconNum>em{font-style: normal;}
  77. /*网站外部表单样式*/
  78. .frmtype{border:none;border:1px #d2d2d2 solid;height:36px;background: #f5f6f8;font-size:14px;outline: none; padding:6px 20px 6px 10px;border-radius: 6px;}
  79. .frmtype:focus{box-shadow: none;outline:none;border:1px solid #28b8fa;}
  80. .frmtypeW{width:98%;margin: auto;}
  81. textarea.frmtype{height:100px;}
  82. .requiredcon{font-style:none;color:red;font-size:16px;margin:0 4px;}/*必填项*/
  83. .emspace{letter-spacing: 2em;}
  84. /*只读状态input*/
  85. input.frmtype[readonly]{background:#EFEFEF;color:#AAAAAA;}
  86. input.frmtype[readonly]:focus{border:1px transparent solid;}
  87. .form_date input.frmtype[readonly]{background:#EFEFEF;color:#666;}
  88. /*网站内部表单样式*/
  89. .frmcontype{border:1px solid #E5E5E5;width:100%;height:40px;background:#FFFFFF;font-size:16px;color:#666;line-height:28px;outline: none; padding:6px 12px;border-radius:0;}
  90. .frmcontype:focus{border-color:#28b8fa;}
  91. .frmconbtn{width:100%;height:40px;background:#28b8fa;font-size:16px;color:#666;line-height:28px;outline:none;border:none;padding:6px 12px;border-radius:0;}
  92. .frmconmsg{color:#fd5f39;margin-left:12px;font-size: 14px;}
  93. /*小按钮*/
  94. .btnModel{display:inline-block;color:#FFFFFF;border:none;background: #FFFFFF; padding:6px 20px;background:#28b8fa;}
  95. .btnModel:hover{background:#1daaeb;}
  96. /*取消按钮*/
  97. .btnCancel{background:#edeff4;}
  98. .btnCancel:hover{background:#d6d8de;}
  99. /*按钮不可用状态*/
  100. button.btnModel[disabled]{background:#d6d8de;}
  101. button.btnModel[disabled]:hover{background:#d6d8de;}
  102. /*大按钮*/
  103. button.btnModelBig{
  104. background: url(../images/business_button_bg.png);background-size:cover;
  105. background: linear-gradient(left,#28b8fa,#558ded);
  106. background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#28b8fa), to(#558ded));}
  107. button.btnModelBig:hover{
  108. background: url(../images/business_button_bg.png);background-size:cover;
  109. background: linear-gradient(left,#1daaeb,#487fde);
  110. background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#1daaeb), to(#487fde));}
  111. .save-block{margin:20px auto 40px;padding:6px 40px;}/*保存按钮*/
  112. .fontLink{background:none;border:none;color:#28b8fa;}/*字体链接按钮*/
  113. .limitNum{text-align: right;color:#AAAAAA;}/*限制字数*/
  114. /*表单消息提示*/
  115. .frmmsg{background:url(../images/con_icon_info_warn.png) 0 center no-repeat;background-size: auto 50%;padding-left:18px;line-height:28px;color: #fd5f39;}
  116. .frmmsg-warning{border:1px solid #fd5f39;}
  117. /*色系*/
  118. .cmpBg{background: #28b8fa;color:#FFFFFF;}
  119. .cmpColor{color: #28b8fa;}
  120. .cmpBorder{border-color:#28b8fa;}
  121. /*弹出模态框*/
  122. .blackcover{display:none;overflow-x: hidden;overflow-y:auto;position:fixed;top:0;right:0;bottom:0;left:0; background:rgba(0,0,0,.6);z-index: 1004;}
  123. .modelContain{display:none;position:relative;clear:both;top:20%;margin:40px auto;width:600px;background:#fff;border-radius:8px;z-index:1056;
  124. box-shadow: 2px 4px 10px 4px #555;
  125. -webkit-box-shadow: 2px 4px 10px 4px #555;}
  126. .modelContain:before,.modelContain:after{display:table;content:" "}
  127. .modelContain:after{clear: both;}
  128. .modelClosebtn{position:absolute; top:0; right:-50px; display:block; width:20px; height:20px; background:url(../../images/workclose.png) center center no-repeat; padding:20px;cursor:pointer; z-index:1055;}
  129. .modelOpen{overflow: hidden;}
  130. /*图片在容器中无变形居中显示*//*display: table;table-layout: fixed;*/
  131. .boxBlock{width:200px; height:200px;display: table-cell;vertical-align:middle; text-align:center;overflow: hidden;}
  132. .boxBlockimg{max-width: 100%;max-height: 100%;vertical-align:middle;height:auto !important; overflow-y:auto;}
  133. /*认证标识相关*/
  134. .authicon{display: inline-block;margin-left:4px;background-position: center;background-repeat: no-repeat;}
  135. .authicon-pro{width:16px;height:16px;background-image:url(../images/porfile_icon_zhuanjia_nor.png);background-size: cover;}/*科袖认证专家*/
  136. .authicon-com-ok{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_hig.png);background-size: cover;}/*认证企业*/
  137. .authicon-com-no{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_nor.png);background-size: cover;}/*未认证企业*/
  138. .authicon-staff-ok{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_hig.png);background-size: cover;}/*企业认证员工*/
  139. .authicon-staff-no{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_nor.png);background-size: cover;}/*企业未认证员工*/
  140. .authicon-real{width: 24px;height:16px;background-image:url(../images/porfile_icon_shimin_nor.png);background-size: cover;}/*实名认证用户*/
  141. /*点击加载更多*/
  142. .js-load-more{position:relative;outline:0;background:#28b8fa;border:none;height: 40px;border-radius: 5px;width:200px;margin:20px auto 10px;left: 50%;margin-left: -100px;cursor: pointer;}
  143. .js-load-more:before{position:absolute;content:"点击加载更多";top:0;left:29%;font-size: 15px;line-height: 40px;color:#fff;}
  144. .js-load-more.active{background:buttonface;}
  145. .js-load-more.active:before{content:"加载中...";left:38%;}
  146. /*----------------------------分页-----------------------------*/
  147. .tcdPageCode{ padding: 20px; margin: 10px 0;text-align: left;color: #333;text-align:center;font-size:14px;line-height:24px; }
  148. .tcdPageCode a{display: inline-block;height: 30px;line-height: 30px;padding: 0 10px;border: 1px solid #CCCCCC;margin: 0 8px;color:#333;}
  149. .tcdPageCode a:hover{text-decoration: none;}
  150. .tcdPageCode span.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #28b8fa;}
  151. .tcdPageCode span.disabled{ display: inline-block;height: 30px;line-height:30px;padding: 0 10px;margin: 0 8px;color: #ccc;border:1px solid #E5E5E5;}
  152. .tcdPageCode li { display: inline;}
  153. .tcdPageCode a.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #28b8fa;}
  154. /*----------------------------分页------------------------*/
  155. /***********************缺省页面*******************/
  156. /***********************缺省页面*******************/
  157. .picbox{margin:8px auto;display:inline-block;width:140px;height:140px;background-position: center;background-repeat: no-repeat;background-size:cover;}
  158. .picbox.picNull{background-image:url(../../images/points_icon_ku_nor.png);}
  159. .txtbox { margin:6px auto;font-size:18px;color: #999;line-height:40px;}
  160. .con-kong{line-height:20px;color: #aaa;font-size: 16px;text-align: center;padding:10% 0;background:#fff;}
  161. .nodatabox{line-height:20px;color: #aaa;font-size: 16px;text-align: center;padding:10% 0;}
  162. /***********************缺省页面*******************/
  163. /*.nodatatip{width:40%;margin:100px auto;overflow:hidden;height:100px; font-size:16px; text-align:center;color:#aaa;}
  164. .nodatabox{height: 100%;padding:40px; margin:20px auto;text-align: center;}
  165. .nodatabox .nodata{overflow:hidden; width:50%; margin:20px auto;}
  166. .nodatabox .picbox{margin:8px auto;display:inline-block;width:140px;height:140px;background-position: center;background-repeat: no-repeat;background-size:cover;}
  167. .nodatabox .picbox.picNull{background-image:url(../../images/points_icon_ku_nor.png);}
  168. .nodatabox .txtbox { margin:6px auto;}
  169. .nodatabox .noContip{font-size:18px;color: #999;line-height:40px;}
  170. .nodatabox .keyword{font-size:22px; padding:0 6px;color:#555555;}*/
  171. /***********************缺省页面*******************/
  172. #container{padding-top:90px;}
  173. .containerCon{width:1120px;padding:0 10px;position:relative; margin:auto;}
  174. .containerCon:before,.containerCon:after{display:table;content:" "}
  175. .containerCon:after{clear: both;}
  176. /*.overInitial{overflow:initial;}*/
  177. /*新版footer*/
  178. footer{position: absolute;right:0; left: 0;bottom:0;background: #373d41;color:#888;font-size:14px;line-height:30px;}
  179. footer .containerCon{background: #373d41;}
  180. footer a{color:#888;text-decoration: none;}
  181. footer p .listlink{margin-right:25px;color:#888;}
  182. footer .bottom-block{padding:30px 0;}
  183. footer .logo-block{width:271px; height:60px;background:url(../images/business_icon_logo_nor.png);background-size:cover;margin-bottom:30px;}
  184. footer .copy-block{color:#666;margin-top:10px;font-size:12px;}
  185. footer .copy-block a{ color:#666;}
  186. footer .copy-block a.beianbox em{display: inline-block;width:14px; height:14px;background:url(../images/home_icon_beian.png);background-size:cover;}
  187. footer .code-block div{text-align: center;}
  188. footer .code-block div:last-child{margin-left:80px;}
  189. footer .codelist{margin:20px auto 10px;width:118px;height:118px;text-align:center;background-position: center center;background-repeat: no-repeat;}
  190. footer .codelist span{display:inline-block;width:94px;height:94px;margin:12px auto; }
  191. footer .appcode{background-image: url(../images/home_bg_xiazaiapp_nor.png);}
  192. footer .appcode span{background-image:url(../images/home_code_app.jpg);background-size: cover;}
  193. footer .weixincode{background-image: url(../images/home_bg_guanzhu_nor.png);}
  194. footer .weixincode span{background-image:url(../images/home_code_weixin.jpg);background-size: cover;}
  195. /*新版header*/
  196. #header{ position:fixed; top:0;left:0;right: 0; z-index:1000;font-size:16px;line-height:32px;}
  197. header .navheader{background:#FFFFFF;height:62px;border-bottom: 2px solid #e5e5e5;}
  198. 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);}
  199. header .navheader.navhdown li a{color:#666;}
  200. header .topheader{background: #333;height:30px;font-size:14px;line-height:30px;}
  201. header .topheader .containerCon{background: #333;}
  202. header .topheader a{padding:0 10px;margin-right:16px;color:#c4c3c3;}
  203. header .topheader a:hover{color:#FFFFFF;}
  204. header .topheader .downicon{background: url(../images/top_icon_shouji_nor.png) 0 center no-repeat;padding-left:18px;}
  205. header .headlogo h1 {width: 60px;height: 30px;margin:15px 14px 15px 0;padding: 0;background-image: url(../images/home_icon_cmplogo.png);background-repeat: no-repeat;background-size:contain;overflow: hidden;}
  206. header .headnav{margin:0 14px;}
  207. header .headnav li{float:left;margin:0 4px; padding:14px 0;}
  208. header .headnav li a{ color:#666; padding:14px 18px;}
  209. header .headuserimg{position:relative;padding: 10px 0 10px 20px; width: 60px;height: 60px;}
  210. header .headuser{overflow: hidden;border:1px solid #E5E5E5; width: 42px;height: 42px;display: table-cell; vertical-align:middle; text-align:center;cursor: pointer;}
  211. header .headuser img{max-width: 40px;max-height: 100%;vertical-align:middle;height:auto !important; overflow-y:auto;}
  212. header .headnavbtn{margin:14px 6px;}
  213. header .headnavbtn a{color:#666;}
  214. header .headnavbtn li{float:right;margin:0 6px;}
  215. header .navbtn{width: 18px;height:20px;cursor: pointer; padding:10px 18px;background-position:center;background-repeat:no-repeat;}
  216. header .navnews{background-image: url(../images/nav_button_news_nor.png);background-size:contain;}
  217. header .navsearch{background-image: url(../images/nav_button_search_nor_2.png);background-size:contain;}
  218. header .navheader li a:hover{color:#28b8fa;}
  219. header .navheader li.navcurrent a{color:#28b8fa;}
  220. header .comuserSelf{width:180px; height:180px; position:absolute; top:42px; right:0;z-index: 100;}
  221. header .triangleB{ display:block; width:0; height:0; border:8px solid transparent; border-bottom-color:#28b8fa; float:right; margin-right:12px; margin-top:14px;}
  222. header .personal-box{ width:100%;background:#28b8fa; clear:both; overflow:hidden;}
  223. header .personal-box a{ display:block; width:100%; height:40px;line-height:40px; font-size: 13px; color:#fff;}
  224. header .personal-box a:hover{ background:#17a4e4;}
  225. header .icon{ display:block; width:20px; height:20px; margin-left:15px; margin-right:12px; margin-top:10px; float:left;}
  226. header .icon3{ background:url(../images/index-icon.png) no-repeat; background-position:-40px 0;}
  227. header .icon4{ background:url(../images/index-icon.png) no-repeat; background-position:-20px 0;}