国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

829 行
14KB

  1. :root {
  2. --bg:#f8fafb;
  3. --gray-300:#dee2e6;
  4. --gray-500:#adb5bd;
  5. --blue-300:#80bdff;
  6. --success-800:#009688;
  7. --b-radius:0.5rem;
  8. --b-radius-300:0.25rem
  9. }
  10. ::-webkit-scrollbar {
  11. display:none
  12. }
  13. * {
  14. font-size:14px;
  15. scrollbar-width:none
  16. }
  17. body {
  18. line-height:1.6;
  19. letter-spacing:0.5px;
  20. font-size:14px;
  21. font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
  22. color:var(--gray);
  23. background:var(--bg)
  24. }
  25. a {
  26. color:var(--gray);
  27. text-decoration:none
  28. }
  29. a:hover {
  30. color:var(--blue);
  31. text-decoration:none
  32. }
  33. img {
  34. max-width:100%;
  35. border-radius:var(--b-radius)
  36. }
  37. ul,ol,li {
  38. margin:0;
  39. padding:0
  40. }
  41. li {
  42. list-style:none
  43. }
  44. form,label {
  45. margin-bottom:0
  46. }
  47. table {
  48. width:100%;
  49. background:var(--white);
  50. border-spacing:0
  51. }
  52. td {
  53. word-break:break-all;
  54. word-wrap:break-word
  55. }
  56. input {
  57. padding:0.375rem 0.75rem;
  58. height:30px;
  59. color:var(--gray);
  60. background:var(--white);
  61. border:1px solid var(--gray-300);
  62. vertical-align:middle
  63. }
  64. input[type=file] {
  65. padding:0;
  66. height:auto;
  67. border:0;
  68. border-radius:0!important;
  69. vertical-align:middle
  70. }
  71. input[type=button],input[type=submit],input[type=reset] {
  72. padding:0.375rem 0.75rem;
  73. height:30px;
  74. line-height:1.6;
  75. font-size:12px;
  76. color:var(--white);
  77. background:var(--green);
  78. border:0
  79. }
  80. input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus {
  81. width:14px;
  82. height:14px;
  83. outline:none;
  84. box-shadow:none;
  85. vertical-align:middle
  86. }
  87. select {
  88. padding:0.375rem 0.75rem;
  89. height:30px;
  90. color:var(--gray);
  91. background:var(--white);
  92. border:1px solid var(--gray-300);
  93. vertical-align:middle
  94. }
  95. select[multiple=yes] {
  96. height:180px
  97. }
  98. option {
  99. padding:0.25rem 0
  100. }
  101. option:checked {
  102. color:var(--blue)
  103. }
  104. textarea {
  105. padding:0.375rem 0.75rem;
  106. color:var(--gray);
  107. background:var(--white);
  108. border:1px solid var(--gray-300);
  109. vertical-align:middle
  110. }
  111. input:focus,select:focus,textarea:focus {
  112. color:var(--gray);
  113. background:var(--white);
  114. border-color:var(--blue-300);
  115. box-shadow:0 0 0 0.2rem rgba(0,123,255,0.25);
  116. outline:0
  117. }
  118. .install-head {
  119. padding:1rem 0;
  120. background:var(--white)
  121. }
  122. .install-head .logo {
  123. font-size:18px;
  124. font-weight:700;
  125. color:var(--gray-dark)
  126. }
  127. .install-head .logo img,.login-box .logo img {
  128. margin-right:0.5rem;
  129. height:36px
  130. }
  131. .install-box {
  132. margin:0 auto;
  133. width:750px
  134. }
  135. .install-box .card-header,.install-box .card-body {
  136. padding:1.25rem
  137. }
  138. .install-box h1 {
  139. margin:0;
  140. line-height:1.2;
  141. font-size:18px;
  142. font-weight:700;
  143. color:var(--gray-dark)
  144. }
  145. .install-box label {
  146. margin-bottom:0.25rem
  147. }
  148. .install-box .form-control {
  149. height:36px
  150. }
  151. .login-step {
  152. height:100vh;
  153. overflow-x:hidden
  154. }
  155. .login-step .login-bg {
  156. height:100%;
  157. background:var(--gray-300) url(../img/login_bg.jpg)no-repeat top center;
  158. background-size:cover
  159. }
  160. .login-box {
  161. padding:80px 100px
  162. }
  163. .login-box .logo {
  164. margin-bottom:60px
  165. }
  166. .login-box .logo a {
  167. font-size:18px;
  168. font-weight:700;
  169. color:var(--gray-dark)
  170. }
  171. .login-box .title,.login-box .alert {
  172. margin-bottom:20px
  173. }
  174. .login-box .title h1 {
  175. margin-bottom:30px;
  176. font-size:24px;
  177. font-weight:700;
  178. color:var(--gray-dark)
  179. }
  180. .login-from {
  181. margin-bottom:40px
  182. }
  183. .login-from .form-group {
  184. margin-bottom:20px;
  185. position:relative
  186. }
  187. .login-from .form-icon {
  188. position:absolute;
  189. top:16px;
  190. left:16px;
  191. z-index:1998
  192. }
  193. .login-from .form-icon i {
  194. font-size:18px!important;
  195. color:var(--gray-500)
  196. }
  197. .login-from .form-control {
  198. padding-left:45px;
  199. height:50px
  200. }
  201. .login-from .operate {
  202. margin-top:40px
  203. }
  204. .login-from .operate button {
  205. width:100%;
  206. height:50px
  207. }
  208. .admin-head {
  209. width:100%;
  210. height:60px;
  211. line-height:60px;
  212. background:linear-gradient(180deg,var(--green),var(--success-800))
  213. }
  214. .admin-head .logo {
  215. float:left;
  216. padding-left:1.5rem;
  217. width:220px
  218. }
  219. .admin-head .logo .name {
  220. font-size:18px;
  221. font-weight:700;
  222. color:var(--white);
  223. vertical-align:middle
  224. }
  225. .admin-head .logo .version {
  226. font-size:12px;
  227. color:var(--white);
  228. vertical-align:top
  229. }
  230. .admin-head .item li {
  231. float:left;
  232. position:relative;
  233. padding:0 1rem
  234. }
  235. .admin-head .item li a,.admin-head .user li a {
  236. color:var(--white)
  237. }
  238. .admin-head .item li a:hover,.admin-head .user li a:hover {
  239. color:var(--gray-300)
  240. }
  241. .admin-head .item .search {
  242. position:absolute;
  243. top:20px;
  244. right:20px;
  245. height:20px;
  246. line-height:20px;
  247. color:var(--gray);
  248. background:0;
  249. border:0
  250. }
  251. .admin-head .user {
  252. float:right;
  253. padding-right:1.5rem
  254. }
  255. .admin-head .user li {
  256. float:left;
  257. padding:0 1rem
  258. }
  259. .admin-head .user li:last-child {
  260. padding-right:0
  261. }
  262. .admin-head .user li img {
  263. margin-right:0.5rem;
  264. width:30px;
  265. height:30px;
  266. border-radius:50%
  267. }
  268. body.menu-hide .menu-left {
  269. display:none
  270. }
  271. body.menu-hide .body-right {
  272. left:0
  273. }
  274. body.menu-show .menu-left {
  275. display:block
  276. }
  277. body.menu-show .body-right {
  278. left:220px
  279. }
  280. .menu-left {
  281. position:absolute;
  282. top:60px;
  283. left:0;
  284. bottom:0;
  285. width:220px;
  286. overflow-y:auto
  287. }
  288. .sidemenu {
  289. padding:1rem 0;
  290. min-height:100%;
  291. background:var(--white)
  292. }
  293. .sidemenu .link {
  294. display:block;
  295. position:relative;
  296. padding-left:45px;
  297. height:40px;
  298. line-height:40px;
  299. cursor:pointer
  300. }
  301. .sidemenu li:last-child .link {
  302. border-bottom:0
  303. }
  304. .sidemenu li i {
  305. position:absolute;
  306. top:13px;
  307. left:20px;
  308. color:var(--gray)
  309. }
  310. .sidemenu li i.fa-angle-down {
  311. right:20px;
  312. left:auto
  313. }
  314. .sidemenu li.open .link,.sidemenu li.open i {
  315. color:var(--green)
  316. }
  317. .sidemenu li.open i.fa-angle-down {
  318. transform:rotate(180deg)
  319. }
  320. .sidemenu .submenu {
  321. display:none;
  322. padding:5px 0;
  323. background:var(--gray-500)
  324. }
  325. .sidemenu .submenu li {
  326. height:40px;
  327. line-height:40px
  328. }
  329. .sidemenu .submenu li:hover {
  330. background:var(--success-800)
  331. }
  332. .sidemenu .submenu a {
  333. display:block;
  334. float:left;
  335. padding:0 0 0 45px;
  336. color:var(--white)
  337. }
  338. .sidemenu .submenu .active {
  339. background:var(--green)
  340. }
  341. .sidemenu .submenu-right {
  342. float:right!important;
  343. padding:0 20px 0 0!important
  344. }
  345. .body-right {
  346. padding:1rem;
  347. position:absolute;
  348. top:60px;
  349. right:0;
  350. bottom:0
  351. }
  352. .body-right iframe {
  353. width:100%;
  354. height:99%;
  355. border:0
  356. }
  357. #_fileList,#_verList {
  358. height:350px;
  359. overflow-y:auto
  360. }
  361. #_msgInfo {
  362. display:none
  363. }
  364. .update-close {
  365. background:var(--white);
  366. border:0
  367. }
  368. .updates-dot {
  369. display:none;
  370. position:absolute;
  371. top:1rem;
  372. right:0.35rem;
  373. width:8px;
  374. height:8px;
  375. background:var(--danger);
  376. border-radius:50%
  377. }
  378. .fullpagediv {
  379. position:absolute;
  380. top:0;
  381. left:0;
  382. width:100%;
  383. height:100%;
  384. background:var(--bg);
  385. opacity:0.6;
  386. z-index:1980
  387. }
  388. .spinner-border {
  389. width:20px;
  390. height:20px;
  391. vertical-align:bottom
  392. }
  393. .sys-search {
  394. position:relative
  395. }
  396. .sys-search .sys-times {
  397. position:absolute;
  398. top:0;
  399. right:0
  400. }
  401. .colordlg {
  402. padding:0.5rem;
  403. background:var(--white);
  404. border:1px solid var(--gray-300);
  405. z-index:19991
  406. }
  407. .pubdlg {
  408. z-index:19992
  409. }
  410. .quicksel {
  411. padding:0.5rem;
  412. height:350px;
  413. overflow-y:auto;
  414. z-index:19993
  415. }
  416. .quickselitem .topcat {
  417. margin-bottom:1rem;
  418. padding:0 10px;
  419. background:var(--light)
  420. }
  421. .quickselitem .soncat {
  422. margin-bottom:1rem;
  423. padding:0 10px
  424. }
  425. .quickselitem .list {
  426. display:inline-block;
  427. padding-right:0.25rem
  428. }
  429. .mysource,.mywriter {
  430. width:500px;
  431. z-index:19994
  432. }
  433. .atlas {
  434. float:left;
  435. margin-right:10px;
  436. margin-bottom:10px;
  437. width:220px;
  438. height:auto;
  439. background:var(--bg);
  440. text-align:center;
  441. border-radius:var(--b-radius)
  442. }
  443. .atlas-head {
  444. height:120px
  445. }
  446. .atlas-head img {
  447. margin:0;
  448. max-width:220px;
  449. max-height:120px;
  450. border-radius:var(--b-radius) var(--b-radius) 0 0!important
  451. }
  452. .atlas-input {
  453. width:220px
  454. }
  455. .atlas-body {
  456. margin:0.5rem 0
  457. }
  458. .atlas-foot input[type=text] {
  459. border-radius:0 0 var(--b-radius) var(--b-radius)!important
  460. }
  461. .adtab li {
  462. display:inline-block;
  463. padding:0.5rem;
  464. cursor:pointer
  465. }
  466. .adtab .active {
  467. color:var(--blue)
  468. }
  469. .nw {
  470. float:left;
  471. width:160px
  472. }
  473. .cls {
  474. clear:both
  475. }
  476. .helpinfo {
  477. float:left;
  478. display:none;
  479. padding:10px;
  480. width:100%;
  481. background:var(--bg);
  482. border:1px solid var(--gray-300);
  483. border-radius:var(--b-radius)
  484. }
  485. .tips-box {
  486. margin:70px auto 0;
  487. width:500px;
  488. height:auto;
  489. background:var(--white);
  490. border-radius:var(--b-radius)
  491. }
  492. .tips-head {
  493. margin:0 20px;
  494. padding:18px 0;
  495. border-bottom:1px solid var(--light)
  496. }
  497. .tips-head p {
  498. margin:0;
  499. padding-left:10px;
  500. line-height:16px;
  501. color:var(--gray-dark);
  502. text-align:left;
  503. border-left:3px solid var(--yellow)
  504. }
  505. .tips-body {
  506. padding:20px;
  507. min-height:160px;
  508. color:var(--gray);
  509. word-break:break-all;
  510. word-wrap:break-word
  511. }
  512. #toolimg {
  513. position:absolute;
  514. display:none
  515. }
  516. #uploadfield {
  517. float:left
  518. }
  519. #uploadwait {
  520. z-index:19999
  521. }
  522. #validateimg {
  523. border-radius:0 var(--b-radius) var(--b-radius) 0;
  524. cursor:pointer
  525. }
  526. #wrap {
  527. padding:10px
  528. }
  529. #topbar {
  530. padding:10px 0;
  531. border-bottom:1px solid var(--light);
  532. text-align:right
  533. }
  534. #file_list {
  535. display:grid;
  536. grid-gap:10px;
  537. grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  538. padding-top:10px
  539. }
  540. #file_list:empty:after {
  541. content:'拖拽图片到此处上传'
  542. }
  543. #file_list li {
  544. display:block;
  545. position:relative;
  546. padding:10px;
  547. vertical-align:top;
  548. border-radius:var(--b-radius)
  549. }
  550. #file_list li:hover {
  551. background:var(--light)
  552. }
  553. #file_list li .picbox {
  554. display:flex;
  555. flex:0 0 auto;
  556. position:relative;
  557. padding-top:90%;
  558. width:100%;
  559. align-items:center;
  560. justify-content:center;
  561. overflow:hidden
  562. }
  563. #file_list li .picbox img {
  564. display:block;
  565. max-width:100%;
  566. max-height:100%;
  567. position:absolute;
  568. top:50%;
  569. left:50%;
  570. transform:translateX(-50%) translateY(-50%);
  571. border-radius:var(--b-radius)
  572. }
  573. #file_list li .namebox {
  574. display:flex;
  575. padding:10px;
  576. justify-content:center;
  577. align-items:flex-start
  578. }
  579. #file_list li.up-over .picbox:after {
  580. position:absolute;
  581. bottom:10px;
  582. right:0;
  583. font-family:'FontAwesome';
  584. font-size:18px;
  585. color:var(--green);
  586. content:'\f058';
  587. z-index:1991
  588. }
  589. #file_list li .tools {
  590. display:none;
  591. position:absolute;
  592. bottom:12px;
  593. right:10px;
  594. z-index:1992
  595. }
  596. #file_list li:hover .tools {
  597. display:block
  598. }
  599. #file_list li .tools .remove {
  600. cursor:pointer
  601. }
  602. #file_list li .tools .remove:after {
  603. font-family:'FontAwesome';
  604. font-size:18px;
  605. color:var(--danger);
  606. content:'\f1f8'
  607. }
  608. #selColor {
  609. padding:0.22rem;
  610. width:45px
  611. }
  612. #edsta {
  613. display:none;
  614. position:absolute;
  615. top:100px;
  616. left:150px;
  617. width:500px;
  618. height:auto
  619. }
  620. .browsehappy {
  621. padding:1rem 30px;
  622. color:var(--orange);
  623. background:var(--yellow)
  624. }
  625. .body-row {
  626. display:flex;
  627. flex-wrap:wrap
  628. }
  629. .upload-bg {
  630. margin:1rem;
  631. background:var(--white)
  632. }
  633. .w-65 {
  634. width:65%
  635. }
  636. .w-35 {
  637. width:35%
  638. }
  639. .breadcrumb {
  640. padding:0;
  641. background:none
  642. }
  643. .modal-title {
  644. font-size:16px
  645. }
  646. .card,.modal-content {
  647. border:0
  648. }
  649. .card-header {
  650. padding:1rem;
  651. background-color:rgba(0,0,0,0);
  652. border-bottom:1px solid rgba(0,0,0,0.05)
  653. }
  654. .card-body {
  655. padding:1rem
  656. }
  657. .card-body canvas {
  658. height:365px!important
  659. }
  660. .table {
  661. margin-bottom:0;
  662. color:var(--gray)
  663. }
  664. .table th,.table td {
  665. padding:0.5rem 0;
  666. vertical-align:middle
  667. }
  668. .form-control {
  669. display:inline-block
  670. }
  671. .fa {
  672. font-size:14px!important;
  673. color:inherit
  674. }
  675. .icon img {
  676. width:20px;
  677. height:20px
  678. }
  679. .fileinput-button {
  680. display:inline-block;
  681. position:relative;
  682. overflow:hidden
  683. }
  684. .fileinput-button input {
  685. position:absolute;
  686. top:0;
  687. right:0;
  688. margin:0;
  689. opacity:0;
  690. direction:ltr;
  691. cursor:pointer
  692. }
  693. .option1 {
  694. background:var(--gray-300)
  695. }
  696. .option2 {
  697. background:var(--gray-500)
  698. }
  699. .option3 {
  700. background:var(--white)
  701. }
  702. .user-img-md {
  703. width:60px;
  704. height:60px;
  705. border-radius:50%;
  706. border:1px solid var(--light)
  707. }
  708. .user-img-sm {
  709. width:30px;
  710. height:30px;
  711. border-radius:50%;
  712. border:1px solid var(--light)
  713. }
  714. .thumbnail-md {
  715. max-width:200px;
  716. max-height:120px
  717. }
  718. .thumbnail-sm {
  719. max-width:80px;
  720. max-height:80px
  721. }
  722. .admin-win {
  723. background:var(--bg);
  724. border:1px solid var(--gray-300)!important
  725. }
  726. .admin-win-iframe {
  727. width:100%;
  728. height:350px
  729. }
  730. .admin-main-sort {
  731. margin-left:1rem;
  732. padding:0;
  733. width:30px;
  734. text-align:center
  735. }
  736. .admin-textarea-xl {
  737. width:100%;
  738. height:90px
  739. }
  740. .admin-textarea-sm {
  741. width:350px;
  742. height:60px
  743. }
  744. .admin-input-lg {
  745. width:350px
  746. }
  747. .admin-input-md {
  748. width:230px
  749. }
  750. .admin-input-sm {
  751. width:180px
  752. }
  753. .admin-input-xs {
  754. width:70px
  755. }
  756. .btn-sm {
  757. padding:0.375rem 0.6rem;
  758. height:30px;
  759. font-size:12px
  760. }
  761. .btn-xs {
  762. padding:0.22rem;
  763. height:20px;
  764. line-height:1;
  765. font-size:12px;
  766. border-radius:var(--b-radius-300)!important
  767. }
  768. .btn+.btn {
  769. margin-left:0.5rem
  770. }
  771. .shadow-sm {
  772. box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important
  773. }
  774. a:hover,body.menu-hide .body-right,body.menu-show .body-right,.sidemenu .submenu li:hover,.table-hover tbody tr:hover {
  775. transition:all 0.5s
  776. }
  777. span.page-link {
  778. color:var(--white);
  779. background:var(--green)
  780. }
  781. input,select,textarea,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded {
  782. border-radius:var(--b-radius)!important
  783. }
  784. .cke_top {
  785. border-radius:var(--b-radius) var(--b-radius) 0 0!important
  786. }
  787. .submenu,.cke_bottom {
  788. border-radius:0 0 var(--b-radius) var(--b-radius)!important
  789. }
  790. .page-item:first-child .page-link {
  791. border-top-left-radius:var(--b-radius)!important;
  792. border-bottom-left-radius:var(--b-radius)!important
  793. }
  794. .page-item:last-child .page-link {
  795. border-top-right-radius:var(--b-radius)!important;
  796. border-bottom-right-radius:var(--b-radius)!important
  797. }
  798. .input-group>.input-group-append>.btn {
  799. border-top-left-radius:0!important;
  800. border-bottom-left-radius:0!important
  801. }
  802. .input-group:not(.has-validation)>.form-control:not(:last-child) {
  803. border-top-right-radius:0!important;
  804. border-bottom-right-radius:0!important
  805. }
  806. @media (min-width:1199px) {
  807. .modal-dialog {
  808. max-width:500px
  809. }
  810. }
  811. @media screen and (max-width:1199px) and (min-width:992px) {
  812. .login-box {
  813. padding:30px
  814. }
  815. }
  816. @media (max-width:768px) {
  817. td {
  818. white-space:nowrap
  819. }
  820. .install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm {
  821. width:100%
  822. }
  823. .tips {
  824. padding:0 1rem
  825. }
  826. .login-box {
  827. padding:30px
  828. }
  829. }