900 lines
17 KiB
SCSS
Raw Normal View History

2023-06-12 23:30:18 +03:00
.modal-tiket {
z-index: 9;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.11);
position: fixed;
top: 0;
left: 0;
display: none;
align-items: center;
justify-content: center;
}
.modal-tiket.active {
display: flex;
}
.modal-tiket__content {
background: #ffffff;
border-radius: 8px;
display: flex;
flex-direction: row;
.content {
2023-06-23 10:55:22 +03:00
position: relative;
2023-06-12 23:30:18 +03:00
display: flex;
flex-direction: column;
width: 600px;
margin: 26px 0 0 21px;
.title-project {
2023-06-23 10:55:22 +03:00
max-width: 85%;
2023-06-12 23:30:18 +03:00
display: flex;
align-items: center;
2023-06-23 15:18:19 +03:00
flex-direction: row;
2023-07-07 00:46:40 +03:00
color: #1458DD;
font-weight: 700;
font-size: 22px;
2023-06-12 23:30:18 +03:00
&__category {
margin-right: 17px;
}
2023-06-23 10:55:22 +03:00
h2,
h3 {
font-weight: 700;
font-size: 22px;
line-height: 32px;
color: #1458dd;
margin: 0;
font-family: "LabGrotesque", sans-serif;
}
h2 {
display: flex;
align-items: center;
flex-wrap: wrap;
flex-direction: row;
h3 {
margin-left: 5px;
word-break: break-all;
}
}
2023-06-12 23:30:18 +03:00
&__full {
2023-06-23 10:55:22 +03:00
position: absolute;
position: absolute;
right: 28px;
top: 0;
2023-06-12 23:30:18 +03:00
}
}
&__task {
margin-top: -5px;
padding: 18px;
display: flex;
flex-direction: column;
input {
font-style: normal;
font-size: 16px;
line-height: 24px;
2023-06-29 19:18:58 +03:00
padding: 5px;
2023-06-12 23:30:18 +03:00
outline: none;
2023-06-29 19:18:58 +03:00
border-radius: 8px;
border: 1px solid rgb(204, 206, 209);
}
.ck-toolbar {
border-radius: 8px 8px 0 0 !important;
}
.ck-content {
font-size: 14px;
min-height: 100px;
border: 1px solid rgb(204, 206, 209) !important;
border-radius: 0 0 8px 8px !important;
box-shadow: none !important;
2023-06-12 23:30:18 +03:00
}
button {
img {
margin-right: 5px;
}
}
h5 {
font-family: "Inter", sans-serif;
2023-07-07 00:46:40 +03:00
font-weight: 600;
2023-06-12 23:30:18 +03:00
font-style: normal;
2023-07-07 00:46:40 +03:00
font-size: 19px;
2023-06-12 23:30:18 +03:00
line-height: 24px;
color: #1a1919;
margin-bottom: 0;
}
.comments__list {
display: flex;
flex-direction: column;
2023-06-23 15:18:19 +03:00
max-height: 300px;
2023-06-12 23:30:18 +03:00
overflow: auto;
&::-webkit-scrollbar {
width: 4px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 10px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 10px;
}
&__item {
padding: 10px 20px;
display: flex;
flex-direction: column;
max-width: 438px;
border-radius: 44px;
font-size: 14px;
width: 100%;
position: relative;
2023-06-29 02:26:49 +03:00
.ck-editor {
margin: 10px 0;
}
2023-06-12 23:30:18 +03:00
&__subComment {
&:before {
2023-06-22 14:53:35 +03:00
content: "";
background: #e4e4e6;
2023-06-12 23:30:18 +03:00
height: 1px;
width: 7px;
position: absolute;
top: 36%;
left: 2.5%;
}
}
&__main {
&:after {
2023-06-22 14:53:35 +03:00
content: "";
2023-06-12 23:30:18 +03:00
position: absolute;
2023-06-22 14:53:35 +03:00
background-image: url("assets/images/mainTaskCommentImg.png");
2023-06-12 23:30:18 +03:00
width: 10px;
height: 8px;
top: 50px;
left: 25px;
}
&:before {
2023-06-22 14:53:35 +03:00
content: "";
2023-06-12 23:30:18 +03:00
position: absolute;
2023-06-22 14:53:35 +03:00
background: #e4e4e6;
2023-06-12 23:30:18 +03:00
width: 1px;
height: calc(100% - 120px);
left: 29px;
top: 65px;
}
}
&__fio {
display: flex;
align-items: center;
p {
font-size: 12px;
color: #000000;
line-height: 32px;
max-width: 150px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-left: 10px;
}
img {
width: 24px;
height: 24px;
}
}
&__date {
display: flex;
align-items: center;
column-gap: 5px;
img {
cursor: pointer;
width: 15px;
}
span {
font-size: 12px;
}
}
&__text {
margin-left: 34px;
}
&__info {
display: flex;
justify-content: space-between;
.edit {
width: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
}
.edit__open {
background: green;
}
}
&__answer {
margin-left: 34px;
text-decoration-line: underline;
font-weight: 400;
2023-06-29 19:18:58 +03:00
font-size: 11px;
2023-06-12 23:30:18 +03:00
line-height: 32px;
cursor: pointer;
&__new {
margin-left: 34px;
font-size: 14px;
border-radius: 5px;
border: 1px solid gainsboro;
padding: 3px 5px;
display: flex;
align-items: center;
margin-top: 5px;
img {
width: 20px;
height: 20px;
cursor: pointer;
}
input {
width: 90%;
border: none;
}
}
}
}
2023-06-29 02:26:49 +03:00
.comment__edit--open {
&:after {
display: none;
}
}
2023-06-12 23:30:18 +03:00
}
}
&__description {
display: flex;
flex-direction: column;
2023-07-07 00:46:40 +03:00
margin-top: 12px;
2023-06-23 14:46:08 +03:00
textarea {
min-height: 120px;
max-height: 450px;
font-size: 14px;
}
2023-06-12 23:30:18 +03:00
p {
font-weight: 400;
font-size: 14px;
line-height: 140%;
color: #252c32;
text-align: justify;
}
.image-task {
margin: 10px 0 20px 0;
max-width: 330px;
}
2023-06-22 19:43:12 +03:00
textarea {
height: 100px;
outline: none;
font-weight: 400;
font-size: 14px;
line-height: 140%;
color: #252c32;
resize: none;
}
2023-07-13 03:42:12 +03:00
}
2023-07-13 15:49:07 +03:00
.task__files {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
.taskFile {
position: relative;
.imgFile {
max-width: 180px;
object-fit: contain;
}
&:hover {
.deleteFile {
background: rgb(226, 226, 226, 0.6);
}
}
.deleteFile {
position: absolute;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
width: 20px;
height: 20px;
top: 0;
right: 0;
transition: all 0.3s ease;
background: rgb(226, 226, 226, 0.1);
img {
width: 12px;
height: 12px;
}
}
}
}
2023-07-13 03:42:12 +03:00
.fileLoaded {
display: flex;
2023-07-13 15:49:07 +03:00
align-items: center;
2023-07-13 03:42:12 +03:00
margin: 10px 0 0;
2023-07-13 15:49:07 +03:00
.loadedFile {
position: relative;
img {
max-width: 100px;
object-fit: contain;
}
.deleteFile {
position: absolute;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
width: 20px;
height: 20px;
top: 0;
right: 0;
transition: all 0.3s ease;
background: rgb(226, 226, 226, 0.1);
img {
width: 12px;
height: 12px;
}
}
&:hover {
.deleteFile {
background: rgb(226, 226, 226, 0.6);
}
}
}
button {
display: flex;
justify-content: center;
color: blue;
margin-left: 10px;
border: 0.5px solid #1458dd;
border-radius: 44px;
font-weight: 400;
font-size: 12px;
line-height: 32px;
max-width: 120px;
background: none;
width: 100%;
2023-07-13 03:42:12 +03:00
}
2023-06-12 23:30:18 +03:00
}
&__communication {
display: flex;
flex-direction: row;
margin: 29px 0 0 -5px;
.tasks {
justify-content: space-evenly;
2023-06-22 14:53:35 +03:00
.button-green-add {
2023-06-12 23:30:18 +03:00
width: 180px;
height: 40px;
font-weight: 400;
font-size: 12px;
line-height: 32px;
}
}
.tasks,
.file {
display: flex;
align-items: center;
}
.file {
justify-content: space-between;
2023-06-22 19:43:12 +03:00
margin-left: 7px;
2023-06-12 23:30:18 +03:00
2023-07-13 02:03:40 +03:00
.input__wrapper {
display: flex;
position: relative;
.input__file {
position: absolute;
opacity: 0;
z-index: -10;
width: 10%;
}
}
2023-06-22 19:18:41 +03:00
.button-add-file {
2023-06-12 23:30:18 +03:00
display: flex;
2023-07-13 02:03:40 +03:00
cursor: pointer;
2023-06-12 23:30:18 +03:00
align-items: center;
justify-content: center;
background: white;
width: 166px;
height: 40px;
border: 0.5px solid #1458dd;
border-radius: 44px;
font-weight: 400;
font-size: 12px;
line-height: 32px;
color: #1458dd;
img {
margin-right: 9px;
}
}
span {
margin: 0 3px 0 11px;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #6e7c87;
}
}
}
&__input {
margin: 20px 0 20px 0;
display: flex;
align-items: center;
justify-content: space-between;
width: 438px;
height: 40px;
background: #f1f1f1;
border-radius: 44px;
input {
width: 80%;
background: inherit;
border: none;
outline: none;
padding-left: 30px;
font-weight: 400;
2023-06-26 12:10:49 +03:00
font-size: 14px;
2023-06-12 23:30:18 +03:00
line-height: 32px;
border-radius: 44px;
}
img {
cursor: pointer;
margin-right: 18px;
}
2023-06-22 19:18:41 +03:00
2023-06-29 19:18:58 +03:00
//&:focus-within {
// border: 1px solid #0000004d;
//}
2023-06-12 23:30:18 +03:00
}
}
.members {
display: flex;
flex-direction: column;
font-size: 14px;
2023-07-07 00:46:40 +03:00
margin-top: 8px;
2023-06-12 23:30:18 +03:00
&__list {
display: flex;
flex-direction: column;
row-gap: 8px;
}
}
.workers {
position: relative;
border-left: 1px solid #f1f1f1;
.exit {
cursor: pointer;
position: absolute;
2023-07-07 00:46:40 +03:00
top: 25px;
right: 30px;
width: 13px;
height: 13px;
display: flex;
align-items: center;
justify-content: center;
2023-06-12 23:30:18 +03:00
&:before,
&:after {
content: "";
width: 16px;
height: 2px;
background: #263238;
}
&:before {
transform: rotate(45deg);
}
&:after {
transform: rotate(-45deg);
}
}
span {
font-family: "Inter", sans-serif;
font-weight: 500;
font-size: 11px;
color: #807777;
}
.nameProject {
max-width: 200px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.add-worker {
display: flex;
align-items: center;
position: relative;
2023-06-22 19:18:41 +03:00
margin-bottom: 5px;
2023-07-07 00:46:40 +03:00
margin-top: 12px;
2023-06-12 23:30:18 +03:00
span {
color: #000000;
font-size: 12px;
line-height: 32px;
margin-left: 17px;
font-style: normal;
font-weight: 400;
}
2023-06-22 19:18:41 +03:00
.button-add-worker {
cursor: pointer;
background: #8bcc60;
border-radius: 44px;
2023-06-12 23:30:18 +03:00
width: 33px;
height: 33px;
display: flex;
justify-content: center;
align-items: center;
border: none;
color: white;
2023-06-12 23:30:18 +03:00
font-size: 17px;
2023-06-29 19:18:58 +03:00
transition: all 0.3s ease;
&:hover {
background: #6cc933;
}
2023-06-12 23:30:18 +03:00
}
}
.start {
font-size: 12px;
margin-top: 25px;
width: 151px;
height: 40px;
border: none;
color: white;
background: #1458dd;
border-radius: 44px;
2023-06-29 19:18:58 +03:00
transition: all 0.15s ease;
&:hover {
background: #0255ff;
}
2023-06-12 23:30:18 +03:00
img {
margin-left: 10px;
}
}
.disable {
opacity: 0.5;
pointer-events: none;
}
.stop {
font-size: 12px;
margin-top: 25px;
width: 151px;
height: 40px;
border: none;
color: white;
background: red;
border-radius: 44px;
2023-06-29 19:18:58 +03:00
transition: all 0.3s ease;
&:hover {
background: #f5693d;
}
2023-06-12 23:30:18 +03:00
}
2023-07-07 17:38:19 +03:00
.deadLine {
position: relative;
&__container {
padding: 5px 10px 5px;
margin-top: 10px;
border-radius: 5px;
border: 1px solid gray;
cursor: pointer;
display: flex;
position: relative;
align-items: center;
justify-content: center;
max-width: 185px;
img {
width: 16px;
height: 16px;
}
span {
font-size: 12px;
color: #000000;
margin-left: 10px;
font-weight: 500;
}
}
.datePicker {
visibility: hidden;
height: 0;
padding: 0;
width: 0;
position: absolute;
}
.react-datepicker-wrapper {
position: absolute;
}
.react-datepicker {
border: 1px solid #398208;
}
.react-datepicker-popper {
top: 10px !important;
left: -110px !important;
2023-07-14 03:03:33 +03:00
z-index: 10;
2023-07-07 17:38:19 +03:00
}
.react-datepicker__current-month {
font-size: 14px;
font-family: "LabGrotesque", sans-serif;
text-transform: capitalize;
}
.react-datepicker__header {
padding: 5px 0 10px;
border-bottom: 1px solid #398208;
}
.react-datepicker__day {
font-size: 14px;
width: 35px;
font-family: "LabGrotesque", sans-serif;
}
.react-datepicker__day-name {
font-size: 14px;
width: 35px;
font-family: "LabGrotesque", sans-serif;
}
.react-datepicker__triangle {
left: 85px !important;
&:before {
border-bottom-color: #398208 !important;
}
}
}
2023-06-12 23:30:18 +03:00
.time {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
2023-07-07 17:38:19 +03:00
margin-top: 10px;
2023-06-12 23:30:18 +03:00
width: 160px;
p {
color: #000000;
margin: 0;
}
}
&__creator {
font-size: 14px;
font-weight: 500;
color: #2d4a17;
max-width: 200px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2023-07-07 00:46:40 +03:00
margin-bottom: 8px;
2023-06-12 23:30:18 +03:00
span {
margin-left: 5px;
font-size: 14px;
line-height: 32px;
font-weight: 500;
display: flex;
}
}
.worker {
display: flex;
flex-direction: row;
align-items: center;
p {
max-width: 170px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
}
img {
max-width: 25px;
max-height: 25px;
margin-left: 5px;
}
}
.task__info {
display: flex;
flex-direction: column;
.delete {
cursor: pointer;
}
.executor {
display: flex;
font-size: 14px;
align-items: center;
p {
max-width: 170px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
margin-left: 5px;
max-width: 25px;
max-height: 25px;
}
}
.dropdownList {
position: absolute;
background: white;
padding: 10px;
border-radius: 10px;
top: 0;
z-index: 10;
border: 1px solid gray;
width: 260px;
display: flex;
flex-direction: column;
row-gap: 8px;
.noUsers {
font-size: 14px;
text-align: center;
}
&__close {
cursor: pointer;
margin-left: auto;
width: 12px;
margin-right: 5px;
}
&__person {
display: flex;
justify-content: space-between;
cursor: pointer;
img {
max-width: 30px;
max-height: 30px;
}
}
}
}
&_box {
2023-07-07 17:38:19 +03:00
padding: 25px 85px 25px 40px;
2023-06-12 23:30:18 +03:00
border-bottom: 1px solid #f1f1f1;
&-middle {
padding: 0px 40px 25px 40px;
border-bottom: 1px solid #f1f1f1;
}
&-bottom {
2023-07-07 17:38:19 +03:00
padding: 20px 110px 35px 56px;
2023-06-12 23:30:18 +03:00
font-weight: 400;
font-size: 14px;
line-height: 38px;
div {
display: flex;
cursor: pointer;
align-items: center;
padding-left: 10px;
2023-07-07 00:46:40 +03:00
img {
width: 11px;
}
2023-06-12 23:30:18 +03:00
p {
margin: 0 0 0 12px;
}
}
.edit {
background: #52b709;
border-radius: 50px;
p {
font-weight: 700;
}
}
2023-06-22 19:18:41 +03:00
p:hover {
text-decoration: underline;
}
2023-06-12 23:30:18 +03:00
}
}
}
}
.subtask {
h4 {
width: 90%;
p {
color: #1458dd;
}
}
}