guild_front/src/pages/Tracker/tracker.scss

614 lines
14 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;
margin-bottom: 15px;
}
&__tabs {
display: flex;
&__head {
width: 150px;
}
.tab {
display: flex;
padding: 12px 40px 15px 19px;
cursor: pointer;
p {
margin: 0 0 0 15px;
font-weight: 400;
font-size: 16px;
line-height: 32px;
color: #000000;
}
}
.active-tab {
background: white;
border-radius: 15px 0 0 15px;
}
&__content {
2023-03-07 12:40:16 +03:00
width: calc(132% - 150px);
@media (max-width: 1890px) {
width: calc(100% - 150px);
}
2023-03-03 18:49:02 +03:00
&__projects {
2023-03-23 21:18:48 +03:00
background: #ffffff;
2023-03-03 18:49:02 +03:00
border-radius: 0 12px 12px 12px;
padding: 26px 24px 40px;
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-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
}
}
}
button {
2023-03-23 21:18:48 +03:00
background: #52b709;
2023-03-03 18:49:02 +03:00
border-radius: 44px;
2023-03-16 15:10:53 +03:00
max-width: 188px;
height: 50px;
2023-03-03 18:49:02 +03:00
width: 100%;
border: none;
font-weight: 400;
2023-03-16 15:10:53 +03:00
font-size: 15px;
2023-03-03 18:49:02 +03:00
line-height: 32px;
2023-03-23 21:18:48 +03:00
color: #ffffff;
2023-03-03 18:49:02 +03:00
display: flex;
align-items: center;
justify-content: center;
span {
margin-right: 9px;
font-weight: 700;
font-size: 18px;
}
}
}
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;
padding: 13px 23px 65px;
flex-direction: column;
overflow-x: scroll;
&::-webkit-scrollbar {
width: 2px;
border-radius: 10px;
height: 8px;
}
&::-webkit-scrollbar-track {
background: #d9e1e9;
}
&::-webkit-scrollbar-thumb {
background: #d6d3d3;
border-radius: 40px;
}
}
.tasks {
&__head {
display: flex;
2023-03-23 21:18:48 +03:00
border-bottom: 1px solid #dde2e4;
2023-03-07 12:40:16 +03:00
padding: 0 25px 15px;
align-items: center;
width: 1525px;
h4 {
color: #111112;
font-weight: 700;
2023-03-16 15:10:53 +03:00
font-size: 18px;
2023-03-07 12:40:16 +03:00
line-height: 32px;
margin-bottom: 0;
}
&__add {
width: 33px;
height: 33px;
2023-03-23 21:18:48 +03:00
background: #52b709;
2023-03-07 12:40:16 +03:00
border-radius: 44px;
color: whitesmoke;
cursor: pointer;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 100px 0 55px;
}
&__persons {
position: relative;
display: flex;
cursor: pointer;
margin-right: 57px;
img {
position: relative;
width: 32px;
height: 32px;
}
img:nth-child(1) {
right: -32px;
}
img:nth-child(2) {
right: -24px;
}
img:nth-child(3) {
right: -16px;
}
img:nth-child(4) {
right: -8px;
}
span {
2023-03-23 21:18:48 +03:00
color: #252c32;
2023-03-07 12:40:16 +03:00
font-weight: 500;
font-size: 12px;
line-height: 16px;
display: flex;
width: 32px;
height: 32px;
2023-03-23 21:18:48 +03:00
border: 1px solid #dde2e4;
2023-03-07 12:40:16 +03:00
border-radius: 50px;
align-items: center;
justify-content: center;
}
}
&__select {
cursor: pointer;
margin-right: 40px;
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;
}
}
}
&__container {
padding: 30px 25px 0;
display: flex;
column-gap: 25px;
width: 1525px;
}
&__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
&__archive {
background: white;
border-radius: 12px;
padding: 26px 24px 40px;
min-height: 774px;
display: flex;
flex-direction: column;
.archive {
&__title {
padding-bottom: 8px;
2023-03-23 21:18:48 +03:00
border-bottom: 1px solid #dde2e4;
2023-03-13 23:33:12 +03:00
display: flex;
align-items: center;
h3 {
color: #111112;
font-weight: 700;
font-size: 16px;
line-height: 32px;
margin-bottom: 0;
}
p {
margin: 0 0 0 10px;
font-weight: 500;
font-size: 14px;
}
}
&__search {
border: 2px solid;
2023-03-23 21:18:48 +03:00
border-color: var(--ds-border-input, #dfe1e6);
2023-03-13 23:33:12 +03:00
margin-left: auto;
padding: 5px;
display: flex;
align-items: center;
input {
outline: none;
border: none;
font-size: 16px;
font-weight: 500;
}
img {
width: 20px;
height: 20px;
}
}
&__tasksWrapper {
margin-top: 10px;
display: flex;
flex-direction: column;
row-gap: 3px;
max-height: 649px;
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;
2023-03-23 21:18:48 +03:00
border: 1px solid var(--ds-border, #dfe1e6);
2023-03-13 23:33:12 +03:00
padding: 8px 10px;
cursor: pointer;
transition: all 0.3s ease;
&: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 {
margin-bottom: 0;
}
&__description {
font-size: 14px;
font-weight: 500;
.date {
font-weight: 400;
font-size: 12px;
}
}
&__info {
display: flex;
align-items: center;
img {
width: 36px;
height: 36px;
}
p {
margin-left: 10px;
text-decoration: line-through;
font-size: 11px;
font-weight: 500;
}
}
}
}
}
2023-03-03 18:49:02 +03:00
}
}
}