babylon.inspector.css 16 KB

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