769 lines
15 KiB
SCSS
Raw Normal View History

2023-06-23 15:18:19 +03:00
//Удалить при переходе всех модалок в обертку modalLayout
2023-04-10 21:22:22 +03:00
.modal-add {
z-index: 9;
height: 100%;
width: 100%;
2023-09-13 17:45:31 +03:00
background-color: rgba(0, 0, 0, 0.8);
2023-04-10 21:22:22 +03:00
position: fixed;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
transform: scale(0);
&__content {
position: relative;
width: 424px;
background: linear-gradient(180deg, #ffffff 0%, #ebebeb 100%);
2023-04-20 20:10:08 +03:00
border-radius: 24px;
2023-04-10 21:22:22 +03:00
2023-04-12 18:22:25 +03:00
padding: 60px 60px 30px 60px;
2023-04-10 21:22:22 +03:00
display: flex;
flex-direction: column;
2023-04-28 14:56:59 +03:00
align-items: center;
2023-04-10 21:22:22 +03:00
justify-content: center;
}
2023-06-23 15:18:19 +03:00
}
2023-04-10 21:22:22 +03:00
2023-06-23 15:18:19 +03:00
.title-project {
display: flex;
align-items: center;
flex-direction: column;
2023-07-26 13:51:56 +03:00
row-gap: 8px;
2024-01-30 20:02:28 +03:00
padding-bottom: 10px;
2023-06-23 15:18:19 +03:00
.select-priority {
background-color: white;
width: 100%;
margin: 12px 0;
padding: 10px 8px;
border-radius: 8px;
font-size: 14px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
position: relative;
img {
width: 15px;
height: 15px;
2023-06-27 18:35:44 +03:00
transition: all 0.3s ease;
}
&__dropDown {
position: absolute;
width: 100%;
background: white;
left: 0;
padding: 8px;
top: 50px;
display: flex;
border-radius: 8px;
row-gap: 5px;
flex-direction: column;
span {
&:hover {
font-weight: 700;
}
}
}
2023-06-27 18:35:44 +03:00
&--open {
img {
transform: rotate(180deg);
}
}
}
2023-06-23 15:18:19 +03:00
.input-container {
2023-07-07 00:46:40 +03:00
width: 100%;
2023-06-23 15:18:19 +03:00
height: 35px;
background: #ffffff;
border-radius: 8px;
2023-06-27 18:35:44 +03:00
margin: 5px 0;
2023-06-23 15:18:19 +03:00
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
}
2023-04-10 21:22:22 +03:00
2023-06-29 02:26:49 +03:00
.ck-editor {
2023-07-07 00:46:40 +03:00
width: 100%;
2023-06-29 02:26:49 +03:00
}
2023-06-29 19:18:58 +03:00
.ck-editor__editable.ck-rounded-corners {
2023-07-26 13:51:56 +03:00
max-width: 390px;
min-height: 130px;
2023-06-29 19:18:58 +03:00
font-size: 14px;
}
.ck-toolbar {
border: none !important;
border-radius: 8px 8px 0 0 !important;
}
2023-07-07 00:46:40 +03:00
.ck-placeholder {
display: block !important;
}
2023-06-29 19:18:58 +03:00
.ck-content {
border: none !important;
border-radius: 0 0 8px 8px !important;
box-shadow: none !important;
}
2023-06-27 18:35:44 +03:00
.select__executor {
2023-07-07 00:46:40 +03:00
width: 100%;
2023-06-27 18:35:44 +03:00
background: white;
border-radius: 8px;
margin: 5px 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 9.5px 12px;
font-size: 14px;
cursor: pointer;
position: relative;
.arrow {
transition: all 0.3s ease;
width: 16px;
height: 16px;
}
&--open {
.arrow {
transform: rotate(180deg);
}
}
.selected__executor {
display: flex;
align-items: center;
span {
2023-09-13 17:45:31 +03:00
max-width: 250px;
2023-06-27 18:35:44 +03:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
margin-left: 15px;
}
}
.avatar {
width: 20px;
height: 20px;
}
&__dropDown {
position: absolute;
2023-11-09 17:35:44 +03:00
background: #f1f1f1;
2023-06-27 18:35:44 +03:00
border-radius: 8px;
2023-09-13 17:45:31 +03:00
top: 55px;
2023-06-27 18:35:44 +03:00
left: 0;
width: 100%;
padding: 9.5px 12px;
display: flex;
flex-direction: column;
row-gap: 10px;
.executor {
display: flex;
justify-content: space-between;
&:hover {
span {
font-weight: 600;
}
}
}
}
}
2023-06-23 15:18:19 +03:00
h4 {
font-weight: 500;
font-size: 22px;
line-height: 26px;
color: #263238 !important;
2023-08-10 18:56:50 +03:00
@media (max-width: 450px) {
font-size: 18px;
}
2023-06-23 15:18:19 +03:00
}
2023-06-09 03:19:09 +03:00
2023-06-23 15:18:19 +03:00
&__decs {
font-weight: 300;
font-size: 12px;
line-height: 14px;
margin: 12px 0 16px 0;
}
2023-04-10 21:22:22 +03:00
2023-06-23 15:18:19 +03:00
&__textarea {
resize: none;
width: 302px;
height: 83px;
background: #ffffff;
border-radius: 8px;
border: none;
font-size: 15px;
line-height: 18px;
}
2023-04-12 18:22:25 +03:00
2023-06-23 15:18:19 +03:00
.select__worker {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
background: white;
border-radius: 5px;
cursor: pointer;
position: relative;
2023-07-04 16:19:46 +03:00
min-width: 320px;
2023-07-07 00:46:40 +03:00
height: 42px;
2023-07-04 16:19:46 +03:00
width: 100%;
2023-06-23 15:18:19 +03:00
p {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
2023-07-04 16:19:46 +03:00
max-width: 270px;
2023-11-23 18:15:46 +03:00
margin-left: 10px;
2023-04-12 18:22:25 +03:00
}
2023-06-23 15:18:19 +03:00
img {
transition: all 0.3s ease;
2023-07-04 16:19:46 +03:00
width: 20px;
height: 20px;
2023-04-10 21:22:22 +03:00
}
2023-05-17 02:51:31 +03:00
2023-06-23 15:18:19 +03:00
&__dropDown {
2023-11-09 17:35:44 +03:00
max-height: 155px;
2023-11-17 17:19:46 +03:00
overflow-y: auto;
2023-05-17 02:51:31 +03:00
display: flex;
2023-06-23 15:18:19 +03:00
flex-direction: column;
position: absolute;
width: 100%;
2023-07-04 16:19:46 +03:00
padding: 9.5px 12px;
2023-07-07 00:46:40 +03:00
top: 48px;
2023-06-23 15:18:19 +03:00
left: 0;
2023-05-17 02:51:31 +03:00
background: white;
border-radius: 5px;
2023-07-04 16:19:46 +03:00
row-gap: 10px;
2023-05-17 02:51:31 +03:00
2023-06-23 15:18:19 +03:00
.worker {
2023-05-17 02:51:31 +03:00
display: flex;
2023-06-23 15:18:19 +03:00
justify-content: space-between;
2023-06-29 19:18:58 +03:00
&:hover {
p {
font-weight: 500;
}
}
2023-05-17 02:51:31 +03:00
}
2023-11-17 17:19:46 +03:00
&::-webkit-scrollbar {
width: 3px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
2023-05-17 02:51:31 +03:00
}
2023-08-11 20:38:12 +03:00
@media (max-width: 500px) {
min-width: auto;
}
2023-06-23 15:18:19 +03:00
}
2023-05-17 02:51:31 +03:00
2023-06-23 15:18:19 +03:00
.open {
.arrow {
transform: rotate(180deg);
2023-05-17 02:51:31 +03:00
}
2023-04-10 21:22:22 +03:00
}
2023-09-13 17:45:31 +03:00
.createTaskHead {
width: 100%;
2024-01-30 20:02:28 +03:00
padding: 5px 10px;
2023-09-13 17:45:31 +03:00
display: flex;
column-gap: 9.5px;
align-items: center;
2023-11-09 17:35:44 +03:00
background: #f1f1f1;
2023-09-13 17:45:31 +03:00
border-radius: 22px 22px 0 0;
span {
font-size: 15px;
color: #000000;
}
&__selectColumn {
display: flex;
column-gap: 8px;
cursor: pointer;
span {
padding: 3.75px 16.25px 5.75px;
2023-11-09 17:35:44 +03:00
color: #ffffff;
2023-09-13 17:45:31 +03:00
font-size: 12px;
font-weight: 500;
2023-11-09 17:35:44 +03:00
background: #52b709;
2023-09-13 17:45:31 +03:00
border-radius: 12px;
}
}
}
.createTaskBody {
2024-01-30 20:02:28 +03:00
padding: 10px;
2023-09-13 17:45:31 +03:00
display: flex;
2024-01-30 20:02:28 +03:00
column-gap: 20px;
2023-09-13 17:45:31 +03:00
&__left {
display: flex;
flex-direction: column;
h4 {
color: #263238 !important;
font-size: 16px;
line-height: 19.2px;
2024-01-30 20:02:28 +03:00
margin-bottom: 15px;
margin-left: 5px;
2023-09-13 17:45:31 +03:00
}
.input-container {
2023-11-09 17:35:44 +03:00
background: #f1f1f1;
2023-09-13 17:45:31 +03:00
margin: 0 0 17px;
width: 393px;
height: 47px;
input {
2023-11-09 17:35:44 +03:00
background: #f1f1f1;
2023-09-13 17:45:31 +03:00
color: #000000;
font-size: 15px;
line-height: 18px;
font-weight: 300;
}
}
.ck-editor {
2023-11-09 17:35:44 +03:00
border: 1px solid #dddddd;
2023-09-13 17:45:31 +03:00
border-radius: 8px;
}
.ck-editor__editable.ck-rounded-corners {
2024-01-30 20:02:28 +03:00
min-height: 130px;
max-height: 130px;
2023-09-13 17:45:31 +03:00
}
}
&__right {
display: flex;
flex-direction: column;
align-items: start;
justify-content: end;
&__owner {
display: flex;
align-items: center;
column-gap: 9.5px;
p {
2023-11-09 17:35:44 +03:00
color: #2d4a17;
2023-09-13 17:45:31 +03:00
font-size: 14px;
font-weight: 500;
line-height: 32px;
}
img {
width: 22px;
height: 22px;
}
}
2023-10-30 01:35:06 +03:00
&__tags {
display: flex;
flex-direction: column;
position: relative;
.tags {
&__selected {
width: 393px;
font-weight: 300;
line-height: 18px;
font-size: 15px;
2024-01-30 20:02:28 +03:00
margin-bottom: 10px;
2023-10-30 01:35:06 +03:00
border-radius: 8px;
display: flex;
flex-direction: column;
row-gap: 8px;
&__name {
2023-11-09 21:03:19 +03:00
color: #000;
font-size: 15px;
font-weight: 400;
line-height: normal;
2023-10-30 01:35:06 +03:00
cursor: pointer;
display: flex;
2023-11-09 21:03:19 +03:00
align-items: center;
2023-10-30 01:35:06 +03:00
justify-content: space-between;
2023-11-09 21:03:19 +03:00
padding: 9.5px 12px;
2023-10-30 01:35:06 +03:00
border-radius: 8px;
2023-11-09 21:03:19 +03:00
height: 47px;
2023-10-30 01:35:06 +03:00
border: 1px solid #e4e4e4;
img {
transition: all 0.3s ease;
}
.arrow--open {
transform: rotate(180deg);
}
}
&__items {
display: flex;
flex-wrap: wrap;
padding: 0;
width: 100%;
gap: 8px;
max-width: 393px;
.selectedTag {
display: flex;
2023-11-09 21:03:19 +03:00
padding: 7px 7px 7px 8px;
border-radius: 35px;
2023-10-30 01:35:06 +03:00
align-items: center;
column-gap: 8px;
p {
2023-11-09 21:03:19 +03:00
color: #fff;
font-size: 13px;
font-style: normal;
font-weight: 500;
line-height: 0px;
2023-10-30 01:35:06 +03:00
margin: 0;
}
.delete {
cursor: pointer;
width: 12px;
height: 12px;
}
}
}
}
&__dropDown {
display: flex;
flex-direction: column;
width: 100%;
position: absolute;
border-radius: 8px;
border: 1px solid #e4e4e4;
top: 90%;
z-index: 101;
2023-11-09 21:03:19 +03:00
padding: 30px 10px 10px;
background: #ebebeb;
2023-10-30 01:35:06 +03:00
row-gap: 8px;
.close {
position: absolute;
cursor: pointer;
2023-11-09 21:03:19 +03:00
width: 22px;
height: 22px;
right: 9px;
top: 4px;
2023-10-30 01:35:06 +03:00
}
.tag__item {
display: flex;
2023-11-09 21:03:19 +03:00
align-items: center;
height: 42px;
background: white;
2023-10-30 01:35:06 +03:00
width: 100%;
cursor: pointer;
column-gap: 8px;
2023-11-09 21:03:19 +03:00
padding: 9px 14px;
2023-10-30 01:35:06 +03:00
border: 1px solid #ececec;
border-radius: 8px;
justify-content: space-between;
p {
2023-11-09 21:03:19 +03:00
color: #000;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 0px;
2023-10-30 01:35:06 +03:00
margin: 0;
text-decoration: none;
}
span {
2023-11-09 21:03:19 +03:00
width: 22px;
height: 23px;
border-radius: 8px;
2023-10-30 01:35:06 +03:00
}
}
.noTags {
text-align: center;
font-size: 18px;
}
}
}
}
2023-11-21 16:40:58 +03:00
.select__priority {
position: relative;
&__name {
color: #000;
width: 393px;
height: 47px;
font-size: 15px;
font-weight: 400;
line-height: normal;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
padding: 9.5px 12px;
border-radius: 8px;
height: 47px;
border: 1px solid #e4e4e4;
margin-bottom: 10px;
}
&__dropDown {
position: absolute;
border-radius: 8px;
padding: 9.5px 12px;
display: flex;
flex-direction: column;
row-gap: 5px;
width: 100%;
background: #f1f1f1;
z-index: 101;
.dropdown__item {
font-size: 16px;
cursor: pointer;
&:hover {
font-weight: 700;
}
}
}
img {
transition: all 0.3s ease;
}
.arrow--open {
transform: rotate(180deg);
}
}
2023-09-13 17:45:31 +03:00
.select__executor {
2023-11-09 17:35:44 +03:00
background: #f1f1f1;
2023-09-13 17:45:31 +03:00
width: 393px;
height: 47px;
font-weight: 300;
line-height: 18px;
font-size: 15px;
z-index: 100;
}
.button-add {
margin: 0;
width: 185px;
height: 42px;
2023-11-09 17:35:44 +03:00
color: #ffffff;
2023-09-13 17:45:31 +03:00
font-weight: 500;
font-size: 16px;
}
&__deadLine {
display: flex;
align-items: center;
column-gap: 18px;
font-weight: 300;
line-height: 18px;
font-size: 15px;
position: relative;
2024-01-30 20:02:28 +03:00
margin: 8px 0 30px;
2023-09-13 17:45:31 +03:00
span {
2023-11-09 17:35:44 +03:00
color: #6f6f6f;
2023-09-13 17:45:31 +03:00
}
p {
cursor: pointer;
color: #000000;
}
.datePicker {
visibility: hidden;
height: 0;
padding: 0;
width: 0;
position: absolute;
}
.react-datepicker-wrapper {
position: absolute;
top: -15px;
max-width: 120px;
right: 0;
}
.react-datepicker {
border: 1px solid #e8ede4;
border-radius: 8px;
}
.react-datepicker-popper {
top: 20px !important;
left: -110px !important;
z-index: 10;
}
.react-datepicker__current-month {
font-size: 18px;
font-family: "LabGrotesque", sans-serif;
text-transform: capitalize;
padding-bottom: 8px;
}
.react-datepicker__navigation-icon {
width: 20px;
height: 20px;
border-radius: 50px;
border: 2px solid #cbd1d2;
display: flex;
justify-content: center;
align-items: center;
font-size: 0;
&:hover {
background-color: white;
}
}
.react-datepicker__navigation-icon--next::before {
border-width: 2px 2px 0 0;
top: auto;
left: 4px;
height: 6px;
width: 6px;
}
.react-datepicker__navigation-icon--previous::before {
border-width: 2px 2px 0 0;
top: 5px;
left: 7px;
height: 6px;
width: 6px;
}
.react-datepicker__header {
padding: 5px 0 10px;
border-bottom: 1px solid #baacc0;
}
.react-datepicker__day {
font-size: 16px;
width: 35px;
font-family: "LabGrotesque", sans-serif;
border-radius: 50px;
padding: 7px;
}
.react-datepicker__day-name {
font-size: 18px;
width: 35px;
font-weight: 500;
font-family: "LabGrotesque", sans-serif;
}
.react-datepicker__triangle {
left: 85px !important;
&:before {
border: 1px solid #e8ede4;
}
}
}
}
}
2023-06-23 15:18:19 +03:00
}
2023-04-10 21:22:22 +03:00
2023-06-23 15:18:19 +03:00
.name-project {
margin-left: 10px;
border: none;
outline: none;
height: 100%;
width: 90%;
font-size: 14px;
}
2023-04-10 21:22:22 +03:00
2023-06-23 15:18:19 +03:00
.button-add {
width: 130px;
height: 37px;
font-weight: 400;
font-size: 15px;
line-height: 32px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
2023-04-10 21:22:22 +03:00
2024-01-31 16:46:16 +03:00
.add-person-btn {
2023-07-07 00:46:40 +03:00
margin: 0 auto 0 0;
margin-top: 20px;
}
.modal-add.active {
transform: scale(1);
}
2023-04-10 21:22:22 +03:00
.exit {
cursor: pointer;
position: absolute;
2024-01-26 18:07:10 +03:00
top: 15px;
right: 20px;
2023-07-07 00:46:40 +03:00
width: 13px;
height: 13px;
display: flex;
align-items: center;
justify-content: center;
2023-04-10 21:22:22 +03:00
&:before,
&:after {
content: "";
position: absolute;
width: 16px;
height: 2px;
background: #263238;
2023-04-10 21:22:22 +03:00
}
&:before {
transform: rotate(45deg);
}
&:after {
transform: rotate(-45deg);
}
2023-04-10 21:22:22 +03:00
}