mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-26 17:09:09 +00:00
Attempt CSS linting fix
This commit is contained in:
parent
85dc0544c7
commit
f9074a2bc6
@ -82,33 +82,33 @@ main {
|
||||
border-color: red;
|
||||
}
|
||||
|
||||
.hidden,
|
||||
.hidden,
|
||||
.rating:not(:checked) > input { /* Hide radio circles while star rating */
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Unchecked stars */
|
||||
.rating:not(:checked) > label {
|
||||
/* Make stars line up sideways and not vertically */
|
||||
float:right;
|
||||
float: right;
|
||||
|
||||
/* Hide label text */
|
||||
width:1em;
|
||||
overflow:hidden;
|
||||
white-space:nowrap;
|
||||
width: 1em;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
font-size:200%;
|
||||
line-height:1.2;
|
||||
color:#b3b3cc;
|
||||
font-size: 200%;
|
||||
line-height: 1.2;
|
||||
color: #b3b3cc;
|
||||
}
|
||||
|
||||
.rating:not(:checked) > label:before {
|
||||
content:'★';
|
||||
content: "★";
|
||||
}
|
||||
|
||||
/* Checked star color */
|
||||
.rating > input:checked ~ label {
|
||||
color: #FFBF00;
|
||||
color: #ffbf00;
|
||||
}
|
||||
|
||||
.rating:not(:checked) > label:hover,
|
||||
@ -116,6 +116,10 @@ display: none;
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
.rating > label:active {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.rating > input:checked + label:hover,
|
||||
.rating > input:checked + label:hover ~ label,
|
||||
.rating > input:checked ~ label:hover,
|
||||
@ -123,7 +127,3 @@ display: none;
|
||||
.rating > label:hover ~ input:checked ~ label {
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
.rating > label:active {
|
||||
position:relative;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user