动态菜单和动态路由的 antd pro

Register.less 667B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @import '~antd/lib/style/themes/default.less';
  2. .main {
  3. width: 368px;
  4. margin: 0 auto;
  5. :global {
  6. .ant-form-item {
  7. margin-bottom: 24px;
  8. }
  9. }
  10. h3 {
  11. font-size: 16px;
  12. margin-bottom: 20px;
  13. }
  14. .getCaptcha {
  15. display: block;
  16. width: 100%;
  17. }
  18. .submit {
  19. width: 50%;
  20. }
  21. .login {
  22. float: right;
  23. line-height: @btn-height-lg;
  24. }
  25. }
  26. .success,
  27. .warning,
  28. .error {
  29. transition: color 0.3s;
  30. }
  31. .success {
  32. color: @success-color;
  33. }
  34. .warning {
  35. color: @warning-color;
  36. }
  37. .error {
  38. color: @error-color;
  39. }
  40. .progress-pass > .progress {
  41. :global {
  42. .ant-progress-bg {
  43. background-color: @warning-color;
  44. }
  45. }
  46. }