backend.css 12 KB

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