DisplayWindow.uss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. .container
  2. {
  3. margin: 0px;
  4. flex: 1;
  5. flex-direction: row;
  6. }
  7. /* ///// */
  8. /* VIEWS */
  9. /* ///// */
  10. /* override as later in document */
  11. .verticalSplit
  12. {
  13. flex-direction: column;
  14. }
  15. #viewContainer
  16. {
  17. min-width: 50px;
  18. flex-shrink: 0;
  19. }
  20. #firstView,
  21. #secondView
  22. {
  23. flex: 0;
  24. }
  25. /* override as later in document */
  26. .firstView > #firstView,
  27. .secondView > #secondView
  28. {
  29. flex: 1;
  30. }
  31. /* /////////// */
  32. /* ENVIRONMENT */
  33. /* /////////// */
  34. #environmentContainer
  35. {
  36. width: 0px;
  37. visibility: hidden;
  38. flex-direction: column-reverse;
  39. border-color: #232323;
  40. border-left-width: 1px;
  41. }
  42. #debugContainer
  43. {
  44. width: 0px;
  45. visibility: hidden;
  46. border-color: #232323;
  47. border-left-width: 1px;
  48. }
  49. #environmentContainer > EnvironmentElement
  50. {
  51. border-color: #232323;
  52. flex-shrink: 0;
  53. }
  54. .showEnvironmentPanel > #environmentContainer
  55. {
  56. width: 255px;
  57. visibility: visible;
  58. }
  59. .showDebugPanel > #debugContainer
  60. {
  61. width: 256px; /*219px;*/
  62. visibility: visible;
  63. }
  64. .unity-label
  65. {
  66. min-width: 100px;
  67. }
  68. .unity-composite-field__field > .unity-base-field__label
  69. {
  70. padding-left: 0px;
  71. min-width: 10px;
  72. max-width: 10px;
  73. }
  74. .unity-composite-field__field > .unity-base-field__input
  75. {
  76. margin-left: 0px;
  77. min-width: 38px;
  78. max-width: 38px;
  79. }
  80. #unity-text-input
  81. {
  82. min-width: 40px;
  83. }
  84. .list-environment
  85. {
  86. flex: 1;
  87. }
  88. .list-environment-overlay
  89. {
  90. position: absolute;
  91. bottom: 0px;
  92. padding-left: 1px;
  93. border-bottom-width: 0px;
  94. background-color: rgba(0,0,0,0);
  95. }
  96. #environmentListCreationToolbar
  97. {
  98. padding-left: 1px;
  99. }
  100. #environmentListCreationToolbar > *
  101. {
  102. flex: 1;
  103. -unity-text-align: middle-center;
  104. }
  105. #environmentListCreationToolbar > ObjectField > Label
  106. {
  107. min-width: 60px;
  108. width: 60px;
  109. }
  110. #environmentListCreationToolbar > ToolbarButton
  111. {
  112. min-width: 40px;
  113. width: 40px;
  114. flex: 0;
  115. border-left-width: 1px;
  116. border-right-width: 0px;
  117. margin-right: -1px;
  118. }
  119. ObjectFieldDisplay > Label
  120. {
  121. -unity-text-align: middle-left;
  122. }
  123. ObjectFieldDisplay > Image
  124. {
  125. min-width: 12px;
  126. }
  127. ToolbarButton
  128. {
  129. border-left-width: 0px;
  130. }
  131. .list-environment-overlay > ToolbarButton
  132. {
  133. border-width: 0px;
  134. border-right-width: 1px;
  135. width: 20px;
  136. min-width: 20px;
  137. -unity-text-align: middle-center;
  138. background-color: #3c3c3c;
  139. padding-left: 2px;
  140. padding-right: 2px;
  141. }
  142. .list-environment-overlay > ToolbarButton:hover
  143. {
  144. background-color: #585858;
  145. }
  146. .list-environment-overlay > #duplicate
  147. {
  148. border-right-width: 0px;
  149. }
  150. Image.unity-list-view__item
  151. {
  152. width: 210px;
  153. margin: 15px;
  154. padding: 5px;
  155. }
  156. Image.unity-list-view__item:selected
  157. {
  158. border-width: 2px;
  159. padding: 3px;
  160. border-color: #3d6091;
  161. background-color: rgba(0,0,0,0);
  162. }
  163. .sun-to-brightest-button
  164. {
  165. padding-left: 4px;
  166. }
  167. #inspector-header
  168. {
  169. flex-direction: row;
  170. border-bottom-width: 1px;
  171. border-color: #232323;
  172. padding-top: 5px;
  173. padding-bottom: 5px;
  174. padding-left: 3px;
  175. background-color: #3C3C3C;
  176. }
  177. #inspector-header > Image
  178. {
  179. margin-top: 2px;
  180. margin-bottom: 2px;
  181. }
  182. #inspector-header > TextField
  183. {
  184. flex: 1;
  185. }
  186. #inspector
  187. {
  188. padding-bottom: 5px;
  189. }
  190. #separator-line
  191. {
  192. background-color: #3C3C3C;
  193. }
  194. #separator
  195. {
  196. flex: 1;
  197. width: 188px;
  198. border-bottom-width: 1px;
  199. border-color: #232323;
  200. height: 0;
  201. align-self: flex-end;
  202. }
  203. #sunToBrightestButton
  204. {
  205. background-color: rgba(0,0,0,0);
  206. border-radius: 0px;
  207. border-width: 0px;
  208. padding: 0px;
  209. margin-right: 1px;
  210. }
  211. #sunToBrightestButton:hover
  212. {
  213. background-color: #585858;
  214. }
  215. /* /////// */
  216. /* /DEBUG/ */
  217. /* /////// */
  218. MultipleDifferentValue
  219. {
  220. -unity-font-style: bold;
  221. font-size: 15px;
  222. -unity-text-align: middle-center;
  223. margin-bottom: 2px;
  224. height: 15px;
  225. }
  226. MultipleSourcePopupField > MultipleDifferentValue
  227. {
  228. -unity-text-align: middle-left;
  229. width: 120px;
  230. background-color: #515151;
  231. position: absolute;
  232. left: 103px;
  233. bottom: 1px;
  234. }
  235. MultipleSourcePopupField > MultipleDifferentValue:hover
  236. {
  237. background-color: #585858;
  238. }
  239. #debugToolbar
  240. {
  241. margin-top: 16px;
  242. margin-bottom: 16px;
  243. flex-direction: row;
  244. align-self: center;
  245. border-bottom-width: 1px;
  246. border-top-width: 1px;
  247. border-color: #232323;
  248. }
  249. #debugToolbar > ToolbarToggle
  250. {
  251. width: 40px;
  252. left: 0px;
  253. }
  254. #debugToolbar > ToolbarToggle > *
  255. {
  256. justify-content: center;
  257. }
  258. /* /////// */
  259. /* TOOLBAR */
  260. /* /////// */
  261. #toolbar
  262. {
  263. flex-direction: row;
  264. }
  265. #toolbarRadio
  266. {
  267. flex-direction: row;
  268. }
  269. .unity-toggle__input > .unity-image
  270. {
  271. padding: 2px;
  272. }
  273. #tabsRadio
  274. {
  275. width: 256px;
  276. min-width: 256px;
  277. max-width: 256px;
  278. flex: 1;
  279. flex-direction: row;
  280. -unity-text-align: middle-center;
  281. }
  282. #tabsRadio > ToolbarToggle
  283. {
  284. flex: 1;
  285. left: 0px;
  286. }
  287. #tabsRadio > ToolbarToggle > * > Label
  288. {
  289. flex: 1;
  290. }
  291. .unity-toolbar-toggle
  292. {
  293. padding-top: 0px;
  294. padding-right: 0px;
  295. padding-bottom: 0px;
  296. padding-left: 0px;
  297. margin-left: 0px;
  298. margin-right: 0px;
  299. border-left-width: 0px;
  300. }
  301. #renderdoc-content
  302. {
  303. flex: 1;
  304. flex-direction: row;
  305. max-width: 80px;
  306. flex-shrink: 0;
  307. min-width: 24px;
  308. border-left-width: 1px;
  309. }
  310. #renderdoc-content > Label
  311. {
  312. -unity-text-align: middle-left;
  313. min-width: 0px;
  314. padding-top: 0px;
  315. }
  316. #renderdoc-content > Image
  317. {
  318. flex-shrink: 0;
  319. min-width: 16px;
  320. min-height: 16px;
  321. }
  322. #cameraMenu
  323. {
  324. flex-direction: row-reverse;
  325. padding: 0px;
  326. }
  327. #cameraButton
  328. {
  329. border-radius: 0px;
  330. border-width: 0px;
  331. border-left-width: 1px;
  332. padding: 0px;
  333. padding-right: 4px;
  334. margin: 0px;
  335. }
  336. #cameraSeparator
  337. {
  338. margin-top: 4px;
  339. margin-bottom: 4px;
  340. border-right-width: 1px;
  341. }
  342. #cameraButton > *
  343. {
  344. margin: 2px;
  345. }
  346. /* /////////// */
  347. /* DRAG'N'DROP */
  348. /* /////////// */
  349. #cursorFollower
  350. {
  351. position: absolute;
  352. }