guild_front/src/pages/Tracker/tracker.scss

996 lines
23 KiB
SCSS
Raw Normal View History

2023-03-03 18:49:02 +03:00
.tracker {
2023-03-23 21:18:48 +03:00
background: #f1f1f1;
2023-03-03 18:49:02 +03:00
height: 100%;
min-height: 100vh;
font-family: "LabGrotesque", sans-serif;
2023-03-06 12:16:52 +03:00
position: relative;
2023-03-03 18:49:02 +03:00
.container {
max-width: 1160px;
2023-03-27 16:03:24 +03:00
padding: 0 15px;
2023-03-03 18:49:02 +03:00
@media (max-width: 570px) {
margin-top: 0;
}
}
&__content {
2023-03-27 16:03:24 +03:00
margin-top: 23px;
2023-03-03 18:49:02 +03:00
}
footer {
margin-top: 70px;
2023-03-07 12:40:16 +03:00
.row {
2023-03-23 21:18:48 +03:00
margin-right: 0px;
2023-03-07 12:40:16 +03:00
}
2023-03-03 18:49:02 +03:00
}
&__title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
2023-03-30 15:07:05 +03:00
margin-bottom: 27px;
2023-03-03 18:49:02 +03:00
}
&__tabs {
display: flex;
2023-03-30 15:07:05 +03:00
flex-direction: column;
2023-03-03 18:49:02 +03:00
&__head {
2023-03-30 15:07:05 +03:00
display: flex;
max-width: 1160px;
width: 100%;
background: #E1FCCF;
border-radius: 12px;
margin: 0 auto;
position: relative;
height: 60px;
2023-03-03 18:49:02 +03:00
}
.tab {
display: flex;
padding: 12px 40px 15px 19px;
cursor: pointer;
2023-03-30 15:07:05 +03:00
align-items: center;
@media (max-width: 490px) {
padding: 8px 20px 8px 14px;
}
@media (max-width: 370px) {
padding: 5px 15px 5px 10px;
}
2023-03-03 18:49:02 +03:00
p {
font-weight: 400;
font-size: 16px;
line-height: 32px;
2023-03-30 15:07:05 +03:00
margin: 0 0 0 14px;
@media (max-width: 490px) {
font-size: 13px;
white-space: nowrap;
}
2023-03-03 18:49:02 +03:00
}
}
.active-tab {
background: white;
2023-03-30 15:07:05 +03:00
border-radius: 12px 12px 5px 5px;
position: relative;
2023-04-05 19:38:38 +03:00
height: 73px;
2023-03-30 15:07:05 +03:00
display: flex;
2023-04-05 19:38:38 +03:00
top: -13px;
2023-03-30 15:07:05 +03:00
align-items: center;
p {
font-weight: 600;
}
img {
filter: invert(0%) sepia(0%) saturate(2411%) hue-rotate(-25deg) brightness(118%) contrast(119%);
}
2023-03-03 18:49:02 +03:00
}
&__content {
2023-03-30 15:07:05 +03:00
width: 100%;
background: #ffffff;
padding: 27px 0 29px;
&__wrapper {
max-width: 1160px;
width: 100%;
margin: 0 auto;
2023-03-07 12:40:16 +03:00
}
2023-03-03 18:49:02 +03:00
&__projects {
flex-wrap: wrap;
column-gap: 34px;
row-gap: 30px;
display: none;
align-items: center;
2023-03-13 23:33:12 +03:00
@media (max-width: 785px) {
justify-content: center;
}
@media (max-width: 460px) {
padding: 15px;
}
2023-03-03 18:49:02 +03:00
.project {
width: 48%;
2023-03-23 21:18:48 +03:00
background: #f1f1f1;
2023-03-03 18:49:02 +03:00
border-radius: 12px;
padding: 17px 26px 16px;
cursor: pointer;
2023-03-30 15:07:05 +03:00
max-width: 440px;
2023-03-03 18:49:02 +03:00
2023-03-13 23:33:12 +03:00
@media (max-width: 1068px) {
width: 47%;
}
@media (max-width: 785px) {
width: 100%;
}
@media (max-width: 430px) {
padding: 8px 13px 8px;
}
2023-03-03 18:49:02 +03:00
h3 {
font-weight: 700;
2023-03-16 15:10:53 +03:00
font-size: 18px;
2023-03-03 18:49:02 +03:00
line-height: 32px;
color: #111112;
margin-bottom: 10px;
}
&__info {
display: flex;
align-items: center;
position: relative;
2023-03-13 23:33:12 +03:00
@media (max-width: 430px) {
justify-content: space-between;
}
2023-03-03 18:49:02 +03:00
p {
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-03 18:49:02 +03:00
font-weight: 500;
font-size: 12px;
line-height: 24px;
margin-bottom: 0;
}
.count {
margin-left: 8px;
width: 21px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
2023-03-23 21:18:48 +03:00
background: #dddddd;
2023-03-03 18:49:02 +03:00
border-radius: 4px;
font-weight: 500;
font-size: 14px;
line-height: 24px;
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-03 18:49:02 +03:00
}
.add {
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-03 18:49:02 +03:00
font-size: 17px;
margin: 0 25px 0 auto;
2023-03-13 23:33:12 +03:00
@media (max-width: 430px) {
display: none;
}
2023-03-03 18:49:02 +03:00
}
&:after {
2023-03-23 21:18:48 +03:00
content: "...";
2023-03-03 18:49:02 +03:00
position: absolute;
2023-03-07 12:40:16 +03:00
font-size: 21px;
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-03 18:49:02 +03:00
right: 0;
2023-03-07 12:40:16 +03:00
top: -35%;
2023-03-13 23:33:12 +03:00
@media (max-width: 430px) {
display: none;
}
2023-03-03 18:49:02 +03:00
}
}
}
2023-03-30 15:07:05 +03:00
.no-projects {
display: flex;
flex-direction: column;
padding: 20px;
2023-03-03 18:49:02 +03:00
width: 100%;
2023-03-30 15:07:05 +03:00
&__createNew {
display: flex;
div {
display: flex;
align-items: center;
margin-right: 35px;
p {
font-weight: 700;
font-size: 22px;
line-height: 32px;
color: #000000;
margin-left: 17px;
}
}
button {
}
}
&__info {
margin-top: 27px;
font-weight: 400;
font-size: 14px;
line-height: 22px;
}
}
.createProjectBtn {
background: #52b709;
border-radius: 44px;
max-width: 188px;
height: 50px;
width: 100%;
border: none;
font-weight: 400;
font-size: 15px;
line-height: 32px;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
span {
margin-right: 9px;
font-weight: 700;
font-size: 18px;
}
}
.create-newProject {
2023-03-03 18:49:02 +03:00
display: flex;
align-items: center;
2023-03-30 15:07:05 +03:00
@media (max-width: 450px) {
flex-direction: column;
row-gap: 15px;
}
p {
margin-left: 32px;
font-weight: 400;
font-size: 14px;
line-height: 22px;
max-width: 214px;
@media (max-width: 450px) {
max-width: none;
margin-left: 0;
text-align: center;
}
2023-03-03 18:49:02 +03:00
}
}
}
2023-03-07 12:40:16 +03:00
&__tasks {
display: none;
2023-03-23 21:18:48 +03:00
background: #ffffff;
2023-03-07 12:40:16 +03:00
border-radius: 12px;
flex-direction: column;
}
.tasks {
&__head {
2023-03-23 21:18:48 +03:00
border-bottom: 1px solid #dde2e4;
2023-03-30 15:07:05 +03:00
padding: 0 35px 15px;
&__wrapper {
display: flex;
max-width: 1160px;
margin: 0 auto;
justify-content: space-between;
padding: 0 10px;
align-items: center;
}
2023-03-07 12:40:16 +03:00
h4 {
2023-03-30 15:07:05 +03:00
color: #1458DD;
2023-03-07 12:40:16 +03:00
font-weight: 700;
2023-03-30 15:07:05 +03:00
font-size: 22px;
2023-03-07 12:40:16 +03:00
line-height: 32px;
margin-bottom: 0;
}
&__add {
display: flex;
2023-03-30 15:07:05 +03:00
span {
width: 33px;
height: 33px;
background: #52b709;
border-radius: 44px;
color: whitesmoke;
cursor: pointer;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
}
p {
margin-left: 14px;
font-weight: 300;
font-size: 14px;
line-height: 17px;
max-width: 120px;
}
2023-03-07 12:40:16 +03:00
}
&__persons {
position: relative;
display: flex;
cursor: pointer;
2023-03-30 15:07:05 +03:00
align-items: center;
2023-03-07 12:40:16 +03:00
img {
position: relative;
width: 32px;
height: 32px;
}
img:nth-child(2) {
2023-03-30 15:07:05 +03:00
right: 12px;
2023-03-07 12:40:16 +03:00
}
span {
2023-03-30 15:07:05 +03:00
width: 32px;
height: 32px;
2023-03-07 12:40:16 +03:00
font-weight: 500;
font-size: 12px;
line-height: 16px;
border-radius: 50px;
align-items: center;
justify-content: center;
2023-03-30 15:07:05 +03:00
position: relative;
display: flex;
}
.countPersons {
color: #252c32;
border: 1px solid #dde2e4;
background: white;
left: -25px;
z-index: 2;
}
.addPerson {
background: #00C5A8;
color: white;
font-size: 14px;
left: -35px;
z-index: 1;
}
p {
position: relative;
left: -25px;
font-weight: 300;
font-size: 14px;
line-height: 17px;
max-width: 125px;
2023-03-07 12:40:16 +03:00
}
}
&__select {
cursor: pointer;
img {
margin-left: 18px;
}
span {
2023-03-23 21:18:48 +03:00
color: #252c32;
2023-03-07 12:40:16 +03:00
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
}
2023-03-30 15:07:05 +03:00
&__back {
cursor: pointer;
display: flex;
align-items: center;
p {
font-weight: 400;
font-size: 14px;
line-height: 17px;
}
img {
margin-left: 10px;
width: 20px;
}
}
2023-03-07 12:40:16 +03:00
}
&__container {
2023-03-30 15:07:05 +03:00
padding: 30px 25px 30px;
2023-03-07 12:40:16 +03:00
display: flex;
column-gap: 25px;
2023-03-30 15:07:05 +03:00
margin: 0 auto;
overflow: auto;
max-width: 100%;
&::-webkit-scrollbar {
height: 8px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
2023-03-07 12:40:16 +03:00
}
&__board {
2023-03-23 21:18:48 +03:00
background: #f5f7f9;
box-shadow: 0px 2px 5px rgba(60, 66, 87, 0.04),
0px 0px 0px 1px rgba(60, 66, 87, 0.08),
0px 1px 1px rgba(0, 0, 0, 0.06);
2023-03-07 12:40:16 +03:00
border-radius: 8px;
padding: 16px 14px 16px 8px;
width: 350px;
display: flex;
flex-direction: column;
row-gap: 16px;
height: fit-content;
position: relative;
2023-03-10 01:20:15 +03:00
transition: all 0.3s ease;
&__hover {
2023-03-23 21:18:48 +03:00
box-shadow: 0px 2px 10px #9cc480,
0px 0px 0px 1px rgba(60, 66, 87, 0.08),
0px 1px 1px rgba(0, 0, 0, 0.06);
2023-03-10 01:20:15 +03:00
}
2023-03-07 12:40:16 +03:00
&__item {
2023-03-27 19:08:01 +03:00
width: 328px;
height: 154px;
2023-03-07 12:40:16 +03:00
padding: 16px;
position: relative;
2023-03-23 21:18:48 +03:00
box-shadow: 0px 3px 2px -2px rgba(0, 0, 0, 0.06),
0px 5px 3px -2px rgba(0, 0, 0, 0.02);
2023-03-07 12:40:16 +03:00
border-radius: 6px;
2023-03-23 21:18:48 +03:00
background: #ffffff;
2023-03-10 01:20:15 +03:00
cursor: pointer;
&__hide {
opacity: 0;
}
2023-03-07 12:40:16 +03:00
&__title {
display: flex;
justify-content: space-between;
2023-03-23 21:18:48 +03:00
position: relative;
2023-03-07 12:40:16 +03:00
p {
2023-03-23 21:18:48 +03:00
color: #1a1919;
2023-03-07 12:40:16 +03:00
font-weight: 500;
font-size: 16px;
line-height: 24px;
margin-bottom: 0;
}
span {
cursor: pointer;
display: flex;
border-radius: 6px;
align-items: center;
justify-content: center;
font-size: 20px;
padding-bottom: 13px;
width: 24px;
height: 24px;
2023-03-23 21:18:48 +03:00
border: 1px solid #dddddd;
2023-03-07 12:40:16 +03:00
}
}
&__description {
margin: 8px 0 15px;
2023-03-23 21:18:48 +03:00
color: #5c6165;
2023-03-07 12:40:16 +03:00
font-weight: 400;
font-size: 14px;
line-height: 140%;
}
&__info {
display: flex;
justify-content: space-between;
align-items: center;
2023-03-13 23:33:12 +03:00
pointer-events: none;
2023-03-07 12:40:16 +03:00
&__more {
cursor: pointer;
span {
font-weight: 500;
font-size: 12px;
line-height: 15px;
2023-03-23 21:18:48 +03:00
color: #6e7c87;
2023-03-07 12:40:16 +03:00
margin-left: 5px;
}
}
&__avatars {
position: relative;
img {
position: relative;
}
img:first-child {
right: -15px;
z-index: 2;
}
}
}
}
2023-03-13 23:33:12 +03:00
.openItems {
2023-03-07 12:40:16 +03:00
cursor: pointer;
border-radius: 44px;
width: 33px;
height: 33px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
bottom: -15px;
font-size: 20px;
left: 165px;
2023-03-13 23:33:12 +03:00
color: white;
}
.moreItems {
2023-03-23 21:18:48 +03:00
background: #8bcc60;
2023-03-13 23:33:12 +03:00
}
.lessItems {
background: #f92828;
2023-03-07 12:40:16 +03:00
}
&__more {
padding-bottom: 50px;
}
}
.board {
&__head {
position: relative;
display: flex;
justify-content: space-between;
2023-03-27 19:08:01 +03:00
min-width: 300px;
2023-03-07 12:40:16 +03:00
span {
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-07 12:40:16 +03:00
font-weight: 500;
font-size: 16px;
line-height: 24px;
cursor: pointer;
}
.add {
2023-03-23 21:18:48 +03:00
color: #6f6f6f;
2023-03-07 12:40:16 +03:00
font-size: 19px;
}
.more {
margin-left: 22px;
position: relative;
bottom: 4px;
font-size: 20px;
}
.done {
color: #406128;
font-weight: 700;
}
}
}
}
2023-03-03 18:49:02 +03:00
.active__content {
display: flex;
}
2023-03-13 23:33:12 +03:00
2023-03-30 15:07:05 +03:00
&__allTasks {
max-width: 1160px;
padding: 0 20px;
margin: 0 auto;
2023-03-13 23:33:12 +03:00
display: flex;
flex-direction: column;
2023-03-30 15:07:05 +03:00
.taskList {
&__head {
2023-03-13 23:33:12 +03:00
display: flex;
2023-03-30 15:07:05 +03:00
justify-content: space-between;
width: 100%;
2023-03-13 23:33:12 +03:00
align-items: center;
2023-03-30 15:07:05 +03:00
padding-bottom: 8px;
2023-03-13 23:33:12 +03:00
2023-03-30 15:07:05 +03:00
@media (max-width: 550px) {
flex-direction: column;
row-gap: 10px;
align-items: start;
}
2023-03-13 23:33:12 +03:00
h3 {
font-weight: 700;
2023-03-30 15:07:05 +03:00
font-size: 18px;
2023-03-13 23:33:12 +03:00
line-height: 32px;
margin-bottom: 0;
2023-03-30 15:07:05 +03:00
color: #1458DD;
@media (max-width: 590px) {
font-size: 15px;
}
2023-03-13 23:33:12 +03:00
}
2023-03-30 15:07:05 +03:00
&__search {
margin-left: auto;
padding: 6px 12px;
display: flex;
align-items: center;
background: #FFFFFF;
border: 1px solid #DDE2E4;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
border-radius: 6px;
max-width: 450px;
width: 100%;
@media (max-width: 690px) {
max-width: 350px;
}
@media (max-width: 550px) {
max-width: none;
margin-left: inherit;
}
img {
width: 14px;
}
input {
width: 100%;
padding-left: 10px;
outline: none;
border: none;
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
2023-03-13 23:33:12 +03:00
}
}
2023-03-30 15:07:05 +03:00
&__wrapper {
margin-top: 10px;
display: flex;
flex-direction: column;
row-gap: 15px;
max-height: 400px;
overflow-y: auto;
margin-right: -16px;
padding-right: 10px;
&::-webkit-scrollbar {
width: 4px;
background: 0 0;
box-shadow: 0 0 14px rgba(0, 0, 0, 0.04);
border-radius: 20px;
}
&::-webkit-scrollbar {
width: 4px;
border-radius: 20px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
.task {
display: flex;
background: #F1F1F1;
border-radius: 12px;
padding: 12px 42px 7px 32px;
justify-content: space-between;
cursor: pointer;
&__info {
display: flex;
flex-direction: column;
h5 {
font-weight: 700;
font-size: 20px;
line-height: 24px;
margin-bottom: 0;
}
p {
font-size: 16px;
line-height: 32px;
max-width: 400px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
&__person {
display: flex;
align-items: center;
img {
width: 40px;
}
}
&__project {
display: flex;
flex-direction: column;
margin-left: 20px;
p {
font-size: 16px;
font-weight: 500;
}
span {
font-size: 14px;
}
}
}
}
}
}
&__archive {
max-width: 1160px;
padding: 0 20px;
margin: 0 auto;
display: flex;
column-gap: 28px;
@media (max-width: 880px) {
flex-direction: column;
row-gap: 20px;
}
.archive {
&__title {
padding-bottom: 8px;
2023-03-13 23:33:12 +03:00
display: flex;
align-items: center;
2023-03-30 15:07:05 +03:00
color: #1458DD;
min-height: 48px;
2023-03-13 23:33:12 +03:00
2023-03-30 15:07:05 +03:00
h3 {
font-weight: 700;
font-size: 18px;
line-height: 32px;
margin-bottom: 0;
@media (max-width: 590px) {
font-size: 15px;
}
2023-03-13 23:33:12 +03:00
}
2023-03-30 15:07:05 +03:00
p {
margin: 0 0 0 10px;
font-weight: 300;
font-size: 18px;
@media (max-width: 590px) {
font-size: 15px;
}
2023-03-13 23:33:12 +03:00
}
}
&__tasksWrapper {
margin-top: 10px;
display: flex;
flex-direction: column;
2023-03-30 15:07:05 +03:00
row-gap: 15px;
max-height: 400px;
2023-03-13 23:33:12 +03:00
overflow-y: auto;
margin-right: -16px;
padding-right: 10px;
&::-webkit-scrollbar {
width: 4px;
background: 0 0;
2023-03-23 21:18:48 +03:00
box-shadow: 0 0 14px rgba(0, 0, 0, 0.04);
2023-03-13 23:33:12 +03:00
border-radius: 20px;
}
&::-webkit-scrollbar {
width: 4px;
border-radius: 20px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
}
&__completeTask {
display: flex;
justify-content: space-between;
cursor: pointer;
transition: all 0.3s ease;
2023-03-30 15:07:05 +03:00
background: #F1F1F1;
border-radius: 12px;
padding: 12px 42px 7px 32px;
2023-03-13 23:33:12 +03:00
&:hover {
2023-03-23 21:18:48 +03:00
background: var(--ds-background-neutral-subtle-hovered, #f4f5f7);
2023-03-13 23:33:12 +03:00
}
p {
2023-03-30 15:07:05 +03:00
max-width: 250px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2023-03-13 23:33:12 +03:00
margin-bottom: 0;
2023-03-30 15:07:05 +03:00
color: #111112;
font-weight: 700;
font-size: 16px;
line-height: 32px;
2023-03-13 23:33:12 +03:00
}
&__description {
font-size: 14px;
font-weight: 500;
.date {
2023-03-30 15:07:05 +03:00
font-weight: 500;
font-size: 10px;
line-height: 24px;
color: #6F6F6F;
2023-03-13 23:33:12 +03:00
}
}
&__info {
display: flex;
align-items: center;
img {
2023-03-30 15:07:05 +03:00
width: 32px;
height: 32px;
2023-03-13 23:33:12 +03:00
}
2023-03-30 15:07:05 +03:00
&__project {
margin-left: 17px;
span {
color: #807777;
font-weight: 500;
font-size: 10px;
}
p {
color: #1A1919;
font-weight: 500;
font-size: 14px;
line-height: 24px;
text-decoration: line-through;
}
}
}
}
&__tasks {
min-height: 400px;
max-height: 450px;
padding-right: 15px;
width: 65%;
overflow: hidden;
@media (max-width: 880px) {
width: 100%;
}
&__search {
margin-left: auto;
padding: 6px 12px;
display: flex;
align-items: center;
background: #FFFFFF;
border: 1px solid #DDE2E4;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
border-radius: 6px;
max-width: 300px;
width: 100%;
@media (max-width: 590px) {
max-width: 230px;
}
@media (max-width: 500px) {
max-width: 150px;
}
input {
width: 100%;
padding-left: 10px;
outline: none;
border: none;
font-weight: 400;
font-size: 14px;
line-height: 24px;
2023-03-13 23:33:12 +03:00
}
2023-03-30 15:07:05 +03:00
img {
width: 14px;
height: 14px;
}
}
}
&__projects {
display: flex;
flex-direction: column;
width: 33%;
min-height: 400px;
max-height: 450px;
padding-right: 15px;
@media (max-width: 880px) {
width: 100%;
}
}
&__noItem {
background: #F1F1F1;
border-radius: 12px;
padding: 23px 0 19px;
p {
font-weight: 700;
font-size: 22px;
line-height: 32px;
color: #111112;
text-align: center;
2023-03-13 23:33:12 +03:00
}
}
}
}
2023-03-03 18:49:02 +03:00
}
}
}