mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
Merge pull request #96 from duckietm/Dev
🆙 Better view for avatar objects in the editor
This commit is contained in:
@@ -84,7 +84,7 @@ export const AvatarEditorFigureSetItemView: FC<{
|
|||||||
<img
|
<img
|
||||||
src={ assetUrl }
|
src={ assetUrl }
|
||||||
alt=""
|
alt=""
|
||||||
className="absolute inset-0 m-auto max-w-full max-h-full pointer-events-none image-rendering-pixelated"
|
className="max-w-full max-h-full pointer-events-none image-rendering-pixelated"
|
||||||
draggable={ false }
|
draggable={ false }
|
||||||
/> }
|
/> }
|
||||||
{ !partItem.isClear && isHC && <LayoutCurrencyIcon className="absolute inset-e-1 bottom-1" type="hc" /> }
|
{ !partItem.isClear && isHC && <LayoutCurrencyIcon className="absolute inset-e-1 bottom-1" type="hc" /> }
|
||||||
|
|||||||
+5
-5
@@ -1819,23 +1819,23 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.avatar-parts {
|
.avatar-parts {
|
||||||
border: none !important;
|
border: 1px solid #c5c3c0 !important;
|
||||||
position: relative;
|
position: relative;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 42px;
|
max-width: 42px;
|
||||||
border-radius: 2rem !important;
|
border-radius: 0.3rem !important;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
background-color: transparent;
|
background-color: #e9e8e4;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0 0 0 3px #dbdad5 !important;
|
box-shadow: inset 0 0 0 3px #dbdad5 !important;
|
||||||
background-color: #cecdc8 !important;
|
background-color: #cecdc8 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active,
|
&:active,
|
||||||
&.part-selected {
|
&.part-selected {
|
||||||
box-shadow: 0 0 0 3px #c5c3c0 !important;
|
box-shadow: inset 0 0 0 3px #c5c3c0 !important;
|
||||||
background-color: #b1b1b1 !important;
|
background-color: #b1b1b1 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user