ui.css 14 KB

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