|
|
|
@ -142,36 +142,50 @@ export default {
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style rel="stylesheet/scss" lang="scss">
|
|
|
|
|
$bg:#2d3a4b;
|
|
|
|
|
$light_gray:#eee;
|
|
|
|
|
/* 修复input 背景不协调 和光标变色 */
|
|
|
|
|
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
|
|
|
|
|
|
|
|
|
/* reset element-ui css */
|
|
|
|
|
.login-container {
|
|
|
|
|
.el-input {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: 47px;
|
|
|
|
|
width: 85%;
|
|
|
|
|
input {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: 0px;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
padding: 12px 5px 12px 15px;
|
|
|
|
|
color: $light_gray;
|
|
|
|
|
height: 47px;
|
|
|
|
|
&:-webkit-autofill {
|
|
|
|
|
-webkit-box-shadow: 0 0 0px 1000px $bg inset !important;
|
|
|
|
|
-webkit-text-fill-color: #fff !important;
|
|
|
|
|
$bg:#283443;
|
|
|
|
|
$light_gray:#eee;
|
|
|
|
|
$cursor: #fff;
|
|
|
|
|
|
|
|
|
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
|
|
|
|
.login-container .el-input input{
|
|
|
|
|
color: $cursor;
|
|
|
|
|
&::first-line {
|
|
|
|
|
color: $light_gray;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.el-form-item {
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
color: #454545;
|
|
|
|
|
|
|
|
|
|
/* reset element-ui css */
|
|
|
|
|
.login-container {
|
|
|
|
|
.el-input {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: 47px;
|
|
|
|
|
width: 85%;
|
|
|
|
|
input {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: 0px;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
padding: 12px 5px 12px 15px;
|
|
|
|
|
color: $light_gray;
|
|
|
|
|
height: 47px;
|
|
|
|
|
caret-color: $cursor;
|
|
|
|
|
&:-webkit-autofill {
|
|
|
|
|
-webkit-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);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
color: #454545;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
|
|
@ -216,7 +230,6 @@ $light_gray:#eee;
|
|
|
|
|
position: relative;
|
|
|
|
|
.title {
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: $light_gray;
|
|
|
|
|
margin: 0px auto 40px auto;
|
|
|
|
|
text-align: center;
|
|
|
|
|