app.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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. .link {
  31. // text-decoration: underline;
  32. // text-decoration-style: dashed;
  33. // text-decoration-color: @theme_color;
  34. border-bottom: 1px dashed @theme_color;
  35. }
  36. .b-b {
  37. border-bottom: 1px solid #eee;
  38. }
  39. .f-s-16 {
  40. font-size: 16px;
  41. }
  42. .f-s-12 {
  43. font-size: 12px;
  44. }
  45. .t-d-l {
  46. text-decoration: underline;
  47. }
  48. .f-w-b {
  49. font-weight: bold;
  50. }
  51. .f-w-d {
  52. font-weight: 500;
  53. }
  54. .t-l {
  55. text-align: left;
  56. }
  57. .t-r {
  58. text-align: right;
  59. }
  60. .t-c {
  61. text-align: center;
  62. }
  63. .f-l {
  64. float: left;
  65. }
  66. .f-r {
  67. float: right;
  68. }
  69. .p-a {
  70. position: absolute;
  71. }
  72. .d-i-b {
  73. display: inline-block;
  74. }
  75. .m-l-5 {
  76. margin-left: 5px;
  77. }
  78. .m-l-1 {
  79. margin-left: 10px;
  80. }
  81. .m-l-2 {
  82. margin-left: 20px;
  83. }
  84. .m-r-5 {
  85. margin-right: 5px;
  86. }
  87. .m-r-1 {
  88. margin-right: 10px;
  89. }
  90. .m-r-2 {
  91. margin-right: 20px;
  92. }
  93. .m-t-5 {
  94. margin-top: 5px;
  95. }
  96. .m-t-1 {
  97. margin-top: 10px;
  98. }
  99. .m-t-2 {
  100. margin-top: 20px;
  101. }
  102. .m-b-5 {
  103. margin-bottom: 5px;
  104. }
  105. .m-b-1 {
  106. margin-bottom: 10px;
  107. }
  108. .m-b-2 {
  109. margin-bottom: 20px;
  110. }
  111. .m-b-4 {
  112. margin-bottom: 40px;
  113. }
  114. .p-5 {
  115. padding: 5px;
  116. }
  117. .p-10 {
  118. padding: 10px;
  119. }
  120. .p-l-5 {
  121. padding-left: 5px;
  122. }
  123. .p-l-1 {
  124. padding-left: 10px;
  125. }
  126. .p-l-2 {
  127. padding-left: 20px;
  128. }
  129. .p-r-5 {
  130. padding-right: 5px;
  131. }
  132. .p-r-1 {
  133. padding-right: 10px;
  134. }
  135. .p-r-2 {
  136. padding-right: 10px;
  137. }
  138. .p-t-5 {
  139. padding-top: 5px;
  140. }
  141. .p-t-1 {
  142. padding-top: 10px;
  143. }
  144. .p-t-2 {
  145. padding-top: 20px;
  146. }
  147. .p-b-5 {
  148. padding-bottom: 5px;
  149. }
  150. .p-b-1 {
  151. padding-bottom: 10px;
  152. }
  153. .p-b-2 {
  154. padding-bottom: 20px;
  155. }
  156. .c-p {
  157. cursor: pointer;
  158. }
  159. .w-1 {
  160. width: 10%;
  161. }
  162. .w-2 {
  163. width: 20%;
  164. }
  165. .w-3 {
  166. width: 30%;
  167. }
  168. .w-4 {
  169. width: 40%;
  170. }
  171. .w-5 {
  172. width: 50%;
  173. }
  174. .w-10 {
  175. width: 100%;
  176. }
  177. .flex-layout {
  178. display: flex;
  179. }
  180. .flex-block {
  181. flex: 1;
  182. }
  183. .t-1 {
  184. color: #303036;
  185. }
  186. .t-2 {
  187. color: #686872;
  188. }
  189. .t-3 {
  190. color: #B5B5BA;
  191. }
  192. .t-4 {
  193. color: #4292F0;
  194. }
  195. .t-5 {
  196. color: #6EC64B;
  197. }
  198. .b-c-1 {
  199. background: #F7F7F7;
  200. }
  201. .t-s-18 {
  202. font-size: 18px;
  203. }
  204. .t-s-16 {
  205. font-size: 16px;
  206. }
  207. .t-s-12 {
  208. font-size: 12px;
  209. }
  210. .t-s-10 {
  211. font-size: 10px;
  212. }
  213. .t-s-20 {
  214. font-size: 20px;
  215. }
  216. .t-s-14 {
  217. font-size: 14px;
  218. }
  219. input,
  220. textarea {
  221. outline: none;
  222. border: none;
  223. }
  224. input::-webkit-input-placeholder,
  225. textarea::-webkit-input-placeholder {
  226. color: @holder_color;
  227. }
  228. .d-i-b {
  229. display: inline-block;
  230. overflow: hidden;
  231. }
  232. .nowrap {
  233. white-space: nowrap;
  234. text-overflow: ellipsis;
  235. }
  236. body {
  237. color: @base_color;
  238. font-size: @base_size;
  239. line-height: 1.7;
  240. font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
  241. -webkit-font-smoothing: subpixel-antialiased;
  242. background: @base_bg_color;
  243. }
  244. * {
  245. box-sizing: border-box;
  246. }
  247. html,
  248. body,
  249. #root {
  250. margin: 0;
  251. padding: 0;
  252. height: 100%;
  253. overflow: hidden;
  254. overflow-y: auto;
  255. #page {
  256. height: 100%;
  257. }
  258. #full-page {
  259. height: 100%;
  260. background: #fff;
  261. }
  262. .content {
  263. width: @content_width;
  264. margin: 0 auto;
  265. }
  266. }
  267. #root {}
  268. body {
  269. .ant-tooltip.white {
  270. .ant-tooltip-inner {
  271. background: #fff;
  272. color: @base_color;
  273. }
  274. }
  275. .ant-tooltip.white.ant-tooltip-placement-left .ant-tooltip-arrow {
  276. border-left-color: #fff;
  277. }
  278. .ant-tooltip.white.ant-tooltip-placement-right .ant-tooltip-arrow {
  279. border-right-color: #fff;
  280. }
  281. .ant-tooltip.white.ant-tooltip-placement-top .ant-tooltip-arrow {
  282. border-top-color: #fff;
  283. }
  284. .ant-tooltip.white.ant-tooltip-placement-bottom .ant-tooltip-arrow {
  285. border-bottom-color: #fff;
  286. }
  287. .ant-tooltip.gray {
  288. .ant-tooltip-inner {
  289. background: rgba(0, 0, 0, 0.4);
  290. color: #fff;
  291. }
  292. }
  293. .ant-tooltip.gray.ant-tooltip-placement-left .ant-tooltip-arrow {
  294. border-left-color: rgba(0, 0, 0, 0.4);
  295. }
  296. .ant-tooltip.gray.ant-tooltip-placement-right .ant-tooltip-arrow {
  297. border-right-color: rgba(0, 0, 0, 0.4);
  298. }
  299. .ant-tooltip.gray.ant-tooltip-placement-top .ant-tooltip-arrow {
  300. border-top-color: rgba(0, 0, 0, 0.4);
  301. }
  302. .ant-tooltip.gray.ant-tooltip-placement-bottom .ant-tooltip-arrow {
  303. border-bottom-color: rgba(0, 0, 0, 0.4);
  304. }
  305. }