mirror of
https://github.com/searxng/searxng.git
synced 2024-11-06 05:10:11 +01:00
f496dc353d
The original code made by @logico-dev (#559)
10 lines
415 B
Plaintext
10 lines
415 B
Plaintext
// Hide element if checkbox is 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_checked + .label_hide_if_not_checked {
|
|
display:none;
|
|
}
|