Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

GraphEditorView.uss 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. GraphEditorView {
  2. flex-direction: column;
  3. flex: 1;
  4. }
  5. GraphEditorView #TitleBar {
  6. }
  7. GraphEditorView > #content {
  8. flex: 1;
  9. flex-direction: row;
  10. }
  11. GraphEditorView > #content > #GraphView {
  12. flex: 1;
  13. }
  14. GraphEditorView > #content > #inspector {
  15. width: 400px;
  16. }
  17. .edge.fromMatrix4, .edge.fromMatrix3, .edge.fromMatrix2 {
  18. --edge-output-color: #8FC1DF;
  19. }
  20. .edge.toMatrix4, .edge.toMatrix3, .edge.toMatrix2 {
  21. --edge-input-color: #8FC1DF;
  22. }
  23. .edge.fromTexture2D, .edge.fromCubemap {
  24. --edge-output-color: #FF8B8B;
  25. }
  26. .edge.toTexture2D, .edge.toCubemap {
  27. --edge-input-color: #FF8B8B;
  28. }
  29. .edge.fromVector4 {
  30. --edge-output-color: #FBCBF4;
  31. }
  32. .edge.toVector4 {
  33. --edge-input-color: #FBCBF4;
  34. }
  35. .edge.fromVector3 {
  36. --edge-output-color: #F6FF9A;
  37. }
  38. .edge.toVector3 {
  39. --edge-input-color: #F6FF9A;
  40. }
  41. .edge.fromVector2 {
  42. --edge-output-color: #9AEF92;
  43. }
  44. .edge.toVector2 {
  45. --edge-input-color: #9AEF92;
  46. }
  47. .edge.fromVector1 {
  48. --edge-output-color: #84E4E7;
  49. }
  50. .edge.toVector1 {
  51. --edge-input-color: #84E4E7;
  52. }
  53. .edge.fromBoolean {
  54. --edge-output-color: #9481E6;
  55. }
  56. .edge.toBoolean {
  57. --edge-input-color: #9481E6;
  58. }
  59. #resizeBorderFrame > .resize {
  60. background-color: rgba(0, 0, 0, 0);
  61. position: absolute;
  62. }
  63. #resizeBorderFrame > .resize.vertical {
  64. cursor: resize-vertical;
  65. height: 10px;
  66. left: 10px;
  67. right: 10px;
  68. padding-top: 0;
  69. padding-bottom: 0;
  70. margin-top: 0;
  71. margin-bottom: 0;
  72. }
  73. #resizeBorderFrame > .resize.horizontal {
  74. cursor: resize-horizontal;
  75. width: 10px;
  76. top: 10px;
  77. bottom: 10px;
  78. padding-left: 0;
  79. padding-right: 0;
  80. margin-left: 0;
  81. margin-right: 0;
  82. }
  83. #resizeBorderFrame > .resize.diagonal {
  84. width: 10px;
  85. height: 6px;
  86. }
  87. #resizeBorderFrame > .resize.diagonal.top-left {
  88. cursor: resize-up-left;
  89. top: 0;
  90. left: 0;
  91. }
  92. #resizeBorderFrame > .resize.diagonal.top-right {
  93. cursor: resize-up-right;
  94. top: 0;
  95. right: 0;
  96. }
  97. #resizeBorderFrame > .resize.diagonal.bottom-left {
  98. cursor: resize-up-right;
  99. bottom: 0;
  100. left: 0;
  101. }
  102. #resizeBorderFrame > .resize.diagonal.bottom-right {
  103. cursor: resize-up-left;
  104. bottom: 0;
  105. right: 0;
  106. }
  107. #resizeBorderFrame > .resize.vertical.top {
  108. top: 0;
  109. }
  110. #resizeBorderFrame > .resize.vertical.bottom {
  111. bottom: 0;
  112. }
  113. #resizeBorderFrame > .resize.horzontal.left {
  114. left: 0;
  115. }
  116. #resizeBorderFrame > .resize.horizontal.right {
  117. right: 0;
  118. }
  119. .resizeBorderFrame {
  120. position: absolute;
  121. top: 0;
  122. right: 0;
  123. bottom: 0;
  124. left: 0;
  125. }
  126. .nodeEditor {
  127. border-color: rgb(79, 79, 79);
  128. border-bottom-width: 1px;
  129. padding-top: 10px;
  130. }
  131. NodeEditorHeaderView {
  132. padding-left: 16px;
  133. padding-right: 16px;
  134. padding-bottom: 10px;
  135. flex-direction: row;
  136. }
  137. NodeEditorHeaderView > #preType {
  138. margin-left: 10px;
  139. }
  140. NodeEditorHeaderView > #preType,
  141. NodeEditorHeaderView > #postType,
  142. NodeEditorHeaderView > #type {
  143. color: rgb(180, 180, 180);
  144. }
  145. NodeEditorHeaderView > #title {
  146. color: rgb(180, 180, 180);
  147. -unity-font-style: bold;
  148. }
  149. .nodeEditor > .section {
  150. padding-bottom: 10px;
  151. }
  152. .nodeEditor > .section.hidden {
  153. height: 0;
  154. padding-bottom: 0;
  155. }
  156. .nodeEditor > .section > .title {
  157. color: rgb(180, 180, 180);
  158. -unity-font-style: bold;
  159. padding-left: 16px;
  160. padding-right: 16px;
  161. padding-bottom: 2px;
  162. }
  163. .nodeEditor > .section > #slots {
  164. flex-direction: column;
  165. padding-left: 15px;
  166. padding-right: 15px;
  167. }
  168. .nodeEditor > .section#surfaceOptions {
  169. padding-left: 15px;
  170. padding-right: 15px;
  171. }
  172. IMGUISlotEditorView {
  173. flex-direction: column;
  174. padding-bottom: 2px;
  175. }
  176. ObjectControlView {
  177. flex-direction: row;
  178. }
  179. ObjectControlView > ObjectField {
  180. flex: 1;
  181. }
  182. PropertyControlView {
  183. padding-left: 8px;
  184. padding-right: 8px;
  185. padding-top: 4px;
  186. padding-bottom: 4px;
  187. }
  188. .stack-node {
  189. --separator-extent: 6;
  190. }
  191. /* TEMP STUFF THAT SHOULD ACTUALLY STAY IN GRAPHVIEW */
  192. .unity-Doublefield-input {
  193. min-height: 15px;
  194. margin-left: 4px;
  195. margin-top: 2px;
  196. margin-right: 4px;
  197. margin-bottom: 2px;
  198. padding-left: 3px;
  199. padding-top: 1px;
  200. padding-right: 3px;
  201. padding-bottom: 2px;
  202. -unity-slice-left: 3;
  203. -unity-slice-top: 3;
  204. -unity-slice-right: 3;
  205. -unity-slice-bottom: 3;
  206. --unity-selection-color: rgba(61,128,223,166);
  207. cursor: text;
  208. color: #B4B4B4;
  209. background-image: resource("Builtin Skins/DarkSkin/Images/TextField.png");
  210. --unity-cursor-color:#B4B4B4;
  211. }
  212. .unity-Doublefield-input:focus {
  213. background-image: resource("Builtin Skins/DarkSkin/Images/TextField focused.png");
  214. }