backend.css 13 KB

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