backend.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984
  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. .toolbar {
  653. margin-top: 10px;
  654. margin-bottom: 10px;
  655. }
  656. .fixed-table-toolbar .bs-bars,
  657. .fixed-table-toolbar .columns,
  658. .fixed-table-toolbar .search {
  659. line-height: inherit;
  660. }
  661. .fixed-table-toolbar .toolbar {
  662. margin-top: 0;
  663. margin-bottom: 0;
  664. }
  665. .bootstrap-table table tbody tr:first-child td .bs-checkbox {
  666. vertical-align: middle;
  667. }
  668. .bootstrap-table td.bs-checkbox {
  669. vertical-align: middle;
  670. }
  671. .fixed-table-container thead th .sortable {
  672. padding-right: 0;
  673. }
  674. .dropdown-submenu {
  675. position: relative;
  676. }
  677. .dropdown-submenu > .dropdown-menu {
  678. overflow: auto;
  679. top: 0;
  680. left: 100%;
  681. margin-top: -6px;
  682. margin-left: -1px;
  683. -webkit-border-radius: 0 6px 6px 6px;
  684. -webkit-background-clip: padding-box;
  685. -moz-border-radius: 0 6px 6px 6px;
  686. -moz-background-clip: padding;
  687. border-radius: 0 6px 6px 6px;
  688. background-clip: padding-box;
  689. }
  690. .dropdown-submenu:hover > .dropdown-menu {
  691. display: block;
  692. }
  693. .dropdown-submenu:hover > a:after {
  694. border-left-color: #fff;
  695. }
  696. .dropdown-submenu > a:after {
  697. display: block;
  698. content: " ";
  699. float: right;
  700. width: 0;
  701. height: 0;
  702. border-color: transparent;
  703. border-style: solid;
  704. border-width: 5px 0 5px 5px;
  705. border-left-color: #ccc;
  706. margin-top: 5px;
  707. margin-right: -10px;
  708. }
  709. .dropdown-submenu.pull-left {
  710. float: none;
  711. }
  712. .dropdown-submenu.pull-left > .dropdown-menu {
  713. left: -100%;
  714. margin-left: 10px;
  715. -webkit-border-radius: 6px 0 6px 6px;
  716. -webkit-background-clip: padding-box;
  717. -moz-border-radius: 6px 0 6px 6px;
  718. -moz-background-clip: padding;
  719. border-radius: 6px 0 6px 6px;
  720. background-clip: padding-box;
  721. }
  722. /*重写toast的几个背景色*/
  723. .toast-primary {
  724. background-color: #48c9b0 !important;
  725. }
  726. .toast-success {
  727. background-color: #18bc9c !important;
  728. }
  729. .toast-error {
  730. background-color: #e74c3c !important;
  731. }
  732. .toast-info {
  733. background-color: #5dade2 !important;
  734. }
  735. .toast-warning {
  736. background-color: #f1c40f !important;
  737. }
  738. .toast-inverse {
  739. background-color: #34495e !important;
  740. }
  741. .toast-default {
  742. background-color: #bdc3c7 !important;
  743. }
  744. #toast-container > div,
  745. #toast-container > div:hover {
  746. -webkit-box-shadow: 0 0 3px #eee;
  747. -moz-box-shadow: 0 0 3px #eee;
  748. box-shadow: 0 0 3px #eee;
  749. }
  750. .layui-layer-fast {
  751. /*自定义底部灰色操作区*/
  752. }
  753. .layui-layer-fast .layui-layer-title {
  754. background: #2c3e50 !important;
  755. color: #fff !important;
  756. border-bottom: none;
  757. }
  758. .layui-layer-fast .layui-layer-title ~ .layui-layer-setwin {
  759. top: 0px;
  760. height: 42px;
  761. }
  762. .layui-layer-fast .layui-layer-title ~ .layui-layer-setwin > a {
  763. height: 42px;
  764. line-height: 42px;
  765. display: inline-block;
  766. }
  767. .layui-layer-fast.layui-layer-border {
  768. border: none !important;
  769. box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3) !important;
  770. }
  771. .layui-layer-fast.layui-layer-iframe {
  772. overflow: visible;
  773. }
  774. .layui-layer-fast .layui-layer-moves {
  775. -webkit-box-sizing: content-box;
  776. -moz-box-sizing: content-box;
  777. box-sizing: content-box;
  778. }
  779. .layui-layer-fast .layui-layer-btn {
  780. text-align: center !important;
  781. padding: 10px !important;
  782. background: #ecf0f1;
  783. overflow: hidden;
  784. }
  785. .layui-layer-fast .layui-layer-btn a {
  786. background-color: #95a5a6;
  787. border-color: #95a5a6;
  788. color: #fff !important;
  789. height: 31px;
  790. margin-top: 0;
  791. border: 1px solid transparent;
  792. }
  793. .layui-layer-fast .layui-layer-btn .layui-layer-btn0 {
  794. background-color: #18bc9c;
  795. border-color: #18bc9c;
  796. }
  797. .layui-layer-fast .layui-layer-footer {
  798. padding: 8px 20px;
  799. background-color: #ecf0f1;
  800. height: auto;
  801. text-align: inherit !important;
  802. }
  803. .layui-layer-fast .layui-layer-setwin > a {
  804. background: none !important;
  805. }
  806. .layui-layer-fast .layui-layer-setwin > a cite {
  807. display: none;
  808. }
  809. .layui-layer-fast .layui-layer-setwin > a:after {
  810. content: "\e625";
  811. font-family: iconfont;
  812. font-style: normal;
  813. font-weight: normal;
  814. text-decoration: inherit;
  815. position: absolute;
  816. font-size: 18px;
  817. color: #fff;
  818. margin: 0;
  819. z-index: 1;
  820. }
  821. .layui-layer-fast .layui-layer-setwin > a:hover {
  822. text-decoration: none !important;
  823. background: none !important;
  824. }
  825. .layui-layer-fast .layui-layer-setwin > a:focus {
  826. text-decoration: none !important;
  827. }
  828. .layui-layer-fast .layui-layer-setwin .layui-layer-min {
  829. display: none;
  830. }
  831. .layui-layer-fast .layui-layer-setwin .layui-layer-min:after {
  832. content: "\e625";
  833. }
  834. .layui-layer-fast .layui-layer-setwin .layui-layer-max {
  835. display: none;
  836. }
  837. .layui-layer-fast .layui-layer-setwin .layui-layer-max:after {
  838. content: "\e623";
  839. }
  840. .layui-layer-fast .layui-layer-setwin .layui-layer-maxmin {
  841. display: none;
  842. }
  843. .layui-layer-fast .layui-layer-setwin .layui-layer-maxmin:after {
  844. content: "\e624";
  845. }
  846. .layui-layer-fast .layui-layer-setwin .layui-layer-close1:after {
  847. content: "\e626";
  848. }
  849. .layui-layer-fast .layui-layer-setwin .layui-layer-close2,
  850. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:hover {
  851. background: url('../libs/layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
  852. top: -30px;
  853. right: -30px;
  854. }
  855. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:after,
  856. .layui-layer-fast .layui-layer-setwin .layui-layer-close2:hover:after {
  857. display: none;
  858. }
  859. .layui-layer-content {
  860. clear: both;
  861. }
  862. .layui-layer-fast-msg {
  863. min-width: 100px;
  864. border-radius: 2px;
  865. background-color: rgba(0, 0, 0, 0.6);
  866. color: #fff;
  867. }
  868. .layui-layer-fast-msg .layui-layer-content {
  869. padding: 12px 25px;
  870. text-align: center;
  871. }
  872. .n-bootstrap .input-group > .n-right {
  873. position: absolute;
  874. }
  875. @media (min-width: 564px) {
  876. body.is-dialog .daterangepicker {
  877. min-width: 130px;
  878. }
  879. body.is-dialog .daterangepicker .ranges ul {
  880. width: 130px;
  881. }
  882. }
  883. /*手机版样式*/
  884. @media (max-width: 480px) {
  885. #firstnav .navbar-custom-menu ul li a {
  886. padding-left: 10px;
  887. padding-right: 10px;
  888. }
  889. #firstnav .navbar-nav > .user-menu .user-image {
  890. margin-top: -3px;
  891. }
  892. .fixed-table-toolbar .columns-right.btn-group {
  893. display: none;
  894. }
  895. .fixed .content-wrapper,
  896. .fixed .right-side {
  897. padding-top: 50px;
  898. }
  899. .multiplenav .fixed .content-wrapper,
  900. .multiplenav .fixed .right-side {
  901. padding-top: 94px;
  902. }
  903. .multiplenav .content-wrapper,
  904. .multiplenav .right-side {
  905. padding-top: 94px;
  906. }
  907. .main-sidebar,
  908. .left-side {
  909. padding-top: 144px;
  910. }
  911. }
  912. /*平板样式*/
  913. @media (max-width: 768px) {
  914. body .wrapper .main-header .logo {
  915. background: none;
  916. color: #fff;
  917. border-bottom: 0 solid transparent;
  918. position: absolute;
  919. top: 0;
  920. z-index: 1200;
  921. width: 130px;
  922. left: 50%;
  923. margin-left: -65px;
  924. }
  925. body .sidebar .mobilenav a.btn-app {
  926. color: #444;
  927. width: 100px;
  928. height: 70px;
  929. font-size: 13px;
  930. }
  931. body .sidebar .mobilenav a.btn-app i.fa {
  932. font-size: 24px;
  933. }
  934. body .sidebar .mobilenav a.btn-app span {
  935. margin-top: 5px;
  936. display: block;
  937. }
  938. body .sidebar .mobilenav a.btn-app.active {
  939. color: #222d32;
  940. }
  941. body .wrapper .main-header .navbar .dropdown-menu li > a {
  942. color: #333;
  943. }
  944. body .wrapper .main-header .navbar .dropdown-menu li > a:hover {
  945. background: #eee;
  946. }
  947. body .wrapper .main-header .navbar .dropdown-menu li.active > a {
  948. color: #fff;
  949. }
  950. body .wrapper .main-header .navbar .dropdown-menu li.active > a:hover {
  951. background: #222d32;
  952. }
  953. .main-sidebar,
  954. .left-side {
  955. padding-top: 94px;
  956. }
  957. .n-bootstrap .n-right {
  958. margin-top: 0;
  959. top: -20px;
  960. position: absolute;
  961. left: 0;
  962. text-align: right;
  963. width: 100%;
  964. }
  965. .n-bootstrap .n-right .msg-wrap {
  966. position: relative;
  967. }
  968. .n-bootstrap .col-xs-12 > .n-right .msg-wrap {
  969. margin-right: 15px;
  970. }
  971. }
  972. /*修复radio和checkbox样式对齐*/
  973. .radio > label,
  974. .checkbox > label {
  975. margin-right: 10px;
  976. }
  977. .radio > label > input,
  978. .checkbox > label > input {
  979. margin: 2px 0 0;
  980. }
  981. .wipecache li a {
  982. color: #444444 !important;
  983. }