ui.css 14 KB

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