ui.css 13 KB

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