diff --git a/searx/static/oscar/css/oscar.css b/searx/static/oscar/css/oscar.css index 6ca390679..4ff475e89 100644 --- a/searx/static/oscar/css/oscar.css +++ b/searx/static/oscar/css/oscar.css @@ -17,3 +17,11 @@ body { /* Set the fixed height of the footer here */ height: 40px; } + +input[type=checkbox]:checked ~ .label_hide_if_checked { + display:none; +} + +input[type=checkbox]:not(:checked) ~ .label_hide_if_not_checked { + display:none; +} diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index d0bbbc820..38f874e51 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -97,9 +97,9 @@