summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/less/pointhi/checkbox.less
blob: 6428b36ed2fe7f81d7a0aba764a9d576fb9c31ae (plain)
1
2
3
4
5
6
7
8
9
// 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;
}