backend.css 11 KB

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