You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui.css 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. }
  5. html {
  6. font-size: 13px;
  7. font-family: Helvetica, "Microsoft Yahei", Menlo, Monaco, Consolas, "Courier New", monospace;
  8. -ms-text-size-adjust: 100%;
  9. -webkit-text-size-adjust: 100%;
  10. line-height: 24px;
  11. color: #444444;
  12. background-color: #fafafa;
  13. }
  14. input,
  15. textarea,
  16. select,
  17. option,
  18. button {
  19. font-family: Helvetica, "Microsoft Yahei", Menlo, Monaco, Consolas, "Courier New", monospace;
  20. }
  21. article,
  22. aside,
  23. details,
  24. figcaption,
  25. figure,
  26. footer,
  27. header,
  28. main,
  29. nav,
  30. section,
  31. summary,
  32. .block {
  33. display: block;
  34. }
  35. .inline {
  36. display: inline;
  37. }
  38. .inline-block {
  39. display: inline-block;
  40. }
  41. .dis-table {
  42. display: table;
  43. }
  44. .dis-table-cell {
  45. display: table-cell;
  46. }
  47. .dis-flex {
  48. display: flex;
  49. }
  50. audio,
  51. canvas,
  52. progress,
  53. video {
  54. display: inline-block;
  55. vertical-align: baseline;
  56. }
  57. audio:not([controls]) {
  58. display: none;
  59. height: 0;
  60. }
  61. [hidden],
  62. template .hidden {
  63. display: none;
  64. }
  65. .opacity {
  66. opacity: 0;
  67. }
  68. .opacity-half {
  69. opacity: .5;
  70. }
  71. a,
  72. .text-link {
  73. color: #428bca;
  74. text-decoration: none;
  75. }
  76. a:hover,
  77. .text-link:hover {
  78. color: #399ade;
  79. text-decoration: none;
  80. }
  81. a:focus,
  82. .text-link:focus {
  83. outline: none;
  84. }
  85. b,
  86. strong,
  87. .text-bold {
  88. font-weight: bold;
  89. }
  90. dfn,
  91. .text-italic {
  92. font-style: italic;
  93. }
  94. h1,
  95. .text-h1 {
  96. font-size: 2em;
  97. margin-bottom: 0.67em;
  98. }
  99. h2,
  100. .text-h2 {
  101. font-size: 1.6em;
  102. margin-bottom: 0.625em;
  103. }
  104. h3,
  105. .text-h3 {
  106. font: 1.2em;
  107. margin-bottom: 0.5em;
  108. }
  109. h4,
  110. h5,
  111. h6,
  112. .text-h4,
  113. .text-h5,
  114. .text-h6 {
  115. font-size: 1em;
  116. margin-bottom: .3em;
  117. }
  118. small,
  119. .text-small {
  120. font-size: .8em;
  121. }
  122. sub,
  123. sup,
  124. .text-sup,
  125. .text-sub {
  126. font-size: .7em;
  127. line-height: 0;
  128. position: relative;
  129. vertical-align: baseline;
  130. }
  131. sup,
  132. .text-sup {
  133. top: -0.5em;
  134. }
  135. sub,
  136. .text-sub {
  137. bottom: -0.25em;
  138. }
  139. .figure,
  140. .blockquote {
  141. margin: 1em 1.5em;
  142. }
  143. pre {
  144. overflow: auto;
  145. margin: 0;
  146. padding: .4em 1em;
  147. }
  148. code,
  149. kbd,
  150. pre,
  151. samp {
  152. font-family: monospace, monospace;
  153. font-size: 1em;
  154. }
  155. .text-left {
  156. text-align: left;
  157. }
  158. .text-right {
  159. text-align: right;
  160. }
  161. .text-center {
  162. text-align: center;
  163. }
  164. .list-no-style {
  165. list-style: none;
  166. }
  167. img {
  168. border: none;
  169. }
  170. svg:not(:root) {
  171. overflow: hidden;
  172. }
  173. label {
  174. font-weight: bold;
  175. }
  176. input,
  177. .ipt {
  178. padding: .6em;
  179. line-height: normal;
  180. border: 1px solid #bbbbbb;
  181. }
  182. input:focus,
  183. .ipt:focus {
  184. background-color: #f2fffc;
  185. outline: none;
  186. }
  187. button {
  188. overflow: visible;
  189. padding: .6em 1.2em;
  190. }
  191. button,
  192. select {
  193. text-transform: none;
  194. }
  195. button:focus,
  196. select:focus {
  197. outline: none;
  198. }
  199. button,
  200. input[type="button"],
  201. input[type="reset"],
  202. input[type="submit"] {
  203. -webkit-appearance: button;
  204. -moz-appearance: button;
  205. cursor: pointer;
  206. background-color: #888888;
  207. color: #fafafa;
  208. border: none;
  209. }
  210. button:hover,
  211. input[type="button"]:hover,
  212. input[type="reset"]:hover,
  213. input[type="submit"]:hover {
  214. background-color: #444444;
  215. color: #ffffff;
  216. }
  217. button[disabled],
  218. html input[disabled] {
  219. cursor: default;
  220. }
  221. button::-moz-focus-inner,
  222. input::-moz-focus-inner {
  223. border: 0;
  224. padding: 0;
  225. }
  226. input[type="checkbox"],
  227. input[type="radio"] {
  228. box-sizing: border-box;
  229. padding: 0;
  230. }
  231. input[type="search"] {
  232. -webkit-appearance: textfield;
  233. -moz-appearance: textfield;
  234. -moz-box-sizing: content-box;
  235. -webkit-box-sizing: content-box;
  236. box-sizing: content-box;
  237. }
  238. fieldset {
  239. border: 1px solid #bbbbbb;
  240. margin: 0 2px;
  241. padding: 0.4em 0.8em 0.8em;
  242. }
  243. legend {
  244. border: 0;
  245. padding: 0;
  246. }
  247. textarea {
  248. overflow: auto;
  249. border: 1px solid #bbbbbb;
  250. padding: .6em;
  251. }
  252. textarea:focus {
  253. background-color: #f2fffc;
  254. outline: none;
  255. }
  256. optgroup {
  257. font-weight: bold;
  258. }
  259. table {
  260. border-collapse: collapse;
  261. border-spacing: 0;
  262. }
  263. td,
  264. th {
  265. padding: 0;
  266. }
  267. hr {
  268. -moz-box-sizing: content-box;
  269. box-sizing: content-box;
  270. height: 0;
  271. border: none;
  272. border-bottom: 1px solid #dddddd;
  273. margin-bottom: .75em;
  274. }
  275. p code {
  276. color: #b63b2c;
  277. }
  278. .radius {
  279. border-radius: .25em;
  280. }
  281. .text-truncate {
  282. overflow: hidden;
  283. text-overflow: ellipsis;
  284. white-space: nowrap;
  285. display: inline-block;
  286. vertical-align: top;
  287. }
  288. pre {
  289. line-height: 1.6;
  290. overflow: auto;
  291. padding: 0;
  292. }
  293. .left {
  294. float: left;
  295. }
  296. .right {
  297. float: right;
  298. }
  299. .clear::after {
  300. clear: both;
  301. content: " ";
  302. width: 0;
  303. height: 0;
  304. display: block;
  305. }
  306. .hide {
  307. display: none;
  308. }
  309. .grid-1-12 {
  310. width: 8.33%;
  311. }
  312. .grid-2-12,
  313. .grid-1-6 {
  314. width: 16.67%;
  315. }
  316. .grid-3-12,
  317. .grid-1-4 {
  318. width: 25%;
  319. }
  320. .grid-4-12,
  321. .grid-1-3 {
  322. width: 33%;
  323. }
  324. .grid-5-12 {
  325. width: 41.67%;
  326. }
  327. .grid-6-12,
  328. .grid-1-2 {
  329. width: 50%;
  330. }
  331. .grid-7-12 {
  332. width: 58.33%;
  333. }
  334. .grid-8-12,
  335. .grid-2-3 {
  336. width: 66.67%;
  337. }
  338. .grid-9-12,
  339. .grid-3-4 {
  340. width: 75%;
  341. }
  342. .grid-10-12,
  343. .grid-5-6 {
  344. width: 83.33%;
  345. }
  346. .grid-11-12 {
  347. width: 91.67%;
  348. }
  349. *[class*="grid-"] {
  350. box-sizing: content-box;
  351. }
  352. .grid-1-5 {
  353. width: 20%;
  354. }
  355. .grid-2-5 {
  356. width: 40%;
  357. }
  358. .grid-3-5 {
  359. width: 60%;
  360. }
  361. .grid-4-5 {
  362. width: 80%;
  363. }
  364. .btn-small {
  365. font-size: 10.8px;
  366. padding: .4em .9em;
  367. }
  368. .btn-large {
  369. font-size: 14.4px;
  370. }
  371. .btn-green {
  372. background-color: #65ad4e;
  373. border: 1px solid #65ad4e;
  374. }
  375. .btn-green:hover {
  376. background-color: #71bf57;
  377. color: #FFF;
  378. }
  379. .btn-blue {
  380. background-color: #428bca;
  381. border: 1px solid #428bca;
  382. }
  383. .btn-blue:hover {
  384. background-color: #539cdb;
  385. color: #FFF;
  386. }
  387. .btn-red {
  388. background-color: #d9453d;
  389. border: 1px solid #d9453d;
  390. }
  391. .btn-red:hover {
  392. background-color: #ff635a;
  393. color: #FFF;
  394. }
  395. .btn-orange {
  396. background-color: #df7514;
  397. border: 1px solid #df7514;
  398. }
  399. .btn-orange:hover {
  400. background-color: #df8229;
  401. color: #FFF;
  402. }
  403. .btn-black {
  404. background-color: #444444;
  405. border: 1px solid #444444;
  406. }
  407. .btn-black:hover {
  408. background-color: #383838;
  409. color: #FFF;
  410. }
  411. .btn-gray {
  412. background-color: #f0f0f0;
  413. color: #444444;
  414. border: 1px solid #d0d0d0;
  415. }
  416. .btn-gray:hover {
  417. background-color: #fafafa;
  418. color: #444444;
  419. }
  420. .btn-active {
  421. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(0, 0, 0, 0.15) inset;
  422. }
  423. .btn-radius {
  424. border-radius: .25em;
  425. }
  426. .btn-left-radius {
  427. border-top-left-radius: .25em;
  428. border-bottom-left-radius: .25em;
  429. }
  430. .btn-right-radius {
  431. border-top-right-radius: .25em;
  432. border-bottom-right-radius: .25em;
  433. }
  434. .btn-block {
  435. display: block;
  436. width: 100%;
  437. box-sizing: content-box;
  438. text-align: center;
  439. }
  440. .btn-disabled {
  441. opacity: .6;
  442. cursor: not-allowed;
  443. box-shadow: none;
  444. background-image: none !important;
  445. border: none;
  446. }
  447. .btn-disabled:hover {
  448. background-image: none !important;
  449. color: #ffffff;
  450. }
  451. .ipt:focus {
  452. border-color: #428bca;
  453. }
  454. .ipt-radius {
  455. border-radius: .25em;
  456. }
  457. .ipt-small {
  458. font-size: 9.6px;
  459. }
  460. .ipt-large {
  461. font-size: 14.4px;
  462. }
  463. .ipt-disabled,
  464. input[disabled] {
  465. background-color: #f2f2f2 !important;
  466. color: #888;
  467. cursor: not-allowed;
  468. }
  469. .ipt-disabled:focus,
  470. input[disabled]:focus {
  471. background-color: #f2f2f2 !important;
  472. }
  473. .ipt-readonly:focus,
  474. input[readonly]:focus {
  475. background-color: #f2f2f2 !important;
  476. }
  477. .ipt-error {
  478. border-color: #b63b2c !important;
  479. background-color: #fff0f0 !important;
  480. }
  481. .form label {
  482. margin-right: 1em;
  483. }
  484. .form .help {
  485. color: #999999;
  486. padding-top: .6em;
  487. display: inline-block;
  488. }
  489. .form-stack label {
  490. display: block;
  491. }
  492. .form-stack .field {
  493. margin-bottom: 1em;
  494. }
  495. .form-align label,
  496. .form-align .form-label {
  497. display: inline-block;
  498. width: 120px;
  499. text-align: right;
  500. margin-right: 1em;
  501. }
  502. .form-align .field {
  503. margin-bottom: 1em;
  504. }
  505. label.req:after {
  506. content: "*";
  507. color: #d9453d;
  508. }
  509. ul.menu > li {
  510. list-style: none;
  511. }
  512. ul.menu > li > a {
  513. padding: .8em 1.2em;
  514. }
  515. ul.menu > li > a:hover {
  516. background-color: #eaeaea;
  517. color: #444444;
  518. }
  519. ul.menu > li.current > a,
  520. ul.menu > li.hover > a {
  521. color: #444444;
  522. }
  523. ul.menu > li.head {
  524. font-weight: bold;
  525. padding: .8em 1.2em;
  526. }
  527. ul.menu > li.down:hover > ul.menu-down {
  528. display: block;
  529. }
  530. ul.menu > li.border-bottom {
  531. border-bottom: 1px solid #bbbbbb;
  532. height: 0;
  533. margin: .5em 0;
  534. }
  535. ul.menu-line > li,
  536. ul.menu-line > li > a {
  537. display: inline-block;
  538. }
  539. ul.menu-line > li.down {
  540. position: relative;
  541. }
  542. ul.menu-line > li.down > a:after {
  543. content: "\25BE";
  544. margin-left: .4em;
  545. }
  546. ul.menu-line > li.down > ul.menu-down {
  547. top: 2.1em;
  548. width: 150%;
  549. }
  550. ul.menu-line > li.hover {
  551. position: relative;
  552. }
  553. ul.menu-line > li.hover > a:after {
  554. position: absolute;
  555. content: "\25B4";
  556. left: 50%;
  557. bottom: -1.1em;
  558. margin-left: -4px;
  559. }
  560. ul.menu-vertical > li > a,
  561. ul.menu-down > li > a,
  562. ul.menu-vertical > li.head,
  563. ul.menu-down > li.head {
  564. display: block;
  565. padding: .4em 1.2em;
  566. }
  567. ul.menu-vertical > li.down,
  568. ul.menu-down > li.down {
  569. position: relative;
  570. }
  571. ul.menu-vertical > li.down > a:after,
  572. ul.menu-down > li.down > a:after {
  573. content: "\25B8";
  574. position: absolute;
  575. right: .6em;
  576. }
  577. ul.menu-vertical > li.hover,
  578. ul.menu-down > li.hover {
  579. position: relative;
  580. }
  581. ul.menu-vertical > li.hover > a:after,
  582. ul.menu-down > li.hover > a:after {
  583. content: "\25B8";
  584. position: absolute;
  585. left: .5em;
  586. }
  587. ul.menu-border,
  588. ul.menu-down {
  589. border: 1px solid #bbbbbb;
  590. }
  591. ul.menu-border > li.head,
  592. ul.menu-down > li.head {
  593. border-bottom: 1px solid #bbbbbb;
  594. }
  595. ul.menu-down {
  596. position: absolute;
  597. display: none;
  598. z-index: 99;
  599. box-shadow: 0 0 2px #666666;
  600. background-color: #ffffff;
  601. }
  602. ul.menu-radius {
  603. border-radius: .3em;
  604. }
  605. ul.menu-radius > li:first-child {
  606. border-top-left-radius: .3em;
  607. border-top-right-radius: .3em;
  608. }
  609. ul.menu-radius > li:first-child > a {
  610. border-top-left-radius: .2em;
  611. border-top-right-radius: .2em;
  612. }
  613. ul.menu-radius > li:last-child {
  614. border-bottom-left-radius: .3em;
  615. border-bottom-right-radius: .3em;
  616. }
  617. ul.menu-radius > li:last-child > a {
  618. border-bottom-left-radius: .2em;
  619. border-bottom-right-radius: .2em;
  620. }
  621. .drop {
  622. position: relative;
  623. }
  624. .drop:hover > .drop-down {
  625. position: absolute;
  626. top: 0;
  627. left: 0;
  628. width: 200%;
  629. display: block;
  630. }
  631. .drop > .drop-down {
  632. display: none;
  633. border: 1px solid #bbbbbb;
  634. box-shadow: 0 0 3px #666666;
  635. background-color: #ffffff;
  636. }
  637. .drop-bottom:after {
  638. content: "\25BE";
  639. margin-left: .4em;
  640. }
  641. .drop-top:after {
  642. content: "\25B4";
  643. margin-left: .4em;
  644. }
  645. .panel {
  646. border: 1px solid #cccccc;
  647. }
  648. .panel .panel-header {
  649. font-size: 16px;
  650. padding: .6em 1.2em;
  651. background-color: #eeeeee;
  652. border-bottom: 1px solid #cccccc;
  653. }
  654. .panel .panel-body .panel-desc {
  655. margin-bottom: 20px;
  656. }
  657. .panel .panel-content {
  658. padding: 1em 1.2em;
  659. }
  660. .panel .panel-footer {
  661. padding: .6em 1.2em;
  662. background-color: #eeeeee;
  663. border-top: 1px solid #cccccc;
  664. }
  665. .panel.panel-radius {
  666. border-radius: .3em;
  667. }
  668. .panel.panel-radius .panel-header {
  669. border-top-left-radius: .3em;
  670. border-top-right-radius: .3em;
  671. }
  672. .panel.panel-radius .panel-footer {
  673. border-bottom-left-radius: .3em;
  674. border-bottom-right-radius: .3em;
  675. }
  676. .panel.panel-warning {
  677. border-color: #F0C36D;
  678. }
  679. .panel.panel-warning > .panel-header {
  680. background-color: #F9EDBE;
  681. border-color: #F0C36D;
  682. }
  683. .label {
  684. padding: 2px 6px;
  685. color: #ffffff;
  686. }
  687. .label-red {
  688. background-color: #d9453d;
  689. }
  690. .label-blue {
  691. background-color: #428bca;
  692. }
  693. .label-gray {
  694. background-color: #999999;
  695. }
  696. .label-green {
  697. background-color: #65ad4e;
  698. }
  699. .label-orange {
  700. background-color: #df7514;
  701. }
  702. .label-black {
  703. background-color: #444444;
  704. }
  705. .label-radius {
  706. border-radius: .2em;
  707. }
  708. .label-link {
  709. color: #ffffff;
  710. }
  711. .label-link:hover {
  712. color: #ffffff;
  713. }
  714. .breads .bread:after {
  715. content: "/";
  716. font-weight: bold;
  717. margin: 0 4px 0 7px;
  718. color: #444444;
  719. }
  720. .breads .bread:last-child:after {
  721. content: "";
  722. margin: 0;
  723. }
  724. .alert {
  725. padding: .6em 1.5em;
  726. margin-bottom: 10px;
  727. }
  728. .alert i {
  729. margin-right: 8px;
  730. }
  731. .alert-radius {
  732. border-radius: .25em;
  733. }
  734. .alert-red {
  735. color: #d9453d;
  736. border: 1px solid #be2d25;
  737. background-color: #fae9e8;
  738. }
  739. .alert-blue {
  740. color: #428bca;
  741. border: 1px solid #3071a9;
  742. background-color: #f5f9fc;
  743. }
  744. .alert-green {
  745. color: #65ad4e;
  746. border: 1px solid #508a3e;
  747. background-color: #edf6eb;
  748. }
  749. .alert-gray {
  750. color: #999999;
  751. border: 1px solid #808080;
  752. background-color: #f2f2f2;
  753. }
  754. .alert-orange {
  755. color: #df7514;
  756. border: 1px solid #b05c10;
  757. background-color: #fcecdd;
  758. }
  759. table th,
  760. table td {
  761. padding: .3em .6em;
  762. line-height: 30px;
  763. }
  764. .table-border {
  765. border: 1px solid #d6d6d6;
  766. }
  767. .table-border tr {
  768. border-top: 1px solid #eaeaea;
  769. }
  770. .table-border tr th,
  771. .table-border tr td {
  772. border-top: 1px solid #eaeaea;
  773. }
  774. .table-border tr:first-child {
  775. border-top: none;
  776. }
  777. .table-border thead {
  778. border-bottom: 1px solid #d6d6d6;
  779. }
  780. .table-block {
  781. width: 100%;
  782. box-sizing: border-box;
  783. }
  784. .table-radius {
  785. border-collapse: separate !important;
  786. border-radius: .3em;
  787. }
  788. .table-radius thead:first-child {
  789. border-top-left-radius: .3em;
  790. border-top-right-radius: .3em;
  791. }
  792. .table-radius thead:first-child tr:first-child {
  793. border-top-left-radius: .3em;
  794. }
  795. .table-radius thead:first-child tr:first-child > th:first-child {
  796. border-top-left-radius: .3em;
  797. }
  798. .table-radius thead:first-child tr:first-child > th:last-child {
  799. border-top-right-radius: .3em;
  800. }
  801. .table-radius tbody {
  802. border-bottom-left-radius: .3em;
  803. border-bottom-right-radius: .3em;
  804. }
  805. .table-radius tbody tr:last-child {
  806. border-bottom-left-radius: .3em;
  807. border-bottom-right-radius: .3em;
  808. }
  809. .table-radius tbody tr:last-child > td:first-child {
  810. border-bottom-left-radius: .3em;
  811. }
  812. .table-radius tbody tr:last-child > td:last-child {
  813. border-bottom-right-radius: .3em;
  814. }