backend.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993
  1. @import url("../css/bootstrap.min.css");
  2. @import url("../css/fastadmin.min.css");
  3. @import url("../css/skins/skin-green.css");
  4. @import url("../css/iconfont.css");
  5. @import url("../libs/font-awesome/css/font-awesome.min.css");
  6. @import url("../libs/toastr/toastr.min.css");
  7. @import url("../libs/layer/dist/theme/default/layer.css");
  8. @import url("../libs/bootstrap-table/dist/bootstrap-table.min.css");
  9. @import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
  10. @import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
  11. @import url("../libs/nice-validator/dist/jquery.validator.css");
  12. @import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
  13. @import url("../libs/fastadmin-selectpage/selectpage.css");
  14. body {
  15. background: #f1f4f6;
  16. font-size: 13px;
  17. }
  18. body.is-dialog {
  19. background: #fff;
  20. }
  21. .selection {
  22. position: absolute;
  23. border: 1px solid #8B9;
  24. background-color: #BEC;
  25. }
  26. .main-header .logo,
  27. .main-header .navbar {
  28. -webkit-transition: none;
  29. -moz-transition: none;
  30. -o-transition: none;
  31. transition: none;
  32. }
  33. .main-header .navbar {
  34. position: relative;
  35. }
  36. .bootstrap-dialog .modal-dialog {
  37. /*width: 70%;*/
  38. max-width: 885px;
  39. }
  40. /*iOS兼容*/
  41. html.ios-fix,
  42. html.ios-fix body {
  43. height: 100%;
  44. overflow: auto;
  45. -webkit-overflow-scrolling: touch;
  46. }
  47. .content {
  48. min-height: 500px;
  49. }
  50. #header {
  51. background: #fff;
  52. }
  53. .content-wrapper {
  54. position: relative;
  55. }
  56. .control-relative {
  57. position: relative;
  58. }
  59. .tab-addtabs {
  60. overflow: hidden;
  61. }
  62. .tab-addtabs .tab-pane {
  63. height: 100%;
  64. width: 100%;
  65. }
  66. .row-between .col-xs-6 + .col-xs-6:before {
  67. content: "-";
  68. position: absolute;
  69. left: -2%;
  70. top: 6px;
  71. }
  72. @media only screen and (min-width: 481px) {
  73. .row-flex {
  74. display: flex;
  75. flex-wrap: wrap;
  76. }
  77. .row-flex > [class*='col-'] {
  78. display: flex;
  79. flex-direction: column;
  80. }
  81. .row-flex.row:after,
  82. .row-flex.row:before {
  83. display: flex;
  84. }
  85. }
  86. @media (max-width: 991px) {
  87. .main-header .navbar-custom-menu a.btn-danger {
  88. color: #fff;
  89. background-color: #e74c3c;
  90. }
  91. .main-header .navbar-custom-menu a.btn-primary {
  92. color: #fff;
  93. background-color: #2c3e50;
  94. }
  95. }
  96. .common-search-table {
  97. min-height: 20px;
  98. padding: 15px;
  99. margin-bottom: 15px;
  100. background-color: #f5f5f5;
  101. }
  102. /* 固定的底部按钮 */
  103. .fixed-footer {
  104. position: fixed;
  105. bottom: 0;
  106. background-color: #ecf0f1;
  107. width: 100%;
  108. margin-bottom: 0;
  109. padding: 10px;
  110. }
  111. /* 包裹在layer外层 */
  112. .layer-footer {
  113. display: none;
  114. }
  115. table.table-template {
  116. overflow: hidden;
  117. }
  118. .sp_container .msg-box {
  119. position: absolute;
  120. right: 0;
  121. top: 0;
  122. }
  123. .toast-top-right-index {
  124. top: 62px;
  125. right: 12px;
  126. }
  127. .bootstrap-select .status {
  128. background: #f0f0f0;
  129. clear: both;
  130. color: #999;
  131. font-size: 12px;
  132. font-weight: 500;
  133. line-height: 1;
  134. margin-bottom: -5px;
  135. padding: 10px 20px;
  136. }
  137. .img-center {
  138. margin: 0 auto;
  139. display: inline;
  140. float: none;
  141. }
  142. /*
  143. * RIBBON
  144. */
  145. #ribbon {
  146. overflow: hidden;
  147. padding: 15px 15px 0 15px;
  148. position: relative;
  149. }
  150. #ribbon a {
  151. color: #777 !important;
  152. text-decoration: none !important;
  153. }
  154. #ribbon .breadcrumb {
  155. display: inline-block;
  156. margin: 0;
  157. padding: 0;
  158. background: none;
  159. vertical-align: top;
  160. }
  161. #ribbon .breadcrumb > .active,
  162. #ribbon .breadcrumb li {
  163. color: #aaa;
  164. }
  165. #ribbon .shortcut a {
  166. margin-left: 10px;
  167. }
  168. .is-dialog #main {
  169. background: #fff;
  170. }
  171. form.form-horizontal .control-label {
  172. font-weight: normal;
  173. }
  174. .user-panel > .image img {
  175. width: 45px;
  176. height: 45px;
  177. }
  178. /*panel扩展描述样式*/
  179. .panel-intro {
  180. margin-bottom: 0;
  181. border: none;
  182. }
  183. .panel-intro > .panel-heading {
  184. padding: 15px;
  185. padding-bottom: 0;
  186. background: #e8edf0;
  187. border-color: #e8edf0;
  188. position: relative;
  189. }
  190. .panel-intro > .panel-heading .panel-lead {
  191. margin-bottom: 15px;
  192. }
  193. .panel-intro > .panel-heading .panel-lead em {
  194. display: block;
  195. font-weight: bold;
  196. font-style: normal;
  197. }
  198. .panel-intro > .panel-heading .panel-title {
  199. height: 25px;
  200. font-weight: normal;
  201. white-space: nowrap;
  202. overflow: hidden;
  203. text-overflow: ellipsis;
  204. }
  205. .panel-intro > .panel-heading .panel-control {
  206. height: 42px;
  207. position: absolute;
  208. top: 8px;
  209. right: 8px;
  210. }
  211. .panel-intro > .panel-heading .panel-control .fa {
  212. font-size: 14px;
  213. }
  214. .panel-intro > .panel-heading .nav-tabs {
  215. border-bottom: 0;
  216. margin-bottom: 0;
  217. }
  218. .panel-intro > .panel-heading .nav-tabs > li > a {
  219. margin-right: 4px;
  220. color: #95a5a6;
  221. background-color: #d8e0e6;
  222. border: 1px solid #e8edf0;
  223. border-bottom-color: transparent;
  224. }
  225. .panel-intro > .panel-heading .nav-tabs > li > a:hover,
  226. .panel-intro > .panel-heading .nav-tabs > li > a:focus {
  227. border: 1px solid #e8edf0;
  228. color: #7b8a8b;
  229. background-color: #c9d4dc;
  230. }
  231. .panel-intro > .panel-heading .nav-tabs > li.active > a,
  232. .panel-intro > .panel-heading .nav-tabs > li.active > a:hover,
  233. .panel-intro > .panel-heading .nav-tabs > li.active > a:focus {
  234. color: #7b8a8b;
  235. background-color: #ffffff;
  236. border-bottom-color: transparent;
  237. cursor: default;
  238. }
  239. /*单表格*/
  240. .panel-tabs .panel-heading {
  241. padding: 12px 15px 12px 15px;
  242. }
  243. .panel-tabs .panel-heading .panel-lead {
  244. margin-bottom: 0px;
  245. }
  246. /*选项卡*/
  247. .panel-nav .panel-heading {
  248. padding: 0px;
  249. padding-bottom: 0;
  250. background: #f1f4f6;
  251. border-color: #f1f4f6;
  252. }
  253. .panel-nav .nav-tabs > li > a {
  254. padding: 12px 15px;
  255. background-color: #e8edf0;
  256. border: 1px solid #f1f4f6;
  257. }
  258. .panel-nav .nav-tabs > li > a:hover,
  259. .panel-nav .nav-tabs > li > a:focus {
  260. border: 1px solid #e8edf0;
  261. background-color: #e8edf0;
  262. }
  263. .panel-nav .nav-tabs > li.active > a,
  264. .panel-nav .nav-tabs > li.active > a:hover,
  265. .panel-nav .nav-tabs > li.active > a:focus {
  266. border-color: #f1f4f6;
  267. border-bottom-color: transparent;
  268. }
  269. /*顶栏addtabs*/
  270. .nav-addtabs {
  271. height: 100%;
  272. border: none;
  273. }
  274. .nav-addtabs.disable-top-badge > li > a > .pull-right-container {
  275. display: none;
  276. }
  277. .nav-addtabs > li {
  278. margin: 0;
  279. }
  280. .nav-addtabs > li > a {
  281. height: 50px;
  282. line-height: 50px;
  283. padding: 0 15px;
  284. border-radius: 0;
  285. border: none;
  286. border-right: 1px solid rgba(0, 0, 0, 0.05);
  287. margin: 0;
  288. color: #95a5a6;
  289. }
  290. .nav-addtabs > li > a:hover,
  291. .nav-addtabs > li > a:focus {
  292. border: none;
  293. color: #2c3e50;
  294. border-right: 1px solid rgba(0, 0, 0, 0.05);
  295. }
  296. .nav-addtabs > li > a i {
  297. margin-right: 3px;
  298. }
  299. .nav-addtabs > li.active > a {
  300. height: 50px;
  301. line-height: 50px;
  302. padding: 0 15px;
  303. border-radius: 0;
  304. border: none;
  305. border-right: 1px solid rgba(0, 0, 0, 0.05);
  306. background: #f1f4f6;
  307. color: #2c3e50;
  308. overflow: hidden;
  309. }
  310. .nav-addtabs > li.active > a:hover,
  311. .nav-addtabs > li.active > a:focus {
  312. border: none;
  313. color: #2c3e50;
  314. background: #f1f4f6;
  315. border-right: 1px solid rgba(0, 0, 0, 0.05);
  316. }
  317. .nav-addtabs > li .close-tab {
  318. font-size: 10px;
  319. position: absolute;
  320. right: 0px;
  321. top: 50%;
  322. margin-top: -8px;
  323. z-index: 100;
  324. cursor: pointer;
  325. color: #eee;
  326. display: none;
  327. }
  328. .nav-addtabs > li .close-tab:before {
  329. content: "\e626";
  330. font-family: iconfont;
  331. font-style: normal;
  332. font-weight: normal;
  333. text-decoration: inherit;
  334. font-size: 18px;
  335. }
  336. .nav-addtabs .open > a:hover,
  337. .nav-addtabs .open > a:focus {
  338. border-right: 1px solid rgba(0, 0, 0, 0.05);
  339. }
  340. .nav-addtabs ul li {
  341. position: relative;
  342. }
  343. .nav-addtabs li:hover > .close-tab {
  344. display: block;
  345. }
  346. .multiplenav .content-wrapper,
  347. .multiplenav .right-side {
  348. padding-top: 94px;
  349. }
  350. .multiplenav #firstnav .nav-addtabs {
  351. padding-right: 450px;
  352. }
  353. #firstnav {
  354. height: 50px;
  355. border-bottom: 1px solid transparent;
  356. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  357. position: relative;
  358. }
  359. #firstnav .sidebar-toggle {
  360. position: absolute;
  361. width: 45px;
  362. text-align: center;
  363. height: 50px;
  364. line-height: 50px;
  365. padding: 0;
  366. }
  367. #firstnav .nav-addtabs {
  368. position: absolute;
  369. left: 45px;
  370. z-index: 98;
  371. }
  372. #firstnav .navbar-custom-menu {
  373. position: absolute;
  374. top: 0;
  375. right: 0;
  376. z-index: 99;
  377. background: transparent;
  378. }
  379. /*次栏菜单栏*/
  380. #secondnav {
  381. height: 44px;
  382. position: absolute;
  383. top: 50px;
  384. left: 0;
  385. background: #fff;
  386. width: 100%;
  387. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  388. padding: 5px 10px;
  389. -webkit-user-select: none;
  390. -moz-user-select: none;
  391. user-select: none;
  392. }
  393. #secondnav .nav-addtabs {
  394. height: 100%;
  395. border: none;
  396. }
  397. #secondnav .nav-addtabs.disable-top-badge > li > a > .pull-right-container {
  398. display: none;
  399. }
  400. #secondnav .nav-addtabs > li {
  401. border: 1px solid #eee;
  402. border-radius: 3px;
  403. padding: 0 15px;
  404. height: 30px;
  405. line-height: 30px;
  406. margin: 2px 5px 2px 0;
  407. background: #fff;
  408. }
  409. #secondnav .nav-addtabs > li > a {
  410. display: block;
  411. color: #495060 !important;
  412. height: 100%;
  413. padding: 0;
  414. line-height: 28px;
  415. font-size: 12px;
  416. vertical-align: middle;
  417. opacity: 1;
  418. overflow: hidden;
  419. background: none;
  420. border: none;
  421. }
  422. #secondnav .nav-addtabs > li > a i {
  423. margin-right: 3px;
  424. }
  425. #secondnav .nav-addtabs > li.active {
  426. border-color: #bdbebd;
  427. background-color: #f7f7f7;
  428. }
  429. #secondnav .nav-addtabs > li .close-tab {
  430. font-size: 10px;
  431. position: absolute;
  432. right: 0px;
  433. top: 50%;
  434. margin-top: -8px;
  435. z-index: 100;
  436. cursor: pointer;
  437. color: #eee;
  438. }
  439. #secondnav .nav-addtabs > li .close-tab:before {
  440. content: "\e626";
  441. font-family: iconfont;
  442. font-style: normal;
  443. font-weight: normal;
  444. text-decoration: inherit;
  445. font-size: 18px;
  446. }
  447. #secondnav .nav-addtabs > li:hover,
  448. #secondnav .nav-addtabs > li:focus {
  449. border-color: #bdbebd;
  450. }
  451. #secondnav .nav-addtabs ul li {
  452. position: relative;
  453. }
  454. #secondnav .nav-addtabs li:hover > .close-tab {
  455. display: block;
  456. border-color: #222e32;
  457. color: #222e32;
  458. }
  459. .main-sidebar .sidebar-form {
  460. overflow: visible;
  461. }
  462. .main-sidebar .sidebar-form .menuresult {
  463. z-index: 999;
  464. position: absolute;
  465. top: 34px;
  466. left: -1px;
  467. width: 100%;
  468. max-height: 250px;
  469. overflow: auto;
  470. margin: 0;
  471. border-top: none;
  472. border-top-left-radius: 0;
  473. border-top-right-radius: 0;
  474. }
  475. .main-sidebar .sidebar-form .menuresult a {
  476. border-top: 1px solid #eee;
  477. background-color: #fff;
  478. border-bottom: 1px solid #eee;
  479. margin-bottom: -1px;
  480. display: block;
  481. padding: 10px 15px;
  482. color: #222d32;
  483. }
  484. .main-sidebar .sidebar-form .menuresult a:hover {
  485. background: #eee;
  486. }
  487. .input-group .sp_result_area {
  488. width: 100%;
  489. }
  490. .sidebar-menu.show-submenu .treeview-menu {
  491. display: block;
  492. }
  493. .sidebar-menu > li .badge {
  494. margin-top: 0;
  495. }
  496. .sidebar-collapse .user-panel > .image img {
  497. width: 25px;
  498. height: 25px;
  499. }
  500. @media (min-width: 768px) {
  501. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
  502. top: 41px;
  503. }
  504. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
  505. top: 7px !important;
  506. height: 17px;
  507. }
  508. }
  509. .fieldlist dd {
  510. display: block;
  511. margin: 5px 0;
  512. }
  513. .fieldlist dd input {
  514. display: inline-block;
  515. width: 300px;
  516. }
  517. .fieldlist dd input:first-child {
  518. width: 110px;
  519. }
  520. .fieldlist dd ins {
  521. width: 110px;
  522. display: inline-block;
  523. text-decoration: none;
  524. font-weight: bold;
  525. }
  526. /* 弹窗中的表单 */
  527. .form-layer {
  528. height: 100%;
  529. min-height: 150px;
  530. min-width: 300px;
  531. }
  532. .form-layer .form-body {
  533. width: 100%;
  534. overflow: auto;
  535. top: 0;
  536. position: absolute;
  537. z-index: 10;
  538. bottom: 50px;
  539. padding: 15px;
  540. }
  541. .form-layer .form-footer {
  542. height: 50px;
  543. line-height: 50px;
  544. background-color: #ecf0f1;
  545. width: 100%;
  546. position: absolute;
  547. z-index: 200;
  548. bottom: 0;
  549. margin: 0;
  550. }
  551. .form-layer .form-footer .form-group {
  552. margin-left: 0;
  553. margin-right: 0;
  554. }
  555. #treeview .jstree-container-ul .jstree-node {
  556. display: block;
  557. clear: both;
  558. }
  559. #treeview .jstree-leaf:not(:first-child) {
  560. float: left;
  561. background: none;
  562. margin-left: 0;
  563. width: 80px;
  564. clear: none;
  565. }
  566. #treeview .jstree-leaf {
  567. float: left;
  568. margin-left: 0;
  569. padding-left: 24px;
  570. width: 80px;
  571. clear: none;
  572. color: #777;
  573. }
  574. #treeview .jstree-leaf > .jstree-icon,
  575. #treeview .jstree-leaf .jstree-themeicon {
  576. display: none;
  577. }
  578. #treeview .jstree-last {
  579. background-image: url("../img/32px.png");
  580. background-position: -292px -4px;
  581. background-repeat: repeat-y;
  582. }
  583. #treeview .jstree-children:before,
  584. #treeview .jstree-children:after {
  585. content: " ";
  586. display: table;
  587. }
  588. #treeview .jstree-children:after {
  589. clear: both;
  590. }
  591. #treeview .jstree-themeicon {
  592. display: none;
  593. }
  594. /*去除bootstrap-table的边框*/
  595. .fixed-table-container {
  596. border: none !important;
  597. }
  598. /*修复nice-validator新版下的一处BUG*/
  599. .nice-validator input,
  600. .nice-validator select,
  601. .nice-validator textarea,
  602. .nice-validator [contenteditable] {
  603. display: inline-block;
  604. *display: inline;
  605. *zoom: 1;
  606. }
  607. /*修复nice-validator和summernote的编辑框冲突*/
  608. .nice-validator .note-editor .note-editing-area .note-editable {
  609. display: inherit;
  610. }
  611. /*预览区域*/
  612. .plupload-preview {
  613. padding: 0 10px;
  614. margin-bottom: 0;
  615. }
  616. .plupload-preview li {
  617. margin-top: 15px;
  618. }
  619. .plupload-preview .thumbnail {
  620. margin-bottom: 10px;
  621. }
  622. .plupload-preview a {
  623. display: block;
  624. }
  625. .plupload-preview a:first-child {
  626. height: 90px;
  627. }
  628. .plupload-preview a img {
  629. height: 80px;
  630. object-fit: cover;
  631. }
  632. .pjax-loader-bar .progress {
  633. position: fixed;
  634. top: 0;
  635. left: 0;
  636. height: 2px;
  637. background: #77b6ff;
  638. box-shadow: 0 0 10px rgba(119, 182, 255, 0.7);
  639. -webkit-transition: width 0.4s ease;
  640. transition: width 0.4s ease;
  641. }
  642. .dropdown-menu.text-left a,
  643. .dropdown-menu.text-left li {
  644. text-align: left !important;
  645. }
  646. .bootstrap-table .fixed-table-toolbar .dropdown-menu {
  647. overflow: auto;
  648. }
  649. .bootstrap-table .fa-toggle-on.fa-2x {
  650. font-size: 1.86em;
  651. }
  652. .bootstrap-table .form-commonsearch .form-group {
  653. margin-left: 0;
  654. margin-right: 0;
  655. white-space: nowrap;
  656. }
  657. .toolbar {
  658. margin-top: 10px;
  659. margin-bottom: 10px;
  660. }
  661. .fixed-table-toolbar .bs-bars,
  662. .fixed-table-toolbar .columns,
  663. .fixed-table-toolbar .search {
  664. line-height: inherit;
  665. }
  666. .fixed-table-toolbar .toolbar {
  667. margin-top: 0;
  668. margin-bottom: 0;
  669. }
  670. .bootstrap-table table tbody tr:first-child td .bs-checkbox {
  671. vertical-align: middle;
  672. }
  673. .bootstrap-table td.bs-checkbox {
  674. vertical-align: middle;
  675. }
  676. table.table-nowrap tbody > tr > td,
  677. table.table-nowrap thead > tr > th {
  678. white-space: nowrap;
  679. }
  680. .fixed-table-container thead th .sortable {
  681. padding-right: 0;
  682. }
  683. .dropdown-submenu {
  684. position: relative;
  685. }
  686. .dropdown-submenu > .dropdown-menu {
  687. overflow: auto;
  688. top: 0;
  689. left: 100%;
  690. margin-top: -6px;
  691. margin-left: -1px;
  692. -webkit-border-radius: 0 6px 6px 6px;
  693. -webkit-background-clip: padding-box;
  694. -moz-border-radius: 0 6px 6px 6px;
  695. -moz-background-clip: padding;
  696. border-radius: 0 6px 6px 6px;
  697. background-clip: padding-box;
  698. }
  699. .dropdown-submenu:hover > .dropdown-menu {
  700. display: block;
  701. }
  702. .dropdown-submenu:hover > a:after {
  703. border-left-color: #fff;
  704. }
  705. .dropdown-submenu > a:after {
  706. display: block;
  707. content: " ";
  708. float: right;
  709. width: 0;
  710. height: 0;
  711. border-color: transparent;
  712. border-style: solid;
  713. border-width: 5px 0 5px 5px;
  714. border-left-color: #ccc;
  715. margin-top: 5px;
  716. margin-right: -10px;
  717. }
  718. .dropdown-submenu.pull-left {
  719. float: none;
  720. }
  721. .dropdown-submenu.pull-left > .dropdown-menu {
  722. left: -100%;
  723. margin-left: 10px;
  724. -webkit-border-radius: 6px 0 6px 6px;
  725. -webkit-background-clip: padding-box;
  726. -moz-border-radius: 6px 0 6px 6px;
  727. -moz-background-clip: padding;
  728. border-radius: 6px 0 6px 6px;
  729. background-clip: padding-box;
  730. }
  731. /*重写toast的几个背景色*/
  732. .toast-primary {
  733. background-color: #48c9b0 !important;
  734. }
  735. .toast-success {
  736. background-color: #18bc9c !important;
  737. }
  738. .toast-error {
  739. background-color: #e74c3c !important;
  740. }
  741. .toast-info {
  742. background-color: #5dade2 !important;
  743. }
  744. .toast-warning {
  745. background-color: #f1c40f !important;
  746. }
  747. .toast-inverse {
  748. background-color: #34495e !important;
  749. }
  750. .toast-default {
  751. background-color: #bdc3c7 !important;
  752. }
  753. #toast-container > div,
  754. #toast-container > div:hover {
  755. -webkit-box-shadow: 0 0 3px #eee;
  756. -moz-box-shadow: 0 0 3px #eee;
  757. box-shadow: 0 0 3px #eee;
  758. }
  759. .layui-layer-fast {
  760. /*自定义底部灰色操作区*/
  761. }
  762. .layui-layer-fast .layui-layer-title {
  763. background: #2c3e50 !important;
  764. color: #fff !important;
  765. border-bottom: none;
  766. }
  767. .layui-layer-fast .layui-layer-title ~ .layui-layer-setwin {
  768. top: 0px;
  769. height: 42px;
  770. }
  771. .layui-layer-fast .layui-layer-title ~ .layui-layer-setwin > a {
  772. height: 42px;
  773. line-height: 42px;
  774. display: inline-block;
  775. }
  776. .layui-layer-fast.layui-layer-border {
  777. border: none !important;
  778. box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3) !important;
  779. }
  780. .layui-layer-fast.layui-layer-iframe {
  781. overflow: visible;
  782. }
  783. .layui-layer-fast .layui-layer-moves {
  784. -webkit-box-sizing: content-box;
  785. -moz-box-sizing: content-box;
  786. box-sizing: content-box;
  787. }
  788. .layui-layer-fast .layui-layer-btn {
  789. text-align: center !important;
  790. padding: 10px !important;
  791. background: #ecf0f1;
  792. overflow: hidden;
  793. }
  794. .layui-layer-fast .layui-layer-btn a {
  795. background-color: #95a5a6;
  796. border-color: #95a5a6;
  797. color: #fff !important;
  798. height: 31px;
  799. margin-top: 0;
  800. border: 1px solid transparent;
  801. }
  802. .layui-layer-fast .layui-layer-btn .layui-layer-btn0 {
  803. background-color: #18bc9c;
  804. border-color: #18bc9c;
  805. }
  806. .layui-layer-fast .layui-layer-footer {
  807. padding: 8px 20px;
  808. background-color: #ecf0f1;
  809. height: auto;
  810. text-align: inherit !important;
  811. }
  812. .layui-layer-fast .layui-layer-setwin > a {
  813. background: none !important;
  814. }
  815. .layui-layer-fast .layui-layer-setwin > a cite {
  816. display: none;
  817. }
  818. .layui-layer-fast .layui-layer-setwin > a:after {
  819. content: "\e625";
  820. font-family: iconfont;
  821. font-style: normal;
  822. font-weight: normal;
  823. text-decoration: inherit;
  824. position: absolute;
  825. font-size: 18px;
  826. color: #fff;
  827. margin: 0;
  828. z-index: 1;
  829. }
  830. .layui-layer-fast .layui-layer-setwin > a:hover {
  831. text-decoration: none !important;
  832. background: none !important;
  833. }
  834. .layui-layer-fast .layui-layer-setwin > a:focus {
  835. text-decoration: none !important;
  836. }
  837. .layui-layer-fast .layui-layer-setwin .layui-layer-min {
  838. display: none;
  839. }
  840. .layui-layer-fast .layui-layer-setwin .layui-layer-min:after {
  841. content: "\e625";
  842. }
  843. .layui-layer-fast .layui-layer-setwin .layui-layer-max {
  844. display: none;
  845. }
  846. .layui-layer-fast .layui-layer-setwin .layui-layer-max:after {
  847. content: "\e623";
  848. }
  849. .layui-layer-fast .layui-layer-setwin .layui-layer-maxmin {
  850. display: none;
  851. }
  852. .layui-layer-fast .layui-layer-setwin .layui-layer-maxmin:after {
  853. content: "\e624";
  854. }
  855. .layui-layer-fast .layui-layer-setwin .layui-layer-close1:after {
  856. content: "\e626";
  857. }
  858. .layui-layer-fast .layui-layer-setwin .layui-layer-close2,
  859. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:hover {
  860. background: url('../libs/layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
  861. top: -30px;
  862. right: -30px;
  863. }
  864. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:after,
  865. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:hover:after {
  866. display: none;
  867. }
  868. .layui-layer-content {
  869. clear: both;
  870. }
  871. .layui-layer-fast-msg {
  872. min-width: 100px;
  873. border-radius: 2px;
  874. background-color: rgba(0, 0, 0, 0.6);
  875. color: #fff;
  876. }
  877. .layui-layer-fast-msg .layui-layer-content {
  878. padding: 12px 25px;
  879. text-align: center;
  880. }
  881. .n-bootstrap .input-group > .n-right {
  882. position: absolute;
  883. }
  884. @media (min-width: 564px) {
  885. body.is-dialog .daterangepicker {
  886. min-width: 130px;
  887. }
  888. body.is-dialog .daterangepicker .ranges ul {
  889. width: 130px;
  890. }
  891. }
  892. /*手机版样式*/
  893. @media (max-width: 480px) {
  894. #firstnav .navbar-custom-menu ul li a {
  895. padding-left: 10px;
  896. padding-right: 10px;
  897. }
  898. #firstnav .navbar-nav > .user-menu .user-image {
  899. margin-top: -3px;
  900. }
  901. .fixed-table-toolbar .columns-right.btn-group {
  902. display: none;
  903. }
  904. .fixed .content-wrapper,
  905. .fixed .right-side {
  906. padding-top: 50px;
  907. }
  908. .multiplenav .fixed .content-wrapper,
  909. .multiplenav .fixed .right-side {
  910. padding-top: 94px;
  911. }
  912. .multiplenav .content-wrapper,
  913. .multiplenav .right-side {
  914. padding-top: 94px;
  915. }
  916. .main-sidebar,
  917. .left-side {
  918. padding-top: 144px;
  919. }
  920. }
  921. /*平板样式*/
  922. @media (max-width: 768px) {
  923. body .wrapper .main-header .logo {
  924. background: none;
  925. color: #fff;
  926. border-bottom: 0 solid transparent;
  927. position: absolute;
  928. top: 0;
  929. z-index: 1200;
  930. width: 130px;
  931. left: 50%;
  932. margin-left: -65px;
  933. }
  934. body .sidebar .mobilenav a.btn-app {
  935. color: #444;
  936. width: 100px;
  937. height: 70px;
  938. font-size: 13px;
  939. }
  940. body .sidebar .mobilenav a.btn-app i.fa {
  941. font-size: 24px;
  942. }
  943. body .sidebar .mobilenav a.btn-app span {
  944. margin-top: 5px;
  945. display: block;
  946. }
  947. body .sidebar .mobilenav a.btn-app.active {
  948. color: #222d32;
  949. }
  950. body .wrapper .main-header .navbar .dropdown-menu li > a {
  951. color: #333;
  952. }
  953. body .wrapper .main-header .navbar .dropdown-menu li > a:hover {
  954. background: #eee;
  955. }
  956. body .wrapper .main-header .navbar .dropdown-menu li.active > a {
  957. color: #fff;
  958. }
  959. body .wrapper .main-header .navbar .dropdown-menu li.active > a:hover {
  960. background: #222d32;
  961. }
  962. .main-sidebar,
  963. .left-side {
  964. padding-top: 94px;
  965. }
  966. .n-bootstrap .n-right {
  967. margin-top: 0;
  968. top: -20px;
  969. position: absolute;
  970. left: 0;
  971. text-align: right;
  972. width: 100%;
  973. }
  974. .n-bootstrap .n-right .msg-wrap {
  975. position: relative;
  976. }
  977. .n-bootstrap .col-xs-12 > .n-right .msg-wrap {
  978. margin-right: 15px;
  979. }
  980. }
  981. /*修复radio和checkbox样式对齐*/
  982. .radio > label,
  983. .checkbox > label {
  984. margin-right: 10px;
  985. }
  986. .radio > label > input,
  987. .checkbox > label > input {
  988. margin: 2px 0 0;
  989. }
  990. .wipecache li a {
  991. color: #444444 !important;
  992. }