backend.css 14 KB

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