2018-05-09 00:30:00 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/_all";
|
|
|
|
|
|
|
|
.starRating {
|
|
|
|
font-family: 'bbb-icons' !important;
|
|
|
|
> fieldset {
|
|
|
|
border: none;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&:not(:checked) {
|
|
|
|
> input {
|
|
|
|
position: absolute;
|
|
|
|
top: -9999px;
|
|
|
|
clip: rect(0,0,0,0);
|
|
|
|
}
|
|
|
|
|
|
|
|
> label {
|
|
|
|
float: right;
|
|
|
|
width: 1em;
|
|
|
|
padding: 0 .05em;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
2018-05-10 22:14:56 +08:00
|
|
|
font-size: 2.5rem;
|
2018-05-09 00:30:00 +08:00
|
|
|
padding-left: .1rem;
|
|
|
|
color: black;
|
|
|
|
font-weight: 100;
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
font-size: 2rem;
|
|
|
|
};
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '\e951';
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:hover ~ label {
|
|
|
|
color: $color-primary;
|
|
|
|
text-shadow: 0 0 3px $color-primary;
|
|
|
|
&:before {
|
|
|
|
content: '\e951';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> input:checked {
|
|
|
|
& ~ label {
|
|
|
|
&:before {
|
|
|
|
content: '\e951';
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> label:active {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|