survey-webapp/SurveyFrontend/src/components/RegisterForm/RegisterForm.module.css
2025-05-24 16:05:35 +05:00

103 lines
No EOL
1.8 KiB
CSS

.registerContainer{
width: 31%;
background-color: #FFFFFF;
padding: 94px 80px;
margin: auto;
border-radius: 43px;
}
.title{
text-align: center;
font-weight: 600;
font-size: 40px;
line-height: 88%;
padding: 0;
margin-bottom: 80px;
margin-top: 0;
}
.form{
text-align: center;
display: flex;
flex-direction: column;
gap: 80px;
margin-bottom: 80px;
}
.input {
font-size: 24px;
font-weight: 600;
line-height: 88%;
color: #000000;
outline: none;
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 5px 0;
opacity: 1;
}
.input::placeholder {
font-size: 24px;
font-weight: 600;
line-height: 88%;
color: #000000;
opacity: 0.2;
}
.input:focus::placeholder {
opacity: 0;
}
/* Отключаем стиль для input, когда в нём есть данные */
.input:not(:placeholder-shown) {
color: black;
opacity: 1;
}
.input:focus {
border-bottom: 1px solid black; /* Чёрная граница при фокусе */
}
.signUp{
margin: auto;
padding: 25.5px 16px;
width: fit-content;
border-radius: 24px;
background-color: #3788D6;
color: #FFFFFF;
font-size: 24px;
font-weight: 600;
line-height: 120%;
border: none;
outline: none;
}
.recommendation{
text-align: center;
font-size: 18px;
font-weight: 500;
}
.recommendationLink{
color: #3788D6;
margin-left: 5px;
}
.emailContainer{
display: flex;
flex-direction: column;
gap: 3px;
}
.emailContainer .error{
border-bottom: 2px solid rgba(192, 35, 31, 1);
}
.errorMessage{
text-align: left;
font-size: 14px;
font-weight: 400;
line-height: 88%;
color: #C0231F;
margin: 0;
}