From 403443e1260dc40d0e730be115dd0b061e0c0c18 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 29 Oct 2021 22:33:45 +0800 Subject: [PATCH] refactor: weaken the animation of the login page #359 (#369) --- public/color.less | 11 -------- src/components/Login/LoginForm.vue | 23 +++-------------- src/styles/animate.less | 33 ------------------------ src/styles/style.less | 21 ++++++---------- src/views/user/Login.vue | 40 ++++++++++++------------------ src/views/user/ResetPassword.vue | 30 +++++++++++----------- 6 files changed, 42 insertions(+), 116 deletions(-) diff --git a/public/color.less b/public/color.less index 521537a91..711e57894 100644 --- a/public/color.less +++ b/public/color.less @@ -2342,11 +2342,6 @@ i.trigger:hover { border-radius: 2px; color: #fff; } -.logo { -} -.logo h1 { - color: white; -} .sider { box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35); } @@ -2358,9 +2353,6 @@ i.trigger:hover { background: white; box-shadow: 1px 1px 0 0 #e8e8e8; } -.sider.light .logo h1 { - color: @primary-color; -} .sider.light :global(.ant-menu-light) { border-right-color: transparent; } @@ -2386,9 +2378,6 @@ i.trigger:hover { .head.light { background-color: #fff; } -.logo h1 { - color: #fff; -} .light h1 { color: #002140; } diff --git a/src/components/Login/LoginForm.vue b/src/components/Login/LoginForm.vue index 476f596f9..9f0afcd62 100644 --- a/src/components/Login/LoginForm.vue +++ b/src/components/Login/LoginForm.vue @@ -7,37 +7,22 @@ layout="vertical" @keyup.enter.native="form.needAuthCode ? handleLogin() : handleLoginClick()" > - + - + - + - + -
-