frontend.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  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-table/dist/bootstrap-table.min.css");
  8. @import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
  9. @import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
  10. @import url("../libs/nice-validator/dist/jquery.validator.css");
  11. @import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
  12. @import url("../libs/fastadmin-selectpage/selectpage.css");
  13. @import url("../libs/bootstrap-slider/slider.css");
  14. html,
  15. body {
  16. height: 100%;
  17. }
  18. body {
  19. padding-top: 50px;
  20. font-size: 13px;
  21. background: #f4f6f8;
  22. }
  23. .dropdown:hover .dropdown-menu {
  24. display: block;
  25. margin-top: 0;
  26. }
  27. .navbar {
  28. border: none;
  29. }
  30. .navbar-nav > li > a {
  31. font-size: 14px;
  32. }
  33. .dropdown-menu > li > a {
  34. font-size: 13px;
  35. padding: 5px 20px;
  36. }
  37. .toast-top-center {
  38. top: 50px;
  39. }
  40. #toast-container > div {
  41. -webkit-box-shadow: none;
  42. -moz-box-shadow: none;
  43. box-shadow: none;
  44. }
  45. /*修复nice-validator和summernote的编辑框冲突*/
  46. .nice-validator .note-editor .note-editing-area .note-editable {
  47. display: inherit;
  48. }
  49. /*预览区域*/
  50. .plupload-preview,
  51. .faupload-preview {
  52. padding: 0 10px;
  53. margin-bottom: 0;
  54. }
  55. .plupload-preview li,
  56. .faupload-preview li {
  57. margin-top: 10px;
  58. }
  59. .plupload-preview .thumbnail,
  60. .faupload-preview .thumbnail {
  61. margin-bottom: 10px;
  62. }
  63. .plupload-preview a,
  64. .faupload-preview a {
  65. display: block;
  66. }
  67. .plupload-preview a:first-child,
  68. .faupload-preview a:first-child {
  69. height: 90px;
  70. }
  71. .plupload-preview a img,
  72. .faupload-preview a img {
  73. height: 80px;
  74. object-fit: cover;
  75. }
  76. .layui-layer-content {
  77. clear: both;
  78. }
  79. .layui-layer-fast-msg {
  80. min-width: 100px;
  81. border-radius: 2px;
  82. }
  83. .input-group > .msg-box.n-right {
  84. position: absolute;
  85. }
  86. .bootstrap-select .status {
  87. background: #f0f0f0;
  88. clear: both;
  89. color: #999;
  90. font-size: 12px;
  91. font-weight: 500;
  92. line-height: 1;
  93. margin-bottom: -5px;
  94. padding: 10px 20px;
  95. }
  96. select.bs-select-hidden,
  97. select.selectpicker {
  98. display: inherit !important;
  99. max-height: 31px;
  100. overflow: hidden;
  101. }
  102. select.bs-select-hidden[multiple],
  103. select.selectpicker[multiple] {
  104. height: 31px;
  105. padding: 0;
  106. background: #f4f4f4;
  107. }
  108. select.bs-select-hidden[multiple] option,
  109. select.selectpicker[multiple] option {
  110. color: #f4f4f4;
  111. zoom: 1;
  112. filter: alpha(opacity=0);
  113. -webkit-opacity: 0;
  114. -moz-opacity: 0;
  115. opacity: 0;
  116. }
  117. @media not all and (min-resolution: 0.001dpcm) {
  118. @supports (-webkit-appearance:none) {
  119. select.bs-select-hidden[multiple],
  120. select.selectpicker[multiple] {
  121. visibility: hidden;
  122. }
  123. }
  124. }
  125. input.selectpage {
  126. color: transparent;
  127. pointer-events: none;
  128. }
  129. .sp_container input.selectpage {
  130. color: inherit;
  131. pointer-events: inherit;
  132. padding-left: 12px;
  133. padding-right: 12px;
  134. }
  135. .sp_container .sp_element_box input.selectpage {
  136. padding-left: 0;
  137. padding-right: 0;
  138. }
  139. .sp_container .sp_element_box li:first-child input.selectpage {
  140. padding-left: 9px;
  141. padding-right: 9px;
  142. }
  143. /*修复radio和checkbox样式对齐*/
  144. .radio > label,
  145. .checkbox > label {
  146. margin-right: 10px;
  147. }
  148. .radio > label > input,
  149. .checkbox > label > input {
  150. margin: 2px 0 0;
  151. }
  152. #header-navbar li.dropdown ul.dropdown-menu {
  153. min-width: 94px;
  154. }
  155. form.form-horizontal .control-label {
  156. font-weight: normal;
  157. }
  158. .panel-default {
  159. padding: 0 15px;
  160. border: none;
  161. -webkit-box-shadow: none;
  162. -moz-box-shadow: none;
  163. box-shadow: none;
  164. }
  165. .panel-default > .panel-heading {
  166. position: relative;
  167. font-size: 16px;
  168. padding: 15px 0;
  169. background: #fff;
  170. border-bottom: 1px solid #f5f5f5;
  171. }
  172. .panel-default h2.page-header {
  173. margin-top: 0;
  174. height: 50px;
  175. line-height: 31px;
  176. font-size: 18px;
  177. padding: 10px 0;
  178. border-bottom: 1px solid #f5f5f5;
  179. }
  180. .panel-default > .panel-heading .panel-title {
  181. color: #313131;
  182. }
  183. .panel-default > .panel-heading .panel-title > i {
  184. display: none;
  185. }
  186. .panel-default > .panel-heading .more {
  187. position: absolute;
  188. top: 13px;
  189. right: 0;
  190. display: block;
  191. color: #919191;
  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. }
  197. .panel-default > .panel-heading .more:hover {
  198. color: #616161;
  199. -webkit-transition: all 0.3s ease;
  200. -moz-transition: all 0.3s ease;
  201. -o-transition: all 0.3s ease;
  202. transition: all 0.3s ease;
  203. }
  204. .panel-default > .panel-heading .panel-bar {
  205. position: absolute;
  206. top: 7px;
  207. right: 0;
  208. display: block;
  209. }
  210. @media (max-width: 767px) {
  211. .panel-default {
  212. padding: 0 10px;
  213. }
  214. .panel-default > .panel-heading {
  215. padding: 10px 0;
  216. }
  217. .panel-default > .panel-heading .more {
  218. top: 8px;
  219. }
  220. > .panel-body {
  221. position: relative;
  222. padding: 15px 0;
  223. }
  224. > .panel-footer {
  225. padding: 15px 0;
  226. background: none;
  227. }
  228. }
  229. .panel-gray {
  230. -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  231. -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  232. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  233. }
  234. .panel-gray > .panel-heading {
  235. background-color: #f5f5f5;
  236. color: #919191;
  237. }
  238. .panel-gray > .panel-body {
  239. color: #919191;
  240. background: #fff;
  241. border-bottom-left-radius: 4px;
  242. border-bottom-right-radius: 4px;
  243. }
  244. .panel-page {
  245. padding: 45px 50px 50px;
  246. min-height: 500px;
  247. }
  248. .panel-page .panel-heading {
  249. background: transparent;
  250. border-bottom: none;
  251. margin: 0 0 30px 0;
  252. padding: 0;
  253. }
  254. .panel-page .panel-heading h2 {
  255. font-size: 25px;
  256. margin-top: 0;
  257. }
  258. @media (max-width: 767px) {
  259. .panel-page {
  260. padding: 15px;
  261. min-height: 300px;
  262. }
  263. }
  264. .nav-pills > li {
  265. margin-right: 5px;
  266. }
  267. .nav-pills > li > a {
  268. padding: 10px 15px;
  269. color: #616161;
  270. -webkit-transition: all 0.3s ease;
  271. -moz-transition: all 0.3s ease;
  272. -o-transition: all 0.3s ease;
  273. transition: all 0.3s ease;
  274. }
  275. .nav-pills > li > a:hover {
  276. -webkit-transition: all 0.3s ease;
  277. -moz-transition: all 0.3s ease;
  278. -o-transition: all 0.3s ease;
  279. transition: all 0.3s ease;
  280. background-color: #f5f5f5;
  281. }
  282. .nav-pills > li.active > a {
  283. border: none;
  284. color: #fff;
  285. background: #46c37b;
  286. -webkit-transition: all 0.3s ease;
  287. -moz-transition: all 0.3s ease;
  288. -o-transition: all 0.3s ease;
  289. transition: all 0.3s ease;
  290. border-radius: 3px;
  291. }
  292. .nav-pills.nav-pills-sm > li > a {
  293. font-size: 12px;
  294. line-height: 1.5;
  295. padding: 4px 13px;
  296. }
  297. .fieldlist dd {
  298. display: block;
  299. margin: 5px 0;
  300. }
  301. .fieldlist dd input {
  302. display: inline-block;
  303. width: 300px;
  304. }
  305. .fieldlist dd input:first-child {
  306. width: 110px;
  307. }
  308. .fieldlist dd ins {
  309. width: 110px;
  310. display: inline-block;
  311. text-decoration: none;
  312. font-weight: bold;
  313. }
  314. /* 弹窗中的表单 */
  315. .form-layer {
  316. height: 100%;
  317. min-height: 150px;
  318. min-width: 300px;
  319. }
  320. .form-layer .form-body {
  321. width: 100%;
  322. overflow: auto;
  323. top: 0;
  324. position: absolute;
  325. z-index: 10;
  326. bottom: 50px;
  327. padding: 15px;
  328. }
  329. .form-layer .form-footer {
  330. height: 50px;
  331. line-height: 50px;
  332. background-color: #ecf0f1;
  333. width: 100%;
  334. position: absolute;
  335. z-index: 200;
  336. bottom: 0;
  337. margin: 0;
  338. }
  339. .form-layer .form-footer .form-group {
  340. margin-left: 0;
  341. margin-right: 0;
  342. }
  343. footer.footer {
  344. width: 100%;
  345. color: #aaa;
  346. background: #555;
  347. margin-top: 25px;
  348. }
  349. footer.footer .copyright {
  350. line-height: 50px;
  351. text-align: center;
  352. background: #393939;
  353. margin: 0;
  354. }
  355. footer.footer .copyright a {
  356. color: #aaa;
  357. }
  358. footer.footer .copyright a:hover {
  359. color: #fff;
  360. }
  361. .rotate {
  362. -webkit-transition-duration: 0.8s;
  363. -moz-transition-duration: 0.8s;
  364. -o-transition-duration: 0.8s;
  365. transition-duration: 0.8s;
  366. -webkit-transition-property: transform;
  367. transition-property: transform;
  368. -webkit-transition-property: -webkit-transform;
  369. -moz-transition-property: -moz-transform;
  370. -o-transition-property: -o-transform;
  371. transition-property: -webkit-transform,-moz-transform,-o-transform,transform;
  372. overflow: hidden;
  373. }
  374. .rotate:hover {
  375. -webkit-transform: rotate(360deg);
  376. -moz-transform: rotate(360deg);
  377. -o-transform: rotate(360deg);
  378. -ms-transform: rotate(360deg);
  379. transform: rotate(360deg);
  380. }
  381. .user-section {
  382. background: #fff;
  383. padding: 15px;
  384. margin-bottom: 20px;
  385. -webkit-border-radius: 4px;
  386. -webkit-background-clip: padding-box;
  387. -moz-border-radius: 4px;
  388. -moz-background-clip: padding;
  389. border-radius: 4px;
  390. background-clip: padding-box;
  391. }
  392. .login-section {
  393. margin: 50px auto;
  394. width: 460px;
  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. }
  402. .login-section.login-section-weixin {
  403. min-height: 315px;
  404. }
  405. .login-section .logon-tab {
  406. margin: -15px -15px 0 -15px;
  407. }
  408. .login-section .logon-tab > a {
  409. display: block;
  410. padding: 20px;
  411. float: left;
  412. width: 50%;
  413. font-size: 16px;
  414. text-align: center;
  415. color: #616161;
  416. background-color: #ececec;
  417. -webkit-transition: all 0.3s ease;
  418. -moz-transition: all 0.3s ease;
  419. -o-transition: all 0.3s ease;
  420. transition: all 0.3s ease;
  421. }
  422. .login-section .logon-tab > a:hover {
  423. background-color: #fafafa;
  424. -webkit-transition: all 0.3s ease;
  425. -moz-transition: all 0.3s ease;
  426. -o-transition: all 0.3s ease;
  427. transition: all 0.3s ease;
  428. }
  429. .login-section .logon-tab > a.active {
  430. background-color: #fff;
  431. -webkit-transition: all 0.3s ease;
  432. -moz-transition: all 0.3s ease;
  433. -o-transition: all 0.3s ease;
  434. transition: all 0.3s ease;
  435. }
  436. .login-section .login-main {
  437. padding: 40px 45px 20px 45px;
  438. }
  439. .login-section .control-label {
  440. font-size: 13px;
  441. }
  442. .login-section .n-bootstrap .form-group {
  443. position: relative;
  444. }
  445. .login-section .n-bootstrap .input-group {
  446. position: inherit;
  447. }
  448. .login-section .n-bootstrap .n-right {
  449. margin-top: 0;
  450. top: 0;
  451. position: absolute;
  452. left: 0;
  453. text-align: right;
  454. width: 100%;
  455. }
  456. .login-section .n-bootstrap .n-right .msg-wrap {
  457. position: relative;
  458. }
  459. main.content {
  460. width: 100%;
  461. overflow: auto;
  462. padding: 15px;
  463. padding-top: 20px;
  464. min-height: calc(100vh - 125px);
  465. }
  466. .sidenav {
  467. padding: 20px 0 10px 0;
  468. margin-bottom: 20px;
  469. background-color: #fff;
  470. }
  471. .sidenav .list-group:last-child {
  472. margin-bottom: 0;
  473. }
  474. .sidenav .list-group .list-group-heading {
  475. list-style-type: none;
  476. color: #919191;
  477. margin-bottom: 10px;
  478. margin-left: 35px;
  479. font-size: 14px;
  480. }
  481. .sidenav .list-group .list-group-item {
  482. -webkit-border-radius: 0;
  483. -webkit-background-clip: padding-box;
  484. -moz-border-radius: 0;
  485. -moz-background-clip: padding;
  486. border-radius: 0;
  487. background-clip: padding-box;
  488. border: none;
  489. padding: 0;
  490. border-left: 2px solid transparent;
  491. }
  492. .sidenav .list-group .list-group-item:last-child,
  493. .sidenav .list-group .list-group-item:first-child {
  494. -webkit-border-radius: 0;
  495. -webkit-background-clip: padding-box;
  496. -moz-border-radius: 0;
  497. -moz-background-clip: padding;
  498. border-radius: 0;
  499. background-clip: padding-box;
  500. }
  501. .sidenav .list-group .list-group-item:hover {
  502. border-left: 2px solid rgba(245, 245, 245, 0.38);
  503. background-color: rgba(245, 245, 245, 0.38);
  504. }
  505. .sidenav .list-group .list-group-item > a {
  506. display: block;
  507. color: #616161;
  508. padding: 10px 15px 10px 35px;
  509. }
  510. .sidenav .list-group .list-group-item.active {
  511. border-left: 2px solid #46c37b;
  512. background-color: rgba(245, 245, 245, 0.38);
  513. }
  514. .sidenav .list-group .list-group-item.active > a {
  515. color: #46c37b;
  516. }
  517. .nav li .avatar-text,
  518. .nav li .avatar-img {
  519. height: 30px;
  520. width: 30px;
  521. line-height: 30px;
  522. font-size: 14px;
  523. }
  524. .nav li .avatar-img {
  525. font-size: 0;
  526. }
  527. .nav li .avatar-img img {
  528. border-radius: 30px;
  529. width: 30px;
  530. height: 30px;
  531. }
  532. .avatar-text,
  533. .avatar-img {
  534. display: inline-block;
  535. box-sizing: content-box;
  536. color: #fff;
  537. text-align: center;
  538. vertical-align: top;
  539. background-color: #e8ecf3;
  540. font-weight: normal;
  541. width: 48px;
  542. height: 48px;
  543. border-radius: 48px;
  544. font-size: 24px;
  545. line-height: 48px;
  546. }
  547. .avatar-img {
  548. font-size: 0;
  549. }
  550. .avatar-img img {
  551. border-radius: 48px;
  552. width: 48px;
  553. height: 48px;
  554. }
  555. @media (max-width: 767px) {
  556. main.content {
  557. position: inherit;
  558. padding: 15px 0;
  559. }
  560. .login-section {
  561. width: 100%;
  562. margin: 20px auto;
  563. }
  564. .login-section .login-main {
  565. padding: 20px 0 0 0;
  566. }
  567. footer.footer {
  568. position: inherit;
  569. }
  570. footer.footer .copyright {
  571. padding: 10px;
  572. line-height: 30px;
  573. }
  574. }
  575. .pager .pagination {
  576. margin: 0;
  577. }
  578. .pager li {
  579. margin: 0 .4em;
  580. display: inline-block;
  581. }
  582. .pager li:first-child > a,
  583. .pager li:last-child > a,
  584. .pager li:first-child > span,
  585. .pager li:last-child > span {
  586. padding: .5em 1.2em;
  587. }
  588. .pager li > a,
  589. .pager li > span {
  590. background: none;
  591. border: 1px solid #e6e6e6;
  592. border-radius: 0.25em;
  593. padding: .5em .93em;
  594. font-size: 14px;
  595. }
  596. .jumpto input {
  597. height: 31px;
  598. width: 50px;
  599. margin-left: 5px;
  600. margin-right: 5px;
  601. text-align: center;
  602. display: inline-block;
  603. }
  604. /*# sourceMappingURL=frontend.css.map */