Compare commits

..

2 Commits

Author SHA1 Message Date
Victor Batischev
50504109cb settings page adaptive 2023-12-05 15:31:26 +03:00
Victor Batischev
e90ab69e5f settings adaptive 2023-12-05 15:18:28 +03:00
5 changed files with 29 additions and 64 deletions

View File

@ -174,7 +174,7 @@ const Candidate = () => {
<div className="candidate__works works"> <div className="candidate__works works">
<div className="works__body"> <div className="works__body">
<div className="works__body__info"> <div className="works__body__info">
<p>Страница портфолио кода разработчика</p> <p>Портфолио разработчика</p>
</div> </div>
<div className="works__item item-works"> <div className="works__item item-works">
<Link to="/" className="item-works__body"> <Link to="/" className="item-works__body">

View File

@ -153,7 +153,7 @@ export const ModalRegistration = ({ active, setActive }) => {
value={inputsValue.email} value={inputsValue.email}
placeholder="Почта" placeholder="Почта"
/> />
{inputsError.email && <span>Введите корректный email</span>} {inputsError.email && <span>Введите корректный e-mail</span>}
</div> </div>
</div> </div>

View File

@ -125,8 +125,8 @@ const ReportForm = () => {
<ProfileBreadcrumbs <ProfileBreadcrumbs
links={[ links={[
{ name: "Главная", link: "/profile" }, { name: "Главная", link: "/profile" },
{ name: "Ваша отчетность", link: "/profile/calendar" }, { name: "Отчеты", link: "/profile/calendar" },
{ name: "Страница добавления нового отчета", link: "/report" }, { name: "Добавить отчет", link: "/report" },
]} ]}
/> />
<h2 className="summary__title"> <h2 className="summary__title">

View File

@ -97,7 +97,7 @@ export const PartnerSettings = () => {
<div className="partner-settings__login"> <div className="partner-settings__login">
<h3 className="settings__title">Вход в систему</h3> <h3 className="settings__title">Вход в систему</h3>
<p className="settings__lable-first">Изменение логина</p> <p className="settings__label">Изменение логина</p>
<div className="settings__input"> <div className="settings__input">
<input <input
className={inputsError.name ? "warning" : ""} className={inputsError.name ? "warning" : ""}
@ -119,7 +119,7 @@ export const PartnerSettings = () => {
)} )}
</div> </div>
<p className="settings__lable-second">Изменение пароля</p> <p className="settings__label">Изменение пароля</p>
<div className="settings__input oldPassword"> <div className="settings__input oldPassword">
<input <input
className={inputsError.password ? "warning" : ""} className={inputsError.password ? "warning" : ""}
@ -185,28 +185,26 @@ export const PartnerSettings = () => {
</div> </div>
<div className="partner-settings__report"> <div className="partner-settings__report">
<h3 className="settings__title">Документы и отчеты</h3> <h3 className="settings__title">Документы и отчеты</h3>
<p className="settings__lable-first">Изменить провадера ЭДО</p> <p className="settings__label">Изменить провадера ЭДО</p>
<div className="partner-settings__logo"> <div className="partner-settings__logo">
<div> <div>
<label className="partner-settings__label-first"> <label className="partner-settings__label">
<img src={astral}></img> <img src={astral}></img>
<input type="checkbox" /> <input type="checkbox" />
<span className="checkbox__first"></span> <span className="checkbox"></span>
</label> </label>
</div> </div>
<div> <div>
<label className="partner-settings__label-second"> <label className="partner-settings__label">
<img src={kontur}></img> <img src={kontur}></img>
<input type="checkbox" /> <input type="checkbox" />
<span className="checkbox__second"></span> <span className="checkbox"></span>
</label> </label>
</div> </div>
</div> </div>
<p className="settings__lable-second"> <p className="settings__label">Изменение названия компании</p>
Изменение названия компании
</p>
<div className="settings__input"> <div className="settings__input">
<input></input> <input></input>
</div> </div>

View File

@ -22,21 +22,12 @@
line-height: 24px; line-height: 24px;
} }
&__lable { &__label {
&-first,
&-second {
font-size: 15px; font-size: 15px;
line-height: 18px; line-height: 18px;
color: #000000; color: #000000;
}
&-first {
margin: 39px 0 10px 0;
}
&-second {
margin: 15px 0 10px 0; margin: 15px 0 10px 0;
} }
}
&__input { &__input {
display: flex; display: flex;
@ -46,7 +37,6 @@
padding: 5px 10px; padding: 5px 10px;
background: #eff2f7; background: #eff2f7;
border-radius: 8px; border-radius: 8px;
width: 373px;
height: 35px; height: 35px;
border: none; border: none;
font-size: 15px; font-size: 15px;
@ -75,11 +65,12 @@
} }
&__buttons { &__buttons {
width: 87%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: flex-start;
margin: 36px 0 30px 0; gap: 20px;
margin: 30px 0 20px;
&-cancel, &-cancel,
&-save { &-save {
@ -113,7 +104,7 @@
} }
} }
@media (max-width: 570px) { @media (max-width: 800px) {
&__input { &__input {
width: 95%; width: 95%;
} }
@ -123,6 +114,7 @@
width: 100%; width: 100%;
flex-direction: column-reverse; flex-direction: column-reverse;
align-items: center; align-items: center;
gap: 0px;
&-save { &-save {
margin-bottom: 15px; margin-bottom: 15px;
@ -132,22 +124,16 @@
} }
.checkbox { .checkbox {
&__first {
margin: 0px 0 0 20px; margin: 0px 0 0 20px;
} }
&__second {
margin: 0px 20px 0 0;
}
}
.partner-settings { .partner-settings {
margin-bottom: 110px; margin-bottom: 110px;
&__body { &__body {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-around;
margin-top: 27px; margin-top: 27px;
} }
@ -197,17 +183,10 @@
} }
&__label { &__label {
&-first,
&-second {
display: flex; display: flex;
align-items: center; align-items: center;
} }
&-second {
flex-direction: row-reverse;
}
}
@media (max-width: 1200px) { @media (max-width: 1200px) {
margin-bottom: 15px; margin-bottom: 15px;
@ -227,12 +206,9 @@
} }
&__label { &__label {
&-second,
&-first {
flex-direction: row; flex-direction: row;
} }
} }
}
@media (max-width: 950px) { @media (max-width: 950px) {
&__body { &__body {
@ -276,16 +252,7 @@
} }
&__label { &__label {
&-second,
&-first {
flex-direction: row; flex-direction: row;
} }
} }
.checkbox {
&__second {
margin: 0px 0 0 20px;
}
}
}
} }