This commit is contained in:
Tizian.Breuch
2025-10-24 14:35:07 +02:00
parent 1ec7ac6ccc
commit fd68b47414
16 changed files with 961 additions and 511 deletions

View File

@@ -0,0 +1,99 @@
/* /src/app/shared/components/table/generic-table/generic-table.component.css */
:host {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.table-container {
overflow-x: auto;
flex-grow: 1;
min-width: 0;
}
.modern-table {
width: 100%;
border-collapse: collapse;
white-space: nowrap;
}
.modern-table thead th {
padding: 0.75rem 1.5rem;
color: var(--color-text-light);
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
text-align: left;
border-bottom: 2px solid var(--color-border);
}
.modern-table tbody tr {
transition: background-color var(--transition-speed);
border-bottom: 1px solid var(--color-border);
}
.modern-table tbody tr:last-of-type {
border-bottom: none;
}
.modern-table tbody tr:hover {
background-color: var(--color-body-bg-hover);
}
.modern-table tbody td {
padding: 1rem 1.5rem;
vertical-align: middle;
}
/* Spezifische Zell-Stile */
.user-cell {
display: flex;
align-items: center;
gap: 1rem;
}
.user-cell img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}
.user-name {
font-weight: 600;
color: var(--color-text);
}
.user-email {
font-size: 0.9rem;
color: var(--color-text-light);
}
.amount {
font-weight: 600;
}
.mono {
font-family: "Courier New", Courier, monospace;
}
/* Verwendet die von dir definierte Klasse für die rechten Aktionen */
.actions-cell {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
/* Hilfsklasse für rechtsbündigen Text */
.text-right {
text-align: right;
}
.no-data-cell {
text-align: center;
padding: 2rem;
color: var(--color-text-light);
}