frontend.css 13 KB

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