* {
outline-width: 0;
font-family: "Nunito" !important;
}
input{outline:medium;}
input:-internal-autofill-selected {
background-color: rgba(119,119,119,0.01) !important;
background-image: none !important;
box-shadow: inset 0 0 0 1000px rgba(119,119,119,0.01) !important;
}
input:-webkit-autofill {
box-shadow: 0 0 0px 1000px rgba(119,119,119,0.01) inset !important;
transition: background-color 50000s ease-in-out 0s;
}
input:-webkit-autofill:focus {
box-shadow: 0 0 0px 1000px rgba(119,119,119,0.01) inset !important;
}
body {
height: 100vh;
width: 100vw;
background:rgb(255, 128, 128);
background: -webkit-linear-gradient(top left, rgb(255, 255, 255) 0%,rgb(255, 128, 128) 100%);/*渐变设置*/
background: linear-gradient(to bottom right, rgb(255, 255, 255) 0%, rgb(255, 128, 128) 100%);
display: flex;
justify-content: center;
align-items: center;
}
#formContainer {
z-index: 2;
display: flex;
transition: 0.2s ease;
height: 342.5px;
transition-delay: 0.3s;
}
#formContainer.toggle {
height: 480px;
transition-delay: 0s;
}
.return00 {
z-index: 5;
color:#ababab;
font-size: 40px;
margin:-10px 0px 0px 467px;
position: absolute;
cursor: pointer;
}
.return00:hover {
color: #8b8378;
}
.formLeft {
background: rgb(255, 249, 249);
border-radius: 5px 0 0 5px;
padding: 0 35px;
box-sizing: border-box;
display: flex;
align-items: center;
}
.formLeft img {
display: block;
width: 72px;
border-radius: 50%;
box-shadow: 0 5px 5px rgb(255, 128, 128);
}
.formRight {
position: relative;
overflow: hidden;
border-radius: 0 5px 5px 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.formRight:before {
content: "";
position: absolute;
top: -10px;
left: -10px;
width: calc(100% + 20px);
height: calc(100% + 20px);
background: url("../images/bg.jpg") center/cover fixed;
box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
filter: blur(5px);
}
.formRight form {
position: relative;
width: 350px;
padding: 25px;
box-sizing: border-box;
white-space: nowrap;
overflow: hidden;
}
.formRight form header {
color: #fff;
text-align: center;
margin-bottom: 15px;
}
.formRight form header h1 {
margin: 0;
font-weight: 400;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.formRight form header p {
margin: 5px 0 0;
opacity: 0.5;
font-size: 14px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.formRight form section label {
display: block;
margin-bottom: 15px;
position: relative;
}
.formRight form section label p {
color: #fff;
margin: 0 0 10px 0;
font-weight: 600;
font-size: 12px;
opacity: 0.5;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.formRight form section label input {
width: 100%;
display: block;
border: none;
background: transparent;
color: #fff;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding: 0 0 10px;
box-sizing: border-box;
font-weight: 600;
}
.formRight form section label input:focus~.border {
transform: scale(1, 1);
}
.formRight form section label input:not(:-moz-placeholder-shown)~.border {
transform: scale(1, 1);
}
.formRight form section label input:not(:-ms-input-placeholder)~.border {
transform: scale(1, 1);
}
.formRight form section label input:not(:placeholder-shown)~.border {
transform: scale(1, 1);
}
.formRight form section label .border {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: #fff;
transform: scale(0, 1);
transition: 0.2s ease;
}
.formRight form section label:last-child {
margin-bottom: 0;
}
.formRight form section button {
background: rgb(255, 202, 202);
border: none;
width: 100%;
padding: 10px 0;
font-weight: 600;
color: #fff;
cursor: pointer;
}
.formRight form section button:hover {
background: rgb(255, 147, 147);
}
.formRight form footer {
margin-top: 15px;
display: flex;
}
.formRight form footer button {
background: transparent;
padding: 0;
border: none;
color: #fff;
cursor: pointer;
font-size: 12px;
font-weight: bold;
flex: 1;
opacity: 0.5;
}
.formRight form footer button:hover {
opacity: 1;
}
.formRight form.otherForm {
top: 0;
left: 0;
position: absolute;
background: rgb(255, 249, 249);
height: 100%;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: center;
width: 0;
padding: 25px 0;
transition: 0.2s ease;
transition-delay: 0.2s;
border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.formRight form.otherForm header {
color: #000;
opacity: 0;
transition: 0.2s ease;
transition-delay: 0s;
}
.formRight form.otherForm p {
color: #000;
}
.formRight form.otherForm section {
opacity: 0;
transition: 0.2s ease;
transition-delay: 0s;
}
.formRight form.otherForm footer {
border-top-color: rgba(0, 0, 0, 0.1);
opacity: 0;
}
.formRight form.otherForm footer button {
color: #000;
}
.formRight form.otherForm input {
border-color: rgba(0, 0, 0, 0.1);
color: #000;
}
.formRight form.otherForm .border {
background: #000;
}
.formRight form.otherForm.toggle {
width: 100%;
padding: 25px;
transition-delay: 0s;
}
.formRight form.otherForm.toggle header,
.formRight form.otherForm.toggle section,
.formRight form.otherForm.toggle footer {
opacity: 1;
transition-delay: 0.3s;
}
.bg-bubbles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.bg-bubbles li {
position: absolute;
list-style: none;
display: block;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.15);
bottom: 0px;
-webkit-animation: square 25s infinite;
animation: square 25s infinite;
-webkit-transition-timing-function: linear;
transition-timing-function: linear;
}
.bg-bubbles li:nth-child(1) {
left: 10%;
}
.bg-bubbles li:nth-child(2) {
left: 20%;
width: 80px;
height: 80px;
-webkit-animation-delay: 2s;
animation-delay: 2s;
-webkit-animation-duration: 17s;
animation-duration: 17s;
}
.bg-bubbles li:nth-child(3) {
left: 25%;
-webkit-animation-delay: 4s;
animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
left: 40%;
width: 60px;
height: 60px;
-webkit-animation-duration: 22s;
animation-duration: 22s;
background-color: rgba(255, 255, 255, 0.25);
}
.bg-bubbles li:nth-child(5) {
left: 70%;
}
.bg-bubbles li:nth-child(6) {
left: 80%;
width: 120px;
height: 120px;
-webkit-animation-delay: 3s;
animation-delay: 3s;
background-color: rgba(255, 255, 255, 0.2);
}
.bg-bubbles li:nth-child(7) {
left: 32%;
width: 80px;
height: 80px;
-webkit-animation-delay: 7s;
animation-delay: 7s;
}
.bg-bubbles li:nth-child(8) {
left: 55%;
width: 20px;
height: 20px;
-webkit-animation-delay: 15s;
animation-delay: 15s;
-webkit-animation-duration: 40s;
animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
left: 25%;
width: 10px;
height: 10px;
-webkit-animation-delay: 2s;
animation-delay: 2s;
-webkit-animation-duration: 40s;
animation-duration: 40s;
background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(10) {
left: 90%;
width: 80px;
height: 80px;
-webkit-animation-delay: 11s;
animation-delay: 11s;
}
@-webkit-keyframes square {
0% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
100% {
-webkit-transform: translateY(-700px) rotate(600deg);
transform: translateY(-700px) rotate(600deg);
}
}
@keyframes square {
0% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
100% {
-webkit-transform: translateY(-700px) rotate(600deg);
transform: translateY(-700px) rotate(600deg);
}
}
|