From 5eb609d0b2ea3e31cdb7ec507e1fc87ee6c93817 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Mon, 30 Sep 2024 11:57:12 -0600 Subject: [PATCH] Hide line below search bar in dark themes The results return an empty div with a background color set (not sure why, not generated on Whoogle's side). This unsets the background color so that at least it isn't visible. --- app/models/g_classes.py | 1 + app/static/css/dark-theme.css | 4 ++++ app/static/css/light-theme.css | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/app/models/g_classes.py b/app/models/g_classes.py index 414e236..34cb770 100644 --- a/app/models/g_classes.py +++ b/app/models/g_classes.py @@ -15,6 +15,7 @@ class GClasses: result_class_a = 'ZINbbc' result_class_b = 'luh4td' scroller_class = 'idg8be' + line_tag = 'BsXmcf' result_classes = { result_class_a: ['Gx5Zad'], diff --git a/app/static/css/dark-theme.css b/app/static/css/dark-theme.css index 758cef1..eb2af70 100644 --- a/app/static/css/dark-theme.css +++ b/app/static/css/dark-theme.css @@ -70,6 +70,10 @@ select { border-radius: 8px !important; } +.BsXmcf { + background-color: unset !important; +} + .KP7LCb { box-shadow: 0 0 0 0 !important; } diff --git a/app/static/css/light-theme.css b/app/static/css/light-theme.css index 83c1226..55868c9 100644 --- a/app/static/css/light-theme.css +++ b/app/static/css/light-theme.css @@ -45,6 +45,10 @@ select { box-shadow: 0 1px 6px rgba(32,33,36,0.28) !important; } +.BsXmcf { + background-color: unset !important; +} + .BVG0Nb { background-color: var(--whoogle-result-bg) !important; }