478 lines
8.8 KiB
SCSS
Raw Normal View History

2021-11-30 16:00:58 +02:00
.report-form {
2023-05-25 16:42:37 +03:00
background: #f1f1f1;
2023-01-13 15:53:07 +03:00
height: 100%;
min-height: 100vh;
font-family: "LabGrotesque", sans-serif;
.container {
max-width: 1160px;
margin-top: 23px;
@media (max-width: 570px) {
margin-top: 0;
}
}
&__content {
2023-05-25 16:42:37 +03:00
background: #ffffff;
2023-01-13 15:53:07 +03:00
border-radius: 12px;
2023-12-20 16:14:30 +03:00
margin: 20px 0 30px;
padding: 20px 30px;
2023-02-17 15:19:49 +03:00
@media (max-width: 555px) {
padding: 25px 20px;
}
2023-01-13 15:53:07 +03:00
}
2022-12-26 15:12:01 +03:00
.report__head {
margin-top: 20px;
2023-01-16 16:28:56 +03:00
a {
display: flex;
align-items: center;
grid-column-gap: 30px;
column-gap: 30px;
margin-top: 20px;
cursor: pointer;
text-decoration: none;
p {
margin-bottom: 0;
font-size: 14px;
line-height: 32px;
font-weight: 500;
color: black;
}
}
2022-12-26 15:12:01 +03:00
}
2021-11-30 16:00:58 +02:00
&__block-title {
h2 {
2023-05-25 16:42:37 +03:00
color: #52b709;
font-family: "GT Eesti Pro Display";
2021-11-30 16:00:58 +02:00
font-size: 3.3em;
font-weight: 700;
font-style: normal;
letter-spacing: normal;
text-align: left;
2023-02-17 15:19:49 +03:00
@media (max-width: 555px) {
2023-12-20 19:44:03 +03:00
font-size: 2.4em;
2023-02-17 15:19:49 +03:00
}
2021-11-30 16:00:58 +02:00
}
h3 {
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2021-11-30 16:00:58 +02:00
font-size: 2.1em;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
line-height: 30px;
text-align: left;
2023-12-20 16:14:30 +03:00
margin-top: 20px;
margin-bottom: 5px;
2023-02-17 15:19:49 +03:00
@media (max-width: 555px) {
2023-12-20 19:44:03 +03:00
margin-top: 15px;
margin-bottom: 0px;
font-size: 1.9em;
2023-02-17 15:19:49 +03:00
}
2021-11-30 16:00:58 +02:00
}
}
&__block-img {
2023-12-19 17:31:27 +03:00
width: 230px;
2021-11-30 16:00:58 +02:00
height: 42px;
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #398208;
background-color: #ffffff;
display: flex;
align-items: center;
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2023-12-20 19:44:03 +03:00
font-size: 15px;
font-weight: 500;
padding-top: 2px;
2023-02-17 15:19:49 +03:00
cursor: pointer;
2021-11-30 16:00:58 +02:00
img {
2023-07-03 22:07:44 +03:00
width: 20px;
height: 20px;
2021-11-30 16:00:58 +02:00
margin-left: 20px;
2023-12-20 19:44:03 +03:00
margin-right: 10px;
margin-top: -2px;
2021-11-30 16:00:58 +02:00
}
}
&__task {
&-number {
color: #282828;
font-family: "GT Eesti Pro Display";
font-size: 20px;
font-weight: 700;
2023-02-17 15:19:49 +03:00
width: 12px;
2021-11-30 16:00:58 +02:00
}
&-list {
2023-12-19 17:31:27 +03:00
margin-top: 20px;
2021-11-30 16:00:58 +02:00
display: flex;
align-items: center;
& > span {
color: #18586e;
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2023-12-20 19:44:03 +03:00
font-size: 1.9em;
2021-11-30 16:00:58 +02:00
font-weight: 500;
}
img {
width: 6px;
height: 6px;
margin-left: 12px;
margin-right: 12px;
}
}
&-header {
display: flex;
justify-content: flex-start;
2023-12-05 15:46:25 +03:00
margin-top: 20px;
2021-11-30 16:00:58 +02:00
p {
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2023-03-01 00:28:58 +03:00
font-size: 1.5em;
2021-11-30 16:00:58 +02:00
font-style: normal;
letter-spacing: normal;
line-height: normal;
text-align: left;
2023-12-05 15:46:25 +03:00
margin-bottom: 10px;
2023-02-17 15:19:49 +03:00
white-space: nowrap;
2023-03-01 23:40:23 +03:00
@media (max-width: 450px) {
font-size: 13px;
}
2021-11-30 16:00:58 +02:00
}
}
&-title {
2023-02-17 15:19:49 +03:00
//&--description {
//}
2021-11-30 16:00:58 +02:00
&--hours {
2023-12-20 19:44:03 +03:00
margin-left: 300px;
2023-02-17 15:19:49 +03:00
@media (max-width: 810px) {
2023-03-01 00:28:58 +03:00
margin-left: 100px;
2023-02-17 15:19:49 +03:00
}
@media (max-width: 610px) {
2023-12-22 15:18:13 +03:00
margin-left: 80px;
2023-02-17 15:19:49 +03:00
}
2021-11-30 16:00:58 +02:00
}
}
&-remove {
2023-12-20 19:44:03 +03:00
margin-left: 12px;
2021-11-30 16:00:58 +02:00
display: flex;
align-items: center;
2023-02-17 15:19:49 +03:00
img {
cursor: pointer;
2023-03-13 23:33:12 +03:00
width: 23px;
height: 23px;
2023-02-17 15:19:49 +03:00
}
2021-11-30 16:00:58 +02:00
}
&-form {
display: flex;
2023-12-19 17:31:27 +03:00
align-items: center;
margin-bottom: 15px;
2021-11-30 16:00:58 +02:00
}
&-input {
display: flex;
flex-direction: column;
&--description {
2023-03-01 00:28:58 +03:00
.checkTask {
border-color: #fc0000;
}
2023-12-19 17:31:27 +03:00
textarea {
2021-11-30 16:00:58 +02:00
width: 460px;
2023-12-19 17:31:27 +03:00
height: 84px;
2021-11-30 16:00:58 +02:00
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #c4c4c4;
background-color: #ffffff;
outline: none;
2023-12-20 19:44:03 +03:00
font-size: 1.5em;
padding: 2px 8px;
2023-02-17 15:19:49 +03:00
@media (max-width: 810px) {
width: 250px;
}
@media (max-width: 610px) {
2023-12-20 19:44:03 +03:00
font-size: 1.3em;
width: 230px;
2023-02-17 15:19:49 +03:00
}
2021-11-30 16:00:58 +02:00
}
}
&--hours {
2023-03-01 00:28:58 +03:00
@media (max-width: 610px) {
margin-left: 45px;
}
2023-03-01 23:40:23 +03:00
@media (max-width: 450px) {
2023-12-20 19:44:03 +03:00
margin-left: 0px;
2023-03-01 23:40:23 +03:00
}
2023-03-01 00:28:58 +03:00
.checkTask {
border-color: #fc0000;
}
2021-11-30 16:00:58 +02:00
input {
2023-12-19 17:31:27 +03:00
width: 80px;
2021-11-30 16:00:58 +02:00
height: 42px;
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #c4c4c4;
background-color: #ffffff;
outline: none;
font-size: 1.8em;
text-align: center;
2023-12-20 19:44:03 +03:00
margin-left: 20px;
2023-02-17 15:19:49 +03:00
@media (max-width: 500px) {
width: 100px;
}
@media (max-width: 440px) {
width: 75px;
}
@media (max-width: 410px) {
width: 50px;
}
2021-11-30 16:00:58 +02:00
}
}
}
}
&__form-add {
2023-12-20 19:44:03 +03:00
margin-bottom: 20px;
2023-03-13 23:33:12 +03:00
display: flex;
align-items: center;
2023-12-05 15:46:25 +03:00
justify-content: center;
2023-03-13 23:33:12 +03:00
.addMore {
display: flex;
align-items: center;
justify-content: center;
2023-05-25 16:42:37 +03:00
color: #4caf50;
2023-03-13 23:33:12 +03:00
width: 38px;
height: 38px;
2023-05-25 16:42:37 +03:00
background: #e8e8e8;
2023-03-13 23:33:12 +03:00
border-radius: 50px;
font-size: 32px;
2023-12-05 15:46:25 +03:00
cursor: pointer;
2023-03-13 23:33:12 +03:00
}
2021-11-30 16:00:58 +02:00
span {
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2023-03-01 00:28:58 +03:00
font-size: 1.5em;
2021-11-30 16:00:58 +02:00
font-style: normal;
letter-spacing: normal;
line-height: normal;
text-align: left;
2023-12-05 15:46:25 +03:00
margin-left: 10px;
cursor: pointer;
2021-11-30 16:00:58 +02:00
}
}
&__input-box {
2023-12-20 19:44:03 +03:00
textarea {
2023-12-20 16:14:30 +03:00
margin-top: 10px;
2021-11-30 16:00:58 +02:00
margin-bottom: 20px;
width: 460px;
2023-12-20 19:44:03 +03:00
height: 84px;
2021-11-30 16:00:58 +02:00
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #c4c4c4;
background-color: #ffffff;
2023-12-20 19:44:03 +03:00
font-size: 1.5em;
padding: 2px 8px;
2021-11-30 16:00:58 +02:00
outline: none;
2023-02-17 15:19:49 +03:00
@media (max-width: 610px) {
max-width: 460px;
width: 100%;
}
2021-11-30 16:00:58 +02:00
}
}
&__tasks,
&__troubles,
&__scheduled {
2023-12-20 19:44:03 +03:00
margin-top: 10px;
2021-11-30 16:00:58 +02:00
display: flex;
align-items: center;
span {
color: #18586e;
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2023-12-20 19:44:03 +03:00
font-size: 1.9em;
2021-11-30 16:00:58 +02:00
font-weight: 500;
}
img {
width: 6px;
height: 6px;
margin-left: 12px;
margin-right: 12px;
}
}
&__footer {
display: flex;
2023-12-04 21:08:15 +03:00
flex-direction: column-reverse;
2021-11-30 16:00:58 +02:00
align-items: center;
&-btn {
width: 166px;
height: 62px;
box-shadow: 6px 5px 20px rgba(82, 151, 34, 0.21);
border-radius: 31px;
background-color: #ffffff;
background-image: linear-gradient(to top, #6aaf5c 0%, #52b709 100%),
linear-gradient(
36deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.16) 47%,
rgba(255, 255, 255, 0.17) 50%,
rgba(255, 255, 255, 0) 100%
);
color: #ffffff;
2023-05-25 16:42:37 +03:00
font-family: "Muller";
2021-11-30 16:00:58 +02:00
font-size: 1.6em;
letter-spacing: normal;
text-align: center;
border: none;
}
&-text {
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2021-11-30 16:00:58 +02:00
font-size: 1.9em;
font-style: normal;
letter-spacing: normal;
line-height: 22.38px;
2023-12-04 21:08:15 +03:00
margin-bottom: 20px;
2021-11-30 16:00:58 +02:00
span {
2023-12-04 21:08:15 +03:00
font-weight: 600;
2021-11-30 16:00:58 +02:00
}
}
2022-10-19 15:41:11 +03:00
&-done {
margin-bottom: 0;
font-size: 18px;
color: green;
font-weight: 500;
margin-left: 20px;
}
2023-01-24 19:11:24 +03:00
.errorText {
color: #bf3c3c;
font-weight: 600;
}
2021-11-30 16:00:58 +02:00
}
&__form {
position: relative;
display: flex;
justify-content: space-between;
2023-12-19 17:31:27 +03:00
margin-bottom: 14px;
2021-11-30 16:00:58 +02:00
span {
2023-05-25 16:42:37 +03:00
font-family: "GT Eesti Pro Display";
2021-11-30 16:00:58 +02:00
font-size: 2em;
font-weight: 700;
text-align: left;
position: absolute;
left: 0;
bottom: 7px;
}
img {
margin-top: 5px;
width: 23px;
height: 23px;
}
}
2023-02-07 15:11:11 +03:00
.datePicker {
visibility: hidden;
height: 0;
padding: 0;
width: 0;
position: absolute;
}
.react-datepicker {
border: 1px solid #398208;
}
.react-datepicker-popper {
top: -15px !important;
}
.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: -15px !important;
&:before {
border-bottom-color: #398208 !important;
}
}
2021-11-30 16:00:58 +02:00
}
@media (max-width: 575.98px) {
.report-form {
&__task {
&-input {
&--description {
max-width: 460px;
}
&--hours {
max-width: 141px;
}
}
}
}
}