Update icons
This commit is contained in:
18 files changed
+273
-121
No files matched your search
@@ -74,7 +74,9 @@ export const ActorCard = ({
|
||||
/>
|
||||
)}
|
||||
<div className="card-image-icon-container">
|
||||
<MdiAccountTie className="card-image-icon" />
|
||||
<div className="material-symbols-rounded">
|
||||
person
|
||||
</div>
|
||||
</div>
|
||||
<img
|
||||
src={api.getItemImageUrl(
|
||||
|
||||
@@ -10,7 +10,7 @@ import LinearProgress from "@mui/material/LinearProgress";
|
||||
|
||||
import { Blurhash } from "react-blurhash";
|
||||
|
||||
import { TypeIconCollectionCard } from "../utils/iconsCollection";
|
||||
import { getTypeIcon } from "../utils/iconsCollection";
|
||||
import "./card.module.scss";
|
||||
import { MdiCheck } from "../icons/mdiCheck";
|
||||
|
||||
@@ -114,7 +114,9 @@ export const Card = ({
|
||||
: 0,
|
||||
}}
|
||||
>
|
||||
<MdiCheck />
|
||||
<div className="material-symbols-rounded">
|
||||
done
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className={`card-indicator text`}
|
||||
@@ -150,8 +152,8 @@ export const Card = ({
|
||||
)}
|
||||
<div className="card-image-icon-container">
|
||||
{overrideIcon
|
||||
? TypeIconCollectionCard[overrideIcon]
|
||||
: TypeIconCollectionCard[item.Type]}
|
||||
? getTypeIcon(overrideIcon)
|
||||
: getTypeIcon(item.Type)}
|
||||
</div>
|
||||
<img
|
||||
src={
|
||||
|
||||
@@ -32,21 +32,24 @@
|
||||
z-index: 0;
|
||||
}
|
||||
&-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 5.4em !important;
|
||||
fill: url(#clr-gradient-default) !important;
|
||||
color: transparent;
|
||||
&-container {
|
||||
background: $clr-gradient-dark;
|
||||
background: rgb(255 255 255 / 0.1);
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
.material-symbols-rounded {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
color: rgb(255 255 255 / 0.5);
|
||||
font-size: 4em !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-blurhash {
|
||||
|
||||
@@ -76,7 +76,9 @@ export const EpisodeCard = ({
|
||||
: 0,
|
||||
}}
|
||||
>
|
||||
<MdiCheck />
|
||||
<div className="material-symbols-rounded">
|
||||
done
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{!!imageBlurhash && (
|
||||
@@ -90,7 +92,9 @@ export const EpisodeCard = ({
|
||||
/>
|
||||
)}
|
||||
<div className="card-image-icon-container">
|
||||
<MdiTelevisionClassic className="card-image-icon" />
|
||||
<div className="material-symbols-rounded">
|
||||
tv_gen
|
||||
</div>
|
||||
</div>
|
||||
<img
|
||||
src={api.getItemImageUrl(
|
||||
|
||||
Reference in new issue
Block a user