guild_front/src/pages/Tracker/tracker.scss

2051 lines
48 KiB
SCSS

.tracker {
background: #f1f1f1;
display: flex;
flex-direction: column;
min-height: 100vh;
position: relative;
.container {
max-width: 1160px;
padding: 0 15px;
@media (max-width: 570px) {
margin-top: 0;
}
}
&__content {
margin-top: 23px;
}
&__title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
margin-bottom: 27px;
}
&__tabs {
display: flex;
flex-direction: column;
flex: 1;
&__head {
display: flex;
max-width: 1160px;
width: 100%;
background: #e1fccf;
border-radius: 12px 12px 0 0;
margin: 0 auto;
position: relative;
height: 60px;
@media (max-width: 650px) {
justify-content: space-between;
position: relative;
top: 15px;
}
}
.tab {
display: flex;
padding: 12px 40px 15px 19px;
cursor: pointer;
align-items: center;
color: black;
img {
width: 16px;
height: 16px;
}
@media (max-width: 490px) {
padding: 8px 20px 8px 14px;
}
@media (max-width: 370px) {
padding: 5px 15px 5px 10px;
}
p {
font-weight: 400;
font-size: 16px;
line-height: 32px;
margin: 0 0 0 14px;
@media (max-width: 490px) {
font-size: 13px;
white-space: nowrap;
}
}
@media (max-width: 650px) {
border-radius: 10px 10px 0 0;
padding: 10px;
align-items: center;
p {
margin-left: 5px;
}
}
}
.active-tab {
background: white;
border-radius: 12px 12px 0px 0px;
position: relative;
height: 73px;
display: flex;
top: -13px;
align-items: center;
p {
font-weight: 600;
}
img {
filter: invert(0%) sepia(0%) saturate(2411%) hue-rotate(-25deg)
brightness(118%) contrast(119%);
}
@media (max-width: 650px) {
padding: 10px 20px;
}
}
&__content {
width: 100%;
background: #ffffff;
padding: 20px 0;
&__wrapper {
max-width: 1160px;
width: 100%;
margin: 0 auto;
}
&__projects {
flex-wrap: wrap;
column-gap: 34px;
row-gap: 30px;
display: none;
align-items: center;
justify-content: center;
@media (max-width: 785px) {
row-gap: 25px;
padding: 0 15px 20px;
}
.no-projects {
display: flex;
flex-direction: column;
padding: 20px;
width: 100%;
&__create-new {
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;
}
}
}
}
.create-project-btn {
width: 22%;
height: 170px;
border-radius: 12px;
background: #ecf8e5;
color: #000000;
display: flex;
flex-direction: column;
justify-content: flex-start;
transition: 0.4s;
padding: 10px 10px;
&__text {
color: #1458dd;
text-align: center;
font-weight: 700;
font-size: 18px;
margin: 0 0 25px 0;
}
&__content {
display: flex;
align-items: center;
margin: 0 20px 0 20px;
font-size: 10px;
font-weight: 400;
img {
margin: 0 20px 0 0;
}
}
&:hover {
transition: 0.4s;
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.11);
}
@media (max-width: 1068px) {
width: 47%;
}
@media (max-width: 785px) {
max-width: 394px;
width: 100%;
}
}
}
&__tasks {
display: none;
background: #ffffff;
border-radius: 12px;
flex-direction: column;
@media (max-width: 650px) {
border-radius: 0;
}
}
.tasks {
&__head {
border-bottom: 1px solid #dde2e4;
padding: 0 35px 15px;
&__title {
display: flex;
align-items: center;
column-gap: 5px;
img {
height: 22px;
}
}
@media (max-width: 1000px) {
padding: 0 15px 15px;
}
&__wrapper {
display: flex;
max-width: 1400px;
width: 100%;
margin: 0 auto;
justify-content: space-between;
padding: 0 10px;
align-items: center;
&__fullScreen {
max-width: 1160px;
}
@media (max-width: 1350px) {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding: 0px;
}
}
h5 {
color: #1458dd;
font-weight: 700;
font-size: 22px;
line-height: 32px;
margin-bottom: 0;
max-width: 160px;
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media (max-width: 1350px) {
width: 100%;
max-width: none;
}
}
&__add {
display: flex;
margin: 0 10px 0 15px;
.button-add-column {
width: 33px;
height: 33px;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
}
p {
margin-left: 5px;
font-weight: 300;
font-size: 14px;
line-height: 17px;
max-width: 120px;
display: flex;
align-items: center;
}
@media (max-width: 1350px) {
margin-left: 0;
}
@media (max-width: 700px) {
width: 100%;
}
}
.no-project-users {
@media (max-width: 900px) {
position: inherit;
.add-person {
position: inherit;
}
p {
position: inherit;
margin-left: 14px;
}
}
}
&__checkBox {
margin: 0 15px 0 0;
cursor: pointer;
display: flex;
align-items: center;
@media (max-width: 650px) {
margin: 0;
}
span {
color: #252c32;
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
&__box {
width: 20px;
height: 20px;
border-radius: 6px;
border: solid 1px gray;
margin-left: 5px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 18px;
height: 18px;
}
}
}
&__executor {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
margin-right: 10px;
border-radius: 8px;
border: 1px solid #e3e2e2;
padding: 2px 6px;
position: relative;
max-width: 190px;
width: 100%;
@media (max-width: 915px) {
margin-right: 0;
width: 100%;
max-width: none;
}
@media (max-width: 650px) {
border-color: gray;
}
&-selected {
display: flex;
align-items: center;
border-radius: 8px;
max-width: 220px;
width: 100%;
margin-right: 10px;
justify-content: center;
p {
color: #252c32;
font-weight: 400;
font-size: 14px;
line-height: 24px;
max-width: 155px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.avatar {
margin: 0 5px;
}
.delete {
cursor: pointer;
}
img {
display: flex;
width: 20px;
height: 20px;
}
@media (max-width: 915px) {
width: 100%;
max-width: none;
justify-content: start;
p {
font-size: 16px;
max-width: none;
}
}
}
p {
color: #252c32;
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
img {
transition: all 0.15s ease;
margin-left: 5px;
}
.open {
transform: rotate(180deg);
}
&-dropdown {
position: absolute;
top: 33px;
left: 0;
background: white;
border-radius: 8px;
z-index: 5;
padding: 10px 10px;
display: flex;
flex-direction: column;
row-gap: 7px;
width: 100%;
.executor-dropdown__person {
display: flex;
justify-content: space-between;
align-items: center;
p {
max-width: 155px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media (max-width: 915px) {
max-width: none;
}
}
img {
width: 20px;
height: 20px;
}
&:hover {
p {
font-weight: 600;
}
}
}
}
}
&__back {
cursor: pointer;
display: flex;
align-items: center;
color: black;
min-width: 180px;
max-width: 180px;
width: 100%;
p {
font-weight: 400;
font-size: 14px;
line-height: 17px;
}
img {
margin-left: 10px;
width: 20px;
}
&:hover {
p {
font-weight: 500;
}
}
@media (max-width: 1150px) {
display: none;
}
}
&__tags {
position: relative;
img {
transition: all 0.15s ease;
margin-left: 5px;
}
.open {
transform: rotate(180deg);
}
.tags {
&__add {
display: flex;
align-items: center;
margin: 0 10px;
column-gap: 5px;
cursor: pointer;
padding: 5px;
border-radius: 8px;
border: 1px solid #e3e2e2;
max-height: 30px;
p {
white-space: nowrap;
font-weight: 400;
font-size: 14px;
line-height: 17px;
}
span {
width: 14px;
height: 14px;
font-weight: 400;
line-height: 16px;
border-radius: 50px;
align-items: center;
justify-content: center;
display: flex;
background: #99b4f3;
color: white;
font-size: 14px;
transition: all 0.15s ease;
}
}
&__list {
position: absolute;
border-radius: 8px;
background: #d9d9d9;
z-index: 8;
top: 30px;
left: -35px;
width: 216px;
display: flex;
flex-direction: column;
@media (max-width: 900px) {
left: 0px;
}
.close {
cursor: pointer;
width: 20px;
height: 20px;
position: absolute;
right: 10px;
top: 2px;
}
&__created {
display: flex;
flex-direction: column;
row-gap: 8px;
margin-top: 8px;
padding: 0 8px 8px;
.tag-item {
display: flex;
align-items: center;
flex-direction: row;
justify-content: space-between;
column-gap: 5px;
padding: 0px 8px;
border-radius: 8px;
height: 40px;
max-height: 40px;
background: #fff;
&__description {
font-size: 12px;
word-break: break-word;
max-width: 115px;
max-height: 40px;
overflow: hidden;
text-wrap: wrap;
text-overflow: ellipsis;
}
&__color {
width: 22.25px;
height: 23.217px;
border-radius: 8px;
}
&__images {
display: flex;
flex-direction: column-reverse;
row-gap: 3px;
img {
height: 14px;
width: 14px;
cursor: pointer;
}
.delete {
width: 16px;
height: 16px;
}
}
&__info {
display: flex;
align-items: center;
column-gap: 10px;
&__name {
font-size: 12px;
font-weight: 600;
}
}
}
}
.add-new-tag {
display: flex;
align-items: center;
column-gap: 15px;
border-radius: 8px;
background: white;
color: #252c32;
height: 40px;
cursor: pointer;
justify-content: center;
margin: 8px 8px 0px;
p {
font-size: 15px;
}
span {
width: 19px;
height: 19px;
border-radius: 50px;
align-items: center;
justify-content: center;
display: flex;
background: #52b709;
color: white;
font-size: 16px;
transition: all 0.15s ease;
}
}
.form-tag {
display: flex;
flex-direction: column;
padding: 8px;
row-gap: 8px;
.arrow {
position: absolute;
cursor: pointer;
top: 5px;
width: 15px;
height: 15px;
transform: rotate(180deg);
}
&__input {
outline: none;
border-radius: 8px;
border: 1px solid #e3e2e2;
font-size: 15px;
padding: 5px;
}
&__btn {
outline: none;
border: none;
background: #252c32;
color: whitesmoke;
margin: 0 auto 0;
border-radius: 10px;
font-size: 15px;
padding: 5px 12px;
}
.disable {
opacity: 0.5;
pointer-events: none;
}
}
}
}
}
}
&__container {
padding: 10px;
display: flex;
column-gap: 15px;
margin: 0 auto;
overflow: auto;
max-width: 100%;
transform: scaleY(-1);
align-items: end;
&::-webkit-scrollbar {
height: 8px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
@media (max-width: 900px) {
padding: 5px;
flex-direction: column;
row-gap: 15px;
transform: none;
}
}
&__board {
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);
border-radius: 8px;
padding: 12px 10px 12px 8px;
width: 360px;
display: flex;
flex-direction: column;
row-gap: 10px;
height: fit-content;
position: relative;
transition: all 0.3s ease;
transform: scaleY(-1);
min-height: 815px;
@media (max-width: 900px) {
min-width: auto;
width: 100%;
max-width: none;
transform: scaleX(1);
}
.tasks-container {
display: flex;
flex-direction: column;
row-gap: 8px;
max-height: 750px;
overflow: auto;
padding: 5px;
&::-webkit-scrollbar {
width: 3px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
}
&__hover {
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);
}
.task__hover {
box-shadow: 0 0 5px gray;
}
&__item {
width: 328px;
padding: 6px 10px 8px 10px;
position: relative;
box-shadow: 0px 3px 2px -2px rgba(0, 0, 0, 0.06),
0px 5px 3px -2px rgba(0, 0, 0, 0.02);
border-radius: 6px;
background: #ffffff;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: 0.4s;
&:hover {
transform: scale(1.025);
transition: 0.3s;
}
@media (max-width: 900px) {
width: 100%;
max-height: none;
&:hover {
transform: none;
}
}
&__hide {
opacity: 0;
}
&__title {
display: flex;
justify-content: space-between;
position: relative;
p {
color: #1a1919;
font-weight: 500;
font-size: 16px;
line-height: 20px;
margin-bottom: 0;
max-height: 100px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
}
span {
cursor: pointer;
display: flex;
border-radius: 6px;
align-items: center;
justify-content: center;
font-size: 20px;
padding-bottom: 10px;
width: 24px;
height: 24px;
border: 1px solid #dddddd;
}
}
&__description {
margin: 4px 0;
color: #5c6165;
font-weight: 400;
font-size: 14px;
line-height: 120%;
max-height: 100px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
&__container {
display: flex;
justify-content: space-between;
}
&__info {
display: flex;
column-gap: 10px;
align-items: center;
justify-content: space-between;
pointer-events: none;
margin-top: 5px;
&__tags {
display: flex;
column-gap: 5px;
}
&__more {
cursor: pointer;
display: flex;
align-items: center;
span {
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #6e7c87;
margin-left: 5px;
}
}
&__avatars {
position: relative;
img {
position: relative;
}
img:first-child {
right: -15px;
z-index: 2;
}
}
}
&__priority {
display: flex;
align-items: center;
column-gap: 5px;
margin-top: 3px;
p {
font-weight: 500;
font-size: 14px;
}
span {
font-weight: 500;
font-size: 14px;
}
.high {
color: red;
}
.middle {
color: #cece00;
}
.low {
color: green;
}
}
&__dead-line {
display: flex;
align-items: center;
column-gap: 5px;
p {
font-weight: 500;
font-size: 14px;
color: #1458dd;
}
span {
font-weight: 500;
font-size: 14px;
}
img {
margin-top: -2px;
width: 18px;
}
}
&__executor {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 500;
column-gap: 5px;
span {
max-width: 210px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
img {
width: 25px;
height: 25px;
}
}
&__tags {
display: flex;
flex-wrap: wrap;
column-gap: 6px;
row-gap: 3px;
margin: 3px 0;
.tag-item {
padding: 3px 10px;
border-radius: 10px;
color: white;
font-size: 12px;
}
}
}
.open-items {
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;
color: white;
}
.more-items {
background: #8bcc60;
}
.less-items {
background: #f92828;
}
&__more {
padding-bottom: 50px;
}
.column__select {
position: absolute;
padding: 15px;
background: #e1fccf;
border-radius: 12px;
right: -20px;
top: 5px;
z-index: 7;
row-gap: 10px;
display: flex;
flex-direction: column;
@media (max-width: 910px) {
right: 10px;
top: 40px;
}
&__item {
cursor: pointer;
display: flex;
align-content: center;
img {
margin-right: 5px;
}
span {
font-size: 14px;
}
}
}
&__no-items {
font-weight: 500;
font-size: 25px;
transform: scaleY(-1);
@media (max-width: 900px) {
transform: none;
}
}
&__no-tasks {
display: flex;
flex-direction: column;
transform: scaleY(-1);
&-info {
display: flex;
align-items: center;
margin-bottom: 15px;
img {
width: 27px;
height: 27px;
margin-right: 5px;
}
p {
font-weight: 700;
font-size: 22px;
line-height: 32px;
}
}
&-more {
font-size: 14px;
line-height: 22px;
}
@media (max-width: 900px) {
transform: none;
}
}
}
.board {
&__head {
position: relative;
display: flex;
justify-content: space-between;
min-width: 300px;
padding-left: 18px;
&__more {
display: flex;
align-items: center;
}
span {
color: #6f6f6f;
font-weight: 500;
font-size: 16px;
line-height: 24px;
max-width: 250px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.add {
color: #6f6f6f;
font-size: 19px;
cursor: pointer;
&:hover {
font-weight: 600;
}
}
.more {
margin-left: 22px;
position: relative;
bottom: 4px;
font-size: 20px;
cursor: pointer;
width: 15px;
&:hover {
font-weight: 600;
}
}
.done {
color: #406128;
font-weight: 700;
}
}
}
}
.active__content {
display: flex;
}
&__all-tasks {
max-width: 1160px;
padding: 0 20px;
margin: 0 auto;
display: flex;
flex-direction: column;
.task-list {
&__head {
display: flex;
justify-content: space-between;
width: 100%;
align-items: center;
padding-bottom: 8px;
@media (max-width: 550px) {
flex-direction: column;
row-gap: 10px;
align-items: start;
}
h3 {
font-weight: 700;
font-size: 18px;
line-height: 32px;
margin-bottom: 0;
color: #1458dd;
@media (max-width: 590px) {
font-size: 15px;
}
}
&__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%;
&:focus-within {
border: 1px solid #0000004d;
}
@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;
}
}
}
&__tasks-period {
display: flex;
align-items: center;
gap: 25px;
.buttons-month {
display: flex;
gap: 34px;
button {
width: 30px;
height: 30px;
background-color: #8dc63f;
border-radius: 15px;
border: none;
img {
width: 14px;
height: 14px;
}
&:first-child {
transform: rotate(-180deg);
}
}
}
.month-period {
display: flex;
flex-direction: row;
align-items: center;
p {
color: #1458dd;
font-size: 33px;
font-style: normal;
font-weight: 700;
line-height: 32px;
margin-right: 50px;
}
h3 {
color: #252c32;
font-size: 18px;
font-weight: 700;
margin-left: 5px;
}
}
}
&__filters {
display: flex;
gap: 10px;
font-size: 12px;
&-filter {
width: 116px;
height: 40px;
img {
margin-right: 14px;
}
}
&-clear {
width: 151px;
height: 40px;
background: #b0babf;
}
}
&__time {
padding: 30px 40px 20px 40px;
border-radius: 12px;
background: #e1fccf;
width: 100%;
margin-top: 20px;
display: flex;
justify-content: space-between;
h3 {
color: #111112;
font-size: 17px;
font-weight: 700;
line-height: 32px;
margin: 0;
}
&-compited {
display: flex;
flex-direction: column;
p {
font-weight: 700;
color: #1458dd;
font-size: 22px;
}
h4 {
color: #5b6871;
font-size: 14px;
margin-bottom: 12px;
}
h3 {
display: flex;
gap: 20px;
}
}
&-all {
display: flex;
gap: 20px;
align-items: flex-end;
p {
font-weight: 700;
color: #1458dd;
font-size: 22px;
}
}
&-status {
display: flex;
gap: 64px;
div {
display: flex;
flex-direction: row;
align-items: flex-end;
gap: 10px;
p {
width: 55px;
font-size: 12px;
color: #5b6871;
font-weight: 400;
}
}
}
}
&__end {
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
margin: 24px 0 40px 0;
.close-day {
padding: 8px 25px;
font-size: 17px;
font-style: normal;
font-weight: 500;
}
p {
color: #5b6871;
font-size: 14px;
font-style: normal;
font-weight: 400;
}
}
&__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;
transition: 0.4s;
cursor: pointer;
&:hover {
transform: scale(0.99);
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.11);
transition: 0.4s;
}
&__info {
display: flex;
flex-direction: column;
max-width: 535px;
@media (max-width: 820px) {
text-align: center;
max-width: none;
}
h5 {
font-weight: 700;
font-size: 20px;
line-height: 24px;
margin-bottom: 0;
@media (max-width: 820px) {
font-size: 19px;
}
}
p {
font-size: 16px;
line-height: 32px;
max-width: 710px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
&__person {
display: flex;
align-items: center;
img {
width: 40px;
}
@media (max-width: 820px) {
justify-content: center;
}
}
&__project {
display: flex;
flex-direction: column;
margin-left: 20px;
p {
font-size: 16px;
font-weight: 500;
}
span {
font-size: 14px;
}
}
@media (max-width: 820px) {
row-gap: 10px;
flex-direction: column;
}
@media (max-width: 650px) {
background-color: white;
}
@media (max-width: 450px) {
padding: 12px 15px;
}
}
}
}
@media (max-width: 650px) {
padding-bottom: 20px;
}
}
.hide-desc {
display: none !important;
transition: 0.4s;
}
&__archive {
max-width: 1160px;
padding: 0 20px;
margin: 0 auto;
display: flex;
flex-direction: column;
.archive {
&__title {
padding-bottom: 8px;
display: flex;
align-items: center;
color: #000;
min-height: 48px;
h3 {
font-weight: 700;
font-size: 18px;
line-height: 32px;
margin-bottom: 0;
@media (max-width: 590px) {
font-size: 15px;
}
}
p {
margin: 0 0 0 10px;
font-weight: 300;
font-size: 18px;
@media (max-width: 590px) {
font-size: 15px;
}
}
@media (max-width: 450px) {
flex-wrap: wrap;
}
}
&__tasks-wrapper {
margin-top: 20px;
display: flex;
flex-direction: column;
row-gap: 15px;
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;
}
}
&__complete-task {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
background: #f1f1f1;
border-radius: 12px;
padding: 12px 15px 7px 16px;
p {
max-width: 420px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-bottom: 0;
color: #111112;
}
.complete-task__title {
font-weight: 700;
font-size: 18px;
line-height: 32px;
}
&__time {
p {
color: #000;
font-size: 14px;
font-style: normal;
}
}
&__info {
display: flex;
align-items: center;
img {
width: 32px;
height: 32px;
}
&__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;
}
}
}
&-project {
background: #f1f1f1;
width: 328px;
max-width: 328px;
border-radius: 8px;
display: flex;
flex-direction: column;
padding: 23px 23px 23px 33px;
transition: 0.4s;
margin-bottom: 15px;
.project-title-archive {
width: 274px;
max-width: 274px;
color: #111112;
font-size: 16px;
font-style: normal;
font-weight: 700;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
&:hover {
cursor: pointer;
transform: scale(0.99);
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.11);
transition: 0.4s;
}
}
&__description {
width: 270px;
max-width: 270px;
font-size: 14px;
font-weight: 500;
.date {
font-weight: 500;
font-size: 14px;
line-height: 24px;
color: #6f6f6f;
p {
overflow: hidden;
max-width: 260px;
max-height: 120px;
text-overflow: ellipsis;
}
}
}
&__creator {
display: flex;
align-items: center;
gap: 13px;
img {
width: 31.366px;
height: 29px;
}
h4 {
color: #5b6871;
font-size: 10px;
font-style: normal;
font-weight: 400;
}
p {
color: #2d4a17;
font-size: 13px;
font-style: normal;
font-weight: 500;
}
}
@media (max-width: 740px) {
flex-direction: column;
padding: 10px 20px;
}
@media (max-width: 650px) {
background-color: white;
}
}
&__tasks {
padding-right: 15px;
@media (max-width: 1100px) {
width: 100%;
}
&-period {
display: flex;
align-items: center;
margin-left: 73px;
.buttons-month {
display: flex;
gap: 34px;
button {
width: 30px;
height: 30px;
background-color: #8dc63f;
border-radius: 15px;
border: none;
img {
width: 14px;
height: 14px;
}
&:first-child {
transform: rotate(-180deg);
}
}
}
.month-period {
display: flex;
flex-direction: row;
align-items: center;
margin-left: 62px;
h2 {
color: #1458dd;
}
h3 {
color: #252c32;
font-size: 18px;
font-weight: 700;
margin-left: 5px;
}
}
}
&__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%;
&:focus-within {
border: 1px solid #0000004d;
}
@media (max-width: 590px) {
max-width: 230px;
}
@media (max-width: 500px) {
max-width: 150px;
}
@media (max-width: 450px) {
margin-left: 0;
max-width: none;
}
input {
width: 100%;
padding-left: 10px;
outline: none;
border: none;
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
img {
width: 14px;
height: 14px;
}
}
}
&__projects {
display: flex;
flex-direction: column;
@media (max-width: 1100px) {
width: 100%;
min-height: auto;
}
&-title {
background: #e1fccf;
display: flex;
align-items: center;
height: 66px;
border-radius: 12px;
margin: 25px 0 0 0;
padding-left: 15px;
color: #000;
font-style: normal;
h3 {
font-size: 16px;
font-weight: 700;
margin: 0 5px 0 0;
}
p {
font-size: 16px;
font-weight: 300;
}
}
}
&__no-item {
padding: 23px 0 19px;
color: #6f6f6f;
p {
font-size: 17px;
font-style: normal;
font-weight: 700;
padding-left: 15px;
}
@media (max-width: 650px) {
background-color: white;
}
&-project {
background: #f1f1f1;
width: 328px;
height: 108px;
border-radius: 8px;
display: flex;
gap: 21px;
padding: 23px;
align-items: center;
p {
width: 105px;
color: #6f6f6f;
font-size: 16px;
font-style: normal;
font-weight: 700;
}
img {
margin-left: 10px;
}
}
}
}
}
}
@media (max-width: 650px) {
&__content {
padding: 28px 0 0;
.project {
background-color: #eeeeee;
max-width: 394px;
}
}
}
}
.table {
&__search {
display: flex;
background: #F0F2F5;
border-radius: 5px;
width: 100%;
padding: 14px 12px;
column-gap: 10px;
align-items: center;
margin-bottom: 20px;
img {
width: 20px;
height: 20px;
}
input {
background: none;
border: none;
outline: none;
font-size: 16px;
color: #9BABC5;
width: 100%;
&::placeholder {
color: #9BABC5;
}
}
}
&__pagination {
display: flex;
margin: 25px auto 0;
column-gap: 12px;
button {
font-size: 14px;
width: 32px;
border-radius: 5px;
height: 32px;
color: #2E3A59;
}
.switch {
border: none;
background: #F0F2F5;
font-weight: 600;
}
.disable {
opacity: 0.7;
}
}
&__pages {
display: flex;
column-gap: 4px;
color: black;
background: white;
.page {
border: 1px solid #E8ECF8;
background: none;
&--active {
border: none;
background: #9DA65D;
color: white;
}
}
}
}
table {
grid-template-columns: minmax(0px, 2fr) minmax(0px, 1fr) minmax(0px, 1fr) minmax(0px, 1fr);
th {
border-top: none;
border-bottom: 1px solid #F5F6F8;
color: #2E3A59;
padding: 0 7.5px 15px;
}
td {
padding: 22px 7.5px;
color: #2E3A59;
border-top: none;
p {
max-width: 430px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
}