Fixed slider, auth pages and modal

This commit is contained in:
MaxOvs19 2023-03-21 21:26:38 +03:00
parent ab93a26abf
commit 84e55a0f54
10 changed files with 66 additions and 39 deletions

View File

@ -150,11 +150,11 @@
width: 268px; width: 268px;
height: 75px; height: 75px;
border-radius: 38px; border-radius: 38px;
background-color: #ffffff; background-color: #f5f5f5;
border: 2px solid #6aaf5c; border: 2px solid #6aaf5c;
font-family: "Muller"; font-family: "Muller";
font-size: 2em; font-size: 2em;
font-weight: 300; font-weight: 400;
letter-spacing: normal; letter-spacing: normal;
line-height: 71.88px; line-height: 71.88px;
text-align: center; text-align: center;

View File

@ -8,7 +8,9 @@ export const AuthHeader = ({}) => {
return ( return (
<div className="auth-header"> <div className="auth-header">
<div className="auth-header__logo"> <div className="auth-header__logo">
<h3>itguild.</h3> <h3>
itguild.<span>аутстафинг ИТ специалистов</span>
</h3>
</div> </div>
<div className="auth-header__navigation"> <div className="auth-header__navigation">
<div className="container"> <div className="container">

View File

@ -12,6 +12,9 @@
line-height: 32px; line-height: 32px;
color: #000000; color: #000000;
} }
span {
color: #52b709;
}
} }
&__navigation { &__navigation {

View File

@ -46,14 +46,16 @@
margin-left: 15px; margin-left: 15px;
img { img {
margin-right: 33px; margin-right: 20px;
width: 100px;
height: 100px;
} }
p { p {
font-size: 15px; font-size: 15px;
line-height: 22px; line-height: 22px;
color: black; color: black;
width: 198px; width: 160px;
} }
&__resume { &__resume {
@ -66,40 +68,54 @@
line-height: 32px; line-height: 32px;
color: white; color: white;
border: none; border: none;
transition: 0.5s;
&:hover {
transition: 0.5s;
background-color: #52b709a8;
}
} }
} }
.slick-next { .slick-next {
display: flex !important;
align-items: center;
justify-content: center;
background-color: #8dc63f; background-color: #8dc63f;
width: 44px; width: 44px;
height: 44px; height: 44px;
border-radius: 44px; border-radius: 44px;
&:before { &:before {
content: ">"; content: url("../../images/arrowViewReport.svg");
color: white; }
font-size: 23px;
&:focus {
background-color: #8dc63f;
} }
&:focus,
&:hover { &:hover {
background-color: #8ec63f91; background-color: #8ec63f91;
} }
} }
.slick-prev { .slick-prev {
display: flex !important;
align-items: center;
justify-content: center;
background-color: #8dc63f; background-color: #8dc63f;
width: 44px; width: 44px;
height: 44px; height: 44px;
border-radius: 44px; border-radius: 44px;
&:before { &:before {
content: "<"; content: url("../../images/ArrovLeftSlider.png");
color: white; }
font-size: 23px;
&:focus {
background-color: #8dc63f;
} }
&:focus,
&:hover { &:hover {
background-color: #8ec63f91; background-color: #8ec63f91;
} }
@ -136,7 +152,7 @@
text-align: center; text-align: center;
} }
.worker-description { &-description {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

@ -40,14 +40,6 @@ export const ModalTiket = ({ active, setActive }) => {
className="modal-tiket__content" className="modal-tiket__content"
onClick={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}
> >
<div className="author">
<a href="#">
<img src={creatorMock}></img>
</a>
<a href="#">
<img src={creatorMock}></img>
</a>
</div>
<div className="content"> <div className="content">
<h3 className="title-project"> <h3 className="title-project">
<img src={category} className="title-project__category"></img> <img src={category} className="title-project__category"></img>
@ -75,6 +67,7 @@ export const ModalTiket = ({ active, setActive }) => {
</div> </div>
</div> </div>
<div className="workers"> <div className="workers">
<span className="exit" onClick={() => setActive(false)}></span>
<span>{tiket.code}</span> <span>{tiket.code}</span>
<p className="workers__creator">Создатель : {tiket.creator}</p> <p className="workers__creator">Создатель : {tiket.creator}</p>
<div> <div>

View File

@ -23,20 +23,6 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
.author {
padding: 25px 0 0 0;
border-radius: 8px 0 0 8px;
display: flex;
flex-direction: column;
align-items: center;
width: 76px;
background: #fbfbfb;
a {
margin-bottom: 16px;
}
}
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -109,10 +95,34 @@
} }
.workers { .workers {
position: relative;
border-left: 1px solid #f1f1f1; border-left: 1px solid #f1f1f1;
width: 300px; width: 300px;
padding: 40px; padding: 40px;
.exit {
cursor: pointer;
position: absolute;
top: 22px;
right: 31px;
&:before,
&:after {
content: "";
position: absolute;
width: 16px;
height: 2px;
background: #263238;
}
&:before {
transform: rotate(45deg);
}
&:after {
transform: rotate(-45deg);
}
}
span { span {
font-family: "Inter", sans-serif; font-family: "Inter", sans-serif;
font-weight: 500; font-weight: 500;
@ -149,6 +159,7 @@
} }
.start { .start {
font-size: 12px;
margin-top: 25px; margin-top: 25px;
width: 151px; width: 151px;
height: 40px; height: 40px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

View File

@ -1,4 +1,5 @@
.auth-developers { .auth-developers {
font-family: "LabGrotesque", sans-serif;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -200,7 +201,7 @@
&__partnersForDev { &__partnersForDev {
background: #52b7098c; background: #52b7098c;
color: #2d6505; color: #2d6505;
margin-left: -40px; margin-left: -35px;
} }
&__partnersForDev, &__partnersForDev,

View File

@ -1,4 +1,5 @@
.auth-partners { .auth-partners {
font-family: "LabGrotesque", sans-serif;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -302,7 +303,7 @@
&__partnersForPart { &__partnersForPart {
background: #406128; background: #406128;
color: white; color: white;
margin-left: -40px; margin-left: -35px;
} }
&__partnersForPart, &__partnersForPart,

View File

@ -16,7 +16,7 @@ export const PartnerSettings = () => {
<ProfileBreadcrumbs <ProfileBreadcrumbs
links={[ links={[
{ name: "Главная", link: "/profile" }, { name: "Главная", link: "/profile" },
{ name: "Данные моего персонала", link: "/profile/employees" }, { name: "Настройка профиля", link: "/profile/settings" },
]} ]}
/> />
<div className="partner-settings"> <div className="partner-settings">