backend.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  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/build/skin/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/nice-validator/dist/jquery.validator.css");
  11. @import url("../libs/selectpage/selectpage.css");
  12. body {
  13. background: #f1f4f6;
  14. }
  15. body.is-dialog {
  16. background: #fff;
  17. }
  18. .selection {
  19. position: absolute;
  20. border: 1px solid #8B9;
  21. background-color: #BEC;
  22. }
  23. .main-header .logo,
  24. .main-header .navbar {
  25. -webkit-transition: none;
  26. -moz-transition: none;
  27. -o-transition: none;
  28. transition: none;
  29. }
  30. .main-header .navbar {
  31. position: relative;
  32. }
  33. .main-header .navbar .sidebar-toggle {
  34. position: absolute;
  35. width: 45px;
  36. text-align: center;
  37. }
  38. .main-header .navbar #nav {
  39. position: absolute;
  40. left: 45px;
  41. }
  42. .main-header .navbar .navbar-custom-menu {
  43. position: absolute;
  44. right: 0;
  45. }
  46. .note-dialog .modal {
  47. z-index: 1060;
  48. }
  49. .bootstrap-dialog .modal-dialog {
  50. /*width: 70%;*/
  51. max-width: 885px;
  52. }
  53. .content {
  54. min-height: 500px;
  55. }
  56. #header {
  57. background: #fff;
  58. box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05);
  59. }
  60. .content-wrapper {
  61. position: relative;
  62. }
  63. .control-relative {
  64. position: relative;
  65. }
  66. .tab-addtabs {
  67. overflow: hidden;
  68. }
  69. .tab-addtabs .tab-pane {
  70. height: 100%;
  71. width: 100%;
  72. }
  73. .tab-addtabs.ios-iframe-fix .tab-pane {
  74. -webkit-overflow-scrolling: touch;
  75. overflow: auto;
  76. }
  77. .layui-layer-iframe .layui-layer-content.ios-iframe-fix {
  78. -webkit-overflow-scrolling: touch;
  79. overflow: auto;
  80. overflow-y: auto!important;
  81. }
  82. @media only screen and (min-width: 481px) {
  83. .row-flex {
  84. display: flex;
  85. flex-wrap: wrap;
  86. }
  87. .row-flex > [class*='col-'] {
  88. display: flex;
  89. flex-direction: column;
  90. }
  91. .row-flex.row:after,
  92. .row-flex.row:before {
  93. display: flex;
  94. }
  95. }
  96. .common-search-table {
  97. min-height: 20px;
  98. padding: 15px;
  99. margin-bottom: 15px;
  100. background-color: #f5f5f5;
  101. }
  102. .searchit {
  103. border-bottom: 1px dashed #3c8dbc;
  104. }
  105. /* 固定的底部按钮 */
  106. .fixed-footer {
  107. position: fixed;
  108. bottom: 0;
  109. background-color: #ecf0f1;
  110. width: 100%;
  111. margin-bottom: 0;
  112. padding: 10px;
  113. }
  114. /* 包裹在layer外层 */
  115. .layer-footer {
  116. display: none;
  117. }
  118. table.table-template {
  119. overflow: hidden;
  120. }
  121. .sp_container .msg-box {
  122. position: absolute;
  123. right: 0;
  124. top: 0;
  125. }
  126. .toast-top-right-index {
  127. top: 62px;
  128. right: 12px;
  129. }
  130. .bootstrap-select .status {
  131. background: #f0f0f0;
  132. clear: both;
  133. color: #999;
  134. font-size: 12px;
  135. font-weight: 500;
  136. line-height: 1;
  137. margin-bottom: -5px;
  138. padding: 10px 20px;
  139. }
  140. .img-center {
  141. margin: 0 auto;
  142. display: inline;
  143. float: none;
  144. }
  145. /*
  146. * RIBBON
  147. */
  148. #ribbon {
  149. overflow: hidden;
  150. padding: 15px 15px 0 15px;
  151. position: relative;
  152. }
  153. #ribbon a {
  154. color: #777 !important;
  155. text-decoration: none !important;
  156. }
  157. #ribbon .breadcrumb {
  158. display: inline-block;
  159. margin: 0;
  160. padding: 0;
  161. background: none;
  162. vertical-align: top;
  163. }
  164. #ribbon .breadcrumb > .active,
  165. #ribbon .breadcrumb li {
  166. color: #aaa;
  167. }
  168. #ribbon .shortcut a {
  169. margin-left: 10px;
  170. }
  171. .is-dialog #main {
  172. background: #fff;
  173. }
  174. .is-dialog form label {
  175. font-weight: normal;
  176. }
  177. .user-panel > .image img {
  178. width: 45px;
  179. height: 45px;
  180. }
  181. /*panel扩展描述样式*/
  182. .panel-intro {
  183. margin-bottom: 0;
  184. border: none;
  185. }
  186. .panel-intro > .panel-heading {
  187. padding: 15px;
  188. padding-bottom: 0;
  189. background: #e8edf0;
  190. border-color: #e8edf0;
  191. position: relative;
  192. }
  193. .panel-intro > .panel-heading .panel-lead {
  194. margin-bottom: 15px;
  195. }
  196. .panel-intro > .panel-heading .panel-lead em {
  197. display: block;
  198. font-weight: bold;
  199. font-style: normal;
  200. }
  201. .panel-intro > .panel-heading .panel-title {
  202. height: 25px;
  203. font-weight: normal;
  204. white-space: nowrap;
  205. overflow: hidden;
  206. text-overflow: ellipsis;
  207. }
  208. .panel-intro > .panel-heading .panel-control {
  209. height: 42px;
  210. position: absolute;
  211. top: 8px;
  212. right: 8px;
  213. }
  214. .panel-intro > .panel-heading .panel-control .fa {
  215. font-size: 14px;
  216. }
  217. .panel-intro > .panel-heading .nav-tabs {
  218. border-bottom: 0;
  219. margin-bottom: 0;
  220. }
  221. .panel-intro > .panel-heading .nav-tabs > li > a {
  222. margin-right: 4px;
  223. color: #95a5a6;
  224. background-color: #d8e0e6;
  225. border: 1px solid #e8edf0;
  226. border-bottom-color: transparent;
  227. }
  228. .panel-intro > .panel-heading .nav-tabs > li > a:hover,
  229. .panel-intro > .panel-heading .nav-tabs > li > a:focus {
  230. border: 1px solid #e8edf0;
  231. color: #7b8a8b;
  232. background-color: #c9d4dc;
  233. }
  234. .panel-intro > .panel-heading .nav-tabs > li.active > a,
  235. .panel-intro > .panel-heading .nav-tabs > li.active > a:hover,
  236. .panel-intro > .panel-heading .nav-tabs > li.active > a:focus {
  237. color: #7b8a8b;
  238. background-color: #ffffff;
  239. border-bottom-color: transparent;
  240. cursor: default;
  241. }
  242. /*单表格*/
  243. .panel-tabs .panel-heading {
  244. padding: 12px 15px 12px 15px;
  245. }
  246. .panel-tabs .panel-heading .panel-lead {
  247. margin-bottom: 0px;
  248. }
  249. /*选项卡*/
  250. .panel-nav .panel-heading {
  251. padding: 0px;
  252. padding-bottom: 0;
  253. background: #f1f4f6;
  254. border-color: #f1f4f6;
  255. }
  256. .panel-nav .nav-tabs > li > a {
  257. padding: 12px 15px;
  258. background-color: #e8edf0;
  259. border: 1px solid #f1f4f6;
  260. }
  261. .panel-nav .nav-tabs > li > a:hover,
  262. .panel-nav .nav-tabs > li > a:focus {
  263. border: 1px solid #e8edf0;
  264. background-color: #e8edf0;
  265. }
  266. .panel-nav .nav-tabs > li.active > a,
  267. .panel-nav .nav-tabs > li.active > a:hover,
  268. .panel-nav .nav-tabs > li.active > a:focus {
  269. border-color: #f1f4f6;
  270. border-bottom-color: transparent;
  271. }
  272. /*顶栏addtabs*/
  273. .nav-addtabs {
  274. border: none;
  275. }
  276. .nav-addtabs.disable-top-badge > li > a > .pull-right-container {
  277. display: none;
  278. }
  279. .nav-addtabs > li {
  280. margin: 0;
  281. }
  282. .nav-addtabs > li > a {
  283. height: 49px;
  284. line-height: 49px;
  285. padding: 0 15px;
  286. border-radius: 0;
  287. border: none;
  288. border-right: 1px solid rgba(0, 0, 0, 0.05);
  289. margin: 0;
  290. color: #95a5a6;
  291. }
  292. .nav-addtabs > li > a:hover,
  293. .nav-addtabs > li > a:focus {
  294. border: none;
  295. color: #2c3e50;
  296. border-right: 1px solid rgba(0, 0, 0, 0.05);
  297. }
  298. .nav-addtabs > li > a i {
  299. margin-right: 3px;
  300. }
  301. .nav-addtabs > li.active > a {
  302. height: 49px;
  303. line-height: 49px;
  304. padding: 0 15px;
  305. border-radius: 0;
  306. border: none;
  307. border-right: 1px solid rgba(0, 0, 0, 0.05);
  308. background: #f1f4f6;
  309. color: #2c3e50;
  310. overflow: hidden;
  311. }
  312. .nav-addtabs > li.active > a:hover,
  313. .nav-addtabs > li.active > a:focus {
  314. border: none;
  315. color: #2c3e50;
  316. border-right: 1px solid rgba(0, 0, 0, 0.05);
  317. background: #f1f4f6;
  318. }
  319. .nav-addtabs > li .close-tab {
  320. font-size: 10px;
  321. position: absolute;
  322. right: 5px;
  323. top: 50%;
  324. margin-top: -7px;
  325. z-index: 100;
  326. cursor: hand;
  327. cursor: pointer;
  328. color: #fff;
  329. display: none;
  330. }
  331. .nav-addtabs .open > a:hover,
  332. .nav-addtabs .open > a:focus {
  333. border-right: 1px solid rgba(0, 0, 0, 0.05);
  334. }
  335. .nav-addtabs ul li {
  336. position: relative;
  337. }
  338. .nav-addtabs li:hover > .close-tab {
  339. display: block;
  340. }
  341. .main-sidebar .sidebar-form {
  342. overflow: visible;
  343. }
  344. .main-sidebar .sidebar-form .menuresult {
  345. z-index: 999;
  346. position: absolute;
  347. top: 34px;
  348. left: -1px;
  349. width: 100%;
  350. max-height: 250px;
  351. overflow: auto;
  352. margin: 0;
  353. border-top: none;
  354. border-top-left-radius: 0;
  355. border-top-right-radius: 0;
  356. }
  357. .main-sidebar .sidebar-form .menuresult a {
  358. border-top: 1px solid #eee;
  359. background-color: #fff;
  360. border-bottom: 1px solid #eee;
  361. margin-bottom: -1px;
  362. display: block;
  363. padding: 10px 15px;
  364. color: #222d32;
  365. }
  366. .main-sidebar .sidebar-form .menuresult a:hover {
  367. background: #eee;
  368. }
  369. .input-group .sp_result_area {
  370. width: 100%;
  371. }
  372. .sidebar-menu.show-submenu .treeview-menu {
  373. display: block;
  374. }
  375. .sidebar-menu > li .badge {
  376. margin-top: 0;
  377. }
  378. .sidebar-collapse .user-panel > .image img {
  379. width: 25px;
  380. height: 25px;
  381. }
  382. @media (min-width: 768px) {
  383. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
  384. top: 41px;
  385. }
  386. }
  387. .fieldlist dd {
  388. display: block;
  389. margin: 5px 0;
  390. }
  391. .fieldlist dd input {
  392. display: inline-block;
  393. width: 300px;
  394. }
  395. .fieldlist dd input:first-child {
  396. width: 110px;
  397. }
  398. .fieldlist dd ins {
  399. width: 110px;
  400. display: inline-block;
  401. text-decoration: none;
  402. font-weight: bold;
  403. }
  404. #treeview .jstree-container-ul .jstree-node {
  405. display: block;
  406. clear: both;
  407. }
  408. #treeview .jstree-leaf:not(:first-child) {
  409. float: left;
  410. background: none;
  411. margin-left: 0;
  412. width: 80px;
  413. clear: none;
  414. }
  415. #treeview .jstree-leaf {
  416. float: left;
  417. margin-left: 0;
  418. padding-left: 24px;
  419. width: 80px;
  420. clear: none;
  421. color: #777;
  422. }
  423. #treeview .jstree-leaf > .jstree-icon,
  424. #treeview .jstree-leaf .jstree-themeicon {
  425. display: none;
  426. }
  427. #treeview .jstree-last {
  428. background-image: url("../img/32px.png");
  429. background-position: -292px -4px;
  430. background-repeat: repeat-y;
  431. }
  432. #treeview .jstree-children:before,
  433. #treeview .jstree-children:after {
  434. content: " ";
  435. display: table;
  436. }
  437. #treeview .jstree-children:after {
  438. clear: both;
  439. }
  440. #treeview .jstree-children:before,
  441. #treeview .jstree-children:after {
  442. content: " ";
  443. display: table;
  444. }
  445. #treeview .jstree-children:after {
  446. clear: both;
  447. }
  448. #treeview .jstree-themeicon {
  449. display: none;
  450. }
  451. /*去除bootstrap-table的边框*/
  452. .fixed-table-container {
  453. border: none!important;
  454. }
  455. /*修复nice-validator和summernote的编辑框冲突*/
  456. .nice-validator .note-editor .note-editing-area .note-editable {
  457. display: inherit;
  458. }
  459. /*预览区域*/
  460. .plupload-preview {
  461. padding: 10px;
  462. margin-bottom: 0;
  463. }
  464. .plupload-preview li {
  465. margin-bottom: 10px;
  466. }
  467. .plupload-preview .thumbnail {
  468. margin-bottom: 10px;
  469. }
  470. .plupload-preview a {
  471. display: block;
  472. }
  473. .plupload-preview a:first-child {
  474. height: 90px;
  475. }
  476. .plupload-preview a img {
  477. height: 80px;
  478. object-fit: cover;
  479. }
  480. .pjax-loader-bar .progress {
  481. position: fixed;
  482. top: 0;
  483. left: 0;
  484. height: 2px;
  485. background: #77b6ff;
  486. box-shadow: 0 0 10px rgba(119, 182, 255, 0.7);
  487. -webkit-transition: width 0.4s ease;
  488. transition: width 0.4s ease;
  489. }
  490. .dropdown-menu.text-left a,
  491. .dropdown-menu.text-left li {
  492. text-align: left!important;
  493. }
  494. .bootstrap-table .fixed-table-toolbar .dropdown-menu {
  495. overflow: auto;
  496. }
  497. .bootstrap-table table tbody tr:first-child td .bs-checkbox {
  498. vertical-align: middle;
  499. }
  500. .bootstrap-table td.bs-checkbox {
  501. vertical-align: middle;
  502. }
  503. .dropdown-submenu {
  504. position: relative;
  505. }
  506. .dropdown-submenu > .dropdown-menu {
  507. overflow: auto;
  508. top: 0;
  509. left: 100%;
  510. margin-top: -6px;
  511. margin-left: -1px;
  512. -webkit-border-radius: 0 6px 6px 6px;
  513. -webkit-background-clip: padding-box;
  514. -moz-border-radius: 0 6px 6px 6px;
  515. -moz-background-clip: padding;
  516. border-radius: 0 6px 6px 6px;
  517. background-clip: padding-box;
  518. }
  519. .dropdown-submenu:hover > .dropdown-menu {
  520. display: block;
  521. }
  522. .dropdown-submenu:hover > a:after {
  523. border-left-color: #fff;
  524. }
  525. .dropdown-submenu > a:after {
  526. display: block;
  527. content: " ";
  528. float: right;
  529. width: 0;
  530. height: 0;
  531. border-color: transparent;
  532. border-style: solid;
  533. border-width: 5px 0 5px 5px;
  534. border-left-color: #ccc;
  535. margin-top: 5px;
  536. margin-right: -10px;
  537. }
  538. .dropdown-submenu.pull-left {
  539. float: none;
  540. }
  541. .dropdown-submenu.pull-left > .dropdown-menu {
  542. left: -100%;
  543. margin-left: 10px;
  544. -webkit-border-radius: 6px 0 6px 6px;
  545. -webkit-background-clip: padding-box;
  546. -moz-border-radius: 6px 0 6px 6px;
  547. -moz-background-clip: padding;
  548. border-radius: 6px 0 6px 6px;
  549. background-clip: padding-box;
  550. }
  551. /*重写toast的几个背景色*/
  552. .toast-primary {
  553. background-color: #48c9b0!important;
  554. }
  555. .toast-success {
  556. background-color: #18bc9c!important;
  557. }
  558. .toast-error {
  559. background-color: #e74c3c!important;
  560. }
  561. .toast-info {
  562. background-color: #5dade2!important;
  563. }
  564. .toast-warning {
  565. background-color: #f1c40f!important;
  566. }
  567. .toast-inverse {
  568. background-color: #34495e!important;
  569. }
  570. .toast-default {
  571. background-color: #bdc3c7!important;
  572. }
  573. #toast-container > div,
  574. #toast-container > div:hover {
  575. -webkit-box-shadow: 0 0 3px #eee;
  576. -moz-box-shadow: 0 0 3px #eee;
  577. box-shadow: 0 0 3px #eee;
  578. }
  579. .layui-layer-title {
  580. background: #2c3e50!important;
  581. color: #fff!important;
  582. }
  583. /*避免出现多滚动条*/
  584. .layui-layer-noborder {
  585. border: none!important;
  586. box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3) !important;
  587. }
  588. .layui-layer-moves {
  589. -webkit-box-sizing: content-box;
  590. -moz-box-sizing: content-box;
  591. box-sizing: content-box;
  592. }
  593. .layui-layer-iframe {
  594. overflow: hidden!important;
  595. }
  596. .layui-layer-iframe .layui-layer-content {
  597. -webkit-overflow-scrolling: touch;
  598. overflow-y: hidden!important;
  599. overflow: hidden;
  600. }
  601. /*自定义底部灰色操作区*/
  602. .layui-layer-btn {
  603. text-align: center!important;
  604. padding: 10px!important;
  605. background: #ecf0f1;
  606. }
  607. .layui-layer-footer {
  608. padding: 8px 20px;
  609. background-color: #ecf0f1;
  610. height: auto;
  611. text-align: inherit!important;
  612. }
  613. .layui-layer-btn a {
  614. background-color: #95a5a6!important;
  615. border-color: #95a5a6!important;
  616. color: #fff!important;
  617. }
  618. .layui-layer-btn .layui-layer-btn0 {
  619. background-color: #18bc9c!important;
  620. border-color: #18bc9c!important;
  621. }
  622. .layui-layer-setwin {
  623. top: 10px!important;
  624. }
  625. .layui-layer-setwin > a {
  626. background: none!important;
  627. }
  628. .layui-layer-setwin > a cite {
  629. display: none;
  630. }
  631. .layui-layer-setwin > a:after {
  632. content: "\e625";
  633. font-family: iconfont;
  634. font-style: normal;
  635. font-weight: normal;
  636. text-decoration: inherit;
  637. position: absolute;
  638. font-size: 18px;
  639. color: #fff;
  640. margin: 0;
  641. z-index: 1;
  642. }
  643. .layui-layer-setwin > a:hover {
  644. text-decoration: none!important;
  645. background: none!important;
  646. }
  647. .layui-layer-setwin > a:focus {
  648. text-decoration: none!important;
  649. }
  650. .layui-layer-setwin .layui-layer-min:after {
  651. content: "\e625";
  652. }
  653. .layui-layer-setwin .layui-layer-max:after {
  654. content: "\e623";
  655. }
  656. .layui-layer-setwin .layui-layer-maxmin:after {
  657. content: "\e624";
  658. }
  659. .layui-layer-setwin .layui-layer-close1:after {
  660. content: "\e626";
  661. }
  662. .layui-layer-setwin .layui-layer-close2,
  663. .layui-layer-setwin .layui-layer-close2:hover {
  664. background: url('../libs/layer/build/skin/default/icon.png') no-repeat -149px -31px !important;
  665. }
  666. .layui-layer-setwin .layui-layer-close2:after,
  667. .layui-layer-setwin .layui-layer-close2:hover:after {
  668. display: none;
  669. }
  670. @media (min-width: 768px) {
  671. .form-inline .form-control {
  672. padding-right: 20px;
  673. }
  674. }
  675. /*手机版样式*/
  676. @media (max-width: 480px) {
  677. .nav-addtabs {
  678. display: none;
  679. }
  680. .fixed-table-toolbar .columns-right.btn-group {
  681. display: none;
  682. }
  683. }
  684. /*平板样式*/
  685. /*# sourceMappingURL=backend.css.map */