Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Editor/UIResources/uss/VFXIconBadge.uss
2024-08-26 23:07:20 +03:00

55 lines
1022 B
Plaintext

#BadgesHolder
{
top: -3px;
right: -30px;
flex-direction: column;
position: absolute;
}
VFXOperatorUI.superCollapsed #BadgesHolder
{
top: 6px;
}
VFXContextUI > #BadgesHolder {
top: 32px;
}
VFXBlockUI.collapsed > #BadgesHolder > VFXIconBadge {
position: absolute;
right: 0px;
}
VFXIconBadge {
margin-bottom: 0px;
width: 24px;
height: 24px;
flex-direction: row;
}
VFXIconBadge #tip {
align-self: center;
scale: 1 -1;
width: 9px;
height: 7px;
rotate: 90deg;
margin-left: -9px;
background-image : resource("GraphView/Badge/CommentTip.png");
}
VFXIconBadge.badge-error #tip {
-unity-background-image-tint-color: #b10c0c;
}
VFXIconBadge.badge-perf #tip, VFXIconBadge.badge-warning #tip {
-unity-background-image-tint-color: #ffc107;
}
VFXIconBadge.badge-error {
background-image : resource("console.erroricon@2x");
}
VFXIconBadge.badge-perf, VFXIconBadge.badge-warning {
background-image : resource("console.warnicon@2x");
}