portal html css js resource

common.css 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;}
  4. form,label,button,input,select,textarea{font-size:14px; font-family: PingFang SC,Arial,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;}
  5. h1,h2,h3,h4,h5,h6{font-size:100%;margin:0;padding:0; font-family: PingFang SC,Arial,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;}
  6. html,body{height:100%; width:100%; margin:0;padding:0;font-family: PingFang SC,Arial,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,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. a,a:active,a:hover{outline:0;text-decoration:none;}
  14. @media(max-width:780px ) {
  15. #header{
  16. min-width:760px;
  17. }
  18. }
  19. @media(max-width:1100px ) {
  20. #header.Nosear{
  21. width:1100px;
  22. }
  23. }
  24. /* CSS Document */
  25. /*栅格化宽度类型*/
  26. .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;}
  27. .col-w-1{width:8.333333333333332%}
  28. .col-w-2{width:16.666666666666664%}
  29. .col-w-3{width:25%}
  30. .col-w-4{width:33.33333333333333%}
  31. .col-w-5{width:41.66666666666667%}
  32. .col-w-6{width:50%}
  33. .col-w-7{width:58.333333333333336%}
  34. .col-w-8{width:66.66666666666666%}
  35. .col-w-9{width:75%}
  36. .col-w-10{width:83.33333333333334%}
  37. .col-w-11{width:91.66666666666666%}
  38. .col-w-12{width:100%}
  39. .floatL{ float:left;}
  40. .floatR{float:right;}
  41. .clearfix{ clear:both;}
  42. .clearfix:before,.clearfix:after{display:table;content:" "}
  43. .clearfix:after{clear:both}
  44. /* 显示和隐藏样式 */
  45. .inline {display:inline-block;}
  46. .displayNone{display:none;}
  47. .displayBlock{display:block;}
  48. .ellipsisSty {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  49. .ellipsisSty-2 { display: -webkit-box;height:40px;white-space: normal !important;text-overflow: ellipsis;word-wrap: break-word; -webkit-line-clamp:2;-webkit-box-orient: vertical;overflow: hidden;}
  50. .alignCenter{text-align: center;}
  51. /*默认/主题颜色*/
  52. .mainColor{color:#ff9900;}
  53. .defaultColor{ color:#333;}
  54. /*文字*/
  55. .h1Font{font-size:20px;} /*标题*/
  56. .h2Font{font-size:18px; line-height:30px; color:#333; }
  57. .h3Font{font-size:16px; line-height:28px; color:#555; }
  58. .h4Font{font-size:14px; line-height:26px; color:#333;}
  59. .h5Font{font-size:14px; line-height:22px; color:#666;}
  60. .h6Font{font-size:13px;color:#888;margin-left:8px;}
  61. .pIndent{ padding-left: 13px;color: #888;font-size: 12px;}
  62. /* .h4tit{ color:#078DEF;} */
  63. .thistime{position:relative;padding:0 20px; font-size: 12px; color: #ccc;}
  64. .thistime:before{content:"";display:inline-block;width:4px; height: 4px;border-radius:50%;background: #ccc;position: absolute;top:36%;left:10px;}
  65. .paddingSpace{ padding:4px 0;}
  66. /*圆角*/
  67. /*头像、资源圆角*/
  68. .headRadius{border-radius: 4px;}
  69. /*底板背景圆角*/
  70. .bgRadius{border-radius: 6px;}
  71. /* 表单样式 */
  72. .frmtype{ width:100%; border-radius:5px; border:1px #dadada solid; padding:0 10px; min-height:30px;font-size:14px;line-height:30px;}
  73. textarea.frmtype{line-height:20px;padding:6px 8px;min-height:100px;}
  74. .frmtype:focus{ border:1px solid #ff8500;box-shadow: none;outline:none}
  75. .frmbtn{ width:100px; margin:10px; background:#ff9900; color:#fff; border:none; }
  76. .frmrbtn{ background:none; color:#303030; border:none; }
  77. .updownbtn{text-decoration:underline; color:#333;}
  78. body{height:auto;position: relative;min-height: 100%;}
  79. input{ outline:none;}
  80. /*/////////////////////表单样式/////////////////////// */
  81. .frmtype{font-size:14px;outline: none; /*padding:6px 20px 6px 10px;border:1px #b5b5b5 solid;*/border-radius: 6px;}
  82. .frmtype:focus{box-shadow: none;outline:none}
  83. .frmtypeW{width:98%;margin: auto;}
  84. textarea.frmtype{height:100px;}
  85. input.frmtype[readonly]{background:#EFEFEF;color:#AAAAAA;}
  86. input.frmtype[readonly]:focus{border:1px #b5b5b5 solid;}
  87. /*小按钮*/
  88. .btnModel{display:inline-block;color:#FFFFFF;border:none;background: #FFFFFF; padding:6px 20px;background:#ff9900;}
  89. .btnModel:hover{background:#ff8f00;}
  90. /*取消按钮*/
  91. .btnCancel{background:#edeff4;}
  92. .btnCancel:hover{background:#d6d8de;}
  93. /*按钮不可用状态*/
  94. button.btnModel[disabled]{background:#d6d8de;}
  95. button.btnModel[disabled]:hover{background:#d6d8de;}
  96. .save-block{margin:20px auto 40px;padding:6px 40px;}/*保存按钮*/
  97. .fontLink{background:none;border:none;}/*字体链接按钮*/
  98. .limitNum{text-align: right;color:#AAAAAA;}/*限制字数*/
  99. /*表单消息提示*/
  100. .frmmsg{background:url(../images/con_icon_info_warn.png) 0 center no-repeat;background-size: auto 50%;padding-left:18px;line-height:28px;}
  101. /*header部分*/
  102. .topheader{background: #000;height:30px;font-size:14px;line-height:30px;}
  103. .topheader a{padding:0 10px;margin-right:16px;color:#FFFFFF}
  104. .topheader .downicon{background: url(../images/top_icon_shouji_nor.png) 0 center no-repeat;padding-left:18px;}
  105. #header{width:100%;min-width:1100px;height:60px; background:rgba(55,61,65,1); position:fixed; top:0; z-index:999; }
  106. #header.firstH{background: -webkit-linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,0));
  107. background: linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,0));}
  108. #header.firstL{ background:rgba(255,153,0,0);}
  109. #header.firstB{ background:rgba(55,61,65,1);}
  110. #header.Nosear{position:static;}
  111. .logo{ display:block; width:60px; height:30px;margin:14px 14px 14px 0; background:url(../images/home_icon_logo_orange.png) no-repeat;background-size:100% 100%; float:left;}
  112. .searchblock{ width:280px; height:35px; position:absolute; left:50%; top:50%; margin-left:-140px; margin-top:-17.5px;}
  113. .search-txt{ width:220px;line-height:35px; height:35px; background:#fff; border:none;-moz-border-radius:6px 0 0 6px;-webkit-border-radius:6px 0 0 6px; border-radius:6px 0 0 6px; behavior:url(../js/ie-css3.htc); float:left;font-size:14px;padding-left:10px; color:#a3a3a3;}
  114. .search-btn{ width:35px; height:35px; background:#fff; border-radius:0 6px 6px 0;-moz-border-radius:0 6px 6px 0;-webkit-border-radius:0 6px 6px 0; float:left; cursor:pointer; behavior:url(../js/ie-css3.htc);cursor:pointer;}
  115. .search-icon{ display:block; width:20px; height:20px; background:url(../images/index-icon.png) no-repeat; background-position:left; margin:8px;}
  116. /*顶部右边*/
  117. .header-right{ float:right; /*margin-right:80px;*/}
  118. /*未登录*/
  119. .unlogin{ display:none;float:left;padding:4px 0;}
  120. .loginbtn{float:left; border:2px #e2e2e2 solid; padding:0 20px; border-radius:6px;font-size:14px; line-height:28px; color:#fff; text-align:center; margin:10px 2px; cursor:pointer; }
  121. .loginrbtn{ border:2px transparent solid;padding:0 2px;}
  122. .loginlbtn{margin-right:20px;/* background:#fff;color:#ff9900; */}
  123. /* .loginbtn:hover{border:2px #fff solid;} */
  124. /*已登录*/
  125. .onlogin{ display:none; position:relative;}
  126. .head-portrait{width:40px; height:40px;background-size:100% 100%;-moz-background-size:100% 100%; float:left;margin: 10px 0 10px 16px; cursor:pointer;overflow:hidden; }
  127. .portrait-p{ width:100%;}
  128. .personal-infor{width:202px; height:179px; position:absolute; top:40px; right:2px; display:none;}
  129. .triangleB{ display:block; width:0; height:0; border:8px solid transparent; border-bottom-color:#f3a36c; float:right; margin-right:12px; margin-top:15px;}
  130. .personal-box{ width:202px;background:#f3a36c; clear:both; overflow:hidden;}
  131. .personal-box a{ display:block; width:202px; height:40px;line-height:40px; font-size: 13px; color:#fff;}
  132. .personal-box a:hover{ background:#ff9900;}
  133. .icon{ display:block; width:20px; height:20px; margin-left:15px; margin-right:12px; margin-top:10px; float:left;}
  134. .icon1{ background:url(../images/index-icon.png) no-repeat; background-position:right;}
  135. .icon2{ background:url(../images/index-icon.png) no-repeat; background-position:-60px 0;}
  136. .icon3{ background:url(../images/index-icon.png) no-repeat; background-position:-40px 0;}
  137. .icon4{ background:url(../images/index-icon.png) no-repeat; background-position:-20px 0;}
  138. .myWorkspace{font-size: 14px;line-height:40px; text-align: center;float: left; margin-top: 10px;color: #fff;}
  139. /*主体部分*/
  140. #container{/* background:#fff;*//*overflow: hidden;*/}
  141. .contentBody{width:1050px;height:auto; margin:10px auto; padding:80px 0 2px 0; }
  142. /*产品下载 */
  143. .appstore{width:1000px;color: #696969;text-align: center;margin:90px auto 30px;position:relative;}
  144. .kexiu_logo{margin: 0 20px; position: relative;text-align: left;}
  145. .kexiu_logo img{ width:300px;}
  146. .appstoreBody{margin:8% 0;}
  147. .appstore .computer-image {width:700px;height:510px; background: url(../images/download_windows.png) center center no-repeat;background-size:100% 100%;}
  148. .appstore .subhead{font-size: 16px;line-height: 40px;color: #888;}
  149. .downloadBox{}
  150. .downloadBtn{position:relative;display: inline-block;vertical-align: middle;margin:30px auto 10px;overflow:hidden;}
  151. .downloadBtn .download-btn {position: relative;margin: 20px 10px;border: 1px solid #999;border-radius: 6px;padding: 10px 30px;color: #666;line-height: 46px;font-size: 16px;display: block;width: 240px;height: 70px;}
  152. .downloadBtn .download-btn:hover{ background:#f3f3f3;}
  153. .downloadBtn .download-btn .app-android-icon, .downloadBtn .download-btn .app-ios-icon {float: left;display: block;width: 39px;height: 47px;margin-right: 10px;background: url(../images/app-icons.png) no-repeat;}
  154. .downloadBtn .download-btn .app-android-icon { background-position: 0 -60px;}
  155. .appcodeBox{ text-align:center;}
  156. .appcodeBox .app_code{width:240px; height:240px; margin:10px 20px 0;}
  157. /*------------------------------------------------------------------------------------*/
  158. /*分页*/
  159. .tcdPageCode{ padding: 20px; margin: 10px 0;text-align: left;color: #333;text-align:center;font-size:14px;line-height:24px; }
  160. .tcdPageCode a{display: inline-block;height: 30px;line-height: 30px;padding: 0 10px;border: 1px solid #CCCCCC;margin: 0 8px;color:#333;}
  161. .tcdPageCode a:hover{text-decoration: none;}
  162. .tcdPageCode span.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #ff9900;}
  163. .tcdPageCode span.disabled{ display: inline-block;height: 30px;line-height:30px;padding: 0 10px;margin: 0 8px;color: #ccc;border:1px solid #E5E5E5;}
  164. .tcdPageCode li { display: inline;}
  165. .tcdPageCode a.current{display: inline-block;height:30px;line-height: 30px;padding: 0 10px;margin: 0 8px;border:1px solid #ff9900;}
  166. /*认证标识相关*/
  167. .authiconNew{position:relative;top:2px;display: inline-block;margin-left:4px;background-position: center;background-repeat: no-repeat;}
  168. .authicon-pro{width:16px;height:16px;background-image:url(../images/porfile_icon_zhuanjia_nor.png);background-size: cover;}/*科袖认证专家*/
  169. .authicon-com-ok{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_hig.png);background-size: cover;}/*认证企业*/
  170. .authicon-com-no{width:16px;height:16px;background-image:url(../images/porfile_icon_qiye_nor.png);background-size: cover;}/*未认证企业*/
  171. .authicon-staff-ok{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_hig.png);background-size: cover;}/*企业认证员工*/
  172. .authicon-staff-no{width:44px;height:16px;background-image:url(../images/porfile_icon_yuangong_nor.png);background-size: cover;}/*企业未认证员工*/
  173. .authicon-real{width: 24px;height:16px;background-image:url(../images/porfile_icon_shimin_nor.png);background-size: cover;}/*实名认证用户*/
  174. /*/////////// 专家认证图标 //////////////*/
  175. .authobject{ float:left;}
  176. .authicon{ float:left;width:16px; height:16px;background-size: cover;}
  177. .authicon-cu{background-image: url(../images/porfile_icon_zhuanjia_nor.png);}/*认证科研型专家*/
  178. .authicon-com{background-position: -20px 0;background-size:auto 100%;}/*认证企业型专家*/
  179. /*/////////// 普通用户认证标识 //////////////*/
  180. .authicon2{float:left;position:relative;width:60px; height:20px;margin: 0;background:url(../images/authsort.png) no-repeat;}
  181. .authicon2 span{font-size:12px; margin-left:20px;position: absolute;top: 50%;margin-top: -9px;}
  182. .authicon-mana{background-position: 0 -4px;background-size:100% auto;color:#ff9900;}/*认证科研*/
  183. .authicon-staff{background-position:0 -24px;background-size:100% auto;color:#19AFFF;}/*认证企业*/
  184. .authicon-stu{background-position: 0 -44px;background-size:100% auto;color:#03CE30}/*认证在读学生*/
  185. /*//////////专家身份认证状态////////////*/
  186. /*已认证*/
  187. .authword{ padding:2px 6px; margin-left:6px;border-radius:4px; color: #FFFFFF; font-size: 12px;}
  188. .authed{ background: #FF9900; }
  189. /*认证中*/
  190. .authing{background: #03CE30;}
  191. /*未认证*/
  192. .unauth{background: #efefef;color: #CCCCCC;}
  193. /***********************缺省页面*******************/
  194. .nodatatip{width:40%;margin:100px auto;overflow:hidden;height:100px; font-size:16px; text-align:center;color:#aaa;}
  195. .nodatabox{/*width:100%;*/height: 100%;padding:40px; margin:20px auto;text-align: center;}
  196. .nodatabox .nodata{overflow:hidden; width:50%; margin:auto;}
  197. .nodatabox .nodata li{float:left;}
  198. .nodatabox .picbox{margin:30px auto;}
  199. .nodatabox .picbox .defpic{display:block;margin: auto;width:160px;height:160px; background:url(../images/nodata.png) -12px -760px no-repeat;}
  200. .nodatabox .txtbox { margin:86px auto;}
  201. .nodatabox .currword{font-size: 18px;color: #777777;font-weight:bold;line-height:40px;}
  202. .nodatabox .currtip{ font-size:14px;color: #AAAAAA;}
  203. .nodatabox .keyword{font-size:20px; padding:0 6px;color:#555555;}
  204. /***********************缺省页面*******************/
  205. .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;}
  206. .ResImgBox .resImg{max-width: 100%;max-height: 100%;vertical-align: middle;position: relative;}
  207. .ResImgBox:before {content: ' ';display: inline-block;vertical-align: middle;width: 0;height: 100%;overflow: hidden;margin-left: 0px;}
  208. .beforMargin:before{margin-left:-4px;}
  209. /*kexiu用户协议*/
  210. .privacyBox{max-width:980px;padding: 2% 5% 10%;background:#fafafa;margin:auto;line-height:28px;font-size:15px;}
  211. .privacyBox h2{ text-align: center;margin:20px 10px;font-size: 20px;color: #FFFFFF;background: rgba(255, 153, 0, 0.8);line-height: 50px;border-radius: 10px;}
  212. .privacyBox h3{ line-height:40px; color:#333;padding:4px;}
  213. .privacyBox p{text-indent:1.5em; margin:0; padding:6px;color:#666;}
  214. .privacyBox p.text_indentP{text-indent:2em; }
  215. .privacyBox ul{ margin:0 4px;margin-left:40px;padding:0 4px; color:#666;}
  216. .containerCon{width:1120px;padding:0 10px;position:relative; margin:auto;clear:both}
  217. .containerCon:before,.containerCon:after{display:table;content:" "}
  218. .containerCon:after{clear:both}
  219. /*新版footer*/
  220. footer{position: absolute;right:0; left: 0;bottom:0;background: #373d41;color:#888;font-size:14px;line-height:30px;}
  221. footer .containerCon{background: #373d41;}
  222. footer a{color:#888;text-decoration: none;}
  223. footer p .listlink{margin-right:25px;color:#888;}
  224. footer .bottom-block{padding:30px 0;}
  225. footer .logo-block{width:271px; height:60px;background:url(../images/home_icon_logo_nor.png);background-size:cover;margin-bottom:30px;}
  226. footer .copy-block{color:#666;margin-top:10px;font-size:12px;}
  227. footer .copy-block a{ color:#666;}
  228. footer .copy-block a.beianbox em{display: inline-block;width:14px; height:14px;background:url(../images/home_icon_beian.png);background-size:cover;}
  229. footer .code-block div{text-align: center;}
  230. footer .code-block div:last-child{margin-left:80px;}
  231. footer .codelist{margin:20px auto 10px;width:118px;height:118px;text-align:center;background-position: center center;background-repeat: no-repeat;}
  232. footer .codelist span{display:inline-block;width:94px;height:94px;margin:12px auto; }
  233. footer .appcode{background-image: url(../images/home_bg_xiazaiapp_nor.png);}
  234. footer .appcode span{background-image:url(../images/home_code_app.jpg);background-size: cover;}
  235. footer .weixincode{background-image: url(../images/home_bg_guanzhu_nor.png);}
  236. footer .weixincode span{background-image:url(../images/home_code_weixin.jpg);background-size: cover;}
  237. /*新版header*/
  238. header{background: #373d41;color:#888;font-size:16px;line-height:32px;height:60px;}
  239. header .containerCon{background: #373d41;}
  240. header .headlogo h1 {width: 60px;height: 30px;margin: 14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_logo_orange.png);background-repeat:no-repeat;background-size:contain;overflow: hidden;}
  241. header .headnav{margin:0 14px;}
  242. header .headnav li{float:left;margin:0 4px; padding:12px 0;}
  243. header .headnav li a{ color:#FFFFFF; padding:14px 18px;}
  244. header .headuser{overflow: hidden; width: 38px;height: 38px;margin:10px 0 12px 20px;cursor: pointer;}
  245. header .headnavbtn{margin:20px 6px;}
  246. header .headnavbtn li{float:right;margin:0 6px;}
  247. header .navbtn{width: 18px;height:20px;cursor: pointer; padding:10px 18px;background-position:center;background-repeat:no-repeat;}
  248. header .navnews{background-image: url(../images/nav_button_news_nor.png);background-size:contain;}
  249. header .navsearch{background-image: url(../images/nav_button_search_nor_2.png);background-size:contain;}
  250. header .headnav li.navcurrent{border-bottom:4px solid #ff9900;}