modular-avatar/Editor/Inspector/Parameters/Parameters.uss
nekobako 3be3cfb74a
Refine some UI (#1119)
* feat: warn by color when Shape Changer has an invalid blendshape

* feat: refine reactive components ui layout

* feat: refine ma parameters ui layout
2024-09-13 18:06:45 -07:00

122 lines
1.6 KiB
Plaintext

#ListViewContainer {
margin-top: 4px;
}
.horizontal {
flex-direction: row;
align-items: center;
justify-content: space-between;
margin: 1px 0;
}
.horizontal > * {
height: 18px;
margin: 0 1px;
}
.horizontal > Label {
height: auto;
}
.horizontal > PropertyField > * {
margin: 0;
}
#f-name {
flex-grow: 1;
}
#f-sync-type {
display: none;
}
.st-anim-only .st-anim-only__hide {
display: none;
}
#f-is-prefix {
display: none;
}
.st-pb-prefix .st-pb-prefix__hide {
display: none;
}
#f-remap-to, #f-remap-to-disabled {
flex-grow: 1;
}
#f-remap-to-placeholder {
width: 100%;
height: 100%;
color: rgba(255, 255, 255, 0.4);
}
#f-internal-parameter {
margin-left: 3px;
}
#remap-to-group {
display: flex;
flex-grow: 1;
}
#remap-to-group-disabled {
display: none;
flex-grow: 1;
}
.st-internal-parameter #remap-to-group {
display: none;
}
.st-internal-parameter #remap-to-group-disabled {
display: flex;
}
.horizontal > .horizontal {
flex-shrink: 0;
margin: 0;
}
DefaultValueField TextField {
display: flex;
width: 60px;
height: 100%;
margin: 0;
}
DefaultValueField DropdownField {
display: none;
width: 60px;
height: 100%;
margin: 0;
}
.st-ty-Bool DefaultValueField TextField {
display: none;
}
.st-ty-Bool DefaultValueField DropdownField {
display: flex;
}
#f-local-only {
display: none;
}
.DetectedParameter {
flex-direction: row;
}
.DetectedParameter > Label {
flex-grow: 1;
align-self: center;
}
.SourceButton {
width: 24px;
height: 24px;
padding: 1px;
}