kgroad-frontend2/src/features/AuthInput/AuthInput.scss
2024-02-09 03:53:32 +06:00

56 lines
997 B
SCSS

@import "@/shared/ui/variables.scss";
.auth-input {
display: flex;
flex-direction: column;
gap: 6px;
label {
font-size: 14px;
font-weight: 400;
line-height: 20px;
color: $gray-700;
}
&__field,
&__field-with-error {
padding: 10px 14px;
display: flex;
align-items: center;
border: 1px solid rgb(208, 213, 221);
border-radius: 8px;
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
background: rgb(255, 255, 255);
input {
width: 100%;
font-size: 16px;
font-weight: 400;
line-height: 24px;
color: $gray-900;
::placeholder {
font-size: 16px;
font-weight: 400;
line-height: 24px;
color: $gray-500;
}
}
}
&__field-with-error {
border: 1px solid rgb(240, 68, 56);
}
p {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
font-weight: 400;
line-height: 20px;
color: $red-500;
}
}