frontend.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  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. .panel-default {
  77. padding: 0 15px;
  78. border-color: #e4ecf3;
  79. }
  80. .panel-default > .panel-heading {
  81. position: relative;
  82. font-size: 16px;
  83. padding: 15px 0;
  84. background: #fff;
  85. border-bottom: 1px solid #f5f5f5;
  86. }
  87. .panel-default > .panel-heading .panel-title {
  88. color: #313131;
  89. }
  90. .panel-default > .panel-heading .panel-title > i {
  91. display: none;
  92. }
  93. .panel-default > .panel-heading .more {
  94. position: absolute;
  95. top: 13px;
  96. right: 0;
  97. display: block;
  98. color: #919191;
  99. -webkit-transition: all 0.3s ease;
  100. -moz-transition: all 0.3s ease;
  101. -o-transition: all 0.3s ease;
  102. transition: all 0.3s ease;
  103. }
  104. .panel-default > .panel-heading .more:hover {
  105. color: #616161;
  106. -webkit-transition: all 0.3s ease;
  107. -moz-transition: all 0.3s ease;
  108. -o-transition: all 0.3s ease;
  109. transition: all 0.3s ease;
  110. }
  111. .panel-default > .panel-heading .panel-bar {
  112. position: absolute;
  113. top: 7px;
  114. right: 0;
  115. display: block;
  116. }
  117. @media (max-width: 767px) {
  118. .panel-default {
  119. padding: 0 10px;
  120. }
  121. .panel-default > .panel-heading {
  122. padding: 10px 0;
  123. }
  124. .panel-default > .panel-heading .more {
  125. top: 8px;
  126. }
  127. > .panel-body {
  128. position: relative;
  129. padding: 15px 0;
  130. }
  131. > .panel-footer {
  132. padding: 15px 0;
  133. background: none;
  134. }
  135. }
  136. .panel-gray {
  137. -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  138. -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  139. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  140. }
  141. .panel-gray > .panel-heading {
  142. background-color: #f5f5f5;
  143. color: #919191;
  144. }
  145. .panel-gray > .panel-body {
  146. color: #919191;
  147. background: #fff;
  148. border-bottom-left-radius: 4px;
  149. border-bottom-right-radius: 4px;
  150. }
  151. .panel-page {
  152. padding: 45px 50px 50px;
  153. min-height: 500px;
  154. }
  155. .panel-page .panel-heading {
  156. background: transparent;
  157. border-bottom: none;
  158. margin: 0 0 30px 0;
  159. padding: 0;
  160. }
  161. .panel-page .panel-heading h2 {
  162. font-size: 25px;
  163. margin-top: 0;
  164. }
  165. @media (max-width: 767px) {
  166. .panel-page {
  167. padding: 15px;
  168. min-height: 300px;
  169. }
  170. }
  171. .nav-pills > li {
  172. margin-right: 5px;
  173. }
  174. .nav-pills > li > a {
  175. padding: 10px 15px;
  176. color: #616161;
  177. -webkit-transition: all 0.3s ease;
  178. -moz-transition: all 0.3s ease;
  179. -o-transition: all 0.3s ease;
  180. transition: all 0.3s ease;
  181. }
  182. .nav-pills > li > a:hover {
  183. -webkit-transition: all 0.3s ease;
  184. -moz-transition: all 0.3s ease;
  185. -o-transition: all 0.3s ease;
  186. transition: all 0.3s ease;
  187. background-color: #f5f5f5;
  188. }
  189. .nav-pills > li.active > a {
  190. border: none;
  191. color: #fff;
  192. background: #46c37b;
  193. -webkit-transition: all 0.3s ease;
  194. -moz-transition: all 0.3s ease;
  195. -o-transition: all 0.3s ease;
  196. transition: all 0.3s ease;
  197. border-radius: 3px;
  198. }
  199. .nav-pills.nav-pills-sm > li > a {
  200. font-size: 12px;
  201. line-height: 1.5;
  202. padding: 4px 13px;
  203. }
  204. .fieldlist dd {
  205. display: block;
  206. margin: 5px 0;
  207. }
  208. .fieldlist dd input {
  209. display: inline-block;
  210. width: 300px;
  211. }
  212. .fieldlist dd input:first-child {
  213. width: 110px;
  214. }
  215. .fieldlist dd ins {
  216. width: 110px;
  217. display: inline-block;
  218. text-decoration: none;
  219. font-weight: bold;
  220. }
  221. /* 弹窗中的表单 */
  222. .form-layer {
  223. height: 100%;
  224. min-height: 150px;
  225. min-width: 300px;
  226. }
  227. .form-layer .form-body {
  228. width: 100%;
  229. overflow: auto;
  230. top: 0;
  231. position: absolute;
  232. z-index: 10;
  233. bottom: 50px;
  234. padding: 15px;
  235. }
  236. .form-layer .form-footer {
  237. height: 50px;
  238. line-height: 50px;
  239. background-color: #ecf0f1;
  240. width: 100%;
  241. position: absolute;
  242. z-index: 200;
  243. bottom: 0;
  244. margin: 0;
  245. }
  246. .form-layer .form-footer .form-group {
  247. margin-left: 0;
  248. margin-right: 0;
  249. }
  250. footer.footer {
  251. width: 100%;
  252. color: #aaa;
  253. background: #555;
  254. margin-top: 25px;
  255. position: fixed;
  256. bottom: 0;
  257. z-index: 99;
  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. top: 0;
  374. position: absolute;
  375. z-index: 10;
  376. bottom: 50px;
  377. padding: 15px;
  378. padding-top: 67px;
  379. }
  380. .sidenav {
  381. padding: 20px 0 10px 0;
  382. margin-bottom: 20px;
  383. background-color: #fff;
  384. -webkit-border-radius: 4px;
  385. -webkit-background-clip: padding-box;
  386. -moz-border-radius: 4px;
  387. -moz-background-clip: padding;
  388. border-radius: 4px;
  389. background-clip: padding-box;
  390. border: 1px solid #e4ecf3;
  391. }
  392. .sidenav .list-group:last-child {
  393. margin-bottom: 0;
  394. }
  395. .sidenav .list-group .list-group-heading {
  396. list-style-type: none;
  397. color: #919191;
  398. margin-bottom: 10px;
  399. margin-left: 35px;
  400. font-size: 14px;
  401. }
  402. .sidenav .list-group .list-group-item {
  403. -webkit-border-radius: 0;
  404. -webkit-background-clip: padding-box;
  405. -moz-border-radius: 0;
  406. -moz-background-clip: padding;
  407. border-radius: 0;
  408. background-clip: padding-box;
  409. border: none;
  410. padding: 0;
  411. border-left: 2px solid transparent;
  412. }
  413. .sidenav .list-group .list-group-item:last-child,
  414. .sidenav .list-group .list-group-item:first-child {
  415. -webkit-border-radius: 0;
  416. -webkit-background-clip: padding-box;
  417. -moz-border-radius: 0;
  418. -moz-background-clip: padding;
  419. border-radius: 0;
  420. background-clip: padding-box;
  421. }
  422. .sidenav .list-group .list-group-item:hover {
  423. background-color: #f5f5f5;
  424. }
  425. .sidenav .list-group .list-group-item > a {
  426. display: block;
  427. color: #616161;
  428. padding: 10px 15px 10px 35px;
  429. }
  430. .sidenav .list-group .list-group-item.active {
  431. border-left: 2px solid #46c37b;
  432. background: none;
  433. }
  434. .sidenav .list-group .list-group-item.active > a {
  435. color: #46c37b;
  436. }
  437. .nav li .avatar-text,
  438. .nav li .avatar-img {
  439. height: 30px;
  440. width: 30px;
  441. line-height: 30px;
  442. font-size: 14px;
  443. }
  444. .nav li .avatar-img {
  445. font-size: 0;
  446. }
  447. .nav li .avatar-img img {
  448. border-radius: 30px;
  449. width: 30px;
  450. height: 30px;
  451. }
  452. .avatar-text,
  453. .avatar-img {
  454. display: inline-block;
  455. box-sizing: content-box;
  456. color: #fff;
  457. text-align: center;
  458. vertical-align: top;
  459. background-color: #e8ecf3;
  460. font-weight: normal;
  461. width: 48px;
  462. height: 48px;
  463. border-radius: 48px;
  464. font-size: 24px;
  465. line-height: 48px;
  466. }
  467. .avatar-img {
  468. font-size: 0;
  469. }
  470. .avatar-img img {
  471. border-radius: 48px;
  472. width: 48px;
  473. height: 48px;
  474. }
  475. @media (max-width: 767px) {
  476. main.content {
  477. position: inherit;
  478. padding: 15px 0;
  479. }
  480. .login-section {
  481. width: 100%;
  482. margin: 20px auto;
  483. }
  484. .login-section .login-main {
  485. padding: 20px 0 0 0;
  486. }
  487. footer.footer {
  488. position: inherit;
  489. }
  490. footer.footer .copyright {
  491. padding: 10px;
  492. line-height: 30px;
  493. }
  494. }
  495. .pager .pagination {
  496. margin: 0;
  497. }
  498. .pager li {
  499. margin: 0 .4em;
  500. display: inline-block;
  501. }
  502. .pager li:first-child > a,
  503. .pager li:last-child > a,
  504. .pager li:first-child > span,
  505. .pager li:last-child > span {
  506. padding: .5em 1.2em;
  507. }
  508. .pager li > a,
  509. .pager li > span {
  510. background: none;
  511. border: 1px solid #e6e6e6;
  512. border-radius: 0.25em;
  513. padding: .5em .93em;
  514. font-size: 14px;
  515. }
  516. /*# sourceMappingURL=../css/frontend.css.map */