Improve table styling and make headers more horizontal

- Add visible column borders to teams and projects tables
- Make header 2px border for visual separation
- Consolidate teams page header: title + inline stats on left, create button on right
- Consolidate team dashboard header: title/badge/slug + description + inline stats on left, action buttons on right
This commit is contained in:
Mondo Diaz
2026-01-28 15:57:11 +00:00
parent aece9e0b9f
commit 000540727c
4 changed files with 112 additions and 139 deletions

View File

@@ -8,50 +8,40 @@
.teams-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 2rem;
align-items: center;
margin-bottom: 1.5rem;
gap: 1rem;
}
.teams-header__content {
display: flex;
align-items: center;
gap: 1.5rem;
}
.teams-header__content h1 {
margin: 0;
font-size: 1.75rem;
font-weight: 600;
}
.teams-header__subtitle {
margin: 0.25rem 0 0;
color: var(--color-text-muted);
font-size: 0.9375rem;
}
/* Stats */
.teams-stats {
display: flex;
gap: 2rem;
padding: 1rem 1.5rem;
background: var(--color-bg-secondary);
border-radius: var(--radius-lg);
margin-bottom: 1.5rem;
}
.teams-stat {
display: flex;
flex-direction: column;
align-items: center;
}
.teams-stat__value {
font-size: 1.5rem;
font-weight: 600;
color: var(--color-text);
}
.teams-stat__label {
font-size: 0.75rem;
.teams-header__stats {
display: flex;
align-items: center;
gap: 1rem;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
font-size: 0.875rem;
}
.teams-header__stats span {
display: flex;
align-items: center;
gap: 0.375rem;
}
.teams-header__stats .stat-value {
font-weight: 600;
color: var(--color-text);
}
/* Search */
@@ -203,18 +193,24 @@
letter-spacing: 0.05em;
color: var(--color-text-muted);
background: var(--color-bg-secondary);
border-bottom: 1px solid var(--color-border);
border-bottom: 2px solid var(--color-border);
border-right: 1px solid var(--color-border);
}
.teams-table th:last-child {
border-right: none;
}
.teams-table td {
padding: 0.75rem 1rem;
font-size: 0.875rem;
border-bottom: 1px solid var(--color-border);
border-right: 1px solid var(--color-border);
vertical-align: middle;
}
.teams-table tbody tr:last-child td {
border-bottom: none;
.teams-table td:last-child {
border-right: none;
}
.team-row {