Files
Frontend-Internal-Developer…/frontend/src/app/users/styles.module.css

85 lines
1.5 KiB
CSS

.tableContainer {
width: 100%;
height: calc(100vh - 170px);
position: relative;
overflow: auto;
}
/* Table */
.table {
width: 100%;
border-collapse: collapse;
}
/* Targets whole header */
.tableHeader {
background: #1c1d2b;
border-bottom: 1px solid #212235;
}
/* Targets individual header */
.tableHeader th {
align-items: center;
gap: 24px;
padding: 12px 24px;
text-align: left;
color: #85869b;
font-family: Inter;
font-size: var(--table-font-size);
font-style: normal;
flex: 1 0 0;
font-weight: 500;
line-height: normal;
}
.tableContainer th {
background-color: #1c1d2b;
top: 0;
position: sticky;
}
/* Targets individual body */
.tableBody td {
padding: 12px 24px;
color: #eeeffd;
font-family: Inter;
font-size: var(--table-font-size);
font-style: normal;
font-weight: 500;
line-height: normal;
}
.tableBody tr {
border-bottom: 1px solid rgba(129, 135, 255, 0);
cursor: pointer;
}
.tableBody tr:hover {
border-bottom: 1px solid rgba(129, 135, 255, 0.25);
background: rgba(129, 135, 255, 0.05);
}
.tableActions {
display: flex;
width: 100px;
justify-content: center;
align-items: center;
gap: 12px;
align-self: stretch;
}
.cardContainer {
display: none;
}
@media (max-width: 768px) {
.cardContainer {
display: flex;
padding: 0 16px;
padding-bottom: 50px;
height: calc(100vh - 170px);
flex-direction: column;
align-items: flex-start;
gap: 12px;
align-self: stretch;
overflow: auto;
}
.tableContainer {
display: none;
}
}