aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-05 20:30:42 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-05 20:30:54 +0100
commit576cdae5270b12b36b8a522ce37fac26d46dbde9 (patch)
treeb5fdd3d657c75510ff1faab35098650445ded4fb /templates/registration
parentforce user linked to midata to use midata login (diff)
downloadscout-subs-576cdae5270b12b36b8a522ce37fac26d46dbde9.tar.gz
scout-subs-576cdae5270b12b36b8a522ce37fac26d46dbde9.zip
add radio buttons to custom parameters
Diffstat (limited to 'templates/registration')
-rw-r--r--templates/registration/base_client.html8
1 files changed, 8 insertions, 0 deletions
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}};
}