diff --git a/VERSION b/VERSION
index 50f402a..85ab4c6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.49
+0.0.50
diff --git a/src/version.h b/src/version.h
index 83e5088..3212d05 100644
--- a/src/version.h
+++ b/src/version.h
@@ -11,9 +11,9 @@
#ifndef SOVEREIGN_BROWSER_VERSION_H
#define SOVEREIGN_BROWSER_VERSION_H
-#define SB_VERSION "v0.0.49"
+#define SB_VERSION "v0.0.50"
#define SB_VERSION_MAJOR 0
#define SB_VERSION_MINOR 0
-#define SB_VERSION_PATCH 49
+#define SB_VERSION_PATCH 50
#endif /* SOVEREIGN_BROWSER_VERSION_H */
diff --git a/www/processes.css b/www/processes.css
index a7ca61f..9350aed 100644
--- a/www/processes.css
+++ b/www/processes.css
@@ -75,15 +75,13 @@ code { font-family: var(--font); background: var(--border); padding: 1px 4px; bo
text-overflow: ellipsis;
}
-/* CPU values: plain text, no shaded background. Color indicates
- * severity: green < 10%, yellow < 50%, red >= 50%, fg for idle. */
+/* CPU values: plain text, no shaded background. Red only for >= 90%,
+ * otherwise the default foreground color. */
.heat {
font-weight: bold;
+ color: var(--fg);
}
-.heat.cool { color: #4caf50; }
-.heat.warm { color: #ff9800; }
-.heat.hot { color: #f44336; }
-.heat.cold { color: var(--fg); }
+.heat.hot { color: var(--accent); }
/* Renderer row: clickable to expand hosted tabs. */
.renderer-row { cursor: pointer; }
diff --git a/www/processes.js b/www/processes.js
index 6312703..3c2c383 100644
--- a/www/processes.js
+++ b/www/processes.js
@@ -63,14 +63,13 @@ function fmtUptime(sec) {
}
function heatClass(pct) {
- if (pct == null || pct <= 0) return 'cold';
- if (pct < 10) return 'cool';
- if (pct < 50) return 'warm';
- return 'hot';
+ if (pct == null) return '';
+ if (pct >= 90) return 'hot';
+ return '';
}
function heatHtml(pct) {
- if (pct == null) return '—';
+ if (pct == null) return '—';
return '' +
pct.toFixed(1) + '';
}
@@ -144,8 +143,7 @@ function renderProcTable() {
var tabsCount = (p.hosted_tabs || []).length;
var tabsCell;
if (isRenderer) {
- tabsCell = '' + tabsCount + '';
+ tabsCell = String(tabsCount);
} else {
tabsCell = '—';
}
@@ -272,7 +270,7 @@ function renderTabsTable() {
esc(t.title || '(untitled)') + '' +
(t.is_internal ? ' (internal)' : '') +
'
' + esc(t.url) + '' +
- '