bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/meeting-ended/rating/styles.scss

62 lines
1.1 KiB
SCSS
Raw Normal View History

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;
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;
}
2018-05-09 00:30:00 +08:00
&:before {
content: '\e951';
}
&:hover,
&:hover ~ label {
color: var(--color-primary);
text-shadow: 0 0 3px var(--color-primary);
2018-05-09 00:30:00 +08:00
&:before {
content: '\e951';
}
}
}
}
> input:checked {
& ~ label {
&:before {
2018-06-13 03:53:17 +08:00
content: '\e952';
color: var(--color-primary);
2018-05-09 00:30:00 +08:00
}
}
}
> label:active {
position: relative;
top: 2px;
}
}
}