FossilRepo
| afe42d0… | ragelink | 1 | /* Hide warnings fields if usable password is selected */ |
| afe42d0… | ragelink | 2 | form:has(#id_usable_password input[value="true"]:checked) .messagelist { |
| afe42d0… | ragelink | 3 | display: none; |
| afe42d0… | ragelink | 4 | } |
| afe42d0… | ragelink | 5 | |
| afe42d0… | ragelink | 6 | /* Hide password fields if unusable password is selected */ |
| afe42d0… | ragelink | 7 | form:has(#id_usable_password input[value="false"]:checked) .field-password1, |
| afe42d0… | ragelink | 8 | form:has(#id_usable_password input[value="false"]:checked) .field-password2 { |
| afe42d0… | ragelink | 9 | display: none; |
| afe42d0… | ragelink | 10 | } |
| afe42d0… | ragelink | 11 | |
| afe42d0… | ragelink | 12 | /* Select appropriate submit button */ |
| afe42d0… | ragelink | 13 | form:has(#id_usable_password input[value="true"]:checked) input[type="submit"].unset-password { |
| afe42d0… | ragelink | 14 | display: none; |
| afe42d0… | ragelink | 15 | } |
| afe42d0… | ragelink | 16 | |
| afe42d0… | ragelink | 17 | form:has(#id_usable_password input[value="false"]:checked) input[type="submit"].set-password { |
| afe42d0… | ragelink | 18 | display: none; |
| afe42d0… | ragelink | 19 | } |