frontend.css 11 KB

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