🎨 style du toggle

pull/510/head
Johan Girod 2019-04-03 16:45:11 +02:00
parent 54ac96c8e6
commit b226ed15c0
1 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
transition: all 0.2s;
}
.ui__.toggle input[type='radio']:checked ~ *::before {
border: 4px solid white;
border: 2px solid white;
background: var(--colour);
}
.ui__.toggle input[type='radio']:focus ~ .radioText {
@ -55,8 +55,8 @@
}
.ui__.toggle input[type='radio']:checked ~ * {
background: var(--colour);
box-shadow: 0 0 0 3rem var(--colour);
background: var(--lightColour);
box-shadow: 0 0 0 3rem var(--lightColour);
color: white;
}