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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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. 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. p code {
  280. color: #b63b2c;
  281. }
  282. .radius {
  283. border-radius: .25em;
  284. }
  285. .text-truncate {
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. white-space: nowrap;
  289. display: inline-block;
  290. vertical-align: top;
  291. }
  292. pre {
  293. line-height: 1.6;
  294. overflow: auto;
  295. padding: 0;
  296. }
  297. dt {
  298. font-weight: bold;
  299. }
  300. .left {
  301. float: left;
  302. }
  303. .right {
  304. float: right;
  305. }
  306. .clear::after {
  307. clear: both;
  308. content: " ";
  309. width: 0;
  310. height: 0;
  311. display: block;
  312. }
  313. .hide {
  314. display: none;
  315. }
  316. .grid-1-12 {
  317. width: 8.33%;
  318. }
  319. .grid-2-12,
  320. .grid-1-6 {
  321. width: 16.67%;
  322. }
  323. .grid-3-12,
  324. .grid-1-4 {
  325. width: 25%;
  326. }
  327. .grid-4-12,
  328. .grid-1-3 {
  329. width: 33%;
  330. }
  331. .grid-5-12 {
  332. width: 41.67%;
  333. }
  334. .grid-6-12,
  335. .grid-1-2 {
  336. width: 50%;
  337. }
  338. .grid-7-12 {
  339. width: 58.33%;
  340. }
  341. .grid-8-12,
  342. .grid-2-3 {
  343. width: 66.67%;
  344. }
  345. .grid-9-12,
  346. .grid-3-4 {
  347. width: 75%;
  348. }
  349. .grid-10-12,
  350. .grid-5-6 {
  351. width: 83.33%;
  352. }
  353. .grid-11-12 {
  354. width: 91.67%;
  355. }
  356. *[class*="grid-"] {
  357. box-sizing: content-box;
  358. }
  359. .grid-1-5 {
  360. width: 20%;
  361. }
  362. .grid-2-5 {
  363. width: 40%;
  364. }
  365. .grid-3-5 {
  366. width: 60%;
  367. }
  368. .grid-4-5 {
  369. width: 80%;
  370. }
  371. .btn-small {
  372. font-size: 10.8px;
  373. padding: .4em .9em;
  374. }
  375. .btn-medium {
  376. font-size: 12px;
  377. padding: .4em .9em;
  378. }
  379. .btn-large {
  380. font-size: 14.4px;
  381. }
  382. .btn-green {
  383. background-color: #65ad4e;
  384. border: 1px solid #65ad4e;
  385. }
  386. .btn-green:hover {
  387. background-color: #71bf57;
  388. color: #FFF;
  389. }
  390. .btn-blue {
  391. background-color: #428bca;
  392. border: 1px solid #428bca;
  393. }
  394. .btn-blue:hover {
  395. background-color: #539cdb;
  396. color: #FFF;
  397. }
  398. .btn-red {
  399. color: #FFF;
  400. background-color: #d9453d;
  401. border: 1px solid #d9453d;
  402. }
  403. .btn-red:hover {
  404. background-color: #ff635a;
  405. color: #FFF;
  406. }
  407. .btn-orange {
  408. background-color: #df7514;
  409. border: 1px solid #df7514;
  410. }
  411. .btn-orange:hover {
  412. background-color: #df8229;
  413. color: #FFF;
  414. }
  415. .btn-black {
  416. background-color: #444444;
  417. border: 1px solid #444444;
  418. }
  419. .btn-black:hover {
  420. background-color: #383838;
  421. color: #FFF;
  422. }
  423. .btn-gray {
  424. background-color: #f0f0f0;
  425. color: #444444;
  426. border: 1px solid #d0d0d0;
  427. }
  428. .btn-gray:hover {
  429. background-color: #fafafa;
  430. color: #444444;
  431. }
  432. .btn-active {
  433. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(0, 0, 0, 0.15) inset;
  434. }
  435. .btn-header {
  436. margin-top: -1px;
  437. color: white;
  438. padding: 0 10px;
  439. }
  440. .btn-link {
  441. overflow: visible;
  442. color: white;
  443. padding: .6em 1.2em;
  444. }
  445. .btn-radius {
  446. border-radius: .25em;
  447. }
  448. .btn-left-radius {
  449. border-top-left-radius: .25em;
  450. border-bottom-left-radius: .25em;
  451. }
  452. .btn-right-radius {
  453. border-top-right-radius: .25em;
  454. border-bottom-right-radius: .25em;
  455. }
  456. .btn-block {
  457. display: block;
  458. width: 100%;
  459. box-sizing: content-box;
  460. text-align: center;
  461. }
  462. .btn-disabled {
  463. opacity: .6;
  464. cursor: not-allowed;
  465. box-shadow: none;
  466. background-image: none !important;
  467. border: none;
  468. }
  469. .btn-disabled:hover {
  470. background-image: none !important;
  471. color: #ffffff;
  472. }
  473. .ipt:focus {
  474. border-color: #428bca;
  475. }
  476. .ipt-radius {
  477. border-radius: .25em;
  478. }
  479. .ipt-small {
  480. font-size: 9.6px;
  481. }
  482. .ipt-large {
  483. font-size: 14.4px;
  484. }
  485. .ipt-disabled,
  486. input[disabled] {
  487. background-color: #f2f2f2 !important;
  488. color: #888;
  489. cursor: not-allowed;
  490. }
  491. .ipt-disabled:focus,
  492. input[disabled]:focus {
  493. background-color: #f2f2f2 !important;
  494. }
  495. .ipt-readonly:focus,
  496. input[readonly]:focus {
  497. background-color: #f2f2f2 !important;
  498. }
  499. .ipt-error {
  500. border-color: #b63b2c !important;
  501. background-color: #fff0f0 !important;
  502. }
  503. .form label {
  504. margin-right: 1em;
  505. }
  506. .form .help {
  507. color: #999999;
  508. padding-top: .6em;
  509. display: inline-block;
  510. }
  511. .form-stack label {
  512. display: block;
  513. }
  514. .form-stack .field {
  515. margin-bottom: 1em;
  516. }
  517. .form-align label,
  518. .form-align .form-label {
  519. display: inline-block;
  520. width: 120px;
  521. text-align: right;
  522. margin-right: 1em;
  523. }
  524. .form-align .field {
  525. margin-bottom: 1em;
  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;
  687. margin-bottom: 20px;
  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-orange {
  736. background-color: #df7514;
  737. }
  738. .label-black {
  739. background-color: #444444;
  740. }
  741. .label-radius {
  742. border-radius: .2em;
  743. }
  744. .label-link {
  745. color: #ffffff;
  746. }
  747. .label-link:hover {
  748. color: #ffffff;
  749. }
  750. .breads .bread:after {
  751. content: "/";
  752. font-weight: bold;
  753. margin: 0 4px 0 7px;
  754. color: #444444;
  755. }
  756. .breads .bread:last-child:after {
  757. content: "";
  758. margin: 0;
  759. }
  760. .alert {
  761. padding: .6em 1.5em;
  762. margin-bottom: 10px;
  763. }
  764. .alert i {
  765. margin-right: 8px;
  766. }
  767. .alert-radius {
  768. border-radius: .25em;
  769. }
  770. .alert-red {
  771. color: #d9453d;
  772. border: 1px solid #be2d25;
  773. background-color: #fae9e8;
  774. }
  775. .alert-blue {
  776. color: #428bca;
  777. border: 1px solid #3071a9;
  778. background-color: #f5f9fc;
  779. }
  780. .alert-green {
  781. color: #65ad4e;
  782. border: 1px solid #508a3e;
  783. background-color: #edf6eb;
  784. }
  785. .alert-gray {
  786. color: #999999;
  787. border: 1px solid #808080;
  788. background-color: #f2f2f2;
  789. }
  790. .alert-orange {
  791. color: #df7514;
  792. border: 1px solid #b05c10;
  793. background-color: #fcecdd;
  794. }
  795. table th,
  796. table td {
  797. padding: .3em .6em;
  798. line-height: 30px;
  799. }
  800. .table-border {
  801. border: 1px solid #d6d6d6;
  802. }
  803. .table-border tr {
  804. border-top: 1px solid #eaeaea;
  805. }
  806. .table-border tr th,
  807. .table-border tr td {
  808. border-top: 1px solid #eaeaea;
  809. }
  810. .table-border tr:first-child {
  811. border-top: none;
  812. }
  813. .table-border thead {
  814. border-bottom: 1px solid #d6d6d6;
  815. }
  816. .table-block {
  817. width: 100%;
  818. box-sizing: border-box;
  819. }
  820. .table-radius {
  821. border-collapse: separate !important;
  822. border-radius: .3em;
  823. }
  824. .table-radius thead:first-child {
  825. border-top-left-radius: .3em;
  826. border-top-right-radius: .3em;
  827. }
  828. .table-radius thead:first-child tr:first-child {
  829. border-top-left-radius: .3em;
  830. }
  831. .table-radius thead:first-child tr:first-child > th:first-child {
  832. border-top-left-radius: .3em;
  833. }
  834. .table-radius thead:first-child tr:first-child > th:last-child {
  835. border-top-right-radius: .3em;
  836. }
  837. .table-radius tbody {
  838. border-bottom-left-radius: .3em;
  839. border-bottom-right-radius: .3em;
  840. }
  841. .table-radius tbody tr:last-child {
  842. border-bottom-left-radius: .3em;
  843. border-bottom-right-radius: .3em;
  844. }
  845. .table-radius tbody tr:last-child > td:first-child {
  846. border-bottom-left-radius: .3em;
  847. }
  848. .table-radius tbody tr:last-child > td:last-child {
  849. border-bottom-right-radius: .3em;
  850. }