@import '~antd/es/style/themes/default.less'; /*此处为了解决样式冲突, 在pro样式的基础上包了一层main, 原始样式从.login开始*/ .main__b__0 ::deep { width: 368px; margin: 0 auto; @media screen and (max-width: @screen-sm) { width: 95%; } .login { :global { .ant-tabs .ant-tabs-nav { margin-bottom: 24px; text-align: center; border-bottom: 0; } } .getCaptcha { display: block; width: 100%; } .icon { color: @primary-color; } .other { margin-top: 24px; line-height: 22px; text-align: left; .icon { margin-left: 16px; color: @text-color-secondary; font-size: 24px; vertical-align: middle; cursor: pointer; transition: color 0.3s; &:hover { color: @primary-color; } } .register { float: right; } } .prefixIcon { color: @disabled-color; font-size: @font-size-base; } .submit { width: 100%; margin-top: 24px; } } }