Add support for favorite Studios (#4675)

* Backend changes
* Add favorite icon to studio cards
* Add favorite button to studio page
* Add studio favorite filtering
This commit is contained in:
WithoutPants
2024-03-14 11:17:44 +11:00
committed by GitHub
parent e5929389b4
commit 8c454582c7
25 changed files with 185 additions and 52 deletions

View File

@@ -5,3 +5,35 @@
max-width: 100%;
}
}
.studio-card {
button.btn.favorite-button {
padding: 0;
position: absolute;
right: 5px;
top: 10px;
svg.fa-icon {
margin-left: 0.4rem;
margin-right: 0.4rem;
}
}
&:hover button.btn.favorite-button.not-favorite {
opacity: 1;
}
}
#studio-page {
.studio-head {
.name-icons {
.not-favorite {
color: rgba(191, 204, 214, 0.5);
}
.favorite {
color: #ff7373;
}
}
}
}