@hugo-lml/hr-net-table
Version:
Custom Table from HRnet OC project
72 lines • 1.4 kB
CSS
/* src/CustomTable.css */
.custom-table-wrapper {
font-family: sans-serif;
margin: 1rem 0;
}
.custom-table-filter {
display: flex;
justify-content: space-between;
align-items: center;
}
.custom-table-filter select,
.custom-table-filter input {
padding: 4px 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
.custom-table-filter label {
margin-right: 0.5rem;
}
.custom-table-filter select {
margin: 0 0.625rem;
}
.custom-table {
width: 100%;
border-collapse: collapse;
border: 1px solid #ccc;
margin-top: 1rem;
}
.custom-table th,
.custom-table td {
padding: 8px 16px;
border-bottom: 1px solid #ccc;
}
.custom-table th {
background-color: #f3f3f3;
text-align: left;
cursor: pointer;
}
.custom-table th div {
display: flex;
justify-content: space-between;
align-items: center;
}
.custom-table tr:hover {
background-color: #f9f9f9;
}
.custom-table-sort-icon {
margin-left: 0.5rem;
color: #999;
}
.custom-table-sort-active {
color: #007bff;
}
.custom-table-pagination {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 1rem;
}
.custom-table-pagination button {
margin-left: 0.5rem;
padding: 4px 12px;
border: none;
border-radius: 4px;
background-color: #e0e0e0;
cursor: pointer;
}
.custom-table-pagination button:disabled {
opacity: 0.5;
cursor: default;
}
/*# sourceMappingURL=index.css.map */