summaryrefslogtreecommitdiff
path: root/themes/night.css
diff options
context:
space:
mode:
authorMichael Kuhn <[email protected]>2022-01-05 20:42:21 +0100
committerMichael Kuhn <[email protected]>2022-01-05 20:42:21 +0100
commit1ff52bff8120ac9ca98ee1a9f919ae063fd7e82b (patch)
treedb208db47fa6a9f7a2f7a1101ddef36c68f463c8 /themes/night.css
parent97baf3e8b9be699d972b91a159ccbe0891efe8ae (diff)
themes: Fix incorrect blur and opacity interaction
Chrome sometimes seems to have problems when using a blur backdrop-filter in combination with opacity. On Linux, this often results in the blur being completely ignored. This also seems to apply to other systems, though. See the following issue for more details: https://bugs.chromium.org/p/chromium/issues/detail?id=1129838 Making the background opaque using rgba seems to fix the problem.
Diffstat (limited to 'themes/night.css')
-rw-r--r--themes/night.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/night.css b/themes/night.css
index 24288e149..447ca6f7f 100644
--- a/themes/night.css
+++ b/themes/night.css
@@ -1476,8 +1476,7 @@ body.ttrss_utility hr {
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
border: 0 solid #222;
border-bottom-width: 1px;
- background: #333 ! important;
- opacity: 0.9;
+ background: rgba(51, 51, 51, 0.9) ! important;
backdrop-filter: blur(6px);
}
body.ttrss_prefs {