backend.css 13 KB

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