117 lines
2.3 KiB
CSS
117 lines
2.3 KiB
CSS
#app,
|
|
body,
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.layui-icon{ font-size:16px !important;}
|
|
.mag0{ margin:0 !important; }
|
|
::selection { background: #ff5722; color: #fff; }
|
|
.layui-red{ color:#f00 !important; font-weight:bold;}
|
|
.layui-blue{ color:#01AAED !important;}
|
|
#app .layui-form-item.layui-input-focus input{ border-color:#ff6700 !important;}
|
|
.layui-block {
|
|
width: 100% !important;
|
|
}
|
|
#app {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('../images/login-bg.jpg');
|
|
position: relative;
|
|
}
|
|
|
|
#app form.layui-form {
|
|
padding: 0 20px 20px 20px;
|
|
width: 300px;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin: -150px 0 0 -150px;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-o-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
background: #fff;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 50px #009688;
|
|
}
|
|
|
|
#app .login_face {
|
|
margin: -55px auto 20px;
|
|
width: 100px;
|
|
height: 100px;
|
|
-webkit-border-radius: 50%;
|
|
-moz-border-radius: 50%;
|
|
border-radius: 50%;
|
|
border: 5px solid #fff;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 30px #009688;
|
|
background: #FFF;
|
|
}
|
|
|
|
#app .login_face img {
|
|
width: 100%;
|
|
}
|
|
|
|
#app .layui-form-item {
|
|
position: relative;
|
|
}
|
|
|
|
#app .layui-form-item label {
|
|
position: absolute;
|
|
color: #757575;
|
|
left: 10px;
|
|
top: 9px;
|
|
line-height: 20px;
|
|
background: transparent;
|
|
padding: 0 5px;
|
|
font-size: 14px;
|
|
cursor: text;
|
|
}
|
|
#code{
|
|
padding-right: 110px;
|
|
}
|
|
#imgCode .img {
|
|
position: absolute;
|
|
top: 1px;
|
|
bottom: 1px;
|
|
right: 1px;
|
|
cursor: pointer;
|
|
width: 100px;
|
|
background: #C4E1CE;
|
|
}
|
|
#app .layui-form-item input{
|
|
background: #FFF!important;
|
|
}
|
|
#app .layui-form-item input,
|
|
#app .layui-form-item label{
|
|
transition: all 0.3s ease-in-out;
|
|
-webkit-transition: all 0.3s ease-in-out;
|
|
}
|
|
#app .layui-form-item input::placeholder{
|
|
color: transparent!important;
|
|
}
|
|
#app .layui-form-item.layui-input-focus input::placeholder{
|
|
color: #757575!important;
|
|
}
|
|
#app .layui-form-item.layui-input-focus label,
|
|
#app .layui-form-item.layui-input-active label{
|
|
top: -10px;
|
|
font-size: 12px;
|
|
color: #ff6700;
|
|
background: #fff!important;
|
|
}
|
|
|
|
#codeImg canvas{
|
|
cursor:pointer;
|
|
}
|
|
|
|
|
|
|
|
|