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