mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
0b8cd3b3b6
* feat: add support for drag-and-drop on MaterialSetter and ShapeChanger * fix: allow adding known objects to MaterialSetter and ShapeChanger
81 lines
1.3 KiB
Plaintext
81 lines
1.3 KiB
Plaintext
#group-box {
|
|
margin-top: 4px;
|
|
margin-bottom: 4px;
|
|
padding: 4px;
|
|
border-width: 3px;
|
|
border-left-color: rgba(0, 1, 0, 0.2);
|
|
border-top-color: rgba(0, 1, 0, 0.2);
|
|
border-right-color: rgba(0, 1, 0, 0.2);
|
|
border-bottom-color: rgba(0, 1, 0, 0.2);
|
|
border-radius: 4px;
|
|
/* background-color: rgba(0, 0, 0, 0.1); */
|
|
}
|
|
|
|
#group-box > Label {
|
|
-unity-font-style: bold;
|
|
}
|
|
|
|
#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-object {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#f-change-type {
|
|
width: 60px;
|
|
}
|
|
|
|
#f-shape-name {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#f-value {
|
|
display: flex;
|
|
width: 60px;
|
|
}
|
|
|
|
#f-value-delete {
|
|
display: none;
|
|
width: 60px;
|
|
}
|
|
|
|
.change-type-delete #f-value {
|
|
display: none;
|
|
}
|
|
|
|
.change-type-delete #f-value-delete {
|
|
display: flex;
|
|
}
|
|
|
|
.drop-area--drag-active {
|
|
background-color: rgba(0, 127, 255, 0.2);
|
|
}
|
|
|
|
.drop-area--drag-active .unity-scroll-view,
|
|
.drop-area--drag-active .unity-list-view__footer,
|
|
.drop-area--drag-active .unity-list-view__reorderable-item {
|
|
background-color: rgba(0, 0, 0, 0.0);
|
|
}
|