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

View File

@@ -218,7 +218,17 @@ function Layout({ children }: LayoutProps) {
<footer className="footer"> <footer className="footer">
<div className="container footer-content"> <div className="container footer-content">
<div className="footer-brand"> <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-logo">Orchard</span>
<span className="footer-separator">·</span>
<span className="footer-tagline">Content-Addressable Storage</span> <span className="footer-tagline">Content-Addressable Storage</span>
</div> </div>
<div className="footer-links"> <div className="footer-links">

View File

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

View File

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

View File

@@ -29,12 +29,12 @@
.team-slug { .team-slug {
font-size: 0.875rem; font-size: 0.875rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
.team-description { .team-description {
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--color-text-secondary); color: var(--text-secondary);
font-size: 0.9375rem; font-size: 0.9375rem;
max-width: 600px; max-width: 600px;
} }
@@ -63,12 +63,12 @@
/* Table utility classes */ /* Table utility classes */
.text-muted { .text-muted {
color: var(--color-text-muted); color: var(--text-muted);
} }
.btn-ghost { .btn-ghost {
background: transparent; background: transparent;
color: var(--color-text-muted); color: var(--text-muted);
border: none; border: none;
padding: 0.375rem; padding: 0.375rem;
cursor: pointer; cursor: pointer;
@@ -76,8 +76,8 @@
} }
.btn-ghost:hover { .btn-ghost:hover {
background: var(--color-bg-tertiary); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
} }
.section-footer { .section-footer {
@@ -87,7 +87,7 @@
.view-all-link { .view-all-link {
font-size: 0.875rem; font-size: 0.875rem;
color: var(--color-primary); color: var(--accent-primary);
text-decoration: none; text-decoration: none;
} }
@@ -108,16 +108,16 @@
.error-state p { .error-state p {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
.empty-state { .empty-state {
text-align: center; text-align: center;
padding: 2rem; padding: 2rem;
background: var(--color-bg-secondary); background: var(--bg-secondary);
border: 1px dashed var(--color-border); border: 1px dashed var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
color: var(--color-text-muted); color: var(--text-muted);
} }
.empty-state p { .empty-state p {
@@ -150,29 +150,29 @@
} }
.btn-primary { .btn-primary {
background: var(--color-primary); background: var(--accent-primary);
color: white; color: white;
} }
.btn-primary:hover { .btn-primary:hover {
background: var(--color-primary-hover); background: var(--accent-primary-hover);
} }
.btn-secondary { .btn-secondary {
background: var(--color-bg-secondary); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
} }
.btn-secondary:hover { .btn-secondary:hover {
background: var(--color-bg-tertiary); background: var(--bg-hover);
} }
/* Modal */ /* Modal */
.modal-overlay { .modal-overlay {
position: fixed; position: fixed;
inset: 0; inset: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.7);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -181,19 +181,21 @@
} }
.modal-content { .modal-content {
background: #ffffff; background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
padding: 1.5rem; padding: 1.5rem;
width: 100%; width: 100%;
max-width: 480px; max-width: 480px;
max-height: 90vh; max-height: 90vh;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-lg);
overflow-y: auto; overflow-y: auto;
} }
.modal-content h2 { .modal-content h2 {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
font-size: 1.25rem; font-size: 1.25rem;
color: var(--text-primary);
} }
/* Form */ /* Form */
@@ -206,24 +208,25 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-weight: 500; font-weight: 500;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--text-primary);
} }
.form-group input[type="text"], .form-group input[type="text"],
.form-group textarea { .form-group textarea {
width: 100%; width: 100%;
padding: 0.625rem 0.75rem; padding: 0.625rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
background: var(--color-bg); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
font-size: 0.875rem; font-size: 0.875rem;
} }
.form-group input:focus, .form-group input:focus,
.form-group textarea:focus { .form-group textarea:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
box-shadow: 0 0 0 3px var(--color-primary-alpha); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
} }
.form-group textarea { .form-group textarea {
@@ -246,7 +249,7 @@
.form-hint { .form-hint {
display: block; display: block;
font-size: 0.8125rem; font-size: 0.8125rem;
color: var(--color-text-muted); color: var(--text-muted);
margin-top: 0.375rem; margin-top: 0.375rem;
} }

View File

@@ -1,6 +1,7 @@
.team-members { .team-members {
padding: 1.5rem 0; padding: 1.5rem 0;
max-width: 800px; max-width: 800px;
margin: 0 auto;
} }
.page-header { .page-header {
@@ -27,7 +28,7 @@
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 50%; border-radius: 50%;
background: var(--color-primary); background: var(--accent-primary);
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -53,34 +54,34 @@
.you-badge { .you-badge {
font-size: 0.75rem; font-size: 0.75rem;
font-weight: normal; font-weight: normal;
color: var(--color-text-muted); color: var(--text-muted);
} }
.member-email { .member-email {
font-size: 0.8125rem; font-size: 0.8125rem;
color: var(--color-text-muted); color: var(--text-muted);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.text-muted { .text-muted {
color: var(--color-text-muted); color: var(--text-muted);
} }
.role-select { .role-select {
padding: 0.375rem 0.75rem; padding: 0.375rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
font-size: 0.875rem; font-size: 0.875rem;
background: var(--color-bg); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
cursor: pointer; cursor: pointer;
} }
.role-select:focus { .role-select:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
} }
/* Messages */ /* Messages */
@@ -90,10 +91,10 @@
justify-content: space-between; justify-content: space-between;
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
background: var(--color-error-bg, #fef2f2); background: var(--error-bg);
border: 1px solid var(--color-error-border, #fecaca); border: 1px solid var(--error);
border-radius: var(--radius-md); border-radius: var(--radius-md);
color: var(--color-error, #dc2626); color: var(--error);
font-size: 0.875rem; font-size: 0.875rem;
} }
@@ -120,7 +121,7 @@
.error-state p { .error-state p {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
/* Modal */ /* Modal */
@@ -130,7 +131,7 @@
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.7);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -139,17 +140,19 @@
} }
.modal-content { .modal-content {
background: #ffffff; background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
padding: 1.5rem; padding: 1.5rem;
width: 100%; width: 100%;
max-width: 400px; max-width: 400px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-lg);
} }
.modal-content h2 { .modal-content h2 {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
font-size: 1.25rem; font-size: 1.25rem;
color: var(--text-primary);
} }
/* Form */ /* Form */
@@ -162,24 +165,25 @@
margin-bottom: 0.375rem; margin-bottom: 0.375rem;
font-weight: 500; font-weight: 500;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--text-primary);
} }
.form-group input, .form-group input,
.form-group select { .form-group select {
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
font-size: 0.9375rem; font-size: 0.9375rem;
background: var(--color-bg); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
} }
.form-group input:focus, .form-group input:focus,
.form-group select:focus { .form-group select:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
box-shadow: 0 0 0 2px var(--color-primary-bg); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
} }
.form-actions { .form-actions {
@@ -210,22 +214,22 @@
} }
.btn-primary { .btn-primary {
background: var(--color-primary); background: var(--accent-primary);
color: white; color: white;
} }
.btn-primary:hover:not(:disabled) { .btn-primary:hover:not(:disabled) {
background: var(--color-primary-hover); background: var(--accent-primary-hover);
} }
.btn-secondary { .btn-secondary {
background: var(--color-bg-secondary); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
} }
.btn-secondary:hover:not(:disabled) { .btn-secondary:hover:not(:disabled) {
background: var(--color-bg-tertiary); background: var(--bg-hover);
} }
.btn-icon { .btn-icon {
@@ -234,10 +238,10 @@
.btn-danger-ghost { .btn-danger-ghost {
background: transparent; background: transparent;
color: var(--color-text-muted); color: var(--text-muted);
} }
.btn-danger-ghost:hover:not(:disabled) { .btn-danger-ghost:hover:not(:disabled) {
background: var(--color-error-bg, #fef2f2); background: var(--error-bg);
color: var(--color-error, #dc2626); color: var(--error);
} }

View File

@@ -1,6 +1,7 @@
.team-settings { .team-settings {
padding: 1.5rem 0; padding: 1.5rem 0;
max-width: 640px; max-width: 640px;
margin: 0 auto;
} }
.team-settings h1 { .team-settings h1 {
@@ -13,8 +14,8 @@
} }
.form-section { .form-section {
background: var(--color-bg-secondary); background: var(--bg-secondary);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
padding: 1.5rem; padding: 1.5rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
@@ -23,6 +24,7 @@
.form-section h2 { .form-section h2 {
margin: 0 0 1rem; margin: 0 0 1rem;
font-size: 1.125rem; font-size: 1.125rem;
color: var(--text-primary);
} }
.form-group { .form-group {
@@ -34,29 +36,30 @@
margin-bottom: 0.375rem; margin-bottom: 0.375rem;
font-weight: 500; font-weight: 500;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--text-primary);
} }
.form-group input, .form-group input,
.form-group textarea { .form-group textarea {
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
font-size: 0.9375rem; font-size: 0.9375rem;
background: var(--color-bg); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
} }
.form-group input:focus, .form-group input:focus,
.form-group textarea:focus { .form-group textarea:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
box-shadow: 0 0 0 2px var(--color-primary-bg); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
} }
.input-disabled { .input-disabled {
background: var(--color-bg-tertiary) !important; background: var(--bg-elevated) !important;
color: var(--color-text-muted) !important; color: var(--text-muted) !important;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -64,23 +67,23 @@
display: block; display: block;
margin-top: 0.25rem; margin-top: 0.25rem;
font-size: 0.8125rem; font-size: 0.8125rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
/* Danger zone */ /* Danger zone */
.danger-zone { .danger-zone {
border-color: var(--color-error-border, #fecaca); border-color: var(--error);
background: var(--color-error-bg, #fef2f2); background: var(--error-bg);
} }
.danger-zone h2 { .danger-zone h2 {
color: var(--color-error, #dc2626); color: var(--error);
} }
.danger-warning { .danger-warning {
margin: 0 0 1rem; margin: 0 0 1rem;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--color-text-secondary); color: var(--text-secondary);
} }
/* Messages */ /* Messages */
@@ -90,10 +93,10 @@
justify-content: space-between; justify-content: space-between;
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
background: var(--color-error-bg, #fef2f2); background: var(--error-bg);
border: 1px solid var(--color-error-border, #fecaca); border: 1px solid var(--error);
border-radius: var(--radius-md); border-radius: var(--radius-md);
color: var(--color-error, #dc2626); color: var(--error);
font-size: 0.875rem; font-size: 0.875rem;
} }
@@ -110,10 +113,10 @@
.success-message { .success-message {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
background: var(--color-success-bg, #f0fdf4); background: var(--success-bg);
border: 1px solid var(--color-success-border, #86efac); border: 1px solid var(--success);
border-radius: var(--radius-md); border-radius: var(--radius-md);
color: var(--color-success, #16a34a); color: var(--success);
font-size: 0.875rem; font-size: 0.875rem;
} }
@@ -130,7 +133,7 @@
.error-state p { .error-state p {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
/* Modal */ /* Modal */
@@ -140,7 +143,7 @@
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.7);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -149,33 +152,36 @@
} }
.modal-content { .modal-content {
background: #ffffff; background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
padding: 1.5rem; padding: 1.5rem;
width: 100%; width: 100%;
max-width: 400px; max-width: 400px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-lg);
} }
.modal-content h2 { .modal-content h2 {
margin: 0 0 1rem; margin: 0 0 1rem;
font-size: 1.25rem; font-size: 1.25rem;
color: var(--color-error, #dc2626); color: var(--error);
} }
.modal-content p { .modal-content p {
margin: 0 0 1rem; margin: 0 0 1rem;
font-size: 0.9375rem; font-size: 0.9375rem;
color: var(--color-text-secondary); color: var(--text-secondary);
} }
.delete-confirm-input { .delete-confirm-input {
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
font-size: 0.9375rem; font-size: 0.9375rem;
margin-bottom: 1rem; margin-bottom: 1rem;
background: var(--bg-tertiary);
color: var(--text-primary);
} }
.form-actions { .form-actions {
@@ -205,26 +211,26 @@
} }
.btn-primary { .btn-primary {
background: var(--color-primary); background: var(--accent-primary);
color: white; color: white;
} }
.btn-primary:hover:not(:disabled) { .btn-primary:hover:not(:disabled) {
background: var(--color-primary-hover); background: var(--accent-primary-hover);
} }
.btn-secondary { .btn-secondary {
background: var(--color-bg-secondary); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
} }
.btn-secondary:hover:not(:disabled) { .btn-secondary:hover:not(:disabled) {
background: var(--color-bg-tertiary); background: var(--bg-hover);
} }
.btn-danger { .btn-danger {
background: var(--color-error, #dc2626); background: var(--error);
color: white; color: white;
} }

View File

@@ -30,28 +30,28 @@
left: 0.875rem; left: 0.875rem;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
color: var(--color-text-muted); color: var(--text-muted);
pointer-events: none; pointer-events: none;
} }
.teams-search__input { .teams-search__input {
width: 100%; width: 100%;
padding: 0.625rem 2.5rem 0.625rem 2.75rem; padding: 0.625rem 2.5rem 0.625rem 2.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
background: var(--color-bg); background: var(--bg-primary);
color: var(--color-text); color: var(--text-primary);
font-size: 0.875rem; font-size: 0.875rem;
} }
.teams-search__input:focus { .teams-search__input:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
box-shadow: 0 0 0 3px var(--color-primary-alpha, rgba(59, 130, 246, 0.1)); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
} }
.teams-search__input::placeholder { .teams-search__input::placeholder {
color: var(--color-text-muted); color: var(--text-muted);
} }
.teams-search__clear { .teams-search__clear {
@@ -63,7 +63,7 @@
border: none; border: none;
padding: 0.375rem; padding: 0.375rem;
cursor: pointer; cursor: pointer;
color: var(--color-text-muted); color: var(--text-muted);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -71,8 +71,8 @@
} }
.teams-search__clear:hover { .teams-search__clear:hover {
color: var(--color-text); color: var(--text-primary);
background: var(--color-bg-secondary); background: var(--bg-secondary);
} }
/* Error */ /* Error */
@@ -82,10 +82,10 @@
justify-content: space-between; justify-content: space-between;
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
background: var(--color-error-bg, #fef2f2); background: var(--error-bg);
border: 1px solid var(--color-error-border, #fecaca); border: 1px solid var(--error);
border-radius: var(--radius-md); border-radius: var(--radius-md);
color: var(--color-error, #dc2626); color: var(--error);
font-size: 0.875rem; font-size: 0.875rem;
} }
@@ -106,14 +106,14 @@
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
padding: 4rem 2rem; padding: 4rem 2rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
.teams-loading__spinner { .teams-loading__spinner {
width: 32px; width: 32px;
height: 32px; height: 32px;
border: 3px solid var(--color-border); border: 3px solid var(--border-primary);
border-top-color: var(--color-primary); border-top-color: var(--accent-primary);
border-radius: 50%; border-radius: 50%;
animation: teams-spin 0.8s linear infinite; animation: teams-spin 0.8s linear infinite;
} }
@@ -126,13 +126,13 @@
.teams-empty-state { .teams-empty-state {
text-align: center; text-align: center;
padding: 4rem 2rem; padding: 4rem 2rem;
background: var(--color-bg-secondary); background: var(--bg-secondary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
} }
.teams-empty-icon { .teams-empty-icon {
color: var(--color-text-muted); color: var(--text-muted);
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@@ -143,7 +143,7 @@
.teams-empty-state p { .teams-empty-state p {
margin: 0 0 1.5rem; margin: 0 0 1.5rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
/* Table cell styles */ /* Table cell styles */
@@ -156,21 +156,21 @@
.team-name-link { .team-name-link {
font-weight: 500; font-weight: 500;
color: var(--color-text); color: var(--text-primary);
text-decoration: none; text-decoration: none;
} }
.team-name-link:hover { .team-name-link:hover {
color: var(--color-primary); color: var(--accent-primary);
} }
.team-slug { .team-slug {
font-size: 0.8125rem; font-size: 0.8125rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
.team-description-cell { .team-description-cell {
color: var(--color-text-secondary); color: var(--text-secondary);
max-width: 300px; max-width: 300px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -178,7 +178,7 @@
} }
.text-muted { .text-muted {
color: var(--color-text-muted); color: var(--text-muted);
} }
/* Modal */ /* Modal */
@@ -188,7 +188,7 @@
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.7);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -197,11 +197,12 @@
} }
.modal-content { .modal-content {
background: #ffffff; background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
width: 100%; width: 100%;
max-width: 480px; max-width: 480px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-lg);
overflow: hidden; overflow: hidden;
} }
@@ -210,13 +211,14 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 1.25rem 1.5rem; padding: 1.25rem 1.5rem;
border-bottom: 1px solid var(--color-border); border-bottom: 1px solid var(--border-primary);
} }
.modal-header h2 { .modal-header h2 {
margin: 0; margin: 0;
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: var(--text-primary);
} }
.modal-close { .modal-close {
@@ -224,14 +226,14 @@
border: none; border: none;
padding: 0.25rem; padding: 0.25rem;
cursor: pointer; cursor: pointer;
color: var(--color-text-muted); color: var(--text-muted);
display: flex; display: flex;
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
} }
.modal-close:hover { .modal-close:hover {
color: var(--color-text); color: var(--text-primary);
background: var(--color-bg-secondary); background: var(--bg-hover);
} }
.modal-content form { .modal-content form {
@@ -248,29 +250,30 @@
margin-bottom: 0.375rem; margin-bottom: 0.375rem;
font-weight: 500; font-weight: 500;
font-size: 0.875rem; font-size: 0.875rem;
color: var(--text-primary);
} }
.form-group .optional { .form-group .optional {
font-weight: 400; font-weight: 400;
color: var(--color-text-muted); color: var(--text-muted);
} }
.form-group input, .form-group input,
.form-group textarea { .form-group textarea {
width: 100%; width: 100%;
padding: 0.625rem 0.75rem; padding: 0.625rem 0.75rem;
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-radius: var(--radius-md); border-radius: var(--radius-md);
font-size: 0.875rem; font-size: 0.875rem;
background: var(--color-bg); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
} }
.form-group input:focus, .form-group input:focus,
.form-group textarea:focus { .form-group textarea:focus {
outline: none; outline: none;
border-color: var(--color-primary); border-color: var(--accent-primary);
box-shadow: 0 0 0 3px var(--color-primary-alpha, rgba(59, 130, 246, 0.1)); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
} }
.input-with-prefix { .input-with-prefix {
@@ -282,11 +285,11 @@
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 0.75rem; padding: 0 0.75rem;
background: var(--color-bg-secondary); background: var(--bg-elevated);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
border-right: none; border-right: none;
border-radius: var(--radius-md) 0 0 var(--radius-md); border-radius: var(--radius-md) 0 0 var(--radius-md);
color: var(--color-text-muted); color: var(--text-muted);
font-size: 0.875rem; font-size: 0.875rem;
} }
@@ -298,7 +301,7 @@
display: block; display: block;
margin-top: 0.25rem; margin-top: 0.25rem;
font-size: 0.75rem; font-size: 0.75rem;
color: var(--color-text-muted); color: var(--text-muted);
} }
.form-actions { .form-actions {
@@ -307,7 +310,7 @@
gap: 0.75rem; gap: 0.75rem;
margin-top: 1.5rem; margin-top: 1.5rem;
padding-top: 1rem; padding-top: 1rem;
border-top: 1px solid var(--color-border); border-top: 1px solid var(--border-primary);
} }
/* Buttons */ /* Buttons */
@@ -330,22 +333,22 @@
} }
.btn-primary { .btn-primary {
background: var(--color-primary); background: var(--accent-primary);
color: white; color: white;
} }
.btn-primary:hover:not(:disabled) { .btn-primary:hover:not(:disabled) {
background: var(--color-primary-hover); background: var(--accent-primary-hover);
} }
.btn-secondary { .btn-secondary {
background: var(--color-bg-secondary); background: var(--bg-tertiary);
color: var(--color-text); color: var(--text-primary);
border: 1px solid var(--color-border); border: 1px solid var(--border-primary);
} }
.btn-secondary:hover:not(:disabled) { .btn-secondary:hover:not(:disabled) {
background: var(--color-bg-tertiary); background: var(--bg-hover);
} }
/* Responsive */ /* Responsive */