body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.headerarea {
color: aquamarine;
padding-left: 30px;
position: absolute;
z-index: 2;
}
.headlogo {
position: relative;
text-align: center;
}
.headlogo img {
border-radius: 50px;
height: 100px;
width: 100px;
}
.loginarea {
background: #ffffff;
border-radius: 12px;
box-shadow: 9px 8px 5px #7e7e7e;
box-sizing: border-box;
display: flex;
flex-direction: row;
left: 50%;
margin-left: -400px;
margin-top: -300px;
padding: 20px;
position: absolute;
top: 50%;
}
.loginarea .cl {
position: relative;
}
.loginarea .col-xs-8 {
width: 100%;
}
.loginarea .input-text {
border-radius: 6px;
padding-left: 50px;
}
.loginarea .col-xs-3 {
color: #989494;
font-size: 24px;
height: 40px;
left: 10px;
position: absolute;
width: 40px;
}
.loginarea .col-xs-3 i {
line-height: 40px;
}
.loginarea .col-xs-offset-3 {
margin-left: 0;
}
.loginarea .inputsure {
padding-left: 10px;
width: 100px;
}
.loginarea .btn-success {
background: #40a9ff;
border-color: #40a9ff;
color: #ffffff;
width: 100%;
outline: none;
border: none;
height: 48px;
border-radius: 6px;
transition: all 0.5s;
box-shadow: 0px 0px 5px 1px #40a9ff;
cursor: pointer;
}
.loginarea .btn-success:hover {
background-color: #5a98de;
}
.loginleft {
position: relative;
}
.loginleft img {
width: 380px;
}
.loginceng {
align-items: center;
bottom: 0;
display: flex;
justify-content: center;
left: 0;
position: fixed;
right: 0;
top: 0;
background-image: url(images/b.png);
background-size: 100% 100%;
}
.loginWraperBack {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
width: 100%;
z-index: 1;
}
.footerarea {
border-top: 1px solid #a7a7a7;
bottom: 0;
color: #b3b3b3;
font-family: tahoma, Arial;
font-size: 12px;
height: 46px;
left: 0;
line-height: 46px;
padding: 15px 0;
position: absolute;
right: 0;
text-align: center;
width: 100%;
z-index: 0;
}
/*switch开关*/
.mui-switch {
width: 40px;
height: 22px;
position: relative;
border: 1px solid #dfdfdf;
background-color: #fdfdfd;
box-shadow: #dfdfdf 0 0 0 0 inset;
border-radius: 3em;
background-clip: content-box;
display: inline-block;
-webkit-appearance: none;
user-select: none;
outline: none;
}
.mui-switch:before {
content: '';
width: 20px;
height: 20px;
position: absolute;
top: 0px;
left: 0;
border-radius: 3em;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.mui-switch:checked:before {
left: calc(40px - 20px);
}
.mui-switch.mui-switch-anim {
transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}
.mui-switch.mui-switch-anim:before {
transition: left 0.3s;
}
.mui-switch.mui-switch-anim:checked {
box-shadow: #4290f7 0 0 0 16px inset;
background-color: #4290f7;
transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}
.mui-switch.mui-switch-anim:checked:before {
transition: left 0.3s;
}
.select {
position: relative;
}
.select a {
font-size: 12px;
}
.newform {
position: relative;
max-width: 800px;
width: 100%;
margin: auto;
padding: 20px 20px 30px 20px;
}
.newform .row {
position: relative;
margin-bottom: 30px;
display: flex;
flex-direction: row;
}
.newform .row > label {
width: 62px;
padding: 8px;
text-align: right;
color: #444;
font-size: 14px;
}
.newform .row > label::after {
content: ':';
}
.newform .formControls {
position: relative;
flex: 1;
width: 200px;
}
.newform .formControls input[type=text],
.newform .formControls input[type=number],
.newform .formControls input[type=password] {
border-radius: 4px;
width: 100%;
border: 1px solid #f1f1f1;
background-color: #f1f1f1;
padding: 12px;
box-sizing: border-box;
outline: none;
transition: all 0.5s;
}
.newform .formControls input[type=text]:focus,
.newform .formControls input[type=number]:focus,
.newform .formControls input[type=password]:focus {
border: 1px solid #3d62db;
}
.newform .formControls input[type=text]:read-only,
.newform .formControls input[type=number]:read-only,
.newform .formControls input[type=password]:read-only {
background-color: #f1f1f1;
}
.newform .formControls input[type=text]:focus,
.newform .formControls input[type=number]:focus {
border: 1px solid #3d62db;
}
@media (max-width: 767px) {
.loginleft {
display: none !important;
}
.loginarea {
width: 100% !important;
left: 0 !important;
margin-left: 0 !important;
height: 100% !important;
top: 0 !important;
margin-top: 0 !important;
overflow-y: auto;
}
}