UnityGame/Library/PackageCache/com.unity.shadergraph/Editor/Resources/Styles/PropertyRow.uss

54 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
PropertyRow EnumField,
PropertyRow PopupField,
PropertyRow TextField,
PropertyRow Label,
PropertyRow Toggle,
PropertyRow IntegerField,
PropertyRow ColorField,
PropertyRow DoubleField {
margin-left: 0;
margin-right: 0;
-unity-text-align : middle-left;
}
PropertyRow > #container{
flex-grow: 1;
padding-left: 8px;
padding-right: 16px;
flex-direction: row;
}
PropertyRow > #container > #label {
flex-grow: 2;
flex-basis: 0;
min-width: 184px;
width: 92px;
font-size: 12px;
margin-right: 4px;
justify-content: center;
}
PropertyRow > #container > #label > Label {
margin-bottom: 3px;
flex-wrap: wrap;
text-overflow: ellipsis; /* Possible values: clip | ellipsis */
-unity-text-overflow-position: end; /* Possible values: start | middle | end */
/* Conditions */
overflow: hidden;
white-space: wrap;
}
PropertyRow > #container > #label > Label.modified {
-unity-font-style: bold;
}
PropertyRow > #container > #content{
flex-grow: 10;
flex-basis: 0;
height: auto;
-unity-font-style: bold;
min-width: 64px;
width: 100px;
justify-content: center;
}