App.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @import "./theme.scss";
  2. :root {
  3. --primary-color: #{$primaryColor};
  4. --second-color: #{$secondColor};
  5. --border-color: #ececec;
  6. --index-normal: 1;
  7. --index-top: 1000;
  8. --index-popper: 2000;
  9. }
  10. body,
  11. ol,
  12. ul,
  13. h1,
  14. h2,
  15. h3,
  16. h4,
  17. h5,
  18. h6,
  19. p,
  20. th,
  21. td,
  22. dl,
  23. dd,
  24. form,
  25. fieldset,
  26. legend,
  27. input,
  28. textarea,
  29. select {
  30. margin: 0;
  31. padding: 0;
  32. }
  33. ul {
  34. list-style: none;
  35. }
  36. body {
  37. font-family: Source Han Sans CN-Regular;
  38. font-size: 16px;
  39. }
  40. .limit-line {
  41. display: -webkit-box;
  42. overflow: hidden;
  43. text-overflow: ellipsis;
  44. -webkit-line-clamp: 1;
  45. -webkit-box-orient: vertical;
  46. word-break: break-all;
  47. word-wrap: break-word;
  48. }
  49. .line-2 {
  50. -webkit-line-clamp: 2;
  51. }
  52. .w220 {
  53. width: 220px;
  54. }
  55. .w450 {
  56. width: 450px;
  57. }
  58. * {
  59. box-sizing: border-box;
  60. }
  61. @font-face {
  62. font-family: "Source Han Serif CN-Bold";
  63. src: url("~/public/fonts/SOURCEHANSERIFCN-BOLD.OTF") format("opentype");
  64. font-display: swap;
  65. }
  66. @font-face {
  67. font-family: "Source Han Sans CN-Regular";
  68. src: url("~/public/fonts/SOURCEHANSERIFCN-REGULAR.OTF") format("opentype");
  69. font-display: swap;
  70. }
  71. .ant-btn {
  72. box-shadow: none !important;
  73. }
  74. .ant-input:focus {
  75. box-shadow: none;
  76. }
  77. .page-table {
  78. margin-top: 20px;
  79. }