Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/Arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/Info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/Person.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/Сheck.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions css/anim.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.i-1,
.i-2,
.i-3,
.i-4,
.i-5,
.i-6,
.i-7,
.i-8 {
animation-name: spawnInput;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;

transform: translateY(0px);
opacity: 1;
}

.i-1 {
animation-duration: 0.9s;
}
.i-2 {
animation-duration: 1.1s;
}
.i-3 {
animation-duration: 1.3s;
}
.i-4 {
animation-duration: 1.5s;
}
.i-5 {
animation-duration: 1.7s;
}
.i-6 {
animation-duration: 1.9s;
}
.i-7 {
animation-duration: 2.1s;
}
.i-8 {
animation-duration: 2.3s;
}

@keyframes spawnInput {
from {
transform: translateY(140px);
opacity: 0;
}
to {
transform: translateY(0px);
opacity: 1;
}
}

.er-sub {
animation-name: error;
animation-duration: 0.5s;
}

@keyframes error {
0% {
transform: translateX(-2px);
}
50% {
transform: translateX(2px);
}
100% {
transform: translateX(0px);
}
}

@keyframes final {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
180 changes: 180 additions & 0 deletions css/input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
.inpt {
width: 100%;
min-height: 42px;

border-bottom: 2px solid #f2f2f2;

display: flex;
flex-direction: column;
justify-content: center;

transform: translateY(140px);
opacity: 0;

transition: all 0.2s;

position: relative;
}

.inpt__title {
color: #7c7c7c;
font-size: calc(var(--size-mp) * 0.86);
font-weight: 300;
}

.inpt input,
select {
width: 100%;
margin: 2px 0px 5px 0px;

background-color: transparent;

font-family: Work Sans;
font-size: calc(var(--size-mp) * 1);
font-weight: 600;
letter-spacing: 0.55px;

border: none;
outline: none;
}

.inpt select {
font-family: Work Sans;
font-size: calc(var(--size-mp) * 1);
font-weight: 600;
letter-spacing: 0.55px;

appearance: none;
}

.inpt-svg {
position: absolute;
bottom: 25%;
right: 1px;

pointer-events: none;
}

.esvg {
opacity: 0;
}

.svg-date {
bottom: 40%;
}

.date {
margin-top: -7px;
border-bottom: none;
}

.inpt__date {
display: flex;
justify-content: flex-start;
gap: 9.8px;
}

.inpt__mini {
margin-bottom: -6px;
border-bottom: 2px solid #f2f2f2;

position: relative;
}

.inpt__mini.day {
flex: 1;
width: 24.44%;
}
.inpt__mini.mounth {
flex: 1.6;
width: 38.45%;
}
.inpt__mini.year {
width: 29.5%;
}

.gender {
margin: 1px 0px 4px 0px;

border-bottom: none;
justify-content: space-between;
}

.inpt__checkbox-list {
margin: 2px 0px 5px 0px;

font-size: calc(var(--size-mp) * 1);

display: flex;
gap: 21px;
}

.accept {
padding-left: 8%;
position: relative;
}
.accept input {
height: 0;
width: 0;

opacity: 0;
cursor: pointer;

position: absolute;
}

.checkmark {
height: calc(var(--size-mp) * 0.86);
width: calc(var(--size-mp) * 0.86);

background-color: #fff;
border-radius: 100%;
border: 0.7px solid var(--addit-color);

position: absolute;
bottom: 1px;
left: -1px;
}

.accept:hover input ~ .checkmark {
background-color: #fff;
}

.accept input:checked ~ .checkmark {
background-color: #fff;

display: flex;
justify-content: center;
align-items: center;
}

.checkmark:after {
content: "";
position: absolute;
display: none;
}

.accept input:checked ~ .checkmark:after {
display: block;
}

.accept .checkmark:after {
height: calc(var(--size-mp) * 0.55);
width: calc(var(--size-mp) * 0.55);

background-color: var(--addit-color);
border-radius: 100%;
}

.btn-sub {
width: 25.75vh;
height: 5.4vh;

background-color: var(--addit-color);
border: none;
outline: none;

color: #fff;
font-size: calc(var(--size-mp) * 1);
font-family: PT Sans;
}
Loading