Fix dark mode bulk toolbar, light mode timeline, and activity tab visibility

- Changed bulk-actions-toolbar dark mode background from #1a1a00 to #2d3748
- Fixed timeline-content light mode background from #1a202c to #f8f9fa
- Added activity-tab to showTab() function to properly hide/show all tabs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-06 22:38:46 -05:00
parent 46468eef99
commit eda40a150b
3 changed files with 12 additions and 7 deletions

View File

@@ -727,9 +727,10 @@ th.sort-desc::after {
/* Dark mode bulk actions */ /* Dark mode bulk actions */
body.dark-mode .bulk-actions-toolbar { body.dark-mode .bulk-actions-toolbar {
--toolbar-bg: #1a1a00; --toolbar-bg: #2d3748;
--toolbar-border: #ffc107; --toolbar-border: #ffc107;
--text-primary: #f8f9fa; --text-primary: #f8f9fa;
background: #2d3748 !important;
} }
body.dark-mode .bulk-actions-info { body.dark-mode .bulk-actions-info {

View File

@@ -478,7 +478,7 @@ input:checked + .slider:before {
.timeline-content { .timeline-content {
flex: 1; flex: 1;
background: var(--card-bg, #1a202c); background: var(--card-bg, #f8f9fa);
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
border-radius: 8px; border-radius: 8px;
border: 1px solid var(--border-color, #ddd); border: 1px solid var(--border-color, #ddd);

View File

@@ -363,21 +363,25 @@ function showTab(tabName) {
// Hide all tab contents // Hide all tab contents
const descriptionTab = document.getElementById('description-tab'); const descriptionTab = document.getElementById('description-tab');
const commentsTab = document.getElementById('comments-tab'); const commentsTab = document.getElementById('comments-tab');
const activityTab = document.getElementById('activity-tab');
if (!descriptionTab || !commentsTab) { if (!descriptionTab || !commentsTab) {
console.error('Tab elements not found'); console.error('Tab elements not found');
return; return;
} }
// Hide both tabs // Hide all tabs
descriptionTab.style.display = 'none'; descriptionTab.style.display = 'none';
commentsTab.style.display = 'none'; commentsTab.style.display = 'none';
if (activityTab) {
activityTab.style.display = 'none';
}
// Remove active class from all buttons // Remove active class from all buttons
document.querySelectorAll('.tab-btn').forEach(btn => { document.querySelectorAll('.tab-btn').forEach(btn => {
btn.classList.remove('active'); btn.classList.remove('active');
}); });
// Show selected tab and activate its button // Show selected tab and activate its button
document.getElementById(`${tabName}-tab`).style.display = 'block'; document.getElementById(`${tabName}-tab`).style.display = 'block';
document.querySelector(`[onclick="showTab('${tabName}')"]`).classList.add('active'); document.querySelector(`[onclick="showTab('${tabName}')"]`).classList.add('active');