frontend.css 11 KB

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