ui.css 13 KB

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