|
@@ -148,17 +148,14 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
/* 修复input 背景不协调 和光标变色 */
|
|
|
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
|
|
-
|
|
|
-$bg :#283443;
|
|
|
+$bg:#283443;
|
|
|
$light_gray: #fff;
|
|
|
$cursor: #fff;
|
|
|
-
|
|
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
|
|
.login-container .el-input input {
|
|
|
color: $cursor;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
/* reset element-ui css */
|
|
|
.login-container {
|
|
|
.el-input {
|
|
@@ -174,14 +171,12 @@ $cursor: #fff;
|
|
|
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;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
.el-form-item {
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
@@ -190,18 +185,15 @@ $cursor: #fff;
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
-
|
|
|
<style lang="scss" scoped>
|
|
|
$bg:#2d3a4b;
|
|
|
$dark_gray:#889aa4;
|
|
|
$light_gray:#ffffff;
|
|
|
-
|
|
|
.login-container {
|
|
|
min-height: 100%;
|
|
|
width: 100%;
|
|
|
background-color: $bg;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
.login-form {
|
|
|
position: relative;
|
|
|
width: 450px;
|
|
@@ -212,7 +204,6 @@ $light_gray:#ffffff;
|
|
|
background: $bg;
|
|
|
border-radius: 8px;
|
|
|
}
|
|
|
-
|
|
|
.tips {
|
|
|
font-size: 14px;
|
|
|
color: #fff;
|
|
@@ -224,7 +215,6 @@ $light_gray:#ffffff;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
.svg-container {
|
|
|
padding: 6px 5px 6px 15px;
|
|
|
color: $dark_gray;
|
|
@@ -232,7 +222,6 @@ $light_gray:#ffffff;
|
|
|
width: 30px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
-
|
|
|
.title-container {
|
|
|
position: relative;
|
|
|
.logo{
|