summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/less
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:48:50 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:48:50 +0100
commit5bfaabeb6bb50844fd7389770eb5c8a64e63f13e (patch)
treeec45932ffb7ca7e3d746d94795e029a9e9bd4a20 /searx/static/themes/oscar/less
parent410dbc573bbb873a447710e122faefd11075b6df (diff)
[enh] add nojs support into oscar-template
Diffstat (limited to 'searx/static/themes/oscar/less')
-rw-r--r--searx/static/themes/oscar/less/oscar/checkbox.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/static/themes/oscar/less/oscar/checkbox.less b/searx/static/themes/oscar/less/oscar/checkbox.less
index 712e53d49..6428b36ed 100644
--- a/searx/static/themes/oscar/less/oscar/checkbox.less
+++ b/searx/static/themes/oscar/less/oscar/checkbox.less
@@ -1,9 +1,9 @@
// Hide element if checkbox is checked
-input[type=checkbox]:checked ~ .label_hide_if_checked {
+input[type=checkbox]:checked + .label_hide_if_checked, input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
display:none;
}
// Hide element if checkbox is not checked
-input[type=checkbox]:not(:checked) ~ .label_hide_if_not_checked {
+input[type=checkbox]:not(:checked) + .label_hide_if_not_checked, input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
display:none;
}