content.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  1. * *
  2. * 代码库 *
  3. * www.dmaku.com *
  4. * 努力创建完善、持续更新插件以及模板 *
  5. * *
  6. ****************************************************************/
  7. /* ------------------------------------------------------------------------------------------------
  8. *
  9. * 查看更新日志.txt
  10. *
  11. ------------------------------------------------------------------------------------------------*/
  12. /*-------------------------------------
  13. Content typography
  14. -------------------------------------*/
  15. .qhd-content h1, .qhd-content h2, .qhd-content h3, .qhd-content h4, .qhd-content h5, .qhd-content h6 {
  16. font-weight: bold;
  17. }
  18. .qhd-content h1 {
  19. font-size: 34px;
  20. line-height: 1.3em;
  21. margin-bottom: 5px;
  22. }
  23. .qhd-content h2 {
  24. font-size: 30px;
  25. line-height: 1.2em;
  26. margin-bottom: 10px;
  27. }
  28. .qhd-content h3 {
  29. font-size: 26px;
  30. line-height: 1.6em;
  31. margin-bottom: 10px;
  32. }
  33. .qhd-content h4 {
  34. font-size: 22px;
  35. line-height: 1.25em;
  36. margin-bottom: 10px;
  37. }
  38. .qhd-content h5 {
  39. font-size: 18px;
  40. line-height: 1.6em;
  41. margin-bottom: 10px;
  42. }
  43. .qhd-content h6 {
  44. font-size: 14px;
  45. line-height: 1.5em;
  46. margin-bottom: 10px;
  47. }
  48. .qhd-content p {
  49. line-height: 160%;
  50. margin-bottom: 15px;
  51. }
  52. .qhd-content blockquote {
  53. background: url("../images/quote.png") no-repeat 0 top;
  54. display: block;
  55. font-family: Georgia, "Times New Roman", Times, serif;
  56. padding: 10px 20px 10px 45px;
  57. color: #666;
  58. line-height: 160%;
  59. margin-bottom: 15px;
  60. } /* 引用 */
  61. .qhd-content blockquote em {
  62. color: #999;
  63. text-align: right;
  64. display: block;
  65. }
  66. .dropcap {
  67. float: left;
  68. padding: 10px 10px 5px 0;
  69. font-weight: bold;
  70. } /* 首字下沉 */
  71. .qhd-content hr {
  72. border: 1px solid #ddd;
  73. border-width: 0 0 1px 0;
  74. height: 1px;
  75. font-size: 0;
  76. margin: 25px 0;
  77. clear: both;
  78. *margin:17px 0;
  79. }
  80. .qhd-content .br {
  81. font-size: 0;
  82. }
  83. /* typo */
  84. .qhd-content .typo:before, .qhd-content .typo:after {
  85. content: ".";
  86. display: block;
  87. height: 0;
  88. visibility: hidden;
  89. }
  90. .qhd-content .typo:after {
  91. clear: both;
  92. }
  93. .qhd-content .typo {
  94. *zoom:1;
  95. margin-bottom: 0;
  96. }
  97. .qhd-content .typo .typo_text {
  98. overflow: hidden;
  99. #zoom:1;
  100. }
  101. .qhd-content .typo .typo_img {
  102. float: left;
  103. margin-right: 20px;
  104. margin-bottom: 12px;
  105. }
  106. .qhd-content .typo .typo_img img {
  107. display: block;
  108. }
  109. .qhd-content .typo .imgtoright {
  110. float: right;
  111. margin-right: 0;
  112. margin-left: 20px;
  113. }
  114. /*-------------------------------------
  115. List
  116. -------------------------------------*/
  117. .qhd-content li ul, .qhd-content li ol {
  118. margin: 0;
  119. }
  120. .qhd-content ul, .qhd-content ol {
  121. margin: 0 0 15px 0;
  122. padding-left: 1.5em;
  123. line-height: 180%;
  124. _margin-left: 5px;
  125. }
  126. .qhd-content ul {
  127. list-style-type: disc;
  128. }
  129. .qhd-content ul.square {
  130. list-style: square;
  131. }
  132. .qhd-content ul.circle {
  133. list-style: circle;
  134. }
  135. .qhd-content ol {
  136. list-style-type: decimal;
  137. *padding-left:1.8em;
  138. }
  139. .qhd-content dl {
  140. margin: 0 0 1.5em 0;
  141. }
  142. .qhd-content dl dt {
  143. font-weight: bold;
  144. }
  145. .qhd-content dd {
  146. margin-left: 1.5em;
  147. }
  148. /*------------No Icon List --------------*/
  149. .qhd-content ul.noicon {
  150. padding: 0;
  151. margin: 0;
  152. line-height: 180%;
  153. }
  154. .qhd-content ul.noicon li {
  155. list-style: none;
  156. padding: 2px 0 2px;
  157. _height: 100%;
  158. }
  159. /*------------Icon List--------------*/
  160. .qhd-content ul.iconlist {
  161. padding-left: 0;
  162. line-height: 180%;
  163. }
  164. .qhd-content ul.iconlist li {
  165. list-style: none;
  166. background-repeat: no-repeat;
  167. background-position: 0 3px;
  168. padding: 2px 0 2px 20px;
  169. _height: 100%;
  170. }
  171. .qhd-content ul.iconlist-download li, .qhd-content ul.iconlist li.iconlist-download {
  172. background-image: url(../images/download.gif);
  173. }
  174. .qhd-content ul.iconlist-arrow li, .qhd-content ul.iconlist li.iconlist-arrow {
  175. background-image: url(../images/arrow.gif);
  176. }
  177. .qhd-content ul.iconlist-check li, .qhd-content ul.iconlist li.iconlist-check {
  178. background-image: url(../images/check.gif);
  179. }
  180. .qhd-content ul.iconlist-favicon li, .qhd-content ul.iconlist li.iconlist-favicon {
  181. background-image: url(../images/favicon.gif);
  182. }
  183. .qhd-content ul.iconlist-del li, .qhd-content ul.iconlist li.iconlist-del {
  184. background-image: url(../images/del.gif);
  185. }
  186. .qhd-content ul.iconlist-light li, .qhd-content ul.iconlist li.iconlist-light {
  187. background-image: url(../images/light.gif);
  188. }
  189. .qhd-content ul.iconlist-pen li, .qhd-content ul.iconlist li.iconlist-pen {
  190. background-image: url(../images/pen.gif);
  191. }
  192. .qhd-content ul.iconlist-dot li, .qhd-content ul.iconlist li.iconlist-dot {
  193. background-image: url(../images/dot.gif);
  194. }
  195. .qhd-content ul.iconlist-delta li, .qhd-content ul.iconlist li.iconlist-delta {
  196. background-image: url(../images/delta.gif);
  197. }
  198. .qhd-content ul.iconlist-time li, .qhd-content ul.iconlist li.iconlist-time {
  199. background-image: url(../images/time.png);
  200. }
  201. /*-------------------------------------
  202. Columns - qhd-content & qhd-module
  203. -------------------------------------*/
  204. .qhd-content .column:after, .qhd-module .column:after {
  205. clear: both;
  206. content: ".";
  207. display: block;
  208. font-size: 0;
  209. height: 0;
  210. line-height: 0;
  211. min-height: 0;
  212. visibility: hidden;
  213. *zoom:1;
  214. }
  215. .qhd-content .column, .qhd-module .column {
  216. width: 100%;
  217. }
  218. .qhd-content .column .col-2-1, .qhd-content .column .col-3-1, .qhd-content .column .col-4-1, .qhd-content .column .col-4-2, .qhd-content .column .col-5-1, .qhd-content .column .col-3-2, .qhd-content .column .col-4-3, .qhd-content .column .col-5-2, .qhd-content .column .col-5-3, .qhd-content .column .col-5-4, .qhd-module .column .col-2-1, .qhd-module .column .col-3-1, .qhd-module .column .col-4-1, .qhd-module .column .col-4-2, .qhd-module .column .col-5-1, .qhd-module .column .col-3-2, .qhd-module .column .col-4-3, .qhd-module .column .col-5-2, .qhd-module .column .col-5-3, .qhd-module .column .col-5-4 {
  219. float: left;
  220. min-height: 1px;
  221. height: auto !important;
  222. _height: 1px;
  223. }
  224. /* default marg-per3 margin right 3% */
  225. .qhd-content .column .col-2-1, .qhd-module .column .col-2-1 {
  226. width: 48.5%;
  227. margin-right: 3%;
  228. }
  229. .qhd-content .column .col-3-1, .qhd-module .column .col-3-1 {
  230. width: 31.3333%;
  231. margin-right: 3%;
  232. }
  233. .qhd-content .column .col-4-1, .qhd-module .column .col-4-1 {
  234. width: 22.75%;
  235. margin-right: 3%;
  236. }
  237. .qhd-content .column .col-5-1, .qhd-module .column .col-5-1 {
  238. width: 14%;
  239. margin-right: 2%;
  240. }
  241. .qhd-content .column .col-3-2, .qhd-module .column .col-3-2 {
  242. width: 65.6666%;
  243. margin-right: 3%;
  244. }
  245. .qhd-content .column .col-4-2, .qhd-module .column .col-4-2 {
  246. width: 48.5%;
  247. margin-right: 3%;
  248. }
  249. .qhd-content .column .col-4-3, .qhd-module .column .col-4-3 {
  250. width: 74.25%;
  251. margin-right: 3%;
  252. }
  253. .qhd-content .column .col-5-2, .qhd-module .column .col-5-2 {
  254. width: 18.2%;
  255. margin-right: 3%;
  256. }
  257. .qhd-content .column .col-5-3, .qhd-module .column .col-5-3 {
  258. width: 58.8%;
  259. margin-right: 3%;
  260. }
  261. .qhd-content .column .col-5-4, .qhd-module .column .col-5-4 {
  262. width: 79.4%;
  263. margin-right: 3%;
  264. }
  265. /*margin right 0%*/
  266. .qhd-content .marg-per0 > .col-2-1, .qhd-module .marg-per0 > .col-2-1 {
  267. width: 50%;
  268. margin-right: 0;
  269. }
  270. .qhd-content .marg-per0 > .col-3-1, .qhd-module .marg-per0 > .col-3-1 {
  271. width: 33.3333%;
  272. margin-right: 0;
  273. }
  274. .qhd-content .marg-per0 > .col-4-1, .qhd-module .marg-per0 > .col-4-1 {
  275. width: 25%;
  276. margin-right: 0;
  277. }
  278. .qhd-content .marg-per0 > .col-5-1, .qhd-module .marg-per0 > .col-5-1 {
  279. width: 20%;
  280. margin-right: 0;
  281. }
  282. .qhd-content .marg-per0 > .col-3-2, .qhd-module .marg-per0 > .col-3-2 {
  283. width: 66.6666%;
  284. margin-right: 0;
  285. }
  286. .qhd-content .marg-per0 > .col-4-2, .qhd-module .marg-per0 > .col-4-2 {
  287. width: 50%;
  288. margin-right: 0;
  289. }
  290. .qhd-content .marg-per0 > .col-4-3, .qhd-module .marg-per0 > .col-4-3 {
  291. width: 75%;
  292. margin-right: 0;
  293. }
  294. .qhd-content .marg-per0 > .col-5-2, .qhd-module .marg-per0 > .col-5-2 {
  295. width: 40%;
  296. margin-right: 0;
  297. }
  298. .qhd-content .marg-per0 > .col-5-3, .qhd-module .marg-per0 > .col-5-3 {
  299. width: 60%;
  300. margin-right: 0;
  301. }
  302. .qhd-content .marg-per0 > .col-5-4, .qhd-module .marg-per0 > .col-5-4 {
  303. width: 80%;
  304. margin-right: 0;
  305. }
  306. /*margin right 2%*/
  307. .qhd-content .marg-per2 > .col-2-1, .qhd-module .marg-per2 > .col-2-1 {
  308. width: 49%;
  309. margin-right: 2%;
  310. }
  311. .qhd-content .marg-per2 > .col-3-1, .qhd-module .marg-per2 > .col-3-1 {
  312. width: 32%;
  313. margin-right: 2%;
  314. }
  315. .qhd-content .marg-per2 > .col-4-1, .qhd-module .marg-per2 > .col-4-1 {
  316. width: 23.5%;
  317. margin-right: 2%;
  318. }
  319. .qhd-content .marg-per2 > .col-5-1, .qhd-module .marg-per2 > .col-5-1 {
  320. width: 18.4%;
  321. margin-right: 2%;
  322. }
  323. .qhd-content .marg-per2 > .col-3-2, .qhd-module .marg-per2 > .col-3-2 {
  324. width: 66%;
  325. margin-right: 2%;
  326. }
  327. .qhd-content .marg-per2 > .col-4-2, .qhd-module .marg-per2 > .col-4-2 {
  328. width: 49%;
  329. margin-right: 2%;
  330. }
  331. .qhd-content .marg-per2 > .col-4-3, .qhd-module .marg-per2 > .col-4-3 {
  332. width: 74.5%;
  333. margin-right: 2%;
  334. }
  335. .qhd-content .marg-per2 > .col-5-2, .qhd-module .marg-per2 > .col-5-2 {
  336. width: 38.8%;
  337. margin-right: 2%;
  338. }
  339. .qhd-content .marg-per2 > .col-5-3, .qhd-module .marg-per2 > .col-5-3 {
  340. width: 59.2%;
  341. margin-right: 2%;
  342. }
  343. .qhd-content .marg-per2 > .col-5-4, .qhd-module .marg-per2 > .col-5-4 {
  344. width: 79.6%;
  345. margin-right: 2%;
  346. }
  347. /*margin right 4%*/
  348. .qhd-content .marg-per4 > .col-2-1, .qhd-module .marg-per4 > .col-2-1 {
  349. width: 48%;
  350. margin-right: 4%;
  351. }
  352. .qhd-content .marg-per4 > .col-3-1, .qhd-module .marg-per4 > .col-3-1 {
  353. width: 30.6667%;
  354. margin-right: 4%;
  355. }
  356. .qhd-content .marg-per4 > .col-4-1, .qhd-module .marg-per4 > .col-4-1 {
  357. width: 22%;
  358. margin-right: 4%;
  359. }
  360. .qhd-content .marg-per4 > .col-5-1, .qhd-module .marg-per4 > .col-5-1 {
  361. width: 16.8%;
  362. margin-right: 4%;
  363. }
  364. .qhd-content .marg-per4 > .col-3-2, .qhd-module .marg-per4 > .col-3-2 {
  365. width: 65.3333%;
  366. margin-right: 4%;
  367. }
  368. .qhd-content .marg-per4 > .col-4-2, .qhd-module .marg-per4 > .col-4-2 {
  369. width: 48%;
  370. margin-right: 4%;
  371. }
  372. .qhd-content .marg-per4 > .col-4-3, .qhd-module .marg-per4 > .col-4-3 {
  373. width: 74%;
  374. margin-right: 4%;
  375. }
  376. .qhd-content .marg-per4 > .col-5-2, .qhd-module .marg-per4 > .col-5-2 {
  377. width: 37.6%;
  378. margin-right: 4%;
  379. }
  380. .qhd-content .marg-per4 > .col-5-3, .qhd-module .marg-per4 > .col-5-3 {
  381. width: 58.4%;
  382. margin-right: 4%;
  383. }
  384. .qhd-content .marg-per4 > .col-5-4, .qhd-module .marg-per4 > .col-5-4 {
  385. width: 79.2%;
  386. margin-right: 4%;
  387. }
  388. /*margin right 5%*/
  389. .qhd-content .marg-per5 > .col-2-1, .qhd-module .marg-per5 > .col-2-1 {
  390. width: 47.5%;
  391. margin-right: 5%;
  392. }
  393. .qhd-content .marg-per5 > .col-3-1, .qhd-module .marg-per5 > .col-3-1 {
  394. width: 30%;
  395. margin-right: 5%;
  396. }
  397. .qhd-content .marg-per5 > .col-4-1, .qhd-module .marg-per5 > .col-4-1 {
  398. width: 21.25%;
  399. margin-right: 5%;
  400. }
  401. .qhd-content .marg-per5 > .col-5-1, .qhd-module .marg-per5 > .col-5-1 {
  402. width: 16%;
  403. margin-right: 5%;
  404. }
  405. .qhd-content .marg-per5 > .col-3-2, .qhd-module .marg-per5 > .col-3-2 {
  406. width: 65%;
  407. margin-right: 5%;
  408. }
  409. .qhd-content .marg-per5 > .col-4-2, .qhd-module .marg-per5 > .col-4-2 {
  410. width: 47.5%;
  411. margin-right: 5%;
  412. }
  413. .qhd-content .marg-per5 > .col-4-3, .qhd-module .marg-per5 > .col-4-3 {
  414. width: 73.75%;
  415. margin-right: 5%;
  416. }
  417. .qhd-content .marg-per5 > .col-5-2, .qhd-module .marg-per5 > .col-5-2 {
  418. width: 37%;
  419. margin-right: 5%;
  420. }
  421. .qhd-content .marg-per5 > .col-5-3, .qhd-module .marg-per5 > .col-5-3 {
  422. width: 58%;
  423. margin-right: 5%;
  424. }
  425. .qhd-content .marg-per5 > .col-5-4, .qhd-module .marg-per5 > .col-5-4 {
  426. width: 79%;
  427. margin-right: 5%;
  428. }
  429. .qhd-content .column .last, .qhd-module .column .last {
  430. margin-right: 0;
  431. *float:right;
  432. *clear:right;
  433. }
  434. /*-------------------------------------
  435. 2. table
  436. -------------------------------------*/
  437. .table {
  438. border-collapse: collapse;
  439. border-spacing: 0;
  440. overflow: hidden;
  441. width: 100%;
  442. margin-bottom: 15px;
  443. }
  444. .table th {
  445. font-weight: bold;
  446. }
  447. .table th, .table td {
  448. border-top: 1px solid #DDDDDD;
  449. line-height: 18px;
  450. padding: 8px;
  451. /*text-align: left;*/
  452. vertical-align: top;
  453. }
  454. .table colgroup + thead tr:first-child th, .table colgroup + thead tr:first-child td, .table thead:first-child tr:first-child th, .table thead:first-child tr:first-child td {
  455. border-top: 0 none;
  456. }
  457. .table thead tr th, .table thead tr td {
  458. *border-top: 0 none;
  459. }
  460. .table-striped tbody tr:nth-child(2n+1) td, .table-striped tbody tr:nth-child(2n+1) th {
  461. background-color: #F9F9F9;
  462. }
  463. .table th {
  464. background: #EBEBEB;
  465. }
  466. .table-bordered {
  467. -moz-border-colors: none;
  468. border-collapse: separate;
  469. border-color: #DDDDDD #DDDDDD #DDDDDD;
  470. border-style: solid solid solid none;
  471. border-width: 1px 1px 1px 0;
  472. }
  473. .table-bordered th, .table-bordered td {
  474. border-left: 1px solid #DDDDDD;
  475. }
  476. .table-row thead th {
  477. background: #ebebeb;
  478. }
  479. .table-row tbody th {
  480. background: #f5f5f5;
  481. }
  482. .table-col {
  483. border-top-width: 0;
  484. }
  485. .table-col tbody th {
  486. background: #ebebeb;
  487. }
  488. /*-------------------------------------
  489. 3. style box
  490. -------------------------------------*/
  491. .qhd-content .box-gray, .qhd-content .box-yellow, .box-green, .qhd-content .box-blue, .box-red, .qhd-content .box-purple {
  492. border-radius: 4px;
  493. margin: 0 0 30px;
  494. padding-top: 1px;
  495. background: #F7F7F7;
  496. }
  497. .qhd-content .box-content {
  498. padding: 10px 15px;
  499. border-radius: 4px;
  500. _height: 100%;
  501. }
  502. .qhd-content .box-gray {
  503. border: 1px solid #D4D4D4;
  504. }
  505. .qhd-content .box-gray .box-content {
  506. background-color: #F8F8F8;
  507. }
  508. .qhd-content .box-yellow {
  509. border: 1px solid #FFE778;
  510. }
  511. .qhd-content .box-yellow .box-content {
  512. background-color: #FFF4C0;
  513. }
  514. .qhd-content .box-green {
  515. border: 1px solid #bbe7a0;
  516. }
  517. .qhd-content .box-green .box-content {
  518. background-color: #e0ffcd;
  519. }
  520. .qhd-content .box-blue {
  521. border: 1px solid #c7e2ff;
  522. }
  523. .qhd-content .box-blue .box-content {
  524. background-color: #dfeeff;
  525. }
  526. .qhd-content .box-red {
  527. border: 1px solid #fea7a7;
  528. }
  529. .qhd-content .box-red .box-content {
  530. background-color: #ffcfcf;
  531. }
  532. .qhd-content .box-purple {
  533. border: 1px solid #c8c3f2;
  534. }
  535. .qhd-content .box-purple .box-content {
  536. background-color: #e5e2ff;
  537. }
  538. .qhd-content .box-yellow .warningbox, .qhd-content .box-green .successbox, .qhd-content .box-blue .infobox, .qhd-content .box-red .errorbox, .qhd-content .box-purple .helpbox {
  539. padding: 10px 10px 10px 45px;
  540. line-height: 140%;
  541. }
  542. .qhd-content .box-yellow .warningbox {
  543. background: #FFF4C0 url(../images/warning_icon.gif) no-repeat 5px 3px;
  544. color: #716113;
  545. }
  546. .qhd-content .box-green .successbox {
  547. background: #e0ffcd url(../images/success_icon.gif) no-repeat 5px 3px;
  548. color: #3a6e1a;
  549. }
  550. .qhd-content .box-blue .infobox {
  551. background: #dfeeff url(../images/info_icon.gif) no-repeat 5px 3px;
  552. color: #2273cb;
  553. }
  554. .qhd-content .box-red .errorbox {
  555. background: #ffcfcf url(../images/error_icon.gif) no-repeat 5px 3px;
  556. color: #771f1f;
  557. }
  558. .qhd-content .box-purple .helpbox {
  559. background: #e5e2ff url(../images/help_icon.gif) no-repeat 5px 3px;
  560. color: #3b337f;
  561. }
  562. /*-------------------------------------
  563. buttons
  564. -------------------------------------*/
  565. .btn-medium, button.btn-medium em, .btn-small, button.btn-small em, .btn-large, button.btn-large em {
  566. border: 0 none;
  567. cursor: pointer;
  568. text-align: center;
  569. text-decoration: none;
  570. display: inline-block;
  571. }
  572. .btn-medium span, .btn-small span, .btn-large span {
  573. display: inline-block;
  574. white-space: nowrap;
  575. }
  576. .btn-medium, button.btn-medium em {
  577. font-size: 14px;
  578. padding: 0 20px 0 0;
  579. }
  580. .btn-medium span {
  581. height: 34px;
  582. line-height: 34px;
  583. padding: 0 0 0 20px;
  584. }
  585. .btn-small, button.btn-small em {
  586. font-size: 12px;
  587. padding: 0 15px 0 0;
  588. }
  589. .btn-small span {
  590. height: 25px;
  591. line-height: 23px;
  592. padding: 0 0 0 15px;
  593. }
  594. .btn-large, button.btn-large em {
  595. font-size: 18px;
  596. padding: 0 25px 0 0;
  597. }
  598. .btn-large span {
  599. font-weight: bold;
  600. height: 44px;
  601. line-height: 44px;
  602. padding: 0 0 0 25px;
  603. }
  604. .btn-medium-norm span, .btn-small-norm span, .btn-large-norm span {
  605. color: #fff !important;
  606. text-shadow: none;
  607. }
  608. .btn-medium-main span, .btn-small-main span, .btn-large-main span {
  609. color: #fff !important;
  610. text-shadow: none;
  611. }
  612. .btn-medium-assist span, .btn-small-assist span, .btn-large-assist span {
  613. color: #fff !important;
  614. text-shadow: none;
  615. }
  616. .btn-medium-match span, .btn-small-match span, .btn-large-match span {
  617. color: #fff !important;
  618. text-shadow: none;
  619. }
  620. .btn-medium:link, .btn-medium:hover, .btn-small:link, .btn-small:hover, .btn-large:link, .btn-large:hover {
  621. text-decoration: none;
  622. }
  623. /* 标准 */
  624. .btn-medium-norm, button.btn-medium-norm em {
  625. background: url("../images/btn-medium-norm.png") no-repeat right -35px;
  626. _background: url("../images/btn-medium-norm.gif") no-repeat right -35px;
  627. }
  628. .btn-medium-norm span {
  629. background: url("../images/btn-medium-norm.png") no-repeat left 0;
  630. _background: url("../images/btn-medium-norm.gif") no-repeat left 0;
  631. }
  632. .btn-small-norm, button.btn-small-norm em {
  633. background: url("../images/btn-small-norm.png") no-repeat right -25px;
  634. _background: url("../images/btn-small-norm.gif") no-repeat right -25px;
  635. }
  636. .btn-small-norm span {
  637. background: url("../images/btn-small-norm.png") no-repeat left 0;
  638. _background: url("../images/btn-small-norm.gif") no-repeat left 0;
  639. }
  640. .btn-large-norm, button.btn-large-norm em {
  641. background: url("../images/btn-large-norm.png") no-repeat right -44px;
  642. _background: url("../images/btn-large-norm.gif") no-repeat right -44px;
  643. }
  644. .btn-large-norm span {
  645. background: url("../images/btn-large-norm.png") no-repeat left 0;
  646. _background: url("../images/btn-large-norm.gif") no-repeat left 0;
  647. }
  648. /* 主要 */
  649. .btn-medium-main, button.btn-medium-main em {
  650. background: url("../images/btn-medium-main.png") no-repeat right -35px;
  651. _background: url("../images/btn-medium-main.gif") no-repeat right -35px;
  652. }
  653. .btn-medium-main span {
  654. background: url("../images/btn-medium-main.png") no-repeat left 0;
  655. _background: url("../images/btn-medium-main.gif") no-repeat left 0;
  656. }
  657. .btn-small-main, button.btn-small-main em {
  658. background: url("../images/btn-small-main.png") no-repeat right -25px;
  659. _background: url("../images/btn-small-main.gif") no-repeat right -25px;
  660. }
  661. .btn-small-main span {
  662. background: url("../images/btn-small-main.png") no-repeat left 0;
  663. _background: url("../images/btn-small-main.gif") no-repeat left 0;
  664. }
  665. .btn-large-main, button.btn-large-main em {
  666. background: url("../images/btn-large-main.png") no-repeat right -44px;
  667. _background: url("../images/btn-large-main.gif") no-repeat right -44px;
  668. }
  669. .btn-large-main span {
  670. background: url("../images/btn-large-main.png") no-repeat left 0;
  671. _background: url("../images/btn-large-main.gif") no-repeat left 0;
  672. }
  673. /* 辅助 */
  674. .btn-medium-assist, button.btn-medium-assist em {
  675. background: url("../images/btn-medium-assist.png") no-repeat right -35px;
  676. _background: url("../images/btn-medium-assist.gif") no-repeat right -35px;
  677. }
  678. .btn-medium-assist span {
  679. background: url("../images/btn-medium-assist.png") no-repeat left 0;
  680. _background: url("../images/btn-medium-assist.gif") no-repeat left 0;
  681. }
  682. .btn-small-assist, button.btn-small-assist em {
  683. background: url("../images/btn-small-assist.png") no-repeat right -25px;
  684. _background: url("../images/btn-small-assist.gif") no-repeat right -25px;
  685. }
  686. .btn-small-assist span {
  687. background: url("../images/btn-small-assist.png") no-repeat left 0;
  688. _background: url("../images/btn-small-assist.gif") no-repeat left 0;
  689. }
  690. .btn-large-assist, button.btn-large-assist em {
  691. background: url("../images/btn-large-assist.png") no-repeat right -44px;
  692. _background: url("../images/btn-large-assist.gif") no-repeat right -44px;
  693. }
  694. .btn-large-assist span {
  695. background: url("../images/btn-large-assist.png") no-repeat left 0;
  696. _background: url("../images/btn-large-assist.gif") no-repeat left 0;
  697. }
  698. /* 搭配 */
  699. .btn-medium-match, button.btn-medium-match em {
  700. background: url("../images/btn-medium-match.png") no-repeat right -35px;
  701. _background: url("../images/btn-medium-match.gif") no-repeat right -35px;
  702. }
  703. .btn-medium-match span {
  704. background: url("../images/btn-medium-match.png") no-repeat left 0;
  705. _background: url("../images/btn-medium-match.gif") no-repeat left 0;
  706. }
  707. .btn-small-match, button.btn-small-match em {
  708. background: url("../images/btn-small-match.png") no-repeat right -25px;
  709. _background: url("../images/btn-small-match.gif") no-repeat right -25px;
  710. }
  711. .btn-small-match span {
  712. background: url("../images/btn-small-match.png") no-repeat left 0;
  713. _background: url("../images/btn-small-match.gif") no-repeat left 0;
  714. }
  715. .btn-large-match, button.btn-large-match em {
  716. background: url("../images/btn-large-match.png") no-repeat right -44px;
  717. _background: url("../images/btn-large-match.gif") no-repeat right -44px;
  718. }
  719. .btn-large-match span {
  720. background: url("../images/btn-large-match.png") no-repeat left 0;
  721. _background: url("../images/btn-large-match.gif") no-repeat left 0;
  722. }
  723. /* btn hover */
  724. .btn-medium:hover, button.btn-medium:hover em {
  725. background-position: right -105px;
  726. }
  727. .btn-medium:hover span {
  728. background-position: left -70px;
  729. }
  730. .btn-small:hover, button.btn-small:hover em {
  731. background-position: right -75px;
  732. }
  733. .btn-small:hover span {
  734. background-position: left -50px;
  735. }
  736. .btn-large:hover, button.btn-large:hover em {
  737. background-position: right -132px;
  738. }
  739. .btn-large:hover span {
  740. background-position: left -88px;
  741. }
  742. /* btn active */
  743. .btn-medium:active, button.btn-medium:active em {
  744. background-position: right -175px;
  745. }
  746. .btn-medium:active span {
  747. background-position: left -140px;
  748. }
  749. .btn-small:active, button.btn-small:active em {
  750. background-position: right -125px;
  751. }
  752. .btn-small:active span {
  753. background-position: left -100px;
  754. }
  755. .btn-large:active, button.btn-large:active em {
  756. background-position: right -220px;
  757. }
  758. .btn-large:active span {
  759. background-position: left -176px;
  760. }
  761. /* ============ submit button=============== */
  762. /*html:not([lang*=""]) button.submit-btn {margin: 0 -3px;}*/
  763. button.btn-medium, button.btn-small, button.btn-large {
  764. border: none;
  765. background: none;
  766. padding: 0;
  767. margin: 0;
  768. width: auto;
  769. overflow: visible;
  770. text-align: center;
  771. white-space: nowrap;
  772. }
  773. button.btn-medium span, button.btn-small span, button.btn-large span, button.btn-medium em, button.btn-small em, button.btn-large em {
  774. display: inline-block;
  775. margin: 0;
  776. font-style: normal;
  777. }
  778. /*button.submit-btn em{font-style:normal;}*/
  779. /* ============ icon button=============== */
  780. .btn-medium i, .btn-small i, .btn-large i {
  781. display: inline-block;
  782. *display:inline;
  783. zoom: 1;
  784. float: left;
  785. margin-left: -2px;
  786. background-repeat: no-repeat;
  787. background-position: left center;
  788. }
  789. .btn-medium i {
  790. width: 20px;
  791. height: 34px;
  792. }
  793. .btn-small i {
  794. width: 20px;
  795. height: 22px;
  796. }
  797. .btn-large i {
  798. width: 22px;
  799. height: 42px;
  800. }
  801. /*-------------------------------------
  802. clearfix
  803. -------------------------------------*/
  804. .clear {
  805. clear: both;
  806. visibility: hidden;
  807. display: block;
  808. font-size: 0;
  809. line-height: 0;
  810. }
  811. .clearfix:after {
  812. visibility: hidden;
  813. display: block;
  814. font-size: 0;
  815. content: " ";
  816. clear: both;
  817. height: 0;
  818. }
  819. .clearfix {
  820. *zoom:1;
  821. }