106 lines
1.6 KiB
CSS
106 lines
1.6 KiB
CSS
.container {
|
|
width: 100%;
|
|
position: relative;
|
|
padding: 10px;
|
|
}
|
|
|
|
.tableWrapper {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
padding: 8px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.table thead tr {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.table th {
|
|
padding: 16px 20px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
opacity: 0.7;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.row {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.row:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.table td {
|
|
padding: 14px 20px;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 220px;
|
|
}
|
|
|
|
.avatarCell {
|
|
width: 52px;
|
|
padding: 10px 16px !important;
|
|
}
|
|
|
|
.avatar {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.actionCell {
|
|
width: 60px;
|
|
text-align: right;
|
|
}
|
|
|
|
.viewBtn {
|
|
font-size: 0.85rem;
|
|
opacity: 0.6;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.row:hover .viewBtn {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.container {
|
|
padding: 6px;
|
|
}
|
|
|
|
.table th:nth-child(4),
|
|
.table td:nth-child(4),
|
|
.table th:nth-child(5),
|
|
.table td:nth-child(5) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.container {
|
|
padding: 20px;
|
|
}
|
|
|
|
.tableWrapper {
|
|
padding: 0 5em;
|
|
}
|
|
}
|