2020-09-28 17:47:53 -04:00
|
|
|
/* --- ICONS --- */
|
|
|
|
.icon {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
.hidden-text {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.icon .bubble {
|
|
|
|
background-color: #FF1654;
|
|
|
|
color: white;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: -0.65rem;
|
|
|
|
right: -0.5rem;
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- TOGGLES --- */
|
|
|
|
input.toggle-control {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-09-28 21:25:05 -04:00
|
|
|
.hidden {
|
2020-09-28 17:47:53 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.toggle-control:checked ~ .toggle-content {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-09-28 18:57:31 -04:00
|
|
|
|
|
|
|
/* --- STARS --- */
|
|
|
|
.rate-stars button.icon {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.rate-stars:hover .icon:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.rate-stars form:hover ~ form .icon:before{
|
|
|
|
content: '\e9d7';
|
|
|
|
}
|
2020-09-29 00:08:42 -04:00
|
|
|
|
2020-09-29 14:00:54 -04:00
|
|
|
/* stars in a review form */
|
|
|
|
.form-rate-stars:hover .icon:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.form-rate-stars input + .icon:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.form-rate-stars input:checked + .icon:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.form-rate-stars input:checked + * ~ .icon:before {
|
|
|
|
content: '\e9d7';
|
|
|
|
}
|
|
|
|
.form-rate-stars:hover label.icon:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.form-rate-stars label.icon:hover:before {
|
|
|
|
content: '\e9d9';
|
|
|
|
}
|
|
|
|
.form-rate-stars label.icon:hover ~ label.icon:before{
|
|
|
|
content: '\e9d7';
|
|
|
|
}
|
|
|
|
|
2020-09-29 00:08:42 -04:00
|
|
|
|
|
|
|
/* --- BOOK COVERS --- */
|
2020-09-29 16:11:52 -04:00
|
|
|
.cover-container {
|
|
|
|
height: 250px;
|
|
|
|
}
|
2020-09-29 00:08:42 -04:00
|
|
|
.book-cover {
|
2020-09-29 16:11:52 -04:00
|
|
|
height: 100%
|
|
|
|
object-fit: scale-down;
|
2020-09-29 00:08:42 -04:00
|
|
|
}
|
|
|
|
.no-cover {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.no-cover div {
|
|
|
|
position: absolute;
|
|
|
|
padding: 1em;
|
|
|
|
color: white;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.no-cover .title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- AVATAR --- */
|
|
|
|
.avatar {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline;
|
|
|
|
}
|