app.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. @charset "utf-8";
  2. @cornflower: #6865fd;
  3. @cornflower_bg: #e4eaf4;
  4. @dark-sky-blue: #4292f0;
  5. @night-blue: #050930;
  6. @slate-grey: #5e677b;
  7. @bluey-grey: #8897a8;
  8. @coral: #f36565;
  9. @butterscotch: #fcb750;
  10. @ice-blue: #f7fcff;
  11. @theme_color: @dark-sky-blue;
  12. @theme_holder_color: #7bb3f3;
  13. @theme_color_hover: darken(@dark-sky-blue, 10);
  14. @holder_color: @bluey-grey;
  15. @base_color: @slate-grey;
  16. @theme_bg_color: #e9eff8;
  17. @line_color: #c7d0d9;
  18. @base_size: 14px;
  19. @base_bg_color: #f4f4f4;
  20. @content_width: 1000px;
  21. .theme,
  22. .theme a,
  23. .theme a:hover {
  24. color: @theme_color;
  25. }
  26. .night {
  27. color: @night-blue;
  28. }
  29. .f-s-16 {
  30. font-size: 16px;
  31. }
  32. .f-s-12 {
  33. font-size: 12px;
  34. }
  35. .f-w-b {
  36. font-weight: bold;
  37. }
  38. .t-l {
  39. text-align: left;
  40. }
  41. .t-r {
  42. text-align: right;
  43. }
  44. .t-c {
  45. text-align: center;
  46. }
  47. .f-l {
  48. float: left;
  49. }
  50. .f-r {
  51. float: right;
  52. }
  53. .p-a {
  54. position: absolute;
  55. }
  56. .d-i-b {
  57. display: inline-block;
  58. }
  59. .m-l-5 {
  60. margin-left: 5px;
  61. }
  62. .m-l-1 {
  63. margin-left: 10px;
  64. }
  65. .m-l-2 {
  66. margin-left: 20px;
  67. }
  68. .m-r-5 {
  69. margin-right: 5px;
  70. }
  71. .m-r-1 {
  72. margin-right: 10px;
  73. }
  74. .m-r-2 {
  75. margin-right: 10px;
  76. }
  77. .m-t-5 {
  78. margin-top: 5px;
  79. }
  80. .m-t-1 {
  81. margin-top: 10px;
  82. }
  83. .m-t-2 {
  84. margin-top: 20px;
  85. }
  86. .m-b-5 {
  87. margin-bottom: 5px;
  88. }
  89. .m-b-1 {
  90. margin-bottom: 10px;
  91. }
  92. .m-b-2 {
  93. margin-bottom: 20px;
  94. }
  95. .p-l-5 {
  96. padding-left: 5px;
  97. }
  98. .p-l-1 {
  99. padding-left: 10px;
  100. }
  101. .p-l-2 {
  102. padding-left: 20px;
  103. }
  104. .p-r-5 {
  105. padding-right: 5px;
  106. }
  107. .p-r-1 {
  108. padding-right: 10px;
  109. }
  110. .p-r-2 {
  111. padding-right: 10px;
  112. }
  113. .p-t-5 {
  114. padding-top: 5px;
  115. }
  116. .p-t-1 {
  117. padding-top: 10px;
  118. }
  119. .p-t-2 {
  120. padding-top: 20px;
  121. }
  122. .p-b-5 {
  123. padding-bottom: 5px;
  124. }
  125. .p-b-1 {
  126. padding-bottom: 10px;
  127. }
  128. .p-b-2 {
  129. padding-bottom: 20px;
  130. }
  131. .c-p {
  132. cursor: pointer;
  133. }
  134. .w-1 {
  135. width: 10%;
  136. }
  137. .w-2 {
  138. width: 20%;
  139. }
  140. .w-3 {
  141. width: 30%;
  142. }
  143. .w-4 {
  144. width: 40%;
  145. }
  146. .w-5 {
  147. width: 50%;
  148. }
  149. input,
  150. textarea {
  151. outline: none;
  152. }
  153. input::-webkit-input-placeholder,
  154. textarea::-webkit-input-placeholder {
  155. color: @holder_color;
  156. }
  157. .d-i-b {
  158. display: inline-block;
  159. overflow: hidden;
  160. }
  161. .nowrap {
  162. white-space: nowrap;
  163. text-overflow: ellipsis;
  164. }
  165. body {
  166. color: @base_color;
  167. font-size: @base_size;
  168. line-height: 1.7;
  169. font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
  170. -webkit-font-smoothing: subpixel-antialiased;
  171. background: @base_bg_color;
  172. }
  173. * {
  174. box-sizing: border-box;
  175. }
  176. html,
  177. body,
  178. #root {
  179. margin: 0;
  180. padding: 0;
  181. min-height: 100%;
  182. #page {
  183. min-height: 100%;
  184. }
  185. .content {
  186. width: @content_width;
  187. margin: 0 auto;
  188. }
  189. }
  190. #root {}
  191. body {
  192. .ant-tooltip {
  193. .ant-tooltip-arrow {
  194. border-top-color: #fff;
  195. }
  196. .ant-tooltip-inner {
  197. background: #fff;
  198. color: @base_color;
  199. }
  200. }
  201. }