Attempt CSS linting fix

This commit is contained in:
Sanjit Joseph 2022-11-17 12:31:51 -08:00
parent 85dc0544c7
commit f9074a2bc6

View File

@ -103,12 +103,12 @@ display: none;
} }
.rating:not(:checked) > label:before { .rating:not(:checked) > label:before {
content:'★'; content: "★";
} }
/* Checked star color */ /* Checked star color */
.rating > input:checked ~ label { .rating > input:checked ~ label {
color: #FFBF00; color: #ffbf00;
} }
.rating:not(:checked) > label:hover, .rating:not(:checked) > label:hover,
@ -116,6 +116,10 @@ display: none;
color: orangered; color: orangered;
} }
.rating > label:active {
position: relative;
}
.rating > input:checked + label:hover, .rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label, .rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover, .rating > input:checked ~ label:hover,
@ -123,7 +127,3 @@ display: none;
.rating > label:hover ~ input:checked ~ label { .rating > label:hover ~ input:checked ~ label {
color: orangered; color: orangered;
} }
.rating > label:active {
position:relative;
}