frontend.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  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. }
  256. footer.footer .copyright {
  257. line-height: 50px;
  258. text-align: center;
  259. background: #393939;
  260. margin: 0;
  261. }
  262. footer.footer .copyright a {
  263. color: #aaa;
  264. }
  265. footer.footer .copyright a:hover {
  266. color: #fff;
  267. }
  268. .rotate {
  269. -webkit-transition-duration: 0.8s;
  270. -moz-transition-duration: 0.8s;
  271. -o-transition-duration: 0.8s;
  272. transition-duration: 0.8s;
  273. -webkit-transition-property: transform;
  274. transition-property: transform;
  275. -webkit-transition-property: -webkit-transform;
  276. -moz-transition-property: -moz-transform;
  277. -o-transition-property: -o-transform;
  278. transition-property: -webkit-transform,-moz-transform,-o-transform,transform;
  279. overflow: hidden;
  280. }
  281. .rotate:hover {
  282. -webkit-transform: rotate(360deg);
  283. -moz-transform: rotate(360deg);
  284. -o-transform: rotate(360deg);
  285. -ms-transform: rotate(360deg);
  286. transform: rotate(360deg);
  287. }
  288. .user-section {
  289. background: #fff;
  290. padding: 15px;
  291. margin-bottom: 20px;
  292. -webkit-border-radius: 4px;
  293. -webkit-background-clip: padding-box;
  294. -moz-border-radius: 4px;
  295. -moz-background-clip: padding;
  296. border-radius: 4px;
  297. background-clip: padding-box;
  298. border: 1px solid #e4ecf3;
  299. }
  300. .login-section {
  301. margin: 50px auto;
  302. width: 460px;
  303. -webkit-border-radius: 0;
  304. -webkit-background-clip: padding-box;
  305. -moz-border-radius: 0;
  306. -moz-background-clip: padding;
  307. border-radius: 0;
  308. background-clip: padding-box;
  309. }
  310. .login-section.login-section-weixin {
  311. min-height: 315px;
  312. }
  313. .login-section .logon-tab {
  314. margin: -15px -15px 0 -15px;
  315. }
  316. .login-section .logon-tab > a {
  317. display: block;
  318. padding: 20px;
  319. float: left;
  320. width: 50%;
  321. font-size: 16px;
  322. text-align: center;
  323. color: #616161;
  324. background-color: #f5f5f5;
  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 .logon-tab > a:hover {
  331. background-color: #fafafa;
  332. -webkit-transition: all 0.3s ease;
  333. -moz-transition: all 0.3s ease;
  334. -o-transition: all 0.3s ease;
  335. transition: all 0.3s ease;
  336. }
  337. .login-section .logon-tab > a.active {
  338. background-color: #fff;
  339. -webkit-transition: all 0.3s ease;
  340. -moz-transition: all 0.3s ease;
  341. -o-transition: all 0.3s ease;
  342. transition: all 0.3s ease;
  343. }
  344. .login-section .login-main {
  345. padding: 40px 45px 20px 45px;
  346. }
  347. .login-section .control-label {
  348. font-size: 13px;
  349. }
  350. .login-section .n-bootstrap .form-group {
  351. position: relative;
  352. }
  353. .login-section .n-bootstrap .input-group {
  354. position: inherit;
  355. }
  356. .login-section .n-bootstrap .n-right {
  357. margin-top: 0;
  358. top: 0;
  359. position: absolute;
  360. left: 0;
  361. text-align: right;
  362. width: 100%;
  363. }
  364. .login-section .n-bootstrap .n-right .msg-wrap {
  365. position: relative;
  366. }
  367. main.content {
  368. width: 100%;
  369. overflow: auto;
  370. padding: 15px;
  371. padding-top: 20px;
  372. min-height: calc(100vh - 125px);
  373. }
  374. .sidenav {
  375. padding: 20px 0 10px 0;
  376. margin-bottom: 20px;
  377. background-color: #fff;
  378. -webkit-border-radius: 4px;
  379. -webkit-background-clip: padding-box;
  380. -moz-border-radius: 4px;
  381. -moz-background-clip: padding;
  382. border-radius: 4px;
  383. background-clip: padding-box;
  384. border: 1px solid #e4ecf3;
  385. }
  386. .sidenav .list-group:last-child {
  387. margin-bottom: 0;
  388. }
  389. .sidenav .list-group .list-group-heading {
  390. list-style-type: none;
  391. color: #919191;
  392. margin-bottom: 10px;
  393. margin-left: 35px;
  394. font-size: 14px;
  395. }
  396. .sidenav .list-group .list-group-item {
  397. -webkit-border-radius: 0;
  398. -webkit-background-clip: padding-box;
  399. -moz-border-radius: 0;
  400. -moz-background-clip: padding;
  401. border-radius: 0;
  402. background-clip: padding-box;
  403. border: none;
  404. padding: 0;
  405. border-left: 2px solid transparent;
  406. }
  407. .sidenav .list-group .list-group-item:last-child,
  408. .sidenav .list-group .list-group-item:first-child {
  409. -webkit-border-radius: 0;
  410. -webkit-background-clip: padding-box;
  411. -moz-border-radius: 0;
  412. -moz-background-clip: padding;
  413. border-radius: 0;
  414. background-clip: padding-box;
  415. }
  416. .sidenav .list-group .list-group-item:hover {
  417. background-color: #f5f5f5;
  418. }
  419. .sidenav .list-group .list-group-item > a {
  420. display: block;
  421. color: #616161;
  422. padding: 10px 15px 10px 35px;
  423. }
  424. .sidenav .list-group .list-group-item.active {
  425. border-left: 2px solid #46c37b;
  426. background: none;
  427. }
  428. .sidenav .list-group .list-group-item.active > a {
  429. color: #46c37b;
  430. }
  431. .nav li .avatar-text,
  432. .nav li .avatar-img {
  433. height: 30px;
  434. width: 30px;
  435. line-height: 30px;
  436. font-size: 14px;
  437. }
  438. .nav li .avatar-img {
  439. font-size: 0;
  440. }
  441. .nav li .avatar-img img {
  442. border-radius: 30px;
  443. width: 30px;
  444. height: 30px;
  445. }
  446. .avatar-text,
  447. .avatar-img {
  448. display: inline-block;
  449. box-sizing: content-box;
  450. color: #fff;
  451. text-align: center;
  452. vertical-align: top;
  453. background-color: #e8ecf3;
  454. font-weight: normal;
  455. width: 48px;
  456. height: 48px;
  457. border-radius: 48px;
  458. font-size: 24px;
  459. line-height: 48px;
  460. }
  461. .avatar-img {
  462. font-size: 0;
  463. }
  464. .avatar-img img {
  465. border-radius: 48px;
  466. width: 48px;
  467. height: 48px;
  468. }
  469. @media (max-width: 767px) {
  470. main.content {
  471. position: inherit;
  472. padding: 15px 0;
  473. }
  474. .login-section {
  475. width: 100%;
  476. margin: 20px auto;
  477. }
  478. .login-section .login-main {
  479. padding: 20px 0 0 0;
  480. }
  481. footer.footer {
  482. position: inherit;
  483. }
  484. footer.footer .copyright {
  485. padding: 10px;
  486. line-height: 30px;
  487. }
  488. }
  489. .pager .pagination {
  490. margin: 0;
  491. }
  492. .pager li {
  493. margin: 0 .4em;
  494. display: inline-block;
  495. }
  496. .pager li:first-child > a,
  497. .pager li:last-child > a,
  498. .pager li:first-child > span,
  499. .pager li:last-child > span {
  500. padding: .5em 1.2em;
  501. }
  502. .pager li > a,
  503. .pager li > span {
  504. background: none;
  505. border: 1px solid #e6e6e6;
  506. border-radius: 0.25em;
  507. padding: .5em .93em;
  508. font-size: 14px;
  509. }
  510. /*# sourceMappingURL=../css/frontend.css.map */