Files
zeling_v2/Packages/com.opsive.graphdesigner/Editor/Styles/NodeStyles.uss
2026-05-08 11:04:00 +08:00

119 lines
1.7 KiB
Plaintext

LogicNode
{
max-width: 250px;
}
EventNode
{
max-width: 250px;
}
#selection-container
{
align-self: stretch;
flex-grow: 1;
border-width: 1px 1px 1px 1px;
border-radius: 4px 4px 4px 4px;
}
.hover
{
border-color: rgba(68, 192, 255, 0.5);
}
.selected
{
border-color: rgba(68, 192, 255, 0.9);
}
#node-container
{
align-self: stretch;
flex-grow: 1;
border-width: 1px 1px 1px 1px;
border-radius: 3px 3px 3px 3px;
}
.tree-node-container
{
padding-top: 8px;
padding-bottom: 8px;
}
#title-container
{
flex-grow: 1;
justify-content: center;
align-items: center;
}
.graph-logic-title-container
{
border-bottom-color: rgba(26, 26, 26, 1);
border-bottom-width: 1px;
margin-top: 2px;
padding-bottom: 2px;
background-color: rgba(0, 0, 0, 0.2);
}
.graph-event-title-container
{
margin-top: 4px;
}
#title-label
{
font-size: 14px;
padding-left: 2px;
padding-right: 2px;
overflow: hidden;
}
#node-contents
{
padding: 3px 3px 2px 3px;
}
#icon
{
width: 42px;
height: 42px;
margin-bottom: 4px;
}
#small-icon
{
width: 30px;
height: 30px;
}
CommentElement
{
padding: 4px 4px 4px 4px;
border-width: 1px 1px 1px 1px;
border-radius: 4px 4px 4px 4px;
border-color: rgba(0, 0, 0, 1);
max-width: 200px;
align-items: center;
overflow: hidden;
-unity-text-align: upper-center;
}
.comment-element-dark
{
background-color: rgba(30, 30, 30, 0.7);
}
.comment-element-light
{
background-color: rgba(196, 196, 196, 0.7);
}
#node-error-indicator
{
position: absolute;
top: -8px;
right: -8px;
background-color: rgba(0, 0, 0, 0);
border-color: rgba(0, 0, 0, 0);
}