base.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. body {
  2. color: #333;
  3. background: #f7f7f7;
  4. }
  5. body,
  6. h1,
  7. h2,
  8. h3,
  9. h4,
  10. h5,
  11. h6,
  12. .h1,
  13. .h2,
  14. .h3,
  15. .h4,
  16. .h5,
  17. .h6,
  18. a {
  19. font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti, "Microsoft YaHei";
  20. }
  21. h1,
  22. h2,
  23. h3,
  24. h4,
  25. h5 {
  26. margin: 0;
  27. }
  28. ul,
  29. li {
  30. list-style: none;
  31. margin: 0;
  32. padding: 0;
  33. }
  34. a:hover,
  35. a:focus {
  36. text-decoration: none;
  37. }
  38. a,
  39. a:focus,
  40. .btn:focus,
  41. .btn:active:focus,
  42. .btn.active:focus,
  43. .btn.focus,
  44. .btn.focus:active,
  45. .btn.active.focus {
  46. outline: none;
  47. }
  48. .vip_hot {
  49. display: inline-block;
  50. position: absolute;
  51. width: 14px;
  52. height: 16px;
  53. margin-top: 20px;
  54. margin-left: 2px;
  55. background: url(../images/VIP_Hot.png) 0 0 no-repeat;
  56. }
  57. .vip_hot_pre {
  58. display: inline-block;
  59. position: absolute;
  60. width: 14px;
  61. height: 16px;
  62. margin-top: -5px;
  63. margin-left: 2px;
  64. background: url(../images/VIP_Hot.png) 0 0 no-repeat;
  65. }
  66. .new_icon {
  67. position: absolute;
  68. display: inline-block;
  69. width: 26px;
  70. height: 13px;
  71. top: 3px;
  72. right: 15%;
  73. background: url(../images/new_ico.png) 0 0 no-repeat;
  74. }
  75. /*theme color 主题色*/
  76. .text_default,
  77. .text_default:focus {
  78. color: #fb8d5c;
  79. }
  80. a.text_default:hover {
  81. color: #fb5d0c;
  82. }
  83. .text_tips {
  84. color: #ff4646;
  85. }
  86. a.text_tips:hover {
  87. color: #ff5757;
  88. }
  89. .a_link {
  90. color: #357ebc;
  91. font-size: 12px;
  92. }
  93. .color_666 {
  94. color: #666;
  95. }
  96. .color_80 {
  97. color: #808080;
  98. }
  99. .fz_14 {
  100. font-size: 14px;
  101. }
  102. .bg_default,
  103. .btn_default {
  104. background: #5c92ef;
  105. }
  106. .bg_ccc {
  107. background: #ccc;
  108. }
  109. .btn_success {
  110. background: #78bf78;
  111. }
  112. .btn_white {
  113. background: #fff;
  114. border: 1px solid #fb8d5c;
  115. }
  116. .btn_tips {
  117. background: #f96363;
  118. }
  119. .btn_default,
  120. .btn_success,
  121. .btn_tips {
  122. color: #fff;
  123. }
  124. .btn_hot {
  125. background: #f96363;
  126. }
  127. .btn_success {
  128. background: #78bf78;
  129. }
  130. .btn_default {
  131. background: #5c92ef;
  132. }
  133. .btn_hot,
  134. .btn_success,
  135. .btn_default {
  136. vertical-align: middle;
  137. color: #fff;
  138. outline: none;
  139. }
  140. .btn_dismiss,
  141. .btn_dismiss:hover {
  142. border: 1px solid #fc8e5d;
  143. background: #fff;
  144. color: #fc8e5d;
  145. outline: none;
  146. }
  147. .btn_hot:hover,
  148. .btn_success:hover,
  149. .btn_default:hover,
  150. .btn_hot:focus,
  151. .btn_success:focus,
  152. .btn_default:focus {
  153. color: #fff;
  154. outline: none;
  155. }
  156. .fz_20 {
  157. font-size: 20px;
  158. }
  159. .m-b_40 {
  160. margin-bottom: 40px;
  161. }
  162. .m-t_60 {
  163. margin-top: 60px;
  164. }
  165. .color_4c{
  166. color: #4c4c4c;
  167. }
  168. /*导航条*/
  169. #nav-box {
  170. position: relative;
  171. min-height: 70px;
  172. margin-bottom: 0;
  173. border: none;
  174. }
  175. #nav-box .container-fluid {
  176. max-width: 1170px;
  177. }
  178. #nav-box.navbar-default {
  179. background-color: #fff;
  180. border-bottom: 2px solid #5c92ef;
  181. }
  182. #nav-box .navbar-brand{
  183. float: left;
  184. padding: 0 15px;
  185. height: 70px;
  186. }
  187. #nav-box .navbar-brand{
  188. padding: 0;
  189. }
  190. #nav-box .navbar-brand .logo{
  191. display: block;
  192. width: 158px;
  193. height: 70px;
  194. background: url(../images/logohome.png) 0 center no-repeat;
  195. }
  196. #nav-box .navbar-brand h1{
  197. height: 0;
  198. font-size: 0;
  199. overflow: hidden;
  200. text-decoration: -9999px;
  201. }
  202. #nav-box .navbar-toggle {
  203. margin-left: 15px;
  204. margin-top: 50px;
  205. }
  206. .navbar-header{
  207. float: right;
  208. }
  209. /*main-nav*/
  210. #main-nav{
  211. margin-left: 45px;
  212. }
  213. #main-nav li a{
  214. padding: 0;
  215. }
  216. #main-nav li{
  217. margin-right: 60px;
  218. }
  219. #main-nav li a{
  220. padding: 0;
  221. line-height: 70px;
  222. font-size: 16px;
  223. color: #666;
  224. }
  225. #main-nav li a:hover {
  226. color: #5c92ef;
  227. }
  228. #main-nav li.active a,
  229. #main-nav li.active a:hover,
  230. .navbar-default #main-nav li.active a:focus {
  231. color: #5c92ef;
  232. background-color: #fff;
  233. outline: none;
  234. }
  235. .header-user{
  236. float: right;
  237. display: block;
  238. }
  239. .header-user li{
  240. float: right;
  241. margin-left: 15px;
  242. line-height: 70px;
  243. }
  244. .header-user .notice-tips{
  245. display: block;
  246. font-size: 0;
  247. }
  248. .notice-tips .notice-count{
  249. display: none;
  250. vertical-align: middle;
  251. padding: 2px 10px;
  252. line-height: 1;
  253. font-size: 12px;
  254. color: #fff;
  255. border-radius: 8px;
  256. background: #ff5224;
  257. }
  258. .notice-tips img{
  259. vertical-align: middle;
  260. }
  261. .sign_in_btn,
  262. .register_btn,
  263. .register_btn_email,
  264. .register_btn_mobile,
  265. .logout_btn {
  266. width: 70px;
  267. height: 30px;
  268. text-align: center;
  269. padding: 0;
  270. border-radius: 15px;
  271. }
  272. .sign_in_btn,
  273. .logout_btn{
  274. color: #5c92ef;
  275. /*border: 1px solid #5c92ef;*/
  276. background: fff;
  277. }
  278. .sign_in_btn:hover,
  279. .sign_in_btn:active,
  280. .sign_in_btn:focus,
  281. .logout_btn:hover,
  282. .logout_btn:active,
  283. .logout_btn:focus{
  284. color: #5c92ef;
  285. border: 1px solid #5c92ef;
  286. background: fff;
  287. }
  288. .register_btn,
  289. .register_btn:hover,
  290. .register_btn:active,
  291. .register_btn:focus {
  292. color: #5c92ef;
  293. background: #fff;
  294. border: 1px solid #5c92ef;
  295. }
  296. .register_btn_email,
  297. .register_btn_email:hover,
  298. .register_btn_email:active,
  299. .register_btn_email:focus {
  300. color: #5c92ef;
  301. background: #fff;
  302. border: 1px solid #5c92ef;
  303. }
  304. .register_btn_mobile,
  305. .register_btn_mobile:hover,
  306. .register_btn_mobile:active,
  307. .register_btn_mobile:focus {
  308. color: #5c92ef;
  309. background: #fff;
  310. border: 1px solid #5c92ef;
  311. }
  312. .other_nav {
  313. position: relative;
  314. }
  315. .other_nav .page_title {
  316. line-height: 70px;
  317. font-size: 16px;
  318. width: auto;
  319. font-weight: bold;
  320. }
  321. .other_nav_right {
  322. float: right;
  323. }
  324. .other_nav_right .back_btn {
  325. padding: 0;
  326. width: 120px;
  327. height: 30px;
  328. line-height: 28px;
  329. margin: 20px 0;
  330. border-radius: 20px;
  331. text-align: center;
  332. color: #fff;
  333. background: #5c92ef;
  334. }
  335. /*子导航*/
  336. .mini-menu-box {
  337. width: 100%;
  338. background: #f2f2f2;
  339. }
  340. #mini-menu {
  341. min-height: 40px;
  342. }
  343. #mini-menu li {
  344. float: left;
  345. height: 40px;
  346. line-height: 40px;
  347. text-align: center;
  348. width: 14.28%;
  349. position: relative;
  350. }
  351. #mini-menu li a {
  352. display: block;
  353. color: #666;
  354. font-size: 14px;
  355. }
  356. #mini-menu li a:hover {
  357. background: #e8effc;
  358. }
  359. #mini-menu li.active a {
  360. color: #fff;
  361. background: #5c92ef;
  362. }
  363. /*#footer*/
  364. #footer {
  365. margin-top: 25px;
  366. padding: 15px 0;
  367. background: #fff;
  368. border-top: 1px solid #e6e6e6;
  369. }
  370. #footer p {
  371. margin: 5px 0;
  372. color: #808080;
  373. font-size: 14px;
  374. }
  375. #footer .site_map a {
  376. color: #808080;
  377. }
  378. #footer .site_map a:hover {
  379. color: #fb8d5c;
  380. text-decoration: underline;
  381. }
  382. /*登陆注册*/
  383. #loginModal .modal-header,
  384. #loginModal .modal-footer,
  385. #zhaoModal .modal-header,#zhaohuiModal .modal-header,
  386. #zhaoModal .modal-header,#zhaohuiModal .modal-footer,,
  387. #registerModal .modal-header,
  388. #registerModal .modal-footer {
  389. padding: 0;
  390. }
  391. #loginModal .modal-footer,
  392. #zhaoModal .modal-header,#zhaohuiModal .modal-footer,,
  393. #registerModal .modal-footer {
  394. border: 0;
  395. }
  396. #loginModal .modal-header,
  397. #zhaoModal .modal-header,#zhaohuiModal .modal-header,
  398. #registerModal .modal-header {
  399. border-bottom: none;
  400. position: relative;
  401. }
  402. #loginModal .modal-header .close,
  403. #zhaoModal .modal-header .close,
  404. #zhaohuiModal .modal-header .close,
  405. #registerModal .modal-header .close {
  406. position: absolute;
  407. top: 20px;
  408. right: 20px;
  409. width: 12px;
  410. height: 12px;
  411. background: url(../img/x.png) 0 0 no-repeat;
  412. font-size: 0;
  413. opacity: 1;
  414. }
  415. #loginModal .modal-title,
  416. #zhaoModal .modal-title,
  417. #zhaohuiModal .modal-title,
  418. #registerModal .modal-title {
  419. padding-top: 20px;
  420. text-align: center;
  421. font-size: 18px;
  422. color: #5c92ef;
  423. }
  424. #loginModal .modal-body,
  425. #zhaoModal .modal-body,
  426. #zhaohuiModal .modal-body,
  427. #registerModal .modal-body {
  428. padding: 0;
  429. }
  430. #loginModal .modal-content,
  431. #zhaoModal .modal-content,
  432. #zhaohuiModal .modal-content,
  433. #registerModal .modal-content {
  434. overflow: hidden;
  435. }
  436. #loginModal .modal-dialog,
  437. #zhaoModal .modal-dialog,
  438. #zhaohuiModal .modal-dialog,
  439. #registerModal .modal-dialog {
  440. max-width: 420px;
  441. }
  442. #loginModal .login_form_box,
  443. #zhaoModal .login_form_box,
  444. #zhaohuiModal .login_form_box,
  445. #registerModal .register_form_box {
  446. width: 280px;
  447. margin: 0 auto;
  448. margin-top: 50px;
  449. }
  450. #loginModal .login_form_box .form-control,
  451. #zhaoModal .login_form_box .form-control,
  452. #zhaohuiModal .login_form_box .form-control,
  453. #registerModal .register_form_box .form-control {
  454. height: 40px;
  455. }
  456. #loginModal .loginPhone_box,
  457. #zhaoModal .loginPhone_box,
  458. #zhaohuiModal .loginPhone_box,
  459. #registerModal .registerPhone_box,
  460. #registerModal .verificationCode_box {
  461. margin-bottom: 20px;
  462. }
  463. #registerModal .registerPassword_box,#zhaohuiModal .registerPassword_box {
  464. margin-bottom: 0;
  465. }
  466. #loginModal .loginPassword_box,
  467. #zhaoModal .loginPassword_box,#zhaohuiModal .loginPassword_box {
  468. margin-bottom: 10px;
  469. }
  470. #loginModal .forget_password,
  471. #zhaoModal .forget_password,#zhaohuiModal .forget_password {
  472. color: #5c93ef;
  473. font-size: 12px;
  474. }
  475. #loginModal .submit_box,
  476. #zhaoModal .submit_box,#zhaohuiModal .submit_box,
  477. #registerModal .submit_box {
  478. padding: 30px 0;
  479. }
  480. #loginModal .submit_btn,
  481. #zhaoModal .submit_btn,#zhaohuiModal .submit_btn,
  482. #registerModal .submit_btn {
  483. padding: 0;
  484. width: 180px;
  485. height: 40px;
  486. line-height: 40px;
  487. background: #5c92ef;
  488. color: #fff;
  489. }
  490. #loginModal .register_link,
  491. #zhaoModal .register_link,#zhaohuiModal .register_link,
  492. #registerModal .login_link {
  493. margin-top: 20px;
  494. }
  495. #loginModal .register_link span,
  496. #zhaoModal .register_link span,#zhaohuiModal .register_link span,
  497. #registerModal .login_link span {
  498. color: #999;
  499. font-size: 12px;
  500. }
  501. #loginModal .register_link a,
  502. #zhaoModal .register_link a,#zhaohuiModal .register_link a,
  503. #registerModal .login_link a {
  504. color: #5c92ef;
  505. font-size: 12px;
  506. }
  507. #loginModal .footer_content,
  508. #zhaoModal .footer_content,#zhaohuiModal .footer_content,
  509. #registerModal .footer_content {
  510. font-size: 14px;
  511. text-align: center;
  512. padding: 12px 35px;
  513. background: #fff;
  514. color: #666;
  515. }
  516. #loginModal .footer_content a,
  517. #zhaoModal .footer_content a,#zhaohuiModal .footer_content a,
  518. #registerModal .footer_content a {
  519. color: #ff4949;
  520. text-decoration: underline;
  521. }
  522. #loginModal .footer_content a:hover,
  523. #zhaoModal .footer_content a:hover,#zhaohuiModal .footer_content a:hover,
  524. #registerModal .footer_content a:hover {
  525. color: #fa4040;
  526. }
  527. #registerModal .getVerificationCode {
  528. background: #5c92ef;
  529. color: #fff;
  530. height: 40px;
  531. }
  532. .reg_agreement_box{
  533. margin-top: 10px;
  534. font-size: 13px;
  535. }
  536. .reg_agreement_box .reg_agreement_check{
  537. vertical-align: -2px;
  538. }
  539. .reg_agreement_box .reg_agreement_tips{
  540. display: none;
  541. width: 100%;
  542. margin-top: 10px;
  543. text-align: center;
  544. padding: 5px 0;
  545. background: #f7e1df;
  546. color: #da4949;
  547. }
  548. .reg_agreement_link{
  549. color: #5c92ef;
  550. }
  551. @media (max-width: 768px) {
  552. .navbar-header{
  553. float: none;
  554. width: 100%;
  555. }
  556. .navbar-toggle{
  557. float: left;
  558. margin-right:0;
  559. margin-left: 15px;
  560. }
  561. #nav-box .navbar-brand{
  562. margin-top: 15px;
  563. float: none;
  564. height: 40px;
  565. text-align: center;
  566. }
  567. #nav-box .navbar-brand .logo{
  568. margin: 0 auto;
  569. height: 40px;
  570. }
  571. #main-nav {
  572. margin: 0;
  573. }
  574. #main-nav li{
  575. display: inline-block;
  576. margin: 0 15px 0 0;
  577. }
  578. #main-nav li a{
  579. line-height: 40px;
  580. }
  581. }
  582. @media (max-width: 992px) {
  583. #main-nav {
  584. margin-left: 15px;
  585. padding: 0;
  586. }
  587. }
  588. @media (min-width: 1200px) {
  589. #nav-box .navbar-brand{
  590. display: block;
  591. }
  592. }