frontend.css 11 KB

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