diff --git a/src/views/login/index.vue b/src/views/login/index.vue index e6acb7d..72dcd99 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,75 +1,83 @@ - - - 登录 jmalCloud - 创建管理员 - - + + + + + + + JmalCloud + + 创建管理员 + + + - - + + - + - - + + - + - + - - + + - + - {{initialize?'创建':'登录'}} + {{initialize?'创建':'登录'}} - + - + + + + - @@ -186,15 +194,17 @@ export default { /* 修复input 背景不协调 和光标变色 */ /* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */ -$bg:#283443; -$light_gray:#fff; -$cursor: #fff; +$bg:#1890ff;; +$cursor: #409eff; -@supports (-webkit-mask: none) and (not (cater-color: $cursor)) { - .login-container .el-input input { - color: $cursor; - } -} +/*@supports (-webkit-mask: none) {*/ + /*/deep/.login-container .el-input input {*/ + /*background: unset;*/ + /*color: #fff;*/ + /*height: 47px;*/ + /*caret-color: #409eff;*/ + /*}*/ +/*}*/ /* reset element-ui css */ .login-container { @@ -209,20 +219,18 @@ $cursor: #fff; -webkit-appearance: none; border-radius: 0px; padding: 12px 5px 12px 15px; - color: $light_gray; height: 47px; caret-color: $cursor; &:-webkit-autofill { - box-shadow: 0 0 0px 1000px $bg inset !important; - -webkit-text-fill-color: $cursor !important; + box-shadow: 0 0 0 1000px #FFFFFF inset !important; + /*-webkit-text-fill-color: #FFFFFF !important;*/ } } } .el-form-item { - border: 1px solid rgba(255, 255, 255, 0.1); - background: rgba(0, 0, 0, 0.1); + border: 1px solid #d9d9d9; border-radius: 5px; color: #454545; } @@ -231,20 +239,31 @@ $cursor: #fff;