backend.css 13 KB

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