更新样式:更新首页登录按钮focus样式,增加UserName最小长度为4的约束
This commit is contained in:
parent
192aff391d
commit
e947fc1f0a
|
@ -55,7 +55,7 @@
|
||||||
<span class="fa fa-user-plus"></span>
|
<span class="fa fa-user-plus"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" id="userName" autocomplete="off" class="form-control" placeholder="登陆账号不可为空" value="" maxlength="50" remote="api/New/" data-remote-msg="此用户已存在" data-valid="true" />
|
<input type="text" id="userName" autocomplete="off" class="form-control" placeholder="登陆账号不可为空" minlength="4" maxlength="50" remote="api/New/" data-remote-msg="此用户已存在" data-valid="true" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
@ -32,14 +32,13 @@
|
||||||
margin-top: -8px;
|
margin-top: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control:focus, .form-control.is-valid:focus, .form-control.is-invalid:focus, .btn:focus, .btn:focus:active {
|
.btn-login:focus {
|
||||||
box-shadow: none;
|
box-shadow: 0 4px #e56b60;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-text {
|
.input-group-text {
|
||||||
background-color: #6bc3f4;
|
background-color: #6bc3f4;
|
||||||
border-color: #1ca0e9;
|
border-color: #1ca0e9;
|
||||||
line-height: 1.5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control {
|
.form-control {
|
||||||
|
|
Loading…
Reference in New Issue