improved accessibility (#425)

This commit is contained in:
FezVrasta 2015-03-09 18:01:22 +01:00
parent c42cd9cf06
commit 33b164294e

View File

@ -57,16 +57,21 @@
opacity: 0.5; opacity: 0.5;
} }
input[type=radio] { display: none; } input[type=radio] {
input[type=radio]:checked ~ .check { opacity: 0;
height: 0;
width: 0;
overflow: hidden;
} }
input[type=radio]:checked ~ .check {
transform: scale(0.55); transform: scale(0.55);
} }
input[type=radio][disabled] ~ .circle { input[type=radio][disabled] ~ .circle {
border-color: @lightbg-text; border-color: @lightbg-text;
} }
input[type=radio][disabled] ~ .check { input[type=radio][disabled] ~ .check {
background-color: @lightbg-text; background-color: @lightbg-text;
} }
} }