From 576cdae5270b12b36b8a522ce37fac26d46dbde9 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 5 Jan 2022 20:30:42 +0100 Subject: add radio buttons to custom parameters --- templates/registration/base_client.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates') diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html index cfb6024..362238c 100644 --- a/templates/registration/base_client.html +++ b/templates/registration/base_client.html @@ -31,6 +31,14 @@ background-color: {{hexcolor}} !important; } + [type="radio"]:checked + span::after, [type="radio"].with-gap:checked + span::before, [type="radio"].with-gap:checked + span::after { + border: 2px solid {{hexcolor}}; + } + + [type="radio"]:checked + span::after, [type="radio"].with-gap:checked + span::after { + background-color: {{hexcolor}}; + } + .switch label input[type="checkbox"]:checked + .lever { background-color: {{hexlightcolor}}; } -- cgit v1.2.1