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:
@@ -727,9 +727,10 @@ th.sort-desc::after {
|
||||
|
||||
/* Dark mode bulk actions */
|
||||
body.dark-mode .bulk-actions-toolbar {
|
||||
--toolbar-bg: #1a1a00;
|
||||
--toolbar-bg: #2d3748;
|
||||
--toolbar-border: #ffc107;
|
||||
--text-primary: #f8f9fa;
|
||||
background: #2d3748 !important;
|
||||
}
|
||||
|
||||
body.dark-mode .bulk-actions-info {
|
||||
|
||||
@@ -478,7 +478,7 @@ input:checked + .slider:before {
|
||||
|
||||
.timeline-content {
|
||||
flex: 1;
|
||||
background: var(--card-bg, #1a202c);
|
||||
background: var(--card-bg, #f8f9fa);
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
|
||||
@@ -363,21 +363,25 @@ function showTab(tabName) {
|
||||
// Hide all tab contents
|
||||
const descriptionTab = document.getElementById('description-tab');
|
||||
const commentsTab = document.getElementById('comments-tab');
|
||||
|
||||
const activityTab = document.getElementById('activity-tab');
|
||||
|
||||
if (!descriptionTab || !commentsTab) {
|
||||
console.error('Tab elements not found');
|
||||
return;
|
||||
}
|
||||
|
||||
// Hide both tabs
|
||||
|
||||
// Hide all tabs
|
||||
descriptionTab.style.display = 'none';
|
||||
commentsTab.style.display = 'none';
|
||||
|
||||
if (activityTab) {
|
||||
activityTab.style.display = 'none';
|
||||
}
|
||||
|
||||
// Remove active class from all buttons
|
||||
document.querySelectorAll('.tab-btn').forEach(btn => {
|
||||
btn.classList.remove('active');
|
||||
});
|
||||
|
||||
|
||||
// Show selected tab and activate its button
|
||||
document.getElementById(`${tabName}-tab`).style.display = 'block';
|
||||
document.querySelector(`[onclick="showTab('${tabName}')"]`).classList.add('active');
|
||||
|
||||
Reference in New Issue
Block a user