app.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  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. .t-d-l {
  40. text-decoration: underline;
  41. }
  42. .t-d-l-t {
  43. text-decoration: line-through;
  44. }
  45. .f-w-b {
  46. font-weight: 600;
  47. }
  48. .f-w-d {
  49. font-weight: 500;
  50. }
  51. .t-l {
  52. text-align: left;
  53. }
  54. .t-r {
  55. text-align: right;
  56. }
  57. .t-c {
  58. text-align: center;
  59. }
  60. .f-l {
  61. float: left;
  62. }
  63. .f-r {
  64. float: right;
  65. }
  66. .p-a {
  67. position: absolute;
  68. }
  69. .d-i-b {
  70. display: inline-block;
  71. }
  72. .m-l-5 {
  73. margin-left: 5px;
  74. }
  75. .m-l-1 {
  76. margin-left: 10px;
  77. }
  78. .m-l-2 {
  79. margin-left: 20px;
  80. }
  81. .m-r-5 {
  82. margin-right: 5px;
  83. }
  84. .m-r-1 {
  85. margin-right: 10px;
  86. }
  87. .m-r-2 {
  88. margin-right: 20px;
  89. }
  90. .m-t-5 {
  91. margin-top: 5px;
  92. }
  93. .m-t-1 {
  94. margin-top: 10px;
  95. }
  96. .m-t-2 {
  97. margin-top: 20px;
  98. }
  99. .m-b-5 {
  100. margin-bottom: 5px;
  101. }
  102. .m-b-1 {
  103. margin-bottom: 10px;
  104. }
  105. .m-b-2 {
  106. margin-bottom: 20px;
  107. }
  108. .m-b-4 {
  109. margin-bottom: 40px;
  110. }
  111. .p-5 {
  112. padding: 5px;
  113. }
  114. .p-10 {
  115. padding: 10px;
  116. }
  117. .p-20 {
  118. padding: 20px;
  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. .c-w {
  160. color: white;
  161. }
  162. .w-1 {
  163. width: 10%;
  164. }
  165. .w-2 {
  166. width: 20%;
  167. }
  168. .w-3 {
  169. width: 30%;
  170. }
  171. .w-4 {
  172. width: 40%;
  173. }
  174. .w-5 {
  175. width: 50%;
  176. }
  177. .w-10 {
  178. width: 100%;
  179. }
  180. .flex-layout {
  181. display: flex;
  182. }
  183. .flex-block {
  184. flex: 1;
  185. }
  186. .p-r {
  187. position: relative;
  188. }
  189. .p-a {
  190. position: absolute;
  191. }
  192. .v-a-t {
  193. vertical-align: top;
  194. }
  195. .v-a-m {
  196. vertical-align: middle;
  197. }
  198. .v-a-b {
  199. vertical-align: bottom;
  200. }
  201. .t-1 {
  202. color: #303036 !important;
  203. }
  204. .t-2 {
  205. color: #686872 !important;
  206. }
  207. .t-3 {
  208. color: #B5B5BA !important;
  209. }
  210. .t-4 {
  211. color: #4292F0 !important;
  212. }
  213. .t-5 {
  214. color: #6EC64B !important;
  215. }
  216. .t-6 {
  217. color: #A7A7A7 !important;
  218. }
  219. .t-7 {
  220. color: #FF7C06 !important;
  221. }
  222. .t-8 {
  223. color: #8897A8FF !important;
  224. }
  225. .t-9 {
  226. color: #919FAEFF !important;
  227. }
  228. .t-10 {
  229. color: #A2AAB5FF !important;
  230. }
  231. .t-11 {
  232. color: #F36565FF !important;
  233. }
  234. .t-12 {
  235. color: #F2B252FF !important;
  236. }
  237. .t-13 {
  238. color: #5E677BFF !important;
  239. }
  240. .t-14 {
  241. color: #515258FF !important;
  242. }
  243. .t-15 {
  244. color: #6E6E78FF !important;
  245. }
  246. .b-c-1 {
  247. background: #F7F7F7;
  248. }
  249. .b-c-2 {
  250. background: #EAEEF4FF;
  251. }
  252. .b-c-3 {
  253. background: #FBFBFBFF;
  254. }
  255. .f-s-16 {
  256. font-size: 16px;
  257. }
  258. .f-s-12 {
  259. font-size: 12px;
  260. }
  261. .t-s-18 {
  262. font-size: 18px;
  263. }
  264. .t-s-16 {
  265. font-size: 16px;
  266. }
  267. .t-s-12 {
  268. font-size: 12px;
  269. }
  270. .t-s-10 {
  271. font-size: 10px;
  272. }
  273. .t-s-20 {
  274. font-size: 20px;
  275. }
  276. .t-s-22 {
  277. font-size: 22px;
  278. }
  279. .t-s-24 {
  280. font-size: 24px;
  281. }
  282. .t-s-14 {
  283. font-size: 14px;
  284. }
  285. .t-s-28 {
  286. font-size: 28px;
  287. }
  288. .t-s-32 {
  289. font-size: 32px;
  290. }
  291. .t-s-30 {
  292. font-size: 30px;
  293. }
  294. .l-h-20 {
  295. line-height: 20px;
  296. }
  297. .l-h-16 {
  298. line-height: 16px;
  299. }
  300. .ws-pl {
  301. white-space: pre-line;
  302. }
  303. .ws-p {
  304. white-space: pre;
  305. }
  306. .u-s-n {
  307. user-select: none;
  308. }
  309. input,
  310. textarea {
  311. outline: none;
  312. border: none;
  313. }
  314. input::-webkit-input-placeholder,
  315. textarea::-webkit-input-placeholder {
  316. color: #A7A7A7;
  317. }
  318. input.empty::-webkit-input-placeholder,
  319. textarea.empty::-webkit-input-placeholder {
  320. color: #f36565;
  321. }
  322. .d-i-b {
  323. display: inline-block;
  324. overflow: hidden;
  325. }
  326. .nowrap {
  327. white-space: nowrap;
  328. text-overflow: ellipsis;
  329. }
  330. body {
  331. color: @base_color;
  332. font-size: @base_size;
  333. line-height: 1.7;
  334. font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
  335. -webkit-font-smoothing: subpixel-antialiased;
  336. background: @base_bg_color;
  337. }
  338. * {
  339. box-sizing: border-box;
  340. }
  341. html,
  342. body,
  343. #root {
  344. margin: 0;
  345. padding: 0;
  346. height: 100%;
  347. overflow: hidden;
  348. overflow-y: auto;
  349. #page {
  350. height: 100%;
  351. }
  352. #full-page {
  353. height: 100%;
  354. background: #fff;
  355. }
  356. .content {
  357. width: @content_width;
  358. margin: 0 auto;
  359. }
  360. .drag-upload {
  361. padding: 30px;
  362. border: 1px dashed #ddd;
  363. position: relative;
  364. text-align: center;
  365. .fixed {
  366. padding: 30px;
  367. background: #00000066;
  368. color: #fff;
  369. position: absolute;
  370. top: 0;
  371. left: 0;
  372. right: 0;
  373. bottom: 0;
  374. display: none;
  375. }
  376. }
  377. .drag-upload.draging {
  378. .fixed {
  379. display: block;
  380. }
  381. }
  382. .input-layout {
  383. display: flex;
  384. .label {}
  385. .input-block {
  386. flex: 1;
  387. }
  388. }
  389. .dot {
  390. position: relative;
  391. }
  392. .dot::after {
  393. content: '';
  394. position: absolute;
  395. left: -10px;
  396. top: 5px;
  397. width: 5px;
  398. height: 5px;
  399. border-radius: 50%;
  400. background: rgba(252, 95, 95, 1);
  401. }
  402. .require {
  403. position: relative;
  404. margin-right: 10px;
  405. }
  406. .require::after {
  407. content: '*';
  408. position: absolute;
  409. font-size: 14px;
  410. right: -8px;
  411. top: 0px;
  412. color: #EC6413FF;
  413. }
  414. .close {
  415. color: #D0D8E2FF;
  416. cursor: pointer;
  417. font-size: 16px;
  418. }
  419. .avatar {
  420. width: 40px;
  421. height: 40px;
  422. border-radius: 50%;
  423. }
  424. }
  425. #root {}
  426. body {
  427. .ant-tooltip.white {
  428. .ant-tooltip-inner {
  429. background: #fff;
  430. color: @base_color;
  431. }
  432. }
  433. .ant-tooltip.white.ant-tooltip-placement-left .ant-tooltip-arrow {
  434. border-left-color: #fff;
  435. }
  436. .ant-tooltip.white.ant-tooltip-placement-right .ant-tooltip-arrow {
  437. border-right-color: #fff;
  438. }
  439. .ant-tooltip.white.ant-tooltip-placement-top .ant-tooltip-arrow {
  440. border-top-color: #fff;
  441. }
  442. .ant-tooltip.white.ant-tooltip-placement-bottom .ant-tooltip-arrow {
  443. border-bottom-color: #fff;
  444. }
  445. .ant-tooltip.gray {
  446. .ant-tooltip-inner {
  447. background: rgba(0, 0, 0, 0.4);
  448. color: #fff;
  449. }
  450. }
  451. .ant-tooltip.gray.ant-tooltip-placement-left .ant-tooltip-arrow {
  452. border-left-color: rgba(0, 0, 0, 0.4);
  453. }
  454. .ant-tooltip.gray.ant-tooltip-placement-right .ant-tooltip-arrow {
  455. border-right-color: rgba(0, 0, 0, 0.4);
  456. }
  457. .ant-tooltip.gray.ant-tooltip-placement-top .ant-tooltip-arrow {
  458. border-top-color: rgba(0, 0, 0, 0.4);
  459. }
  460. .ant-tooltip.gray.ant-tooltip-placement-bottom .ant-tooltip-arrow {
  461. border-bottom-color: rgba(0, 0, 0, 0.4);
  462. }
  463. }