Fix dark theme styling for team pages and add footer enhancements

- Update all team page CSS to use correct theme variables (--bg-*, --text-*,
  --border-*, --accent-* instead of non-existent --color-* variables)
- Fix modal, form input, and dropdown backgrounds for dark theme
- Fix UserAutocomplete and TeamSelector dropdown styling
- Center team members and settings page content
- Add orchard logo icon to footer
- Add dot separator between Orchard and tagline in footer
This commit is contained in:
Mondo Diaz
2026-01-28 16:49:50 +00:00
parent 1f5d3665c8
commit 9b79838cc3
8 changed files with 206 additions and 172 deletions

View File

@@ -284,7 +284,11 @@
.footer-brand {
display: flex;
align-items: center;
gap: 12px;
gap: 8px;
}
.footer-icon {
color: var(--accent-primary);
}
.footer-logo {
@@ -292,6 +296,10 @@
color: var(--text-primary);
}
.footer-separator {
color: var(--text-muted);
}
.footer-tagline {
color: var(--text-secondary);
font-size: 0.875rem;

View File

@@ -218,7 +218,17 @@ function Layout({ children }: LayoutProps) {
<footer className="footer">
<div className="container footer-content">
<div className="footer-brand">
<svg className="footer-icon" width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 14 Q6 8 3 8 Q6 4 6 4 Q6 4 9 8 Q6 8 6 14" fill="currentColor" opacity="0.6"/>
<rect x="5.25" y="13" width="1.5" height="4" fill="currentColor" opacity="0.6"/>
<path d="M12 12 Q12 5 8 5 Q12 1 12 1 Q12 1 16 5 Q12 5 12 12" fill="currentColor"/>
<rect x="11.25" y="11" width="1.5" height="5" fill="currentColor"/>
<path d="M18 14 Q18 8 15 8 Q18 4 18 4 Q18 4 21 8 Q18 8 18 14" fill="currentColor" opacity="0.6"/>
<rect x="17.25" y="13" width="1.5" height="4" fill="currentColor" opacity="0.6"/>
<ellipse cx="12" cy="19" rx="9" ry="1.5" fill="currentColor" opacity="0.3"/>
</svg>
<span className="footer-logo">Orchard</span>
<span className="footer-separator">·</span>
<span className="footer-tagline">Content-Addressable Storage</span>
</div>
<div className="footer-links">

View File

@@ -7,10 +7,10 @@
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
background: var(--color-bg-secondary);
border: 1px solid var(--color-border);
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
color: var(--color-text);
color: var(--text-primary);
font-size: 0.875rem;
cursor: pointer;
transition: all 0.15s ease;
@@ -18,8 +18,8 @@
}
.team-selector-trigger:hover:not(:disabled) {
background: var(--color-bg-tertiary);
border-color: var(--color-border-hover);
background: var(--bg-tertiary);
border-color: var(--border-secondary);
}
.team-selector-trigger:disabled {
@@ -51,8 +51,8 @@
right: 0;
min-width: 240px;
margin-top: 0.25rem;
background: var(--color-bg);
border: 1px solid var(--color-border);
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
z-index: 100;
@@ -62,7 +62,7 @@
.team-selector-empty {
padding: 1rem;
text-align: center;
color: var(--color-text-muted);
color: var(--text-muted);
}
.team-selector-empty p {
@@ -71,7 +71,7 @@
}
.team-selector-create-link {
color: var(--color-primary);
color: var(--accent-primary);
font-size: 0.875rem;
text-decoration: none;
}
@@ -96,7 +96,7 @@
padding: 0.5rem 0.75rem;
background: none;
border: none;
color: var(--color-text);
color: var(--text-primary);
font-size: 0.875rem;
cursor: pointer;
text-align: left;
@@ -104,11 +104,11 @@
}
.team-selector-item:hover {
background: var(--color-bg-secondary);
background: var(--bg-hover);
}
.team-selector-item.selected {
background: var(--color-primary-bg);
background: rgba(16, 185, 129, 0.1);
}
.team-selector-item-info {
@@ -127,7 +127,7 @@
.team-selector-item-meta {
display: block;
font-size: 0.75rem;
color: var(--color-text-muted);
color: var(--text-muted);
}
.team-selector-item-role {
@@ -140,24 +140,24 @@
display: flex;
justify-content: space-between;
padding: 0.5rem 0.75rem;
border-top: 1px solid var(--color-border);
background: var(--color-bg-secondary);
border-top: 1px solid var(--border-primary);
background: var(--bg-tertiary);
}
.team-selector-link {
font-size: 0.8125rem;
color: var(--color-text-muted);
color: var(--text-muted);
text-decoration: none;
}
.team-selector-link:hover {
color: var(--color-text);
color: var(--text-primary);
}
.team-selector-link-primary {
color: var(--color-primary);
color: var(--accent-primary);
}
.team-selector-link-primary:hover {
color: var(--color-primary-hover);
color: var(--accent-primary-hover);
}

View File

@@ -10,17 +10,17 @@
.user-autocomplete__input {
width: 100%;
padding: 0.625rem 2.5rem 0.625rem 0.75rem;
border: 1px solid var(--color-border);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
background: var(--color-bg);
color: var(--color-text);
background: var(--bg-tertiary);
color: var(--text-primary);
font-size: 0.875rem;
}
.user-autocomplete__input:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px var(--color-primary-alpha, rgba(59, 130, 246, 0.1));
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.user-autocomplete__spinner {
@@ -30,8 +30,8 @@
transform: translateY(-50%);
width: 16px;
height: 16px;
border: 2px solid var(--color-border);
border-top-color: var(--color-primary);
border: 2px solid var(--border-primary);
border-top-color: var(--accent-primary);
border-radius: 50%;
animation: spin 0.6s linear infinite;
}
@@ -47,10 +47,10 @@
right: 0;
margin-top: 4px;
padding: 0.25rem;
background: var(--color-bg);
border: 1px solid var(--color-border);
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
box-shadow: var(--shadow-lg);
z-index: 100;
max-height: 240px;
overflow-y: auto;
@@ -69,14 +69,14 @@
.user-autocomplete__option:hover,
.user-autocomplete__option.selected {
background: var(--color-bg-secondary);
background: var(--bg-hover);
}
.user-autocomplete__avatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--color-primary);
background: var(--accent-primary);
color: white;
display: flex;
align-items: center;
@@ -94,12 +94,12 @@
.user-autocomplete__username {
font-weight: 500;
color: var(--color-text);
color: var(--text-primary);
}
.user-autocomplete__admin-badge {
font-size: 0.6875rem;
color: var(--color-text-muted);
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.025em;
}