app.less 2.7 KB

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