backend.css 14 KB

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