| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- .Login {
- width: 100%;
- height: 100%;
- background-image: url('../../assets/img/loginBac.png');
- background-size: 100% 100%;
- :global {
- .mainRight {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 580px;
- height: 740px;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 20px;
- .LogoImg {
- & > img {
- width: 340px;
- }
- }
- .inputBox {
- width: 100%;
- input::-webkit-input-placeholder {
- /* WebKit browsers */
- color: rgba(217, 217, 217, 0.8);
- }
- input:-moz-placeholder {
- /* Mozilla Firefox 4 to 18 */
- color: rgba(217, 217, 217, 0.8);
- }
- input::-moz-placeholder {
- /* Mozilla Firefox 19+ */
- color: rgba(217, 217, 217, 0.8);
- }
- input:-ms-input-placeholder {
- /* Internet Explorer 10+ */
- color: rgba(217, 217, 217, 0.8);
- }
- .inputBoxRow {
- width: 370px;
- margin: 12px auto;
- .ant-input-suffix .ant-input-password-icon {
- color: rgba(217, 217, 217, 0.8);
- font-size: 20px;
- margin-right: 20px;
- }
- }
- .inputBoxRow2 {
- position: relative;
- .loginCode {
- z-index: 110;
- cursor: pointer;
- position: absolute;
- top: 50%;
- right: 8px;
- transform: translateY(-50%);
- }
- }
- .ant-input-prefix {
- margin-right: 20px;
- .anticon {
- padding-right: 10px;
- width: 36px;
- height: 36px;
- svg {
- width: 100%;
- height: 100%;
- }
- }
- }
- .ant-input {
- font-size: 18px;
- width: 45%;
- height: 60px;
- line-height: 60px;
- background-clip: content-box;
- }
- input:-webkit-autofill {
- font-size: 18px !important;
- -webkit-text-fill-color: rgb(255, 255, 255) !important;
- background-image: none;
- -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; //填充阴影,可以用来遮住背景色
- background-color: transparent;
- transition: background-color 50000s ease-in-out 0s; //背景色透明 生效时长 过渡效果 启用时延迟的时间
- }
- .ant-input-affix-wrapper {
- background: url('../../assets/img/inputBg.png');
- background-size: 100% 100%;
- padding: 0;
- width: 100%;
- height: 60px;
- border: none;
- border-radius: 5px;
- color: var(--themeColor);
- .ant-input {
- background-color: transparent;
- width: 100%;
- height: 60px;
- color: rgb(255, 255, 255);
- }
- }
- .ant-input-affix-wrapper-focused {
- box-shadow: none;
- }
- }
- .loginBtn {
- .ant-btn {
- color: #fff;
- background: url('../../assets/img/loginBtnBg.png') no-repeat;
- background-size: cover;
- border-radius: 5px;
- font-size: 18px;
- width: 375px;
- height: 50px;
- &:hover {
- color: #fff;
- opacity: 0.8;
- background: url('../../assets/img/loginBtnBg.png') no-repeat;
- background-size: cover;
- }
- }
- }
- }
- }
- }
|