From 92a9b175fda139d6608c53af62e4d8b7b1c926cf Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 四月 2021 18:08:51 +0800 Subject: [PATCH] 2021-04-09 --- src/pc/components/login/normal-login/index.scss | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/src/pc/components/login/normal-login/index.scss b/src/pc/components/login/normal-login/index.scss index 17eeab1..86f8784 100644 --- a/src/pc/components/login/normal-login/index.scss +++ b/src/pc/components/login/normal-login/index.scss @@ -1,4 +1,5 @@ .login-edit-box { + display: inline-block; position: relative; box-sizing: border-box; background: #ffffff; @@ -28,11 +29,13 @@ background: rgba(255, 255, 255, 0.55); } .login-edit-form { + border-radius: inherit; .ant-form-item { font-size: 16px; margin: 0 15px 15px; .ant-input { height: 35px; + background: transparent; } } button:not(.vercode) { @@ -46,6 +49,50 @@ margin-bottom: 0; } } + .login-way-wrap { + height: 50px; + line-height: 50px; + margin-bottom: 10px; + display: flex; + border-radius: inherit; + .login-way { + flex: 1; + width: 50%; + font-size: 17px; + text-align: center; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 16px; + transition: all 0.3s; + border: 1px solid transparent; + border-top: 0!important; + } + .login-way.active, .login-way:hover { + color: #1890ff; + } + .login-way:not(.active) { + cursor: pointer; + background: #fafafa; + border: 1px solid #e8e8e8; + } + .login-way:first-child { + border-left: 0; + border-top-left-radius: inherit; + } + .login-way:last-child { + border-right: 0; + border-top-right-radius: inherit; + } + } + .login-way-wrap.simple { + .login-way { + font-size: 18px; + text-align: left; + padding: 0 15px; + line-height: 60px; + } + } } .login-edit-box::after { display: block; -- Gitblit v1.8.0