v0.0.48 - Fix: heat bar text color readable on all backgrounds (grey-on-grey fix)
This commit is contained in:
+2
-2
@@ -11,9 +11,9 @@
|
||||
#ifndef SOVEREIGN_BROWSER_VERSION_H
|
||||
#define SOVEREIGN_BROWSER_VERSION_H
|
||||
|
||||
#define SB_VERSION "v0.0.47"
|
||||
#define SB_VERSION "v0.0.48"
|
||||
#define SB_VERSION_MAJOR 0
|
||||
#define SB_VERSION_MINOR 0
|
||||
#define SB_VERSION_PATCH 47
|
||||
#define SB_VERSION_PATCH 48
|
||||
|
||||
#endif /* SOVEREIGN_BROWSER_VERSION_H */
|
||||
|
||||
+4
-3
@@ -76,20 +76,21 @@ code { font-family: var(--font); background: var(--border); padding: 1px 4px; bo
|
||||
}
|
||||
|
||||
/* Heat bar for CPU columns. A colored background behind the numeric
|
||||
* value: green < 10%, yellow < 50%, red >= 50%. */
|
||||
* value: green < 10%, yellow < 50%, red >= 50%. Text is always
|
||||
* readable: white on colored backgrounds, fg on the cold (idle)
|
||||
* background. */
|
||||
.heat {
|
||||
display: inline-block;
|
||||
min-width: 48px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
text-align: right;
|
||||
color: var(--bg);
|
||||
font-weight: bold;
|
||||
}
|
||||
.heat.cool { background: #4caf50; color: #fff; }
|
||||
.heat.warm { background: #ff9800; color: #fff; }
|
||||
.heat.hot { background: #f44336; color: #fff; }
|
||||
.heat.cold { background: var(--border); color: var(--muted); }
|
||||
.heat.cold { background: var(--border); color: var(--fg); }
|
||||
|
||||
/* Renderer row: clickable to expand hosted tabs. */
|
||||
.renderer-row { cursor: pointer; }
|
||||
|
||||
Reference in New Issue
Block a user