guild_front/src/pages/ViewReport/viewReport.scss

458 lines
7.7 KiB
SCSS

.view-report {
background: #f1f1f1;
display: flex;
flex-direction: column;
min-height: 100vh;
.summary__skill {
color: #6f6f6f;
font-size: 14px;
font-weight: 300;
display: flex;
flex-direction: row;
align-items: center;
column-gap: 10px;
div {
font-size: 12px;
font-weight: 400;
border: #8dc63f 0.5px solid;
border-radius: 44px;
padding: 3px 20px;
}
}
.container {
max-width: 1160px;
display: flex;
flex-direction: column;
flex: 1;
margin-top: 23px;
@media (max-width: 570px) {
margin-top: 0;
}
}
&__content {
background-color: #ffffff;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
&__info {
display: flex;
flex-direction: column;
margin-top: 23px;
}
&__title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
color: #000000;
span {
color: #52b709;
}
@media (max-width: 500px) {
font-size: 18px;
}
}
&__back {
display: flex;
align-items: center;
column-gap: 30px;
margin-top: 20px;
cursor: pointer;
&:hover {
text-decoration: none;
}
p {
margin-bottom: 0;
font-weight: 400;
font-size: 14px;
line-height: 32px;
color: #000000;
text-decoration: none;
}
}
&__bar {
display: flex;
margin-top: 20px;
background: #ffffff;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
padding: 55px;
align-items: center;
column-gap: 20px;
height: 72px;
justify-content: space-between;
button {
color: #000000;
font-size: 15px;
font-weight: 500;
line-height: 32px;
padding: 8px 24px;
}
&__edit {
color: #000000;
font-size: 15px;
font-weight: 500;
line-height: 32px;
padding: 8px 24px;
background: #e1fccf;
border-radius: 44px;
border: none;
&:hover {
color: #000000;
}
}
&__delete {
color: #000000;
font-size: 15px;
font-weight: 500;
line-height: 32px;
padding: 8px 24px;
background: whitesmoke;
border-radius: 44px;
border: none;
}
.disable {
pointer-events: none;
opacity: 0.5;
}
.loader {
max-width: 150px;
}
}
h3 {
margin-bottom: 0;
}
p {
margin-bottom: 0;
}
&__switch-date {
display: flex;
column-gap: 30px;
align-items: center;
padding: 20px 20px 20px 30px;
border-bottom: #eeeeee 1px solid;
@media (max-width: 500px) {
column-gap: 0;
justify-content: space-between;
}
p {
font-weight: 500;
font-size: 22px;
color: #2e3a59;
}
.switch-date {
width: 20px;
height: 47px;
background-color: #e5f1fb;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
img {
margin-left: 3px;
}
}
&__prev {
transform: rotate(180deg);
}
}
.disable {
pointer-events: none;
opacity: 0.3;
}
.loader {
&:hover {
path {
fill: #ffffff;
}
}
}
.table__container {
margin: 0 -28px;
overflow: hidden;
position: relative;
@media (max-width: 1205px) {
margin: 0;
}
}
&__done {
width: 100%;
border-collapse: separate;
border-spacing: 28px 0;
h2 {
color: #1458dd;
font-size: 20px;
font-weight: 500;
padding: 35px;
}
&-task {
display: grid;
grid-template-columns: 40% 15% 30%;
align-items: center;
font-size: 15px;
font-weight: 500;
color: #111112;
justify-content: space-evenly;
margin: 0 0 20px 0;
div {
background-color: #f4f7ff;
height: 61px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
padding: 10px 20px;
}
}
@media (max-width: 1205px) {
display: grid;
border-collapse: collapse;
thead {
display: grid;
tr {
display: grid;
grid-template-columns: 74% calc(26% - 28px);
column-gap: 28px;
}
}
tbody {
display: grid;
tr {
display: grid;
grid-template-columns: 74% calc(26% - 28px);
column-gap: 28px;
}
}
}
@media (max-width: 900px) {
thead {
tr {
th {
padding: 15px;
}
}
}
tbody {
tr {
td {
padding: 15px;
display: flex;
justify-content: space-between;
}
}
}
}
@media (max-width: 650px) {
tr {
grid-template-columns: 74% calc(26% - 10px) !important;
column-gap: 10px !important;
}
}
th {
padding: 32px 40px;
background: white;
border-radius: 12px 12px 0 0;
font-weight: 500;
font-size: 22px;
line-height: 32px;
color: #000000;
@media (max-width: 650px) {
font-size: 16px;
line-height: 20px;
}
}
td {
padding: 15px 40px;
background: white;
p {
font-weight: 400;
font-size: 15px;
line-height: 20px;
max-width: 755px;
color: #000000;
@media (max-width: 465px) {
text-align: center;
line-height: 14px;
}
}
}
tr:last-child {
td {
border-radius: 0 0 12px 12px;
}
td:last-child {
font-weight: 500;
font-size: 17px;
line-height: 32px;
color: #000000;
@media (max-width: 750px) {
font-size: 14px;
line-height: 20px;
}
@media (max-width: 575px) {
text-align: center;
}
}
}
&__hours {
width: 25%;
background: #ffffff;
border-radius: 12px;
padding: 32px 40px 18px;
display: flex;
flex-direction: column;
row-gap: 30px;
h3 {
font-weight: 500;
font-size: 22px;
line-height: 32px;
color: #000000;
}
&__item {
span {
font-weight: 700;
font-size: 20px;
color: #000000;
margin: 5px;
}
p {
font-weight: 400;
font-size: 15px;
color: #6f6f6f;
}
}
&__total {
font-weight: 500;
font-size: 17px;
line-height: 32px;
}
}
&-total-hours {
color: #000000;
font-size: 20px;
font-weight: 500;
margin: 35px 0 0 30px;
span {
font-weight: 400;
font-size: 15px;
color: #6f6f6f;
}
}
}
&__addition {
display: grid;
grid-template-columns: 55% 45%;
column-gap: 15px;
padding: 35px;
&-item {
display: flex;
flex-direction: column;
row-gap: 10px;
background-color: #f4f7ff;
border-radius: 10px;
padding: 15px;
h3 {
color: #1458dd;
font-weight: 500;
font-size: 20px;
@media (max-width: 650px) {
font-size: 16px;
}
}
p {
font-weight: 400;
font-size: 15px;
@media (max-width: 650px) {
font-size: 13px;
}
}
}
}
&__no-task {
padding: 25px 10px;
background: #ffffff;
border-radius: 12px;
text-align: center;
p {
font-weight: 400;
font-size: 22px;
line-height: 32px;
color: #000000;
@media (max-width: 500px) {
font-size: 18px;
}
span {
color: #8bcc60;
font-weight: 500;
}
}
}
}