frontend.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. @import url("../css/bootstrap.css");
  2. @import url("../css/fastadmin.css");
  3. @import url("../css/iconfont.css");
  4. @import url("../libs/font-awesome/css/font-awesome.min.css");
  5. @import url("../libs/toastr/toastr.min.css");
  6. @import url("../libs/fastadmin-layer/dist/theme/default/layer.css");
  7. @import url("../libs/bootstrap-table/dist/bootstrap-table.min.css");
  8. @import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
  9. @import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
  10. @import url("../libs/nice-validator/dist/jquery.validator.css");
  11. @import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
  12. @import url("../libs/fastadmin-selectpage/selectpage.css");
  13. @import url("../libs/bootstrap-slider/slider.css");
  14. html,
  15. body {
  16. height: 100%;
  17. }
  18. body {
  19. padding-top: 50px;
  20. font-size: 13px;
  21. background: #f4f6f8;
  22. }
  23. .dropdown:hover .dropdown-menu {
  24. display: block;
  25. margin-top: 0;
  26. }
  27. .navbar {
  28. border: none;
  29. }
  30. .navbar-nav > li > a {
  31. font-size: 14px;
  32. }
  33. .navbar-nav ul.dropdown-menu > li > a {
  34. padding: 5px 20px;
  35. font-size: 13px;
  36. }
  37. .toast-top-center {
  38. top: 50px;
  39. }
  40. #toast-container > div {
  41. -webkit-box-shadow: none;
  42. -moz-box-shadow: none;
  43. box-shadow: none;
  44. }
  45. /*修复nice-validator和summernote的编辑框冲突*/
  46. .nice-validator .note-editor .note-editing-area .note-editable {
  47. display: inherit;
  48. }
  49. /*预览区域*/
  50. .plupload-preview,
  51. .faupload-preview {
  52. padding: 0 10px;
  53. margin-bottom: 0;
  54. }
  55. .plupload-preview li,
  56. .faupload-preview li {
  57. margin-top: 10px;
  58. }
  59. .plupload-preview .thumbnail,
  60. .faupload-preview .thumbnail {
  61. margin-bottom: 10px;
  62. }
  63. .plupload-preview a,
  64. .faupload-preview a {
  65. display: block;
  66. }
  67. .plupload-preview a:first-child,
  68. .faupload-preview a:first-child {
  69. height: 90px;
  70. }
  71. .plupload-preview a img,
  72. .faupload-preview a img {
  73. height: 80px;
  74. object-fit: cover;
  75. }
  76. .layui-layer-content {
  77. clear: both;
  78. }
  79. .layui-layer-fast-msg {
  80. min-width: 100px;
  81. border-radius: 2px;
  82. background-color: rgba(0, 0, 0, 0.6);
  83. color: #fff;
  84. }
  85. .layui-layer-fast-msg .layui-layer-content {
  86. padding: 12px 25px;
  87. text-align: center;
  88. }
  89. .input-group > .msg-box.n-right {
  90. position: absolute;
  91. }
  92. /*修复radio和checkbox样式对齐*/
  93. .radio > label,
  94. .checkbox > label {
  95. margin-right: 10px;
  96. }
  97. .radio > label > input,
  98. .checkbox > label > input {
  99. margin: 2px 0 0;
  100. }
  101. #header-navbar li.dropdown ul.dropdown-menu {
  102. min-width: 94px;
  103. }
  104. form.form-horizontal .control-label {
  105. font-weight: normal;
  106. }
  107. .panel-default {
  108. padding: 0 15px;
  109. border: none;
  110. -webkit-box-shadow: none;
  111. -moz-box-shadow: none;
  112. box-shadow: none;
  113. }
  114. .panel-default > .panel-heading {
  115. position: relative;
  116. font-size: 16px;
  117. padding: 15px 0;
  118. background: #fff;
  119. border-bottom: 1px solid #f5f5f5;
  120. }
  121. .panel-default h2.page-header {
  122. margin-top: 0;
  123. height: 50px;
  124. line-height: 31px;
  125. font-size: 18px;
  126. padding: 10px 0;
  127. border-bottom: 1px solid #f5f5f5;
  128. }
  129. .panel-default > .panel-heading .panel-title {
  130. color: #313131;
  131. }
  132. .panel-default > .panel-heading .panel-title > i {
  133. display: none;
  134. }
  135. .panel-default > .panel-heading .more {
  136. position: absolute;
  137. top: 13px;
  138. right: 0;
  139. display: block;
  140. color: #919191;
  141. -webkit-transition: all 0.3s ease;
  142. -moz-transition: all 0.3s ease;
  143. -o-transition: all 0.3s ease;
  144. transition: all 0.3s ease;
  145. }
  146. .panel-default > .panel-heading .more:hover {
  147. color: #616161;
  148. -webkit-transition: all 0.3s ease;
  149. -moz-transition: all 0.3s ease;
  150. -o-transition: all 0.3s ease;
  151. transition: all 0.3s ease;
  152. }
  153. .panel-default > .panel-heading .panel-bar {
  154. position: absolute;
  155. top: 7px;
  156. right: 0;
  157. display: block;
  158. }
  159. @media (max-width: 767px) {
  160. .panel-default {
  161. padding: 0 10px;
  162. }
  163. .panel-default > .panel-heading {
  164. padding: 10px 0;
  165. }
  166. .panel-default > .panel-heading .more {
  167. top: 8px;
  168. }
  169. > .panel-body {
  170. position: relative;
  171. padding: 15px 0;
  172. }
  173. > .panel-footer {
  174. padding: 15px 0;
  175. background: none;
  176. }
  177. }
  178. .panel-gray {
  179. -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  180. -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  181. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  182. }
  183. .panel-gray > .panel-heading {
  184. background-color: #f5f5f5;
  185. color: #919191;
  186. }
  187. .panel-gray > .panel-body {
  188. color: #919191;
  189. background: #fff;
  190. border-bottom-left-radius: 4px;
  191. border-bottom-right-radius: 4px;
  192. }
  193. .panel-page {
  194. padding: 45px 50px 50px;
  195. min-height: 500px;
  196. }
  197. .panel-page .panel-heading {
  198. background: transparent;
  199. border-bottom: none;
  200. margin: 0 0 30px 0;
  201. padding: 0;
  202. }
  203. .panel-page .panel-heading h2 {
  204. font-size: 25px;
  205. margin-top: 0;
  206. }
  207. @media (max-width: 767px) {
  208. .panel-page {
  209. padding: 15px;
  210. min-height: 300px;
  211. }
  212. }
  213. .nav-pills > li {
  214. margin-right: 5px;
  215. }
  216. .nav-pills > li > a {
  217. padding: 10px 15px;
  218. color: #616161;
  219. -webkit-transition: all 0.3s ease;
  220. -moz-transition: all 0.3s ease;
  221. -o-transition: all 0.3s ease;
  222. transition: all 0.3s ease;
  223. }
  224. .nav-pills > li > a:hover {
  225. -webkit-transition: all 0.3s ease;
  226. -moz-transition: all 0.3s ease;
  227. -o-transition: all 0.3s ease;
  228. transition: all 0.3s ease;
  229. background-color: #f5f5f5;
  230. }
  231. .nav-pills > li.active > a {
  232. border: none;
  233. color: #fff;
  234. background: #46c37b;
  235. -webkit-transition: all 0.3s ease;
  236. -moz-transition: all 0.3s ease;
  237. -o-transition: all 0.3s ease;
  238. transition: all 0.3s ease;
  239. border-radius: 3px;
  240. }
  241. .nav-pills.nav-pills-sm > li > a {
  242. font-size: 12px;
  243. line-height: 1.5;
  244. padding: 4px 13px;
  245. }
  246. .fieldlist dd {
  247. display: block;
  248. margin: 5px 0;
  249. }
  250. .fieldlist dd input {
  251. display: inline-block;
  252. width: 300px;
  253. }
  254. .fieldlist dd input:first-child {
  255. width: 110px;
  256. }
  257. .fieldlist dd ins {
  258. width: 110px;
  259. display: inline-block;
  260. text-decoration: none;
  261. font-weight: bold;
  262. }
  263. /* 弹窗中的表单 */
  264. .form-layer {
  265. height: 100%;
  266. min-height: 150px;
  267. min-width: 300px;
  268. }
  269. .form-layer .form-body {
  270. width: 100%;
  271. overflow: auto;
  272. top: 0;
  273. position: absolute;
  274. z-index: 10;
  275. bottom: 50px;
  276. padding: 15px;
  277. }
  278. .form-layer .form-footer {
  279. height: 50px;
  280. line-height: 50px;
  281. background-color: #ecf0f1;
  282. width: 100%;
  283. position: absolute;
  284. z-index: 200;
  285. bottom: 0;
  286. margin: 0;
  287. }
  288. .form-layer .form-footer .form-group {
  289. margin-left: 0;
  290. margin-right: 0;
  291. }
  292. footer.footer {
  293. width: 100%;
  294. color: #aaa;
  295. background: #555;
  296. margin-top: 25px;
  297. }
  298. footer.footer .copyright {
  299. line-height: 50px;
  300. text-align: center;
  301. background: #393939;
  302. margin: 0;
  303. }
  304. footer.footer .copyright a {
  305. color: #aaa;
  306. }
  307. footer.footer .copyright a:hover {
  308. color: #fff;
  309. }
  310. .rotate {
  311. -webkit-transition-duration: 0.8s;
  312. -moz-transition-duration: 0.8s;
  313. -o-transition-duration: 0.8s;
  314. transition-duration: 0.8s;
  315. -webkit-transition-property: transform;
  316. transition-property: transform;
  317. -webkit-transition-property: -webkit-transform;
  318. -moz-transition-property: -moz-transform;
  319. -o-transition-property: -o-transform;
  320. transition-property: -webkit-transform,-moz-transform,-o-transform,transform;
  321. overflow: hidden;
  322. }
  323. .rotate:hover {
  324. -webkit-transform: rotate(360deg);
  325. -moz-transform: rotate(360deg);
  326. -o-transform: rotate(360deg);
  327. -ms-transform: rotate(360deg);
  328. transform: rotate(360deg);
  329. }
  330. .user-section {
  331. background: #fff;
  332. padding: 15px;
  333. margin-bottom: 20px;
  334. -webkit-border-radius: 4px;
  335. -webkit-background-clip: padding-box;
  336. -moz-border-radius: 4px;
  337. -moz-background-clip: padding;
  338. border-radius: 4px;
  339. background-clip: padding-box;
  340. }
  341. .login-section {
  342. margin: 50px auto;
  343. width: 460px;
  344. -webkit-border-radius: 0;
  345. -webkit-background-clip: padding-box;
  346. -moz-border-radius: 0;
  347. -moz-background-clip: padding;
  348. border-radius: 0;
  349. background-clip: padding-box;
  350. }
  351. .login-section.login-section-weixin {
  352. min-height: 315px;
  353. }
  354. .login-section .logon-tab {
  355. margin: -15px -15px 0 -15px;
  356. }
  357. .login-section .logon-tab > a {
  358. display: block;
  359. padding: 20px;
  360. float: left;
  361. width: 50%;
  362. font-size: 16px;
  363. text-align: center;
  364. color: #616161;
  365. background-color: #ececec;
  366. -webkit-transition: all 0.3s ease;
  367. -moz-transition: all 0.3s ease;
  368. -o-transition: all 0.3s ease;
  369. transition: all 0.3s ease;
  370. }
  371. .login-section .logon-tab > a:hover {
  372. background-color: #fafafa;
  373. -webkit-transition: all 0.3s ease;
  374. -moz-transition: all 0.3s ease;
  375. -o-transition: all 0.3s ease;
  376. transition: all 0.3s ease;
  377. }
  378. .login-section .logon-tab > a.active {
  379. background-color: #fff;
  380. -webkit-transition: all 0.3s ease;
  381. -moz-transition: all 0.3s ease;
  382. -o-transition: all 0.3s ease;
  383. transition: all 0.3s ease;
  384. }
  385. .login-section .login-main {
  386. padding: 40px 45px 20px 45px;
  387. }
  388. .login-section .control-label {
  389. font-size: 13px;
  390. }
  391. .login-section .n-bootstrap .form-group {
  392. position: relative;
  393. }
  394. .login-section .n-bootstrap .input-group {
  395. position: inherit;
  396. }
  397. .login-section .n-bootstrap .n-right {
  398. margin-top: 0;
  399. top: 0;
  400. position: absolute;
  401. left: 0;
  402. text-align: right;
  403. width: 100%;
  404. }
  405. .login-section .n-bootstrap .n-right .msg-wrap {
  406. position: relative;
  407. }
  408. main.content {
  409. width: 100%;
  410. overflow: auto;
  411. padding: 15px;
  412. padding-top: 20px;
  413. min-height: calc(100vh - 125px);
  414. }
  415. .sidenav {
  416. padding: 20px 0 10px 0;
  417. margin-bottom: 20px;
  418. background-color: #fff;
  419. }
  420. .sidenav .list-group:last-child {
  421. margin-bottom: 0;
  422. }
  423. .sidenav .list-group .list-group-heading {
  424. list-style-type: none;
  425. color: #919191;
  426. margin-bottom: 10px;
  427. margin-left: 35px;
  428. font-size: 14px;
  429. }
  430. .sidenav .list-group .list-group-item {
  431. -webkit-border-radius: 0;
  432. -webkit-background-clip: padding-box;
  433. -moz-border-radius: 0;
  434. -moz-background-clip: padding;
  435. border-radius: 0;
  436. background-clip: padding-box;
  437. border: none;
  438. padding: 0;
  439. border-left: 2px solid transparent;
  440. }
  441. .sidenav .list-group .list-group-item:last-child,
  442. .sidenav .list-group .list-group-item:first-child {
  443. -webkit-border-radius: 0;
  444. -webkit-background-clip: padding-box;
  445. -moz-border-radius: 0;
  446. -moz-background-clip: padding;
  447. border-radius: 0;
  448. background-clip: padding-box;
  449. }
  450. .sidenav .list-group .list-group-item:hover {
  451. border-left: 2px solid rgba(245, 245, 245, 0.38);
  452. background-color: rgba(245, 245, 245, 0.38);
  453. }
  454. .sidenav .list-group .list-group-item > a {
  455. display: block;
  456. color: #616161;
  457. padding: 10px 15px 10px 35px;
  458. }
  459. .sidenav .list-group .list-group-item.active {
  460. border-left: 2px solid #46c37b;
  461. background-color: rgba(245, 245, 245, 0.38);
  462. }
  463. .sidenav .list-group .list-group-item.active > a {
  464. color: #46c37b;
  465. }
  466. .nav li .avatar-text,
  467. .nav li .avatar-img {
  468. height: 30px;
  469. width: 30px;
  470. line-height: 30px;
  471. font-size: 14px;
  472. }
  473. .nav li .avatar-img {
  474. font-size: 0;
  475. }
  476. .nav li .avatar-img img {
  477. border-radius: 30px;
  478. width: 30px;
  479. height: 30px;
  480. }
  481. .avatar-text,
  482. .avatar-img {
  483. display: inline-block;
  484. box-sizing: content-box;
  485. color: #fff;
  486. text-align: center;
  487. vertical-align: top;
  488. background-color: #e8ecf3;
  489. font-weight: normal;
  490. width: 48px;
  491. height: 48px;
  492. border-radius: 48px;
  493. font-size: 24px;
  494. line-height: 48px;
  495. }
  496. .avatar-img {
  497. font-size: 0;
  498. }
  499. .avatar-img img {
  500. border-radius: 48px;
  501. width: 48px;
  502. height: 48px;
  503. }
  504. @media (max-width: 767px) {
  505. main.content {
  506. position: inherit;
  507. padding: 15px 0;
  508. }
  509. .login-section {
  510. width: 100%;
  511. margin: 20px auto;
  512. }
  513. .login-section .login-main {
  514. padding: 20px 0 0 0;
  515. }
  516. footer.footer {
  517. position: inherit;
  518. }
  519. footer.footer .copyright {
  520. padding: 10px;
  521. line-height: 30px;
  522. }
  523. }
  524. .pager .pagination {
  525. margin: 0;
  526. }
  527. .pager li {
  528. margin: 0 .4em;
  529. display: inline-block;
  530. }
  531. .pager li:first-child > a,
  532. .pager li:last-child > a,
  533. .pager li:first-child > span,
  534. .pager li:last-child > span {
  535. padding: .5em 1.2em;
  536. }
  537. .pager li > a,
  538. .pager li > span {
  539. background: none;
  540. border: 1px solid #e6e6e6;
  541. border-radius: 0.25em;
  542. padding: .5em .93em;
  543. font-size: 14px;
  544. }
  545. .jumpto input {
  546. height: 31px;
  547. width: 50px;
  548. margin-left: 5px;
  549. margin-right: 5px;
  550. text-align: center;
  551. display: inline-block;
  552. }
  553. /*# sourceMappingURL=frontend.css.map */