315 lines
5.2 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%;
background-color: rgba(0, 0, 0, 0.11);
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;
margin: 0 0 15px 0;
2023-06-29 02:26:49 +03:00
row-gap: 5px;
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-06-29 02:26:49 +03:00
width: 320px;
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 {
max-width: 320px;
}
2023-06-29 19:18:58 +03:00
.ck-editor__editable.ck-rounded-corners {
min-height: 100px;
font-size: 14px;
}
.ck-toolbar {
border: none !important;
border-radius: 8px 8px 0 0 !important;
}
.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-06-29 02:26:49 +03:00
width: 320px;
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 {
max-width: 205px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
img {
margin-left: 15px;
}
}
.avatar {
width: 20px;
height: 20px;
}
&__dropDown {
position: absolute;
background: white;
border-radius: 8px;
top: 50px;
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-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;
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-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-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-06-23 15:18:19 +03:00
top: 35px;
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-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-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
.modal-add.active {
transform: scale(1);
}
2023-04-10 21:22:22 +03:00
.exit {
cursor: pointer;
position: absolute;
top: 35px;
right: 40px;
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
}