ui.css 14 KB

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