backend.css 21 KB

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