frontend.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. @import url("../css/bootstrap.min.css");
  2. @import url("../css/fastadmin.min.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/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: 13px;
  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: 10px;
  42. margin-bottom: 0;
  43. }
  44. .plupload-preview li {
  45. margin-bottom: 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-primary > .panel-heading {
  137. background-color: #46c37b;
  138. color: #fff;
  139. }
  140. .panel-primary > .panel-body {
  141. background: #fafafa;
  142. border-bottom-left-radius: 4px;
  143. border-bottom-right-radius: 4px;
  144. }
  145. .panel-gray {
  146. -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  147. -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  148. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  149. }
  150. .panel-gray > .panel-heading {
  151. background-color: #f5f5f5;
  152. color: #919191;
  153. }
  154. .panel-gray > .panel-body {
  155. color: #919191;
  156. background: #fff;
  157. border-bottom-left-radius: 4px;
  158. border-bottom-right-radius: 4px;
  159. }
  160. .panel-page {
  161. padding: 45px 50px 50px;
  162. min-height: 500px;
  163. }
  164. .panel-page .panel-heading {
  165. background: transparent;
  166. border-bottom: none;
  167. margin: 0 0 30px 0;
  168. padding: 0;
  169. }
  170. .panel-page .panel-heading h2 {
  171. font-size: 25px;
  172. margin-top: 0;
  173. }
  174. @media (max-width: 767px) {
  175. .panel-page {
  176. padding: 15px;
  177. min-height: 300px;
  178. }
  179. }
  180. .nav-pills > li {
  181. margin-right: 5px;
  182. }
  183. .nav-pills > li > a {
  184. padding: 10px 15px;
  185. color: #616161;
  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. }
  191. .nav-pills > li > a:hover {
  192. -webkit-transition: all 0.3s ease;
  193. -moz-transition: all 0.3s ease;
  194. -o-transition: all 0.3s ease;
  195. transition: all 0.3s ease;
  196. background-color: #f5f5f5;
  197. }
  198. .nav-pills > li.active > a {
  199. border: none;
  200. color: #fff;
  201. background: #46c37b;
  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. border-radius: 3px;
  207. }
  208. .nav-pills.nav-pills-sm > li > a {
  209. font-size: 12px;
  210. line-height: 1.5;
  211. padding: 4px 13px;
  212. }
  213. /* 弹窗中的表单 */
  214. .form-layer {
  215. height: 100%;
  216. min-height: 150px;
  217. min-width: 300px;
  218. }
  219. .form-layer .form-body {
  220. width: 100%;
  221. overflow: auto;
  222. top: 0;
  223. position: absolute;
  224. z-index: 10;
  225. bottom: 50px;
  226. padding: 15px;
  227. }
  228. .form-layer .form-footer {
  229. height: 50px;
  230. line-height: 50px;
  231. background-color: #ecf0f1;
  232. width: 100%;
  233. position: absolute;
  234. z-index: 200;
  235. bottom: 0;
  236. margin: 0;
  237. }
  238. .form-layer .form-footer .form-group {
  239. margin-left: 0;
  240. margin-right: 0;
  241. }
  242. footer.footer {
  243. width: 100%;
  244. color: #aaa;
  245. background: #555;
  246. margin-top: 25px;
  247. position: fixed;
  248. bottom: 0;
  249. z-index: 99;
  250. }
  251. footer.footer .copyright {
  252. line-height: 50px;
  253. text-align: center;
  254. background: #393939;
  255. margin: 0;
  256. }
  257. footer.footer .copyright a {
  258. color: #aaa;
  259. }
  260. footer.footer .copyright a:hover {
  261. color: #fff;
  262. }
  263. .rotate {
  264. -webkit-transition-duration: 0.8s;
  265. -moz-transition-duration: 0.8s;
  266. -o-transition-duration: 0.8s;
  267. transition-duration: 0.8s;
  268. -webkit-transition-property: transform;
  269. transition-property: transform;
  270. -webkit-transition-property: -webkit-transform;
  271. -moz-transition-property: -moz-transform;
  272. -o-transition-property: -o-transform;
  273. transition-property: -webkit-transform,-moz-transform,-o-transform,transform;
  274. overflow: hidden;
  275. }
  276. .rotate:hover {
  277. -webkit-transform: rotate(360deg);
  278. -moz-transform: rotate(360deg);
  279. -o-transform: rotate(360deg);
  280. -ms-transform: rotate(360deg);
  281. transform: rotate(360deg);
  282. }
  283. .user-section {
  284. background: #fff;
  285. padding: 15px;
  286. margin-bottom: 20px;
  287. -webkit-border-radius: 4px;
  288. -webkit-background-clip: padding-box;
  289. -moz-border-radius: 4px;
  290. -moz-background-clip: padding;
  291. border-radius: 4px;
  292. background-clip: padding-box;
  293. border: 1px solid #e4ecf3;
  294. }
  295. .login-section {
  296. margin: 50px auto;
  297. width: 460px;
  298. -webkit-border-radius: 0;
  299. -webkit-background-clip: padding-box;
  300. -moz-border-radius: 0;
  301. -moz-background-clip: padding;
  302. border-radius: 0;
  303. background-clip: padding-box;
  304. }
  305. .login-section.login-section-weixin {
  306. min-height: 315px;
  307. }
  308. .login-section .logon-tab {
  309. margin: -15px -15px 0 -15px;
  310. }
  311. .login-section .logon-tab > a {
  312. display: block;
  313. padding: 20px;
  314. float: left;
  315. width: 50%;
  316. font-size: 16px;
  317. text-align: center;
  318. color: #616161;
  319. background-color: #f5f5f5;
  320. -webkit-transition: all 0.3s ease;
  321. -moz-transition: all 0.3s ease;
  322. -o-transition: all 0.3s ease;
  323. transition: all 0.3s ease;
  324. }
  325. .login-section .logon-tab > a:hover {
  326. background-color: #fafafa;
  327. -webkit-transition: all 0.3s ease;
  328. -moz-transition: all 0.3s ease;
  329. -o-transition: all 0.3s ease;
  330. transition: all 0.3s ease;
  331. }
  332. .login-section .logon-tab > a.active {
  333. background-color: #fff;
  334. -webkit-transition: all 0.3s ease;
  335. -moz-transition: all 0.3s ease;
  336. -o-transition: all 0.3s ease;
  337. transition: all 0.3s ease;
  338. }
  339. .login-section .login-main {
  340. padding: 40px 45px 20px 45px;
  341. }
  342. .login-section .control-label {
  343. font-size: 13px;
  344. }
  345. .login-section .n-bootstrap .form-group {
  346. position: relative;
  347. }
  348. .login-section .n-bootstrap .input-group {
  349. position: inherit;
  350. }
  351. .login-section .n-bootstrap .n-right {
  352. margin-top: 0;
  353. top: 0;
  354. position: absolute;
  355. left: 0;
  356. text-align: right;
  357. width: 100%;
  358. }
  359. .login-section .n-bootstrap .n-right .msg-wrap {
  360. position: relative;
  361. }
  362. main.content {
  363. width: 100%;
  364. overflow: auto;
  365. top: 0;
  366. position: absolute;
  367. z-index: 10;
  368. bottom: 50px;
  369. padding: 15px;
  370. padding-top: 67px;
  371. }
  372. .sidenav {
  373. padding: 20px 0 10px 0;
  374. margin-bottom: 20px;
  375. background-color: #fff;
  376. -webkit-border-radius: 4px;
  377. -webkit-background-clip: padding-box;
  378. -moz-border-radius: 4px;
  379. -moz-background-clip: padding;
  380. border-radius: 4px;
  381. background-clip: padding-box;
  382. border: 1px solid #e4ecf3;
  383. }
  384. .sidenav .list-group:last-child {
  385. margin-bottom: 0;
  386. }
  387. .sidenav .list-group .list-group-heading {
  388. list-style-type: none;
  389. color: #919191;
  390. margin-bottom: 10px;
  391. margin-left: 35px;
  392. font-size: 14px;
  393. }
  394. .sidenav .list-group .list-group-item {
  395. -webkit-border-radius: 0;
  396. -webkit-background-clip: padding-box;
  397. -moz-border-radius: 0;
  398. -moz-background-clip: padding;
  399. border-radius: 0;
  400. background-clip: padding-box;
  401. border: none;
  402. padding: 0;
  403. border-left: 2px solid transparent;
  404. }
  405. .sidenav .list-group .list-group-item:last-child,
  406. .sidenav .list-group .list-group-item:first-child {
  407. -webkit-border-radius: 0;
  408. -webkit-background-clip: padding-box;
  409. -moz-border-radius: 0;
  410. -moz-background-clip: padding;
  411. border-radius: 0;
  412. background-clip: padding-box;
  413. }
  414. .sidenav .list-group .list-group-item:hover {
  415. background-color: #f5f5f5;
  416. }
  417. .sidenav .list-group .list-group-item > a {
  418. display: block;
  419. color: #616161;
  420. padding: 10px 15px 10px 35px;
  421. }
  422. .sidenav .list-group .list-group-item.active {
  423. border-left: 2px solid #46c37b;
  424. background: none;
  425. }
  426. .sidenav .list-group .list-group-item.active > a {
  427. color: #46c37b;
  428. }
  429. .nav li .avatar-text,
  430. .nav li .avatar-img {
  431. height: 30px;
  432. width: 30px;
  433. line-height: 30px;
  434. font-size: 14px;
  435. }
  436. .nav li .avatar-img {
  437. font-size: 0;
  438. }
  439. .nav li .avatar-img img {
  440. border-radius: 30px;
  441. width: 30px;
  442. height: 30px;
  443. }
  444. .avatar-text,
  445. .avatar-img {
  446. display: inline-block;
  447. box-sizing: content-box;
  448. color: #fff;
  449. text-align: center;
  450. vertical-align: top;
  451. background-color: #e8ecf3;
  452. font-weight: normal;
  453. width: 48px;
  454. height: 48px;
  455. border-radius: 48px;
  456. font-size: 24px;
  457. line-height: 48px;
  458. }
  459. .avatar-img {
  460. font-size: 0;
  461. }
  462. .avatar-img img {
  463. border-radius: 48px;
  464. width: 48px;
  465. height: 48px;
  466. }
  467. @media (max-width: 767px) {
  468. main.content {
  469. position: inherit;
  470. padding: 15px 0;
  471. }
  472. .login-section {
  473. width: 100%;
  474. margin: 20px auto;
  475. }
  476. .login-section .login-main {
  477. padding: 20px 0 0 0;
  478. }
  479. footer.footer {
  480. position: inherit;
  481. }
  482. footer.footer .copyright {
  483. padding: 10px;
  484. line-height: 30px;
  485. }
  486. }
  487. /*# sourceMappingURL=frontend.css.map */