chore: initial commit
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
ResizableElement
|
||||
{
|
||||
position:absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
ResizableElement #right
|
||||
{
|
||||
width: 4px;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
ResizableElement #left
|
||||
{
|
||||
width: 8px;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
ResizableElement #middle
|
||||
{
|
||||
flex:1 0 auto;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
ResizableElement #left #top-left-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-up-left;
|
||||
}
|
||||
|
||||
ResizableElement #left #left-resize
|
||||
{
|
||||
flex:1 0 auto;
|
||||
cursor: resize-horizontal;
|
||||
}
|
||||
|
||||
ResizableElement #left #bottom-left-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-up-right;
|
||||
}
|
||||
|
||||
ResizableElement #middle #top-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-vertical;
|
||||
}
|
||||
|
||||
ResizableElement #middle #middle-center
|
||||
{
|
||||
flex:1 0 auto;
|
||||
}
|
||||
|
||||
ResizableElement #middle #bottom-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-vertical;
|
||||
}
|
||||
|
||||
ResizableElement #right #top-right-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-up-right;
|
||||
}
|
||||
|
||||
ResizableElement #right #right-resize
|
||||
{
|
||||
flex:1 0 auto;
|
||||
cursor: resize-horizontal;
|
||||
}
|
||||
|
||||
ResizableElement #right #bottom-right-resize
|
||||
{
|
||||
height: 12px;
|
||||
cursor: resize-up-left;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b89241537d9d3fb429f02a07292aace3
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,196 @@
|
||||
#panel
|
||||
{
|
||||
width: 250px;
|
||||
min-width: 225px;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.background-light
|
||||
{
|
||||
background-color: rgb(194, 194, 194);
|
||||
}
|
||||
|
||||
.background-dark
|
||||
{
|
||||
background-color: rgb(56, 56, 56);
|
||||
}
|
||||
|
||||
.panel-inspector
|
||||
{
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.horizontal-resize
|
||||
{
|
||||
width: 5px;
|
||||
flex-direction: column;
|
||||
cursor: resize-horizontal;
|
||||
}
|
||||
|
||||
.vertical-resize
|
||||
{
|
||||
cursor: resize-vertical;
|
||||
}
|
||||
|
||||
#status-label
|
||||
{
|
||||
font-size: 22px;
|
||||
margin-top: 5px;
|
||||
margin-left: 6px;
|
||||
-unity-font-style: bold;
|
||||
}
|
||||
|
||||
.status-label-light
|
||||
{
|
||||
color: rgba(210, 210, 210, 0.90);
|
||||
}
|
||||
|
||||
#status-toolbar
|
||||
{
|
||||
border-top-width: 1px;
|
||||
border-top-color: rgba(1, 1, 1, 0.2);
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.status-toolbar-light
|
||||
{
|
||||
border-top-color: rgba(153, 153, 153, 255);
|
||||
}
|
||||
|
||||
.status-toolbar-dark
|
||||
{
|
||||
border-top-color: rgba(35, 35, 35, 255);
|
||||
}
|
||||
|
||||
#find-overlay
|
||||
{
|
||||
position: Absolute;
|
||||
width: 300px;
|
||||
margin-top: 2px;
|
||||
border-width: 0px 1px 1px 1px;
|
||||
border-radius: 0px 0px 4px 4px;
|
||||
}
|
||||
|
||||
.find-overlay-light
|
||||
{
|
||||
border-color: rgba(153, 153, 153, 255);
|
||||
}
|
||||
|
||||
.find-overlay-dark
|
||||
{
|
||||
border-color: rgba(35, 35, 35, 255);
|
||||
}
|
||||
|
||||
#toolbar-button
|
||||
{
|
||||
border-width: 0px 1px 0px 1px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-radius: 0px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#toolbar-dropdown
|
||||
{
|
||||
border-width: 0px 1px 0px 1px;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.toolbar-dropdown-dark
|
||||
{
|
||||
border-color: rgba(48, 48, 48, 1);
|
||||
}
|
||||
|
||||
.toolbar-dropdown-light
|
||||
{
|
||||
border-color: rgba(173, 173, 173, 1);
|
||||
}
|
||||
|
||||
#split-primary-button
|
||||
{
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
#split-dropdown-button
|
||||
{
|
||||
margin-left: -22px;
|
||||
}
|
||||
|
||||
#node-description
|
||||
{
|
||||
position: Absolute;
|
||||
overflow: hidden;
|
||||
left: 10px;
|
||||
bottom: 10px;
|
||||
width: 450px;
|
||||
min-height: 25px;
|
||||
max-height: 200px;
|
||||
padding: 2px 2px 2px 2px;
|
||||
border-width: 1px 1px 1px 1px;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
border-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.node-description-dark
|
||||
{
|
||||
background-color: rgba(15, 15, 15, 0.75);
|
||||
}
|
||||
|
||||
.node-description-light
|
||||
{
|
||||
background-color: rgba(230, 230, 230, 0.75);
|
||||
}
|
||||
|
||||
#node-description-label
|
||||
{
|
||||
font-size: 14px;
|
||||
white-space: normal;
|
||||
-unity-text-align: upper-center;
|
||||
}
|
||||
|
||||
#lock-button
|
||||
{
|
||||
position: Absolute;
|
||||
right: 0;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
margin-top: 3px;
|
||||
margin-bottom: 0px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
/* SharedVariables Elements Styling */
|
||||
.grouped-highlight-dark
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.grouped-highlight-light
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.shared-variable-group
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.shared-variable-list-element-dark .shared-variable-group
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.shared-variable-group-member
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.shared-variable-list-element-dark .shared-variable-group-member
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9c1d6fe000d116b47afa1cbd72114731
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,82 @@
|
||||
|
||||
NodeGroup
|
||||
{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#selection-container
|
||||
{
|
||||
align-self: stretch;
|
||||
flex-grow: 1;
|
||||
border-width: 1px 1px 1px 1px;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
}
|
||||
|
||||
#group-container
|
||||
{
|
||||
align-self: stretch;
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
border-width: 2px;
|
||||
border-radius: 4px;
|
||||
border-color: rgba(25, 25, 25, 1);
|
||||
background-color: rgba(76, 76, 76, 0.8);
|
||||
}
|
||||
|
||||
#header-container
|
||||
{
|
||||
background-color: rgba(60, 60, 60, 0.9);
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: rgba(40, 40, 40, 1);
|
||||
padding: 1px 4px;
|
||||
margin-bottom: 2px;
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
|
||||
#title
|
||||
{
|
||||
-unity-font-style: bold;
|
||||
font-size: 15px;
|
||||
min-height: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.title-label-light
|
||||
{
|
||||
color: rgba(218, 218, 218, 1)
|
||||
}
|
||||
|
||||
#description
|
||||
{
|
||||
white-space: normal;
|
||||
flex-grow: 1;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.description-light
|
||||
{
|
||||
color: rgba(218, 218, 218, 1)
|
||||
}
|
||||
|
||||
.hover
|
||||
{
|
||||
border-color: rgba(68, 192, 255, 0.5);
|
||||
}
|
||||
|
||||
.selected
|
||||
{
|
||||
border-color: rgba(68, 192, 255, 0.9);
|
||||
}
|
||||
|
||||
#selection-border
|
||||
{
|
||||
border-radius: 8px;
|
||||
margin: -2px;
|
||||
position:absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47473adfa44c37444b59bc44b0e4ed3a
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
119
Packages/com.opsive.graphdesigner/Editor/Styles/NodeStyles.uss
Normal file
119
Packages/com.opsive.graphdesigner/Editor/Styles/NodeStyles.uss
Normal file
@@ -0,0 +1,119 @@
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79123a21d23d3484f99b8240f6b3f8c5
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
116
Packages/com.opsive.graphdesigner/Editor/Styles/SlotStyles.uss
Normal file
116
Packages/com.opsive.graphdesigner/Editor/Styles/SlotStyles.uss
Normal file
@@ -0,0 +1,116 @@
|
||||
DoubleVerticalSlot
|
||||
{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 22px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.horizontal-slot
|
||||
{
|
||||
position: absolute;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
width: 42px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.vertical-slot
|
||||
{
|
||||
position: absolute;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
width: 14px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
#horizontal-output-slot
|
||||
{
|
||||
bottom: 2px;
|
||||
margin-bottom:-3px;
|
||||
padding-top:4px
|
||||
}
|
||||
|
||||
#horizontal-input-slot
|
||||
{
|
||||
padding-top: 2px;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
#horizontal-slot-container
|
||||
{
|
||||
width: 34px;
|
||||
height: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#vertical-output-slot
|
||||
{
|
||||
right: 0px;
|
||||
margin-right:-2px;
|
||||
padding-right:3px;
|
||||
}
|
||||
|
||||
#vertical-input-slot
|
||||
{
|
||||
left: 0px;
|
||||
padding-left: 3px;
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
#vertical-slot-container
|
||||
{
|
||||
width: 8px;
|
||||
height: 18px;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.horizontal-input-slot-container
|
||||
{
|
||||
border-width: 0px 1px 1px 1px;
|
||||
border-radius: 0px 0px 4px 4px;
|
||||
}
|
||||
|
||||
.horizontal-output-slot-container
|
||||
{
|
||||
border-width: 1px 1px 0px 1px;
|
||||
border-radius: 4px 4px 0px 0px;
|
||||
}
|
||||
|
||||
.vertical-input-slot-container
|
||||
{
|
||||
border-width: 1px 1px 1px 0px;
|
||||
border-radius: 0px 4px 4px 0px;
|
||||
}
|
||||
|
||||
.vertical-output-slot-container
|
||||
{
|
||||
border-width: 1px 0px 1px 1px;
|
||||
border-radius: 4px 0px 0px 4px;
|
||||
}
|
||||
|
||||
.valid-slot
|
||||
{
|
||||
border-color: rgba(25, 25, 25, 1);
|
||||
background-color: rgba(108, 108, 108, 0.8);
|
||||
}
|
||||
|
||||
.invalid-slot
|
||||
{
|
||||
border-color: rgba(25, 25, 25, 1);
|
||||
background-color: rgba(108, 108, 108, 0.3);
|
||||
}
|
||||
|
||||
.slot-container-highlight
|
||||
{
|
||||
background-color: rgba(138, 138, 138, 0.95);
|
||||
}
|
||||
|
||||
#collapsed-icon
|
||||
{
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb51b84bf5a700b43a87507880638d70
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user