kgroad-frontend2/src/widgets/tables/ProfileTable/ProfileTable.scss
2024-03-18 16:33:57 +06:00

138 lines
2.5 KiB
SCSS

.profile-table {
display: flex;
flex-direction: column;
gap: 30px;
&__wrapper {
overflow: hidden;
overflow-x: auto;
&::-webkit-scrollbar {
display: none;
}
}
table {
width: 100%;
thead {
padding: 0 40px;
width: 100%;
height: 68px;
display: flex;
align-items: center;
background-color: rgb(244, 244, 244);
tr {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 160px 271px 300px 164px 100px;
justify-content: space-between;
td {
display: flex;
align-items: center;
height: 100%;
background-color: rgb(244, 244, 244);
}
td,
button {
font-size: 16px;
font-weight: 400;
line-height: 18px;
color: rgb(102, 112, 133);
}
button {
display: flex;
align-items: center;
}
}
}
tbody {
display: flex;
flex-direction: column;
tr {
padding: 0 40px;
height: 80px;
display: grid;
grid-template-columns: 160px 271px 300px 164px 100px;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgb(241, 244, 249);
td {
font-size: 18px;
font-weight: 500;
line-height: 20px;
}
#my-report-date {
color: rgb(102, 112, 133);
}
#my-report-location {
a {
display: flex;
font-size: 20px;
color: rgb(72, 159, 225);
}
}
#my-report-status {
font-size: 20px;
}
#my-report-reviews {
color: rgb(72, 159, 225);
}
#my-report-likes {
color: rgb(74, 192, 63);
}
}
}
}
&__message {
font-size: 18px;
font-weight: 500;
line-height: 22px;
color: rgb(102, 102, 102);
}
#my-reports-link {
display: none;
padding: 10px;
border-radius: 8px;
background-color: rgb(57, 152, 232);
font-size: 16px;
font-weight: 800;
line-height: 19px;
color: rgb(255, 255, 255);
}
}
.no-reports-in-profile {
border: 1px solid rgb(197, 198, 197);
border-radius: 10px;
width: 100%;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
}
@media screen and (max-width: 550px) {
.profile-table {
a {
display: flex;
align-self: center;
}
}
}