babylon.inspector.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
  2. @import url(http://fonts.googleapis.com/css?family=Inconsolata);
  3. @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
  4. @import url(http://fonts.googleapis.com/css?family=Inconsolata);
  5. .insp-wrapper {
  6. user-select: none;
  7. display: flex;
  8. font-size: 0.9em;
  9. font-family: "Inconsolata", sans-serif;
  10. /**
  11. * A tool contained in the tree panel (available for each item of the tree)
  12. */
  13. /**
  14. * The toolbar contains :
  15. * - a refresh tool - refresh the whole panel
  16. * - a popup tool - Open the inspector in a new panel
  17. * ...
  18. */ }
  19. .insp-wrapper .gutter {
  20. background-color: #2c2c2c; }
  21. .insp-wrapper .gutter.gutter-vertical {
  22. cursor: ns-resize; }
  23. .insp-wrapper .gutter.gutter-horizontal {
  24. cursor: ew-resize; }
  25. .insp-wrapper .insp-right-panel {
  26. width: 750px;
  27. display: flex;
  28. flex-direction: column;
  29. flex-shrink: 0; }
  30. .insp-wrapper .insp-right-panel .top-panel {
  31. width: 100%;
  32. height: 100%;
  33. position: relative;
  34. background-color: #242424;
  35. color: #ccc;
  36. font-size: 1em; }
  37. .insp-wrapper .insp-right-panel .top-panel .tab-panel-content {
  38. width: 100%;
  39. height: calc(100% - 32px); }
  40. .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel {
  41. position: absolute;
  42. z-index: 10;
  43. top: 32px;
  44. right: 0;
  45. width: 100px;
  46. display: none;
  47. flex-direction: column;
  48. align-items: center;
  49. justify-content: center;
  50. border: 1px solid #454545;
  51. background-color: #242424; }
  52. .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab {
  53. height: 25px;
  54. width: 100%;
  55. line-height: 25px;
  56. text-align: center;
  57. background-color: #2c2c2c;
  58. cursor: pointer; }
  59. .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab:hover {
  60. background-color: #383838; }
  61. .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab:active {
  62. background-color: #454545; }
  63. .insp-wrapper .tooltip {
  64. position: absolute;
  65. top: 0;
  66. right: 0;
  67. color: #f29766;
  68. display: none;
  69. z-index: 4;
  70. font-family: "Inconsolata", sans-serif;
  71. padding: 2px;
  72. background-color: #242424;
  73. border: 1px solid #454545; }
  74. .insp-wrapper .treeTool {
  75. margin: 3px 8px 3px 3px;
  76. cursor: pointer;
  77. position: relative; }
  78. .insp-wrapper .treeTool:hover {
  79. color: #5db0d7; }
  80. .insp-wrapper .treeTool.active {
  81. color: #5db0d7; }
  82. .insp-wrapper .tab-panel {
  83. height: 100%; }
  84. .insp-wrapper .tab-panel .scene-actions {
  85. overflow-y: auto; }
  86. .insp-wrapper .tab-panel .scene-actions .actions-title {
  87. font-size: 1.1em;
  88. padding-bottom: 10px;
  89. border-bottom: 1px solid #5db0d7;
  90. margin: 10px 0 10px 0; }
  91. .insp-wrapper .tab-panel .scene-actions .defaut-action, .insp-wrapper .tab-panel .scene-actions .action-radio, .insp-wrapper .tab-panel .scene-actions .action {
  92. height: 20px;
  93. line-height: 20px;
  94. width: 100%;
  95. cursor: pointer; }
  96. .insp-wrapper .tab-panel .scene-actions .defaut-action:hover, .insp-wrapper .tab-panel .scene-actions .action-radio:hover, .insp-wrapper .tab-panel .scene-actions .action:hover {
  97. background-color: #2c2c2c; }
  98. .insp-wrapper .tab-panel .scene-actions .defaut-action:active, .insp-wrapper .tab-panel .scene-actions .action-radio:active, .insp-wrapper .tab-panel .scene-actions .action:active {
  99. background-color: #383838; }
  100. .insp-wrapper .tab-panel .scene-actions .action-radio:before {
  101. width: 1em;
  102. height: 1em;
  103. line-height: 1em;
  104. display: inline-block;
  105. font-family: 'FontAwesome', sans-serif;
  106. content: "\f10c";
  107. margin-right: 10px; }
  108. .insp-wrapper .tab-panel .scene-actions .action-radio.active:before {
  109. width: 1em;
  110. height: 1em;
  111. line-height: 1em;
  112. display: inline-block;
  113. font-family: 'FontAwesome', sans-serif;
  114. content: "\f192";
  115. color: #5db0d7;
  116. margin-right: 10px; }
  117. .insp-wrapper .tab-panel .scene-actions .action:before {
  118. width: 1em;
  119. height: 1em;
  120. line-height: 1em;
  121. display: inline-block;
  122. font-family: 'FontAwesome', sans-serif;
  123. content: "\f096";
  124. margin-right: 10px; }
  125. .insp-wrapper .tab-panel .scene-actions .action.active:before {
  126. width: 1em;
  127. height: 1em;
  128. line-height: 1em;
  129. display: inline-block;
  130. font-family: 'FontAwesome', sans-serif;
  131. content: "\f14a";
  132. color: #5db0d7;
  133. margin-right: 10px; }
  134. .insp-wrapper .tab-panel .shader-tree-panel {
  135. height: 30px; }
  136. .insp-wrapper .tab-panel .shader-tree-panel select {
  137. height: 30px;
  138. background-color: transparent;
  139. color: #ccc;
  140. height: 30px;
  141. width: 100%;
  142. max-width: 300px;
  143. padding-left: 15px;
  144. border: 1px solid #2c2c2c;
  145. outline: 1px solid #454545; }
  146. .insp-wrapper .tab-panel .shader-tree-panel select option {
  147. padding: 5px;
  148. color: gray; }
  149. .insp-wrapper .tab-panel .shader-panel {
  150. min-height: 100px;
  151. user-select: text;
  152. box-sizing: border-box;
  153. padding: 0 15px; }
  154. .insp-wrapper .tab-panel .shader-panel pre {
  155. margin: 0;
  156. white-space: pre-wrap; }
  157. .insp-wrapper .tab-panel .shader-panel pre code {
  158. background-color: #242424 !important;
  159. padding: 0;
  160. margin: 0; }
  161. .insp-wrapper .tab-panel .shader-panel .shader-panel-title {
  162. height: 25px;
  163. border-bottom: 1px solid #383838;
  164. text-transform: uppercase;
  165. line-height: 25px;
  166. margin-bottom: 10px; }
  167. .insp-wrapper .tab-panel.stats-panel {
  168. overflow-y: auto; }
  169. .insp-wrapper .tab-panel .stat-title1 {
  170. font-size: 1.1em;
  171. padding: 10px; }
  172. .insp-wrapper .tab-panel .stat-title2 {
  173. margin: 10px 0 10px 0;
  174. font-size: 1.05em;
  175. border-bottom: 1px solid #5db0d7;
  176. box-sizing: border-box; }
  177. .insp-wrapper .tab-panel .stat-label {
  178. display: inline-block;
  179. width: 80%;
  180. padding: 2px;
  181. background-color: #2c2c2c;
  182. border-bottom: 1px solid #242424;
  183. border-top: 1px solid #242424;
  184. height: 30px;
  185. line-height: 30px;
  186. box-sizing: border-box; }
  187. .insp-wrapper .tab-panel .stat-value {
  188. display: inline-block;
  189. width: 20%;
  190. padding: 2px;
  191. background-color: #2c2c2c;
  192. border-top: 1px solid #242424;
  193. border-bottom: 1px solid #242424;
  194. height: 30px;
  195. line-height: 30px;
  196. box-sizing: border-box; }
  197. .insp-wrapper .tab-panel .stat-infos {
  198. width: 100%;
  199. padding: 4px; }
  200. .insp-wrapper .property-type {
  201. color: #5db0d7; }
  202. .insp-wrapper .property-name, .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name {
  203. color: #f29766; }
  204. .insp-wrapper .insp-tree {
  205. overflow-y: auto;
  206. overflow-x: hidden;
  207. height: calc(50% - 32px - 30px); }
  208. .insp-wrapper .insp-tree .line {
  209. cursor: pointer; }
  210. .insp-wrapper .insp-tree .line:hover {
  211. background-color: #2c2c2c; }
  212. .insp-wrapper .insp-tree .line.active {
  213. background-color: #454545; }
  214. .insp-wrapper .insp-tree .line.active .line-content {
  215. background-color: #242424; }
  216. .insp-wrapper .insp-tree .line.unfolded:before {
  217. width: 1em;
  218. height: 1em;
  219. line-height: 1em;
  220. display: inline-block;
  221. font-family: 'FontAwesome', sans-serif;
  222. content: "\f078"; }
  223. .insp-wrapper .insp-tree .line.folded:before {
  224. width: 1em;
  225. height: 1em;
  226. line-height: 1em;
  227. display: inline-block;
  228. font-family: 'FontAwesome', sans-serif;
  229. content: "\f054"; }
  230. .insp-wrapper .insp-tree .line .line-content {
  231. padding-left: 15px; }
  232. .insp-wrapper .insp-tree .line .line-content:hover {
  233. background-color: #242424; }
  234. .insp-wrapper .insp-tree .line .line-content .line:hover:first-child {
  235. background-color: #383838; }
  236. .insp-wrapper .insp-details {
  237. background-color: #242424;
  238. overflow-y: auto;
  239. overflow-x: hidden;
  240. color: #ccc;
  241. font-family: "Inconsolata", sans-serif; }
  242. .insp-wrapper .insp-details .base-row, .insp-wrapper .insp-details .row, .insp-wrapper .insp-details .header-row {
  243. display: flex;
  244. width: 100%; }
  245. .insp-wrapper .insp-details .base-row .base-property, .insp-wrapper .insp-details .row .base-property, .insp-wrapper .insp-details .header-row .base-property, .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name, .insp-wrapper .insp-details .base-row .prop-value, .insp-wrapper .insp-details .row .prop-value, .insp-wrapper .insp-details .header-row .prop-value {
  246. word-wrap: break-word;
  247. padding: 2px 0 2px 0; }
  248. .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name {
  249. width: 35%; }
  250. .insp-wrapper .insp-details .base-row .prop-value, .insp-wrapper .insp-details .row .prop-value, .insp-wrapper .insp-details .header-row .prop-value {
  251. width: 59%;
  252. padding-left: 10px; }
  253. .insp-wrapper .insp-details .base-row .prop-value.clickable, .insp-wrapper .insp-details .row .prop-value.clickable, .insp-wrapper .insp-details .header-row .prop-value.clickable {
  254. cursor: pointer; }
  255. .insp-wrapper .insp-details .base-row .prop-value.clickable:hover, .insp-wrapper .insp-details .row .prop-value.clickable:hover, .insp-wrapper .insp-details .header-row .prop-value.clickable:hover {
  256. background-color: #383838; }
  257. .insp-wrapper .insp-details .base-row .prop-value.clickable:after, .insp-wrapper .insp-details .row .prop-value.clickable:after, .insp-wrapper .insp-details .header-row .prop-value.clickable:after {
  258. font-family: 'FontAwesome', sans-serif;
  259. content: "\00a0 \00a0 \00a0 \f054"; }
  260. .insp-wrapper .insp-details .row:nth-child(even) {
  261. background-color: #2c2c2c; }
  262. .insp-wrapper .insp-details .row.unfolded .prop-value.clickable:after {
  263. font-family: 'FontAwesome', sans-serif;
  264. content: "\00a0 \00a0 \00a0 \f078"; }
  265. .insp-wrapper .insp-details .header-row {
  266. background-color: #2c2c2c;
  267. color: #ccc;
  268. width: 100%; }
  269. .insp-wrapper .insp-details .header-row > * {
  270. color: #ccc !important;
  271. padding: 5px 0 5px 5px !important;
  272. cursor: pointer; }
  273. .insp-wrapper .insp-details .header-row > *:hover {
  274. background-color: #383838; }
  275. .insp-wrapper .insp-details .header-row .header-col {
  276. display: flex;
  277. justify-content: space-between;
  278. align-items: center; }
  279. .insp-wrapper .insp-details .header-row .header-col .sort-direction {
  280. margin-right: 5px; }
  281. .insp-wrapper .insp-details .element-viewer, .insp-wrapper .insp-details .color-element, .insp-wrapper .insp-details .texture-element {
  282. position: relative;
  283. width: 10px;
  284. height: 10px;
  285. display: inline-block;
  286. margin-left: 5px; }
  287. .insp-wrapper .insp-details .texture-element {
  288. color: #f29766;
  289. margin-left: 10px; }
  290. .insp-wrapper .insp-details .texture-element .texture-viewer {
  291. color: #ccc;
  292. position: absolute;
  293. z-index: 10;
  294. bottom: 0;
  295. right: 0;
  296. display: block;
  297. width: 150px;
  298. height: 150px;
  299. border: 1px solid #454545;
  300. background-color: #242424;
  301. transform: translateX(100%) translateY(100%);
  302. display: none;
  303. flex-direction: column;
  304. justify-content: flex-start;
  305. align-items: center; }
  306. .insp-wrapper .insp-details .texture-element .texture-viewer .texture-viewer-img {
  307. margin: 10px 0 10px 0;
  308. max-width: 110px;
  309. max-height: 110px; }
  310. .insp-wrapper .tabbar {
  311. height: 32px;
  312. display: flex;
  313. align-items: center;
  314. border-bottom: 1px solid #383838;
  315. width: 100%;
  316. overflow-x: auto;
  317. overflow-y: hidden;
  318. box-sizing: border-box; }
  319. .insp-wrapper .tabbar .tab {
  320. height: calc(32px - 2px);
  321. width: auto;
  322. padding: 0 10px 0 10px;
  323. color: #ccc;
  324. line-height: 32px;
  325. text-align: center;
  326. cursor: pointer;
  327. margin: 0 5px 0 5px;
  328. box-sizing: border-box; }
  329. .insp-wrapper .tabbar .tab:hover {
  330. border-bottom: 1px solid #f29766;
  331. background-color: #2c2c2c; }
  332. .insp-wrapper .tabbar .tab:active {
  333. background-color: #383838; }
  334. .insp-wrapper .tabbar .tab.active {
  335. border-bottom: 1px solid #f29766; }
  336. .insp-wrapper .tabbar .more-tabs {
  337. width: 32px;
  338. height: 32px;
  339. display: flex;
  340. justify-content: center;
  341. align-items: center;
  342. cursor: pointer;
  343. position: relative;
  344. border-right: 1px solid #383838; }
  345. .insp-wrapper .tabbar .more-tabs:hover {
  346. background-color: #383838; }
  347. .insp-wrapper .tabbar .more-tabs:active {
  348. color: #f29766;
  349. background-color: #454545; }
  350. .insp-wrapper .tabbar .more-tabs.active {
  351. color: #f29766; }
  352. .insp-wrapper .toolbar {
  353. display: flex; }
  354. .insp-wrapper .toolbar .tool {
  355. width: 32px;
  356. height: 32px;
  357. display: flex;
  358. justify-content: center;
  359. align-items: center;
  360. cursor: pointer;
  361. position: relative;
  362. border-right: 1px solid #383838; }
  363. .insp-wrapper .toolbar .tool:hover {
  364. background-color: #383838; }
  365. .insp-wrapper .toolbar .tool:active {
  366. color: #f29766;
  367. background-color: #454545; }
  368. .insp-wrapper .toolbar .tool.active {
  369. color: #f29766; }
  370. .insp-wrapper .searchbar {
  371. border: 1px solid #2c2c2c;
  372. margin-bottom: 5px;
  373. display: flex;
  374. align-items: center;
  375. color: #b3b3b3; }
  376. .insp-wrapper .searchbar input {
  377. background-color: #242424;
  378. border: none;
  379. width: 100%;
  380. outline: none;
  381. font-family: "Inconsolata", sans-serif;
  382. color: #b3b3b3;
  383. padding: 3px 0 3px 10px;
  384. margin: 6px 0 6px 0; }