Highlight label text when checked

This commit is contained in:
Hannu Lyytikainen 2018-02-12 15:09:04 +02:00
parent ed9b84cdec
commit 73e9a28357

View file

@ -22,9 +22,10 @@
display: inline;
}
/* Hightlight the text on hover and focus */
/* Hightlight the text on checked, hover and focus */
&:focus + label .text,
&:hover + label .text {
&:hover + label .text,
&:checked + label .text {
color: var(--matterColorDark);
}
}