common.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. @font-face {
  2. font-family: 'icomoon';
  3. src: url('../fonts/icomoon.eot');
  4. src: url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  5. url('../fonts/icomoon.woff') format('woff'), /* chrome��firefox */
  6. url('../fonts/icomoon.ttf') format('truetype'), /* chrome��firefox��opera��Safari, Android, iOS 4.2+*/
  7. url('../fonts/icomoon.svg#ifont') format('svg');
  8. /* IE9*/
  9. /* iOS 4.1- */
  10. }
  11. .icon {
  12. font-family: 'icomoon';
  13. font-style: normal;
  14. -webkit-font-smoothing: antialiased;
  15. /*-webkit-text-stroke-width: 0.2px;*/
  16. -moz-osx-font-smoothing: grayscale;
  17. }
  18. body {
  19. font-family: '\5FAE\8F6F\96C5\9ED1';
  20. }
  21. .vh {
  22. visibility: hidden;
  23. }
  24. a.abtn.default {
  25. background-color: #28A980;
  26. }
  27. .mt20 {
  28. margin-top: 20px;
  29. }
  30. .mt30 {
  31. margin-top: 30px;
  32. }
  33. .mt40 {
  34. margin-top: 40px;
  35. }
  36. .mt50 {
  37. margin-top: 50px;
  38. }
  39. .mb20 {
  40. margin-bottom: 20px;
  41. }
  42. .ptb50 {
  43. padding: 50px 0;
  44. }
  45. .bgf9f9f9 {
  46. background-color: #f4f4f4;
  47. }
  48. .c999 {
  49. color: #999;
  50. }
  51. .row>div {
  52. min-height: 320px;
  53. }
  54. /* pc 的时候 */
  55. @media (min-width: 768px) {
  56. /* 头部样式改写 */
  57. .J_header {
  58. height: 90px;
  59. }
  60. .J_header .navbar {
  61. min-height: 90px;
  62. }
  63. .J_header .navbar-brand {
  64. padding: 0;
  65. height: 90px;
  66. }
  67. .J_header .navbar-brand img {
  68. height: 100%;
  69. vertical-align: top;
  70. }
  71. .J_header .navbar-nav>li>a {
  72. padding: 35px 20px 24px;
  73. background: url(../images/line.png) no-repeat right center;
  74. font-size: 16px;
  75. }
  76. .J_header .navbar-nav>li.current>a {
  77. color: #28A980;
  78. }
  79. .J_header .navbar-nav>li:last-child>a {
  80. background: none;
  81. }
  82. .J_header .navbar-default {
  83. background-color: #fff;
  84. border-color: #ddd;
  85. }
  86. .J_header .navbar-default .navbar-nav>.open>a {
  87. background-color: transparent;
  88. }
  89. .J_header .dropdown-menu {
  90. min-width: 130px;
  91. left: 50%;
  92. margin-left: -65px;
  93. background-color: rgba(255, 255, 255, 0.9);
  94. }
  95. .J_header .dropdown-menu>li {}
  96. .J_header .dropdown-menu>li>a {
  97. padding: 6px 0;
  98. text-align: center;
  99. }
  100. .J_header .dropdown-menu>li>a:hover {
  101. background-color: rgba(255, 255, 255, 0.6);
  102. color: #28A980;
  103. }
  104. .J_header .navbar-default .navbar-nav>li>a:focus,
  105. .J_header .navbar-default .navbar-nav>li>a:hover {
  106. color: #28A980;
  107. }
  108. .J_header .navbar-default .navbar-nav>li>a span.underline {
  109. display: block;
  110. margin-top: 8px;
  111. height: 3px;
  112. }
  113. .J_header .navbar-default .navbar-nav>li.current>a span.underline {
  114. background-color: #28A980;
  115. }
  116. .J_header .caret {
  117. display: none;
  118. }
  119. /* 页脚 */
  120. .J_footer {
  121. padding-top: 40px;
  122. }
  123. }
  124. /* mobile的时候 */
  125. @media (max-width: 768px) {
  126. /* 头部样式改写 */
  127. .J_header {
  128. height: 50px;
  129. }
  130. .J_header .navbar-brand {
  131. padding: 0;
  132. }
  133. .J_header .navbar-brand img {
  134. height: 100%;
  135. vertical-align: top;
  136. }
  137. .J_header .navbar-default {
  138. background-color: #fff;
  139. border-color: #ddd;
  140. }
  141. .J_header .navbar-default .navbar-nav>li>a span.underline {
  142. display: none;
  143. }
  144. .J_header .caret {
  145. display: inline-block;
  146. }
  147. /* 页脚 */
  148. .J_footer {
  149. padding-top: 20px;
  150. }
  151. }
  152. /* modal */
  153. .modal-content {
  154. border: none;
  155. border-radius: 0;
  156. }
  157. .modal-dialog {
  158. margin-top: 40%;
  159. }
  160. /* 页面标题 */
  161. .J_titleStyle1 {}
  162. .J_titleStyle1 .page-header {
  163. margin-bottom: 10px;
  164. border-bottom: none;
  165. }
  166. .J_titleStyle1 .page-header .pull-left {
  167. position: relative;
  168. padding-left: 14px;
  169. }
  170. .J_titleStyle1 .page-header .pull-left i {
  171. position: absolute;
  172. left: 0;
  173. top: 0;
  174. width: 5px;
  175. height: 100%;
  176. background-color: #28A980;
  177. }
  178. .J_titleStyle1 .page-header .pull-left h4 {
  179. margin-top: 0;
  180. margin-bottom: 0;
  181. }
  182. .J_titleStyle1 .page-header .pull-right {}
  183. .J_titleStyle1 .page-header .pull-right a {
  184. color: #999;
  185. }
  186. /* 页面标题 */
  187. .J_titleStyle2 {}
  188. .J_titleStyle2 .page-header {
  189. margin-top: 0;
  190. margin-bottom: 10px;
  191. padding-bottom: 12px;
  192. border-bottom: 2px solid #eee;
  193. }
  194. .J_titleStyle2 .page-header .pull-left {
  195. position: relative;
  196. }
  197. .J_titleStyle2 .page-header .pull-left i {
  198. display: none;
  199. }
  200. .J_titleStyle2 .page-header .pull-left h4 {
  201. margin-top: 0;
  202. margin-bottom: 0;
  203. }
  204. .J_titleStyle2 .page-header .pull-right {}
  205. .J_titleStyle2 .page-header .pull-right a {
  206. color: #999;
  207. }
  208. /* pageBanner */
  209. .J_pageBanner {
  210. position: relative;
  211. text-align: center;
  212. }
  213. .J_pageBanner img {
  214. width: 100%;
  215. }
  216. /* banner */
  217. .J_banner {}
  218. .J_banner .carousel-inner>.item>a>img {
  219. width: 100%;
  220. }
  221. /* mediaList */
  222. .J_mediaList {}
  223. .J_mediaList .m_list {}
  224. .J_mediaList .m_list .media-list {}
  225. .J_mediaList .m_list .media-list .media {
  226. height: 70px;
  227. overflow: hidden;
  228. }
  229. .J_mediaList .m_list .media-list .media .pull-left {}
  230. .J_mediaList .m_list .media-list .media .pull-left .media-object {
  231. width: 124px;
  232. height: 70px;
  233. }
  234. .J_mediaList .m_list .media-list .media .media-body {}
  235. .J_mediaList .m_list .media-list .media .media-body .media-heading {
  236. font-size: 16px;
  237. }
  238. .J_mediaList .m_list .media-list .media .media-body p {
  239. overflow: hidden;
  240. text-overflow: ellipsis;
  241. display: -webkit-box;
  242. -webkit-line-clamp: 2;
  243. -webkit-box-orient: vertical;
  244. margin-top: 8px;
  245. color: #999;
  246. }
  247. /* 文字列表 */
  248. .J_textList {}
  249. .J_textList .t_list {}
  250. .J_textList .t_list .l_item {
  251. position: relative;
  252. padding-right: 80px;
  253. height: 32px;
  254. cursor: pointer;
  255. }
  256. .J_textList .t_list .l_item .i_link {
  257. display: block;
  258. padding-left: 14px;
  259. line-height: 32px;
  260. background: url(../images/dot.png) no-repeat 0 center;
  261. }
  262. .J_textList .t_list .l_item .i_time {
  263. display: block;
  264. position: absolute;
  265. right: 0;
  266. top: 0;
  267. line-height: 32px;
  268. }
  269. .J_textList .t_list .l_item img {
  270. display: none;
  271. }
  272. .J_textList .t_list .l_item a {
  273. display: block;
  274. width: 100%;
  275. white-space: nowrap;
  276. overflow: hidden;
  277. text-overflow: ellipsis;
  278. color: #333;
  279. }
  280. .J_textList .t_list .l_item span {
  281. display: block;
  282. color: #999;
  283. line-height: 32px;
  284. }
  285. .J_textList .t_list .l_item p {
  286. display: none;
  287. }
  288. .J_textList .t_page {
  289. text-align: center;
  290. }
  291. .J_textList .t_page li {
  292. display: inline-block;
  293. margin-top: 20px;
  294. }
  295. .J_textList .t_page li span,
  296. .J_textList .t_page li a {
  297. display: inline-block;
  298. margin: 0 6px;
  299. padding: 0 14px;
  300. height: 30px;
  301. line-height: 30px;
  302. border: 1px solid #eee;
  303. font-size: 12px;
  304. color: #999;
  305. }
  306. .J_textList .t_page li.prev span.current {
  307. border-color: #eee;
  308. color: #999;
  309. cursor: not-allowed;
  310. }
  311. .J_textList .t_page li span.current {
  312. border-color: #28A980;
  313. color: #28A980;
  314. cursor: not-allowed;
  315. }
  316. .J_textList .t_page li.next span.current {
  317. border-color: #eee;
  318. color: #999;
  319. cursor: not-allowed;
  320. }
  321. .J_textList .t_page li a:hover {
  322. border-color: #28A980;
  323. text-decoration: none;
  324. color: #28A980;
  325. }
  326. .J_textList .t_list .l_item.first {
  327. height: 90px;
  328. padding-left: 160px;
  329. }
  330. .J_textList .t_list .l_item.first .i_link {
  331. padding-left: 0;
  332. line-height: normal;
  333. background: none;
  334. font-size: 16px;
  335. color: #28A980;
  336. }
  337. .J_textList .t_list .l_item.first .i_time {
  338. line-height: normal;
  339. }
  340. .J_textList .t_list .l_item.first img {
  341. display: block;
  342. position: absolute;
  343. left: 0;
  344. top: 0;
  345. width: 142px;
  346. height: 80px;
  347. }
  348. .J_textList .t_list .l_item.first a {}
  349. .J_textList .t_list .l_item.first span {}
  350. .J_textList .t_list .l_item.first p {
  351. overflow: hidden;
  352. text-overflow: ellipsis;
  353. display: -webkit-box;
  354. -webkit-line-clamp: 2;
  355. -webkit-box-orient: vertical;
  356. position: absolute;
  357. top: 30px;
  358. height: 52px;
  359. line-height: 26px;
  360. color: #999;
  361. }
  362. .J_textList.showImg .t_list .l_item {
  363. height: 90px;
  364. padding-left: 160px;
  365. }
  366. .J_textList.showImg .t_list .l_item .i_link {
  367. padding-left: 0;
  368. line-height: normal;
  369. background: none;
  370. font-size: 16px;
  371. color: #28A980;
  372. }
  373. .J_textList.showImg .t_list .l_item .i_time {
  374. line-height: normal;
  375. }
  376. .J_textList.showImg .t_list .l_item img {
  377. display: block;
  378. position: absolute;
  379. left: 0;
  380. top: 0;
  381. width: 142px;
  382. height: 80px;
  383. }
  384. .J_textList.showImg .t_list .l_item a {}
  385. .J_textList.showImg .t_list .l_item span {}
  386. .J_textList.showImg .t_list .l_item p {
  387. overflow: hidden;
  388. text-overflow: ellipsis;
  389. display: -webkit-box;
  390. -webkit-line-clamp: 2;
  391. -webkit-box-orient: vertical;
  392. position: absolute;
  393. top: 30px;
  394. height: 52px;
  395. line-height: 26px;
  396. color: #999;
  397. }
  398. .J_textList.notPage .t_page {
  399. display: none;
  400. }
  401. .J_textList.hideImg .t_list .l_item.first {
  402. padding-left: 0;
  403. }
  404. .J_textList.hideImg .t_list .l_item.first img {
  405. display: none;
  406. }
  407. .J_textList.hasBorder .t_list .l_item {
  408. border-bottom: 1px dashed #ddd;
  409. }
  410. /* 二级页面菜单 */
  411. .J_menuList {}
  412. .J_menuList .m_title {}
  413. .J_menuList .m_title .t_txt {
  414. width: 100%;
  415. line-height: 50px;
  416. background-color: #28A980;
  417. text-indent: 20px;
  418. white-space: nowrap;
  419. overflow: hidden;
  420. text-overflow: ellipsis;
  421. font-size: 16px;
  422. color: #fff;
  423. }
  424. .J_menuList .m_list {
  425. border: 1px solid #ddd;
  426. border-top: 0;
  427. }
  428. .J_menuList .m_list .l_item {
  429. border-bottom: 1px solid #ddd;
  430. }
  431. .J_menuList .m_list .l_item .m_default {}
  432. .J_menuList .m_list .l_item .m_default a {
  433. display: block;
  434. width: 100%;
  435. line-height: 54px;
  436. text-indent: 20px;
  437. white-space: nowrap;
  438. overflow: hidden;
  439. text-overflow: ellipsis;
  440. font-size: 16px;
  441. color: #666;
  442. }
  443. .J_menuList .m_list .l_item .m_default a:hover {
  444. text-decoration: none;
  445. }
  446. .J_menuList .m_list .l_item.current .m_default a {
  447. color: #28A980;
  448. }
  449. .J_menuList .m_list .l_item:last-child {
  450. border-bottom: none;
  451. }
  452. /* detail */
  453. .J_detail {
  454. padding: 30px;
  455. border: 1px solid #ddd;
  456. }
  457. .J_detail .d_header {
  458. padding-bottom: 20px;
  459. border-bottom: 1px solid #ddd;
  460. }
  461. .J_detail .d_header .h_title {
  462. text-align: center;
  463. font-size: 24px;
  464. color: #333;
  465. }
  466. .J_detail .d_header .h_intro {
  467. margin-top: 14px;
  468. text-align: center;
  469. }
  470. .J_detail .d_header .h_intro span {
  471. margin: 0 10px;
  472. color: #999;
  473. }
  474. .J_detail .d_main {
  475. margin-top: 10px;
  476. }
  477. .J_detail .d_main p {}
  478. .J_detail .d_footer {
  479. margin-top: 40px;
  480. padding: 20px 0;
  481. border-top: 1px solid #ddd;
  482. }
  483. .J_detail .d_footer .f_left {
  484. float: left;
  485. }
  486. .J_detail .d_footer .f_left a {}
  487. .J_detail .d_footer .f_right {
  488. float: right;
  489. }
  490. .J_detail .d_footer .f_right a {}
  491. /* alert */
  492. .J_alert .modal-dialog {
  493. margin-top: 20%;
  494. }
  495. /* 页脚 */
  496. .J_footer {
  497. background-color: #333;
  498. color: #bbb;
  499. }
  500. .J_footer .row>div {
  501. margin-bottom: 30px;
  502. }
  503. .J_footer p {
  504. line-height: 24px;
  505. }
  506. .J_footer p i {
  507. margin-right: 4px;
  508. vertical-align: middle;
  509. font-size: 16px;
  510. }
  511. .J_footer a {
  512. line-height: 24px;
  513. color: #bbb;
  514. }
  515. .J_footer .copy-right {
  516. padding: 10px;
  517. background-color: #222;
  518. text-align: center;
  519. font-size: 12px;
  520. color: #666;
  521. }