From afcfa04e30af048c63d12bdbe3e281582a917b91 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 26 Sep 2014 21:18:45 +0200 Subject: oscar template: improve style for check and uncheck of engines --- searx/static/oscar/css/oscar.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'searx/static') 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; +} -- cgit v1.2.3