2021-08-15 11:24:21 +00:00
|
|
|
.form {
|
|
|
|
background-color: #15172b;
|
|
|
|
border-radius: 20px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 420px;
|
|
|
|
padding: 20px;
|
|
|
|
width: 320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-form-title {
|
|
|
|
color: #eee;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 36px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
color: #eee;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-container {
|
|
|
|
height: 50px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ic1 {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ic2 {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
background-color: #303245;
|
|
|
|
border-radius: 12px;
|
|
|
|
border: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: #eee;
|
|
|
|
font-size: 18px;
|
|
|
|
height: 100%;
|
|
|
|
outline: 0;
|
|
|
|
padding: 4px 20px 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cut {
|
|
|
|
background-color: #15172b;
|
|
|
|
border-radius: 10px;
|
|
|
|
height: 20px;
|
|
|
|
left: 20px;
|
|
|
|
position: absolute;
|
|
|
|
top: -20px;
|
|
|
|
transform: translateY(0);
|
|
|
|
transition: transform 200ms;
|
2021-08-16 12:04:57 +00:00
|
|
|
width: 115px;
|
2021-08-15 11:24:21 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 12:04:57 +00:00
|
|
|
.cut-short-name {
|
|
|
|
width: 52px;
|
|
|
|
}
|
|
|
|
.cut-short-app {
|
|
|
|
width: 41px;
|
2021-08-15 11:24:21 +00:00
|
|
|
}
|
2021-08-21 11:02:25 +00:00
|
|
|
|
|
|
|
@media screen and (min-width: 1600px) {
|
|
|
|
.cut {
|
|
|
|
width: 124px;
|
|
|
|
}
|
|
|
|
.cut-short-app {
|
|
|
|
width: 44px;
|
|
|
|
}
|
|
|
|
.cut-short-name {
|
|
|
|
width: 54px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 2000px) {
|
|
|
|
.cut {
|
|
|
|
width: 136px;
|
|
|
|
}
|
|
|
|
.cut-short-app {
|
|
|
|
width: 46px;
|
|
|
|
}
|
|
|
|
.cut-short-name {
|
|
|
|
width: 58px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-15 11:24:21 +00:00
|
|
|
.input:focus ~ .cut,
|
|
|
|
.input:not(:placeholder-shown) ~ .cut {
|
|
|
|
transform: translateY(8px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder {
|
|
|
|
color: #65657b;
|
|
|
|
font-family: sans-serif;
|
|
|
|
left: 20px;
|
|
|
|
line-height: 14px;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: 0 50%;
|
|
|
|
transition: transform 200ms, color 200ms;
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input:focus ~ .placeholder,
|
|
|
|
.input:not(:placeholder-shown) ~ .placeholder {
|
|
|
|
transform: translateY(-30px) translateX(10px) scale(0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.input:not(:placeholder-shown) ~ .placeholder {
|
|
|
|
color: #808097;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input:focus ~ .placeholder {
|
|
|
|
color: #dc2f55;
|
|
|
|
}
|
|
|
|
|
|
|
|
.submit {
|
|
|
|
background-color: #08d;
|
|
|
|
border-radius: 12px;
|
|
|
|
border: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: #eee;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
|
|
|
height: 50px;
|
|
|
|
margin-top: 38px;
|
2021-08-21 11:02:25 +00:00
|
|
|
/* outline: 0; */
|
2021-08-15 11:24:21 +00:00
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.submit:active {
|
|
|
|
background-color: #06b;
|
|
|
|
}
|