frontend.css 10.0 KB

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