123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- #node {
- background-color: rgba(0, 63, 63, 0.8);
- }
- #controls {
- background-color: rgba(63, 63, 63, 0.8);
- }
- #settings-button {
- border-width: 0px;
- width: 28px;
- height: 28px;
- background-color: rgba(63, 63, 63, 0);
- border-radius: 0px;
- }
- #settings-button > #icon {
- -unity-background-scale-mode: scale-to-fit;
- background-image: resource("Icons/SettingsIcons");
- flex-grow: 1;
- }
- #settings-button:hover {
- background-color: rgba(127, 127, 127 0.2);
- }
- #contents #top .executed #connector, #contents #top .executed #connector #cap,
- #contents #top .executes #connector, #contents #top .executes #connector #cap,
- #contents #top .executeAfter #connector, #contents #top .executeAfter #connector #cap,
- #contents #top .true #connector, #contents #top .true #connector #cap,
- #contents #top .false #connector, #contents #top .false #connector #cap,
- #contents #top .loopBody #connector, #contents #top .loopBody #connector #cap,
- #contents #top .loopCompleted #connector, #contents #top .loopCompleted #connector #cap {
- border-radius: 0px;
- }
- .Highlight {
- background-color: rgba(0, 63, 63, 0.8);
- }
- ParameterNodeView #title {
- height: 16px;
- }
- ParameterNodeView #title.input {
- flex-direction: row-reverse;
- }
- ParameterNodeView #node-border {
- border-radius: 10px;
- }
- ParameterNodeView #selection-border {
- border-radius: 12px;
- }
- ParameterNodeView #title > Label {
- margin-left: 2px;
- font-size: 11px;
- }
- ParameterNodeView #title #top PortView {
- padding-right: 0;
- padding-left: 0;
- margin-top: 2px;
- }
- ParameterNodeView PortView > Label {
- visibility: hidden;
- width: 0;
- }
- ParameterNodeView #controls EnumField {
- margin: 0;
- }
- ParameterNodeView #controls EnumField > VisualElement {
- border-width: 0;
- margin-top: 0;
- margin-bottom: 0;
- padding-left: 4px;
- padding-right: 4px;
- height: 14px;
- }
- ParameterNodeView #controls EnumField > VisualElement > TextElement {
- font-size: 10px;
- margin-top: 0;
- }
- ParameterNodeView #controls EnumField > VisualElement > VisualElement {
- margin-right: -2px;
- }
- #RightTitleContainer {
- justify-content: flex-end;
- flex-grow: 1;
- flex-direction: row;
- }
- #input-container {
- position: absolute;
- right: 100%;
- top: 45px;
- align-items: flex-end;
- --layer: -50;
- }
- #input-container > .port-input-element > * {
- min-width: 30px;
- max-width: 200px;
- }
- #input-container > .port-input-element > PropertyField > ColorField,
- #input-container > .port-input-element > PropertyField > ObjectField,
- #input-container > .port-input-element > PropertyField > CurveField {
- margin-top: 0;
- margin-bottom: 0;
- }
- #input-container > .port-input-element > PropertyField > TextField {
- min-width: 50px;
- }
- #input-container > .port-input-element > PropertyField > CurveField {
- width: 100px;
- }
- #input-container > .port-input-element > PropertyField > Vector4Field Label,
- #input-container > .port-input-element > PropertyField > Vector3Field Label,
- #input-container > .port-input-element > PropertyField > Vector2Field Label,
- #input-container > .port-input-element > PropertyField > Vector3IntField Label,
- #input-container > .port-input-element > PropertyField > Vector2IntField Label {
- font-size: 8px;
- min-width: 8px;
- flex-basis: 8px;
- padding-top: 2px;
- margin-right: 1px;
- max-height: 150px;
- }
- #input-container > .port-input-element > PropertyField > Vector4Field FloatInput,
- #input-container > .port-input-element > PropertyField > Vector3Field FloatInput,
- #input-container > .port-input-element > PropertyField > Vector2Field FloatInput,
- #input-container > .port-input-element > PropertyField > Vector3IntField IntegerInput,
- #input-container > .port-input-element > PropertyField > Vector2IntField IntegerInput {
- min-width: 28px;
- }
- #input-container > .port-input-element > PropertyField > * .unity-composite-field__field-spacer {
- flex-grow: 0.01;
- }
- #input-container ObjectFieldSelector {
- width: 17px;
- height: 15px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
- }
- #input-container ObjectFieldDisplay > Label {
- margin-top: 2px;
- }
- #input-container ObjectFieldDisplay > Image {
- margin: 0;
- }
- #input-container > .port-input-element > PropertyField > ColorField {
- width: 60px;
- }
- #input-container > .port-input-element > * {
- margin-left: 2px;
- }
- #input-container > .port-input-element * {
- font-size: 8px;
- }
- #input-container > .port-input-element {
- max-width: 180px;
- background-color: rgba(72, 72, 72, 0.6);
- margin-top: 3px;
- margin-bottom: 2px;
- padding-top: 1px;
- padding-bottom: 1px;
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- height: 19px;
- overflow: hidden;
- padding-right: 1px;
- }
- #input-container > .port-input-element.empty {
- width: 0;
- padding: 0;
- }
- .collapsed #input-container {
- visibility: hidden;
- }
- #input-container {
- opacity: 0.6;
- }
- .node:checked > #input-container {
- opacity: 1;
- }
- #input-container > .port-input-element IntegerInput,
- #input-container > .port-input-element FloatInput,
- #input-container > .port-input-element TextInput {
- border-top-left-radius: 1px;
- border-bottom-left-radius: 1px;
- border-top-right-radius: 1px;
- border-bottom-right-radius: 1px;
- padding-bottom: 1px;
- height: 15px;
- }
- #TopPortContainer, #BottomPortContainer
- {
- align-self: center;
- flex-direction: row;
- }
- #TopPortContainer
- {
- margin-bottom: -1px;
- }
- #BottomPortContainer
- {
- margin-top: -1px;
- }
- #title-button-container
- {
- align-items: center;
- align-content: center;
- }
- #collapse-button:
- {
- width: 16px;
- height: 16px;
- margin: 4px;
- }
- /* In Unity 2020.3, we need to manually hide labels of property fields with empty label */
- .DrawerField_2020_3 > * > Label
- {
- display: none;
- }
|