App.less 936 B

12345678910111213141516171819202122232425262728293031323334353637
  1. @import "../node_modules/antd/dist/antd.less";
  2. @import "./cfg.less";
  3. html, body {
  4. margin: 0;
  5. padding: 0;
  6. height: 100%;
  7. font-size: 12px;
  8. font-family: Arial, Helvetica, sans-serif;
  9. color: @font_color;
  10. line-height: 20px;
  11. background: #fff;
  12. }
  13. a {
  14. text-decoration: none;
  15. }
  16. #app {
  17. height: 100%;
  18. }
  19. /**
  20. * 这边可以覆盖 ant.design 的默认样式
  21. * 参考: https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
  22. */
  23. @border-radius-base: 2px;
  24. @border-radius-sm: 1px;
  25. /**
  26. * 把 iconfont 地址改为本地,否则总是会从 alicdn 上读取
  27. * 参见:https://github.com/ant-design/antd-init/tree/master/examples/local-iconfont
  28. *
  29. * 注意,可能需要先执行 `npm run _ln` 命令,将对应的 iconfont 目录链接到 node_modules 目录下,否则 .less 文件编译时可能会
  30. * 出现找不到 iconfont 文件的错误。
  31. */
  32. @icon-url: "./iconfont/iconfont";