Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Add ldr- prefix to remaining CSS and JS classes

LearningCircuit5b6d0f180f21
diff --git a/src/local_deep_research/web/static/css/subscriptions.css b/src/local_deep_research/web/static/css/subscriptions.css
index 3ba949a222..d87b3b39b2 100644
--- a/src/local_deep_research/web/static/css/subscriptions.css
+++ b/src/local_deep_research/web/static/css/subscriptions.css
@@ -125,11 +125,11 @@
box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}
-.ldr-status-indicator.inactive {
+.ldr-status-indicator.ldr-inactive {
background: #f44336;
}
-.ldr-status-indicator.checking {
+.ldr-status-indicator.ldr-checking {
background: #ff9800;
animation: pulse 1.5s infinite;
}
@@ -158,7 +158,7 @@
}
/* Folders Sidebar */
-.folders-sidebar {
+.ldr-folders-sidebar {
width: 250px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
@@ -167,7 +167,7 @@
height: fit-content;
}
-.folders-sidebar h3 {
+.ldr-folders-sidebar h3 {
margin: 0 0 15px 0;
font-size: 1.1rem;
color: var(--text-primary);
@@ -335,13 +335,13 @@
padding: 15px;
}
-.query-text {
+.ldr-query-text {
color: var(--text-secondary);
margin-bottom: 15px;
font-style: italic;
}
-.subscription-meta {
+.ldr-subscription-meta {
display: flex;
gap: 10px;
margin-bottom: 15px;
@@ -350,18 +350,18 @@
.ldr-status-badge,
.ldr-frequency-badge,
-.folder-badge {
+.ldr-folder-badge {
padding: 4px 10px;
border-radius: 4px;
font-size: 0.85rem;
}
-.ldr-status-badge.status-active {
+.ldr-status-badge.ldr-status-active {
background: #d4edda;
color: #155724;
}
-.ldr-status-badge.status-paused {
+.ldr-status-badge.ldr-status-paused {
background: #f8d7da;
color: #721c24;
}
@@ -371,7 +371,7 @@
color: #383d41;
}
-.folder-badge {
+.ldr-folder-badge {
background: #d1ecf1;
color: #0c5460;
}
@@ -392,36 +392,36 @@
margin-right: 5px;
}
-.source-link {
+.ldr-source-link {
color: #2c5aa0;
text-decoration: none;
}
-.source-link:hover {
+.ldr-source-link:hover {
text-decoration: underline;
}
-.last-updated,
-.next-update {
+.ldr-last-updated,
+.ldr-next-update {
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 5px;
}
-.last-updated i,
-.next-update i {
+.ldr-last-updated i,
+.ldr-next-update i {
margin-right: 5px;
}
/* History Modal Styles */
-.history-summary {
+.ldr-history-summary {
background: var(--bg-tertiary);
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
}
-.history-summary p {
+.ldr-history-summary p {
margin: 5px 0;
}
@@ -459,7 +459,7 @@
color: #2c5aa0;
}
-.history-date {
+.ldr-history-date {
font-size: 0.85rem;
color: var(--text-secondary);
}
@@ -469,12 +469,12 @@
gap: 10px;
}
-.duration {
+.ldr-duration {
font-size: 0.85rem;
color: var(--text-secondary);
}
-.topics-list {
+.ldr-topics-list {
display: flex;
gap: 5px;
margin-top: 5px;
@@ -526,7 +526,7 @@
flex-direction: column;
}
- .folders-sidebar {
+ .ldr-folders-sidebar {
width: 100%;
margin-bottom: 20px;
}
diff --git a/src/local_deep_research/web/static/js/components/detail.js b/src/local_deep_research/web/static/js/components/detail.js
index d8f2efe282..65743a42d1 100644
--- a/src/local_deep_research/web/static/js/components/detail.js
+++ b/src/local_deep_research/web/static/js/components/detail.js
@@ -171,7 +171,7 @@
if (statusElement) {
statusElement.textContent = data.status || 'N/A';
- statusElement.className = 'metadata-value status-' + (data.status || 'unknown').toLowerCase();
+ statusElement.className = 'ldr-metadata-value ldr-status-' + (data.status || 'unknown').toLowerCase();
}
if (modeElement) {
@@ -603,7 +603,7 @@
Object.keys(phaseStats).forEach(phase => {
const stats = phaseStats[phase];
const item = document.createElement('div');
- item.className = 'phase-stat-item';
+ item.className = 'ldr-phase-stat-item';
item.innerHTML = `
<div class="phase-name">${phase}</div>
<div class="phase-tokens">${formatNumber(stats.tokens)} tokens</div>
diff --git a/src/local_deep_research/web/static/js/pages/subscriptions.js b/src/local_deep_research/web/static/js/pages/subscriptions.js
index a97aef9366..2cc46d0861 100644
--- a/src/local_deep_research/web/static/js/pages/subscriptions.js
+++ b/src/local_deep_research/web/static/js/pages/subscriptions.js
@@ -539,7 +539,7 @@ function renderFolders() {
const folderList = document.querySelector('.ldr-folder-list');
// Remove existing dynamic folders first
- document.querySelectorAll('.folder-item[data-folder]:not([data-folder="all"]):not([data-folder="uncategorized"])').forEach(el => el.remove());
+ document.querySelectorAll('.ldr-folder-item[data-folder]:not([data-folder="all"]):not([data-folder="uncategorized"])').forEach(el => el.remove());
const dynamicFolders = folders.map(folder => `
<div class="folder-item" data-folder="${folder.id}">
@@ -656,7 +656,7 @@ async function checkSchedulerStatus() {
const toggleButton = document.getElementById('toggle-scheduler');
// Set checking state
- statusIndicator.className = 'status-indicator checking';
+ statusIndicator.className = 'ldr-status-indicator ldr-checking';
statusText.textContent = 'Checking...';
try {
@@ -668,11 +668,11 @@ async function checkSchedulerStatus() {
if (data.is_running) {
// Check if user is tracked
if (data.active_users && data.active_users > 0) {
- statusIndicator.className = 'status-indicator active';
+ statusIndicator.className = 'ldr-status-indicator active';
statusText.textContent = 'Active';
schedulerDetails.textContent = `${data.active_users} active users, ${data.scheduled_jobs || 0} scheduled jobs`;
} else {
- statusIndicator.className = 'status-indicator inactive';
+ statusIndicator.className = 'ldr-status-indicator ldr-inactive';
statusText.textContent = 'Not Tracking Your Session';
schedulerDetails.innerHTML = 'Log out and log back in to activate automatic scheduling. <a href="#" onclick="showSchedulerInfo(); return false;">Learn more</a>';
}
@@ -680,7 +680,7 @@ async function checkSchedulerStatus() {
// Update button state
toggleButton.style.display = 'none';
} else {
- statusIndicator.className = 'status-indicator inactive';
+ statusIndicator.className = 'ldr-status-indicator ldr-inactive';
statusText.textContent = 'Stopped';
schedulerDetails.textContent = 'Auto-refresh is disabled';
@@ -690,7 +690,7 @@ async function checkSchedulerStatus() {
toggleButton.onclick = () => startScheduler();
}
} else {
- statusIndicator.className = 'status-indicator inactive';
+ statusIndicator.className = 'ldr-status-indicator ldr-inactive';
statusText.textContent = 'Not Available';
schedulerDetails.textContent = 'Install APScheduler: pip install apscheduler';
toggleButton.style.display = 'none';
@@ -700,7 +700,7 @@ async function checkSchedulerStatus() {
}
} catch (error) {
console.error('Error checking scheduler status:', error);
- statusIndicator.className = 'status-indicator inactive';
+ statusIndicator.className = 'ldr-status-indicator ldr-inactive';
statusText.textContent = 'Error';
schedulerDetails.textContent = 'Unable to check scheduler status';
toggleButton.style.display = 'none';