Login.razor.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @import '~antd/es/style/themes/default.less';
  2. /*此处为了解决样式冲突, 在pro样式的基础上包了一层main, 原始样式从.login开始*/
  3. .main__b__0 ::deep {
  4. width: 368px;
  5. margin: 0 auto;
  6. @media screen and (max-width: @screen-sm) {
  7. width: 95%;
  8. }
  9. .login {
  10. :global {
  11. .ant-tabs .ant-tabs-nav {
  12. margin-bottom: 24px;
  13. text-align: center;
  14. border-bottom: 0;
  15. }
  16. }
  17. .getCaptcha {
  18. display: block;
  19. width: 100%;
  20. }
  21. .icon {
  22. color: @primary-color;
  23. }
  24. .other {
  25. margin-top: 24px;
  26. line-height: 22px;
  27. text-align: left;
  28. .icon {
  29. margin-left: 16px;
  30. color: @text-color-secondary;
  31. font-size: 24px;
  32. vertical-align: middle;
  33. cursor: pointer;
  34. transition: color 0.3s;
  35. &:hover {
  36. color: @primary-color;
  37. }
  38. }
  39. .register {
  40. float: right;
  41. }
  42. }
  43. .prefixIcon {
  44. color: @disabled-color;
  45. font-size: @font-size-base;
  46. }
  47. .submit {
  48. width: 100%;
  49. margin-top: 24px;
  50. }
  51. }
  52. }