style.less 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234
  1. @import "common.less";
  2. body {
  3. margin : 0;
  4. padding : 0;
  5. background-color : black;
  6. user-select:none;
  7. }
  8. //:focus { outline: none; }
  9. ul, li {
  10. margin : 0;
  11. padding : 0;
  12. list-style : none;
  13. }
  14. body, td, th, li, p, a, input, select, textarea, body .select2-dropdown {
  15. font-family : Verdana, serif;
  16. font-size : 9pt;
  17. color: #aaa;
  18. }
  19. a {
  20. color : #aaf;
  21. text-decoration : none;
  22. }
  23. canvas {
  24. user-select: none;
  25. }
  26. input, textarea {
  27. padding-left : 4px;
  28. }
  29. select {
  30. &:focus {
  31. outline: none;
  32. }
  33. &:focus:hover {
  34. border-color : #444;
  35. }
  36. }
  37. select, input, textarea, body .select2-dropdown {
  38. background-color: rgb(34,34,34);
  39. border : 1px solid #444;
  40. &:focus {
  41. background-color: rgb(20,20,20);
  42. }
  43. &:hover {
  44. border-color : #888;
  45. }
  46. }
  47. body .select2-container--default {
  48. .select2-selection--single {
  49. background-color: rgb(34,34,34);
  50. border : none;
  51. height: auto;
  52. .select2-selection__rendered {
  53. padding-left: 2px;
  54. color: #aaa;
  55. line-height: inherit;
  56. }
  57. .select2-selection__arrow {
  58. display: none;
  59. }
  60. }
  61. .select2-results__option[aria-selected=true] {
  62. background-color: #444;
  63. }
  64. .select2-results__option--highlighted[aria-selected] {
  65. background-color: #5897fb;
  66. }
  67. }
  68. .select2-results__option > div {
  69. display : flex;
  70. align-items: center;
  71. div.tile {
  72. margin-right : 5px;
  73. }
  74. }
  75. input.file {
  76. cursor : pointer;
  77. &.dragover {
  78. border-color : white;
  79. background-color : rgb(20,20,20);
  80. }
  81. }
  82. input[type=button] {
  83. background-color : #444;
  84. cursor : pointer;
  85. &:hover {
  86. color : white;
  87. background-color : #666;
  88. }
  89. &:disabled {
  90. color : rgb(192, 192, 192);
  91. background-color : rgb(56, 56, 56);
  92. }
  93. }
  94. input[type=range] {
  95. -webkit-appearance: none;
  96. background: transparent;
  97. border:none;
  98. padding:0;
  99. &:focus {
  100. outline: none;
  101. }
  102. &::-webkit-slider-thumb {
  103. -webkit-appearance: none;
  104. appearance: none;
  105. outline: 1px solid #aaa;
  106. height: 6px;
  107. width: 6px;
  108. background: #ccc;
  109. cursor: pointer;
  110. margin-top: 0px;
  111. }
  112. &::-webkit-slider-runnable-track {
  113. width: 100%;
  114. height: 8px;
  115. cursor: pointer;
  116. background: rgb(20,20,20);
  117. border: 1px solid #444;
  118. }
  119. }
  120. input[type=checkbox] {
  121. -webkit-font-smoothing: antialiased;
  122. text-rendering: optimizeSpeed;
  123. width: 13px;
  124. height: 13px;
  125. margin: 0;
  126. margin-right: 1px;
  127. display: block;
  128. float: left;
  129. position: relative;
  130. cursor:pointer;
  131. top:1px;
  132. &:after {
  133. content:"";
  134. vertical-align: middle;
  135. text-align: center;
  136. line-height: 13px;
  137. position: absolute;
  138. cursor: pointer;
  139. height: 13px;
  140. width: 13px;
  141. left:0px;
  142. top:0px;
  143. font-size:10px;
  144. box-shadow: inset 0px 1px 1px #000, 0px 1px 0px #444;
  145. background: #202020;
  146. color: #fff;
  147. }
  148. &:checked:after {
  149. content:'\2714';
  150. }
  151. }
  152. #mainmenu { display : none }
  153. .hide-scroll {
  154. max-width : 100%;
  155. max-height : 100%;
  156. overflow : auto;
  157. }
  158. .hide-modal {
  159. position: fixed;
  160. top:0px;
  161. left:0px;
  162. width: 100%;
  163. height: 100%;
  164. z-index: @hidemodal-layer;
  165. background-color: rgba(0,0,0,0.2);
  166. display: table;
  167. &> .content {
  168. display: table-cell;
  169. vertical-align: middle;
  170. text-align: center;
  171. }
  172. }
  173. ::-webkit-scrollbar {
  174. width: 5px;
  175. height: 5px;
  176. }
  177. ::-webkit-scrollbar-track {
  178. background: #666;
  179. }
  180. ::-webkit-scrollbar-thumb {
  181. background: #ddd;
  182. }
  183. .checkbox-wrapper {
  184. display:inline-block;
  185. }
  186. .hide-loading {
  187. width : 16px;
  188. height : 16px;
  189. display : inline-block;
  190. background : url('libs/jstree/default-dark/throbber.gif');
  191. }
  192. .hide-scene-container {
  193. width:100%;
  194. height:100%;
  195. position:relative;
  196. }
  197. .hide-scene {
  198. position:absolute;
  199. cursor: default;
  200. }
  201. .hide-scene-layer {
  202. width:auto;
  203. position: absolute;
  204. z-index: @default-layer;
  205. max-height: 100%;
  206. .jstree {
  207. padding-right : 5px;
  208. }
  209. .jstree-container-ul {
  210. padding-right : 5px;
  211. }
  212. }
  213. .scene-partition > .props-column {
  214. .hide-toolbar {
  215. padding-bottom: 4px;
  216. }
  217. }
  218. .scene-partition.reduced-columns {
  219. .hide-scenetree {
  220. max-height: 40%;
  221. }
  222. .tree-column {
  223. min-width: 322px;
  224. max-width: 1402px;
  225. }
  226. .props-column {
  227. max-height: 60%;
  228. padding-bottom: 36px;
  229. }
  230. }
  231. .tree-column {
  232. min-width: 302px;
  233. max-width: 1002px;
  234. }
  235. .splitter {
  236. position : relative;
  237. z-index: @splitter-layer;
  238. background: #000000;
  239. opacity: .001;
  240. transition: opacity 200ms ease;
  241. &:hover, &.dragging {
  242. background : #444444;
  243. opacity : 1;
  244. }
  245. &.vertical {
  246. width : 100%;
  247. height : 5px;
  248. .drag-handle {
  249. width : 100%;
  250. height : 15px;
  251. position : absolute;
  252. top : -5px;
  253. cursor : ns-resize;
  254. }
  255. }
  256. &.horizontal {
  257. width : 5px;
  258. height : 100%;
  259. .drag-handle {
  260. width : 15px;
  261. height : 100%;
  262. position : absolute;
  263. left : -5px;
  264. cursor : ew-resize;
  265. }
  266. }
  267. }
  268. .detached {
  269. .layout-controls:not(& .layout-controls) {
  270. display : none;
  271. }
  272. &.detachable-panel {
  273. position: fixed;
  274. bottom : 20px;
  275. left: 20%;
  276. right: 620px;
  277. z-index: @popup-layer;
  278. .splitter {
  279. z-index : @popup-layer + 10;
  280. position : absolute;
  281. &.handle-right {
  282. right : -5px;
  283. }
  284. &.handle-left {
  285. left : -5px;
  286. }
  287. &.handle-top {
  288. height : 15px;
  289. top : -15px;
  290. .drag-handle {
  291. cursor : move;
  292. top : 0px;
  293. }
  294. }
  295. &.handle-bottom {
  296. bottom : -5px;
  297. }
  298. }
  299. }
  300. }
  301. .hide-scenetree {
  302. flex: 1;
  303. background-color : #111;
  304. border : 1px solid #444;
  305. min-width: 300px;
  306. max-width: 1000px;
  307. overflow-y: auto;
  308. min-height : 350px;
  309. .jstree {
  310. min-width: 300px;
  311. overflow-x: hidden;
  312. }
  313. .jstree-container-ul {
  314. max-width: 300px;
  315. }
  316. }
  317. .hide-tileselect {
  318. display: inline-block;
  319. background-color : #111;
  320. border : 1px solid #666;
  321. text-align: left;
  322. overflow: hidden;
  323. .flex-scroll {
  324. height: 600px;
  325. width: 800px;
  326. display: flex;
  327. flex-direction: column;
  328. .scroll {
  329. flex-grow: 1;
  330. overflow : auto;
  331. .tile {
  332. background-color: #202;
  333. position: relative;
  334. .valueDisp {
  335. position: absolute;
  336. background-color: rgba(0,80,128,0.3);
  337. border:1px solid rgba(128,128,128,0.5);
  338. pointer-events:none;
  339. }
  340. .cursor {
  341. position: absolute;
  342. border : 1px solid #fff;
  343. pointer-events:none;
  344. }
  345. }
  346. }
  347. }
  348. }
  349. .hide-range {
  350. display : inline-block;
  351. input[type=range] {
  352. display : inline-block;
  353. width: 140px;
  354. }
  355. input[type=range].small {
  356. width: 123px;
  357. }
  358. input[type=text] {
  359. display : inline-block;
  360. width: 44px;
  361. padding-left:2px;
  362. margin-left:3px;
  363. border-color: transparent;
  364. }
  365. input[type=text]:hover, input[type=text]:active {
  366. border-color: #444;
  367. }
  368. }
  369. .heaps-scene {
  370. flex: 1;
  371. }
  372. .flex {
  373. width:100%;
  374. height:100%;
  375. display:flex;
  376. //flex-grow : 100;
  377. }
  378. .flex-elt {
  379. flex: 1;
  380. display: flex;
  381. }
  382. .flex.vertical {
  383. flex-direction: column;
  384. }
  385. .scene-partition .hide-toolbar .button {
  386. min-width : 16px !important;
  387. height : 16px !important;
  388. font-size: 12px !important;
  389. }
  390. .scene-partition .show-cols-btn {
  391. &:extend(.hide-toolbar .button);
  392. &:extend(.scene-partition .hide-toolbar .button);
  393. position: absolute;
  394. margin-top: 2px;
  395. right: 0px;
  396. &:hover {
  397. &:extend(.hide-toolbar .button:hover);
  398. }
  399. &:active {
  400. &:extend(.hide-toolbar .button:active);
  401. }
  402. }
  403. .hide-toolbar {
  404. flex: none;
  405. padding-top: 2px;
  406. padding-bottom: 2px;
  407. background-color : rgb(34,34,34);
  408. display: inline-block;
  409. .layout-btn {
  410. position: absolute;
  411. right: 26px;
  412. }
  413. .close-btn {
  414. position: absolute;
  415. right: 0px;
  416. }
  417. .toolbar-label, .menu {
  418. display: inline-block;
  419. min-width : 20px;
  420. padding : 2px;
  421. text-align: center;
  422. text-shadow: 1px 2px 2px black;
  423. >.icon {
  424. vertical-align: middle;
  425. margin-bottom: 2px;
  426. }
  427. }
  428. .menu {
  429. user-select:none;
  430. cursor : pointer;
  431. background : #444;
  432. padding-left: 5px;
  433. padding-right: 5px;
  434. }
  435. .button, .toggle {
  436. display: inline-block;
  437. user-select:none;
  438. border: 1px solid rgb(90,90,90);
  439. min-width : 20px;
  440. padding : 2px;
  441. text-align: center;
  442. border-radius: 1px;
  443. text-shadow: 1px 2px 2px black;
  444. background: -webkit-linear-gradient(top, rgb(90,90,90), rgb(50,50,50));
  445. cursor : pointer;
  446. font-size: 16px;
  447. vertical-align: middle;
  448. &:hover {
  449. color : white;
  450. border-color : white;
  451. background-color : #666;
  452. }
  453. label {
  454. font-size: 12px;
  455. margin-left: 6px;
  456. margin-right: 6px;
  457. text-shadow: none;
  458. }
  459. label.locked {
  460. color: #000;
  461. font-style: italic;
  462. }
  463. }
  464. .toggle.toggled {
  465. color : #ddd;
  466. background : #777;
  467. padding-top: 2px;
  468. padding-bottom: 1px;
  469. text-shadow: none;
  470. border-top-width: 2px;
  471. border-top-color: #444;
  472. &:hover {
  473. border-top-width: 1px;
  474. padding-top: 3px;
  475. border-top-color : white;
  476. }
  477. }
  478. .button:active {
  479. padding-top: 3px;
  480. padding-bottom: 1px;
  481. }
  482. .select {
  483. padding : 2px;
  484. padding-top: 4px;
  485. margin-right : 5px;
  486. display : inline-block;
  487. .icon {
  488. font-size: 16px;
  489. vertical-align: top;
  490. }
  491. >select {
  492. margin-left : 5px;
  493. min-width : 100px;
  494. }
  495. }
  496. }
  497. .prefab-toolbar {
  498. .button, .toggle {
  499. margin-right : 5px;
  500. }
  501. }
  502. .hide-list {
  503. width : 100%;
  504. min-height : 200px;
  505. background-color : #111;
  506. border : 1px solid #444;
  507. overflow : auto;
  508. }
  509. .hide-block {
  510. padding : 5px;
  511. flex-grow: initial;
  512. }
  513. .hide-tabs {
  514. flex : 0 0 320px;
  515. position: relative;
  516. height: 100%;
  517. &.masked {
  518. & > * {
  519. display : none !important;
  520. }
  521. flex : none;
  522. position: absolute;
  523. height : 20px;
  524. width : 20px;
  525. right : 0px;
  526. >.maskToggle:before {
  527. content : "«";
  528. }
  529. }
  530. >.maskToggle {
  531. &:before {
  532. content : "»";
  533. }
  534. display : block !important;
  535. position : absolute;
  536. margin-top : -2px;
  537. right : 5px;
  538. color : #aaa;
  539. font-size: 24px;
  540. &:hover {
  541. color : white;
  542. }
  543. }
  544. .tabs-header {
  545. background-color : #111;
  546. padding : 2px;
  547. padding-bottom : 0px;
  548. &>div {
  549. cursor : pointer;
  550. display : inline-block;
  551. color: #888;
  552. background-color : #151515;
  553. padding : 3px 8px;
  554. border : 1px solid #444;
  555. margin-left : -1px;
  556. border-top-right-radius: 5px;
  557. user-select: none;
  558. &.active {
  559. background-color : #444;
  560. color : #bbb;
  561. border-bottom-color : #222;
  562. border-top-right-radius: 0px;
  563. }
  564. &.active:hover {
  565. background-color : #333;
  566. }
  567. &:hover {
  568. background-color : #282828;
  569. }
  570. &.hidden {
  571. display: none;
  572. }
  573. }
  574. }
  575. .tab {
  576. max-height: 100%;
  577. display: flex;
  578. flex-direction: column;
  579. position: absolute;
  580. &.expand {
  581. width: 100%;
  582. height: 100%;
  583. }
  584. }
  585. }
  586. .hide-tabs.tabs-bottom {
  587. >.tabs-header {
  588. width:100%;
  589. position: absolute;
  590. bottom : 0px;
  591. padding-top : 0px;
  592. padding-bottom : 5px;
  593. z-index: @header-layer;
  594. &>div {
  595. border-top : none;
  596. border-top-right-radius: 0;
  597. border-bottom-right-radius: 5px;
  598. &.active {
  599. border-radius: 0px;
  600. }
  601. }
  602. }
  603. }
  604. .searchBox {
  605. display : none;
  606. width : 200px;
  607. position : fixed;
  608. z-index: @popup-layer;
  609. top : 20px;
  610. right : 0px;
  611. background-color : black;
  612. border : 1px solid #555;
  613. border-top : none;
  614. border-right : none;
  615. border-bottom-left-radius : 5px;
  616. padding : 5px;
  617. input {
  618. width : 170px;
  619. background-color : black;
  620. }
  621. i {
  622. cursor : pointer;
  623. margin-left : 5px;
  624. display : inline-block;
  625. font-size : 18px;
  626. color : #888;
  627. }
  628. i:hover {
  629. color : #EEE;
  630. }
  631. color : #444;
  632. }
  633. .tree > .searchBox {
  634. position: sticky;
  635. float : right;
  636. top : 0px;
  637. right : 0px;
  638. width : 130px;
  639. input {
  640. width : 100px;
  641. }
  642. }
  643. /* Properties */
  644. .props-column {
  645. height : 100%;
  646. background-color: #111;
  647. width: 320px;
  648. .hide-toolbar {
  649. width: 100%;
  650. vertical-align: middle;
  651. }
  652. }
  653. .hide-properties {
  654. //flex : 0 0 300px;
  655. padding:10px;
  656. overflow:auto;
  657. padding-bottom:80px;
  658. .section {
  659. margin-bottom : 10px;
  660. >h1 {
  661. font-size:12px;
  662. margin: 0px;
  663. cursor:pointer;
  664. user-select:none;
  665. width:100%;
  666. padding : 2px;
  667. padding-bottom: 0px;
  668. margin-bottom: 2px;
  669. background-color : #333;
  670. &:hover {
  671. background-color : #555;
  672. }
  673. &:before {
  674. content:"\25ba ";
  675. }
  676. }
  677. }
  678. .section.open > h1:before {
  679. content:"\25bc ";
  680. }
  681. dl {
  682. overflow-x:hidden;
  683. margin:0px;
  684. }
  685. dd, dt {
  686. vertical-align:middle;
  687. display:inline-block;
  688. overflow-x:hidden;
  689. margin-top:4px;
  690. span {
  691. display: inline-block;
  692. width: 20px;
  693. }
  694. }
  695. dt {
  696. width:80px;
  697. text-align:right;
  698. font-size:11px;
  699. color:#aaa;
  700. user-select:none;
  701. text-transform: capitalize;
  702. cursor:pointer;
  703. }
  704. input {
  705. width:190px;
  706. }
  707. input.small {
  708. width:170px;
  709. }
  710. input[type=checkbox] {
  711. width:13px;
  712. }
  713. dt {
  714. input[type=button] {
  715. width: 100%;
  716. text-align: right;
  717. background: none;
  718. border: none;
  719. zoom: 1;
  720. font-size: 11px;
  721. }
  722. }
  723. select {
  724. width:197px;
  725. }
  726. dd {
  727. position:relative;
  728. width:200px;
  729. margin-left:10px;
  730. }
  731. .texture-preview {
  732. pointer-events: none;
  733. display:inline-block;
  734. width : 15px;
  735. height: 15px;
  736. position : absolute;
  737. margin-left : -17px;
  738. margin-top : 2px;
  739. }
  740. dl dl {
  741. dt {
  742. width : 50px;
  743. }
  744. dd {
  745. width : 140px;
  746. }
  747. input[type=range] {
  748. width : 90px;
  749. }
  750. .hide-range input[type=text] {
  751. width : 30px;
  752. }
  753. }
  754. .group {
  755. >.title {
  756. text-align : center;
  757. background-color : #151515;
  758. cursor:pointer;
  759. user-select:none;
  760. padding : 1px;
  761. position: relative;
  762. input[type=button] {
  763. border: none;
  764. position : absolute;
  765. top : 0px;
  766. right : 0px;
  767. width : auto;
  768. padding : 1px 5px;
  769. background-color: rgb(40,40,40);
  770. &:hover {
  771. background-color: rgb(70,70,70);
  772. }
  773. }
  774. >.checkbox-wrapper {
  775. position: absolute;
  776. left: 5px;
  777. }
  778. }
  779. >.content {
  780. margin-bottom : 5px;
  781. }
  782. margin-bottom : 5px;
  783. }
  784. .btn-list {
  785. * {
  786. margin-bottom: 5px;
  787. }
  788. }
  789. .error {
  790. color: red;
  791. }
  792. .vector {
  793. flex-direction: row;
  794. }
  795. .btn-cdb-large {
  796. width : 16px;
  797. font-size : 14px;
  798. margin : 3px;
  799. opacity : 0.5;
  800. }
  801. .cdb-large {
  802. .cdb-obj-editor {
  803. max-height: 800px;
  804. overflow: auto;
  805. padding: 2px;
  806. background: #111;
  807. overflow-y: auto;
  808. }
  809. .btn-cdb-large {
  810. opacity: 1;
  811. }
  812. }
  813. }
  814. /* Curve editor */
  815. .hide-curve-editor {
  816. position: relative;
  817. &:focus {
  818. background-color: rgba(0, 0, 0, 0.219);
  819. outline: none;
  820. }
  821. .keyPopup {
  822. padding: 4px;
  823. padding-bottom: 2px;
  824. background-color: #151515;
  825. position: absolute;
  826. .line {
  827. margin-bottom: 2px;
  828. }
  829. label {
  830. width: 60px;
  831. display: inline-block;
  832. }
  833. input { width: 80px; }
  834. }
  835. svg {
  836. @selectCol: rgb(255, 255, 255);
  837. @previewCol: rgb(192, 111, 6);
  838. @lineCol: rgb(255, 31, 31);
  839. border-right: 1px solid black;
  840. line {
  841. stroke-width: 1px;
  842. }
  843. rect {
  844. shape-rendering: crispEdges;
  845. }
  846. .grid {
  847. line {
  848. shape-rendering: crispEdges;
  849. }
  850. .hgrid line { stroke: #444; }
  851. .vgrid line { stroke: #444; }
  852. line.axis {
  853. stroke: rgb(116, 116, 116);
  854. shape-rendering: crispEdges;
  855. }
  856. text {
  857. font: 10px sans-serif; fill: #555;
  858. }
  859. }
  860. .graph {
  861. .selection rect {
  862. fill: @selectCol;
  863. fill-opacity: 0.1;
  864. stroke: rgb(255, 255, 255);
  865. opacity: 0.3;
  866. mix-blend-mode: screen;
  867. }
  868. .curve line, path {
  869. stroke: @lineCol;
  870. stroke-width: 1px;
  871. fill: none;
  872. }
  873. .vectors {
  874. line {
  875. stroke: rgba(207, 207, 207, 0.603);
  876. }
  877. line.selected {
  878. stroke: @selectCol;
  879. }
  880. }
  881. .handles {
  882. circle, rect {
  883. fill: rgba(187, 187, 187, 0.644);
  884. cursor: pointer;
  885. }
  886. circle:hover, rect:hover {
  887. fill: #fff;
  888. stroke: #fff;
  889. stroke-width: 2px;
  890. }
  891. circle.selected, circle:hover.selected, rect.selected, rect:hover.selected {
  892. fill: @selectCol;
  893. }
  894. rect.preview {
  895. fill: @previewCol;
  896. }
  897. }
  898. }
  899. .selection-overlay rect {
  900. mix-blend-mode: multiply;
  901. fill: #888;
  902. fill-opacity: 20px;
  903. stroke: #000;
  904. opacity: 50%;
  905. }
  906. }
  907. }
  908. /* FX Editor */
  909. .fx-script {
  910. height: 500px;
  911. width : 500px;
  912. }
  913. .fx-scriptParams {
  914. margin : 10px;
  915. .slider {
  916. margin : 10px;
  917. }
  918. .checkbox {
  919. margin : 10px;
  920. }
  921. input[type=checkbox] {
  922. display: inline-block;
  923. float: none;
  924. }
  925. }
  926. .fx-animpanel {
  927. @leftPanelWidth: 120px;
  928. @timelineHeight: 20px;
  929. min-height: 120px;
  930. max-height: 800px;
  931. position: relative;
  932. .anim-scroll {
  933. overflow-y: scroll;
  934. overflow-x: hidden;
  935. height: 400px;
  936. }
  937. .top-bar {
  938. margin-left: @leftPanelWidth;
  939. position: relative;
  940. //height: 100%;
  941. }
  942. .timeline {
  943. background: rgb(20, 20, 20);
  944. position: relative;
  945. height: @timelineHeight;
  946. overflow: hidden;
  947. .mark {
  948. height: 100%;
  949. border-left: 1px solid white;
  950. vertical-align: middle;
  951. padding-left: 4px;
  952. position: absolute;
  953. line-height: @timelineHeight;
  954. user-select: none;
  955. }
  956. }
  957. .overlay-container {
  958. top: 0;
  959. position: absolute;
  960. height: 100%;
  961. pointer-events: none;
  962. left: @leftPanelWidth;
  963. right: 0px;
  964. .overlay {
  965. position: absolute;
  966. top: 0px;
  967. width: 100%;
  968. height: 100%;
  969. overflow: hidden;
  970. .time-marker {
  971. position: absolute;
  972. height: 100%;
  973. width: 1px;
  974. background: green;
  975. }
  976. .marker {
  977. position: absolute;
  978. height: 100%;
  979. width: 1px;
  980. background: #907a00;
  981. }
  982. .selection {
  983. position: absolute;
  984. height: 100%;
  985. background: #17ffeb12;
  986. mix-blend-mode: hard-light;
  987. pointer-events: all;
  988. cursor: move;
  989. }
  990. .selection-left, .selection-right {
  991. cursor: ew-resize;
  992. pointer-events: all;
  993. width: 4px;
  994. background: #00000036;
  995. position: absolute;
  996. height: 100%;
  997. }
  998. .selection-left {
  999. border-right: 1px dashed black;
  1000. }
  1001. .selection-right {
  1002. border-left: 1px dashed black;
  1003. }
  1004. .preview {
  1005. position: absolute;
  1006. height: @timelineHeight;
  1007. background: rgba(255, 255, 255, 0.1);
  1008. opacity: 0.9;
  1009. mix-blend-mode: screen;
  1010. border-left: 1px black;
  1011. border-right: 1px black;
  1012. }
  1013. .preview-left {
  1014. background: rgba(0, 0, 0, 0.3);
  1015. border-right:1px dashed rgb(121, 121, 121);
  1016. position: absolute;
  1017. height: 100%;
  1018. }
  1019. .preview-right {
  1020. background: rgba(0, 0, 0, 0.3);
  1021. border-left:1px dashed rgb(121, 121, 121);
  1022. position: absolute;
  1023. height: 100%;
  1024. }
  1025. }
  1026. }
  1027. .tracks-header {
  1028. position: relative;
  1029. background: #4a4a4a;
  1030. text-align: left;
  1031. .name {
  1032. padding: 1px;
  1033. padding-left: 5px;
  1034. padding-right: 5px;
  1035. }
  1036. .abspath {
  1037. position: absolute;
  1038. opacity: 0.5;
  1039. left: 200px;
  1040. }
  1041. .addtrack {
  1042. margin-left: 4px;
  1043. padding: 2px;
  1044. &:hover {
  1045. color: white;
  1046. }
  1047. }
  1048. }
  1049. .track {
  1050. .track-header {
  1051. min-height: 20px;
  1052. display: flex;
  1053. user-select: none;
  1054. .track-prop {
  1055. cursor: pointer;
  1056. text-align: right;
  1057. width: @leftPanelWidth;
  1058. height: 100%;
  1059. label {
  1060. vertical-align: middle;
  1061. padding-right: 4px;
  1062. }
  1063. .track-toggle {
  1064. width: 16px;
  1065. height: 16px;
  1066. display: inline-block;
  1067. text-align: center;
  1068. }
  1069. &:hover {
  1070. background: rgba(0, 0, 0, 0.438);
  1071. }
  1072. }
  1073. .dopesheet {
  1074. position: relative;
  1075. height: 20px;
  1076. flex-grow: 1;
  1077. background: #333;
  1078. box-shadow: 0px -1px 0px black inset;
  1079. overflow-x: hidden;
  1080. .key {
  1081. cursor: pointer;
  1082. user-select: none;
  1083. position: absolute;
  1084. width: 5px;
  1085. margin-top: 1px;
  1086. margin-left: -2px;
  1087. height: 15px;
  1088. background: #9a9a9a;
  1089. border: 1px solid black;
  1090. &:hover {
  1091. background: white;
  1092. }
  1093. .sp-replacer {
  1094. border: none;
  1095. padding: 0;
  1096. }
  1097. }
  1098. }
  1099. }
  1100. .curve {
  1101. margin-left: @leftPanelWidth;
  1102. position: relative;
  1103. box-shadow: 0px -1px 0px black inset;
  1104. }
  1105. .curves.hidden {
  1106. display: none;
  1107. }
  1108. .events {
  1109. position: relative;
  1110. overflow-x: hidden;
  1111. flex-grow: 1;
  1112. box-shadow: 0px -1px 0px black inset;
  1113. .event {
  1114. cursor: pointer;
  1115. min-width: 10px;
  1116. display: inline-block;
  1117. height: 17px;
  1118. user-select: none;
  1119. position: absolute;
  1120. background: #202;
  1121. overflow-x: hidden;
  1122. padding-top: 3px;
  1123. label, i {
  1124. margin-left: 3px;
  1125. display: inline;
  1126. }
  1127. }
  1128. .event:hover {
  1129. color: white;
  1130. }
  1131. }
  1132. label.curve-label {
  1133. user-select: none;
  1134. pointer-events: none;
  1135. position: absolute;
  1136. text-transform: capitalize;
  1137. margin-left: 15px;
  1138. font-size: 20px;
  1139. color: white;
  1140. mix-blend-mode: overlay;
  1141. }
  1142. }
  1143. }
  1144. /* Poly editor */
  1145. .poly-editor{
  1146. .editModeButton{
  1147. margin: 10px;
  1148. outline: 4px solid #fd5151;
  1149. }
  1150. .editModeEnabled {
  1151. outline: 4px solid #5897fb;
  1152. }
  1153. .description{
  1154. margin: 5px;
  1155. background-color:#303030;
  1156. outline: 4px solid #4a4a4a;
  1157. padding : 2px;
  1158. }
  1159. .point-list {
  1160. input {
  1161. width: 70px;
  1162. }
  1163. .deletePoint {
  1164. width: 20px;
  1165. margin-left: 8px;
  1166. }
  1167. }
  1168. .poly-vector2{
  1169. display: block;
  1170. padding : 5px;
  1171. }
  1172. }
  1173. // Array of string
  1174. .string-array {
  1175. .array-element {
  1176. display: block;
  1177. padding: 5px;
  1178. }
  1179. .string-field {
  1180. width: 120px;
  1181. }
  1182. .delete-button {
  1183. width: 20px;
  1184. margin-left: 8px;
  1185. }
  1186. }
  1187. // Default Edit Button
  1188. .editModeButton{
  1189. margin: 10px;
  1190. outline: 4px solid #fd5151;
  1191. }
  1192. .editModeEnabled {
  1193. outline: 4px solid #5897fb;
  1194. }
  1195. // Spline editor
  1196. .spline-editor{
  1197. .editModeButton{
  1198. margin: 10px;
  1199. outline: 4px solid #fd5151;
  1200. }
  1201. .editModeEnabled {
  1202. outline: 4px solid #5897fb;
  1203. }
  1204. .description{
  1205. margin: 5px;
  1206. background-color: #303030;
  1207. outline: 4px solid #4a4a4a;
  1208. padding : 2px;
  1209. }
  1210. }
  1211. /* Mesh Generator */
  1212. .meshGenerator-thumbnail {
  1213. display: inline-block;
  1214. margin: 5px;
  1215. @size: 75px;
  1216. width: @size;
  1217. height: @size;
  1218. background-size: @size @size;
  1219. outline: 2px solid #4a4a4a;
  1220. background-size: contain;
  1221. }
  1222. /* Terrain editor */
  1223. .terrain-brushModeDescription{
  1224. margin: 5px;
  1225. background-color: black;
  1226. outline: 4px solid #4a4a4a;
  1227. padding : 2px;
  1228. }
  1229. .terrain-brushModeContainer{
  1230. padding : 1px;
  1231. }
  1232. .terrain-brushMode{
  1233. padding : 5px;
  1234. display: inline-block;
  1235. .selected {
  1236. outline: 4px solid #5897fb;
  1237. }
  1238. }
  1239. .terrain-brushModeIcon {
  1240. @size: 40px;
  1241. width: @size;
  1242. height: @size;
  1243. background-size: @size @size;
  1244. background-color: #AAAAAA;
  1245. outline: 4px solid #4a4a4a;
  1246. background-size: contain;
  1247. }
  1248. .terrain-brushes {
  1249. .brush {
  1250. display: inline-block;
  1251. padding : 6px;
  1252. position: relative;
  1253. }
  1254. .brush-preview {
  1255. @size: 40px;
  1256. background-size: @size @size;
  1257. width: @size;
  1258. height: @size;
  1259. outline: 4px solid #4a4a4a;
  1260. }
  1261. .brush-preview-selected {
  1262. @size: 45px;
  1263. background-size: @size @size;
  1264. width: @size;
  1265. height: @size;
  1266. outline: 4px solid #5897fb;
  1267. }
  1268. .tooltiptext {
  1269. visibility: hidden;
  1270. background-color: black;
  1271. color: #fff;
  1272. text-align: left;
  1273. border-radius: 6px;
  1274. position: absolute;
  1275. z-index: @tooltip-layer;
  1276. padding: 4px;
  1277. width: 90px;
  1278. }
  1279. .brush:hover .tooltiptext {
  1280. visibility: visible;
  1281. }
  1282. }
  1283. .terrain-surfaces {
  1284. .surface {
  1285. display: inline-block;
  1286. padding : 6px;
  1287. position: relative;
  1288. }
  1289. .surface-preview {
  1290. @size: 85px;
  1291. background-size: @size @size;
  1292. width: @size;
  1293. height: @size;
  1294. outline: 4px solid #4a4a4a;
  1295. }
  1296. .surface-preview-selected {
  1297. @size: 85px;
  1298. background-size: @size @size;
  1299. width: @size;
  1300. height: @size;
  1301. outline: 4px solid #5897fb;
  1302. }
  1303. .tooltiptext {
  1304. visibility: hidden;
  1305. background-color: black;
  1306. color: #fff;
  1307. text-align: left;
  1308. border-radius: 6px;
  1309. position: absolute;
  1310. z-index: @tooltip-layer;
  1311. padding: 4px;
  1312. }
  1313. .surface:hover .tooltiptext {
  1314. visibility: visible;
  1315. }
  1316. }
  1317. /* Shader Editor */
  1318. .graph-view {
  1319. outline: none !important;
  1320. .tabs {
  1321. z-index: @default-layer + 5;
  1322. background: #222222;
  1323. height: 100%;
  1324. user-select: none;
  1325. .tab {
  1326. height: 100%;
  1327. .hide-block {
  1328. height: 70%;
  1329. #parametersList {
  1330. height: 100%;
  1331. .parameter {
  1332. border: 1px solid;
  1333. margin: 5px;
  1334. background-color: #222;
  1335. .header {
  1336. background-color: #d6d6d6;
  1337. height: 20px;
  1338. padding: 5px;
  1339. color: black;
  1340. cursor: pointer;
  1341. .title {
  1342. float: left;
  1343. input {
  1344. width: 130px;
  1345. }
  1346. }
  1347. .type {
  1348. float: right;
  1349. span {
  1350. color: black;
  1351. font-style: italic;
  1352. font-size: 13px;
  1353. padding-right: 5px;
  1354. }
  1355. }
  1356. }
  1357. .content {
  1358. background-color: #b3b3b3;
  1359. padding: 5px;
  1360. box-shadow: inset 0px 13px 6px -15px black;
  1361. div:first-child {
  1362. display: inline;
  1363. }
  1364. div {
  1365. width: 100%;
  1366. height: 20px;
  1367. span {
  1368. float: left;
  1369. color: black;
  1370. font-size: 13px;
  1371. padding-right: 5px;
  1372. font-weight: normal;
  1373. }
  1374. }
  1375. .texture-preview {
  1376. background-repeat: no-repeat;
  1377. background-size: 20px 20px!important;
  1378. border: 2px #444444 solid;
  1379. width: 20px;
  1380. }
  1381. .action-btns {
  1382. input {
  1383. float: right;
  1384. }
  1385. }
  1386. }
  1387. & > span {
  1388. font-size: 12px;
  1389. }
  1390. }
  1391. }
  1392. }
  1393. .options-block {
  1394. height: 25%;
  1395. & > * {
  1396. display: block;
  1397. margin-bottom: 10px;
  1398. width: 100%;
  1399. }
  1400. }
  1401. }
  1402. }
  1403. #add-menu {
  1404. position: absolute;
  1405. width: 400px;
  1406. box-shadow: 0px 0px 25px -4px black;
  1407. background-color: rgb(34, 34, 34);
  1408. border: 1px solid #444;
  1409. z-index: @default-layer + 10;
  1410. .search-container {
  1411. display: flex;
  1412. .icon {
  1413. width: 16px;
  1414. font-size: 15px;
  1415. text-align: center;
  1416. padding: 7px;
  1417. border: solid #444;
  1418. background: #2d2d2d;
  1419. border-width: 0 1px 1px 0;
  1420. }
  1421. .search-bar {
  1422. flex: 1;
  1423. margin: -1px 11px 0px -1px;
  1424. input {
  1425. width: 100%;
  1426. height: 30px;
  1427. padding-left: 10px;
  1428. outline: none;
  1429. &:focus {
  1430. border: 1px solid #888888;
  1431. }
  1432. }
  1433. }
  1434. }
  1435. #results {
  1436. max-height: 300px;
  1437. overflow-y: auto;
  1438. div {
  1439. padding: 5px;
  1440. border-top: 1px solid #444444;
  1441. cursor: pointer;
  1442. color: #d4d4d4;
  1443. & {
  1444. position: relative;
  1445. }
  1446. &.group {
  1447. background: #474747;
  1448. color: #c0c0c0;
  1449. cursor: default;
  1450. z-index: @default-layer + 5;
  1451. box-shadow: 0px 0px 34px -9px black;
  1452. &:hover {
  1453. background: #474747!important;
  1454. color: #dadada!important;
  1455. box-shadow: none;
  1456. }
  1457. }
  1458. & > span:first-child {
  1459. font-weight: bold;
  1460. padding-left: 10px;
  1461. }
  1462. & > span:last-child {
  1463. font-style: oblique;
  1464. padding-left: 7px;
  1465. }
  1466. &:first-child {
  1467. border-top: 0;
  1468. }
  1469. &:hover, &.selected {
  1470. background: #5eb7bf;
  1471. color: #000000;
  1472. box-shadow: inset 0px 0px 12px -1px black;
  1473. z-index: @default-layer + 15;
  1474. }
  1475. }
  1476. }
  1477. }
  1478. #context-menu {
  1479. position: absolute;
  1480. width: 150px;
  1481. box-shadow: 0px 0px 25px -4px black;
  1482. background-color: rgb(34, 34, 34);
  1483. border: 1px solid #444;
  1484. z-index: @default-layer + 10;
  1485. #options {
  1486. max-height: 300px;
  1487. overflow-y: auto;
  1488. div {
  1489. padding: 5px;
  1490. border-top: 1px solid #444444;
  1491. cursor: pointer;
  1492. color: #d4d4d4;
  1493. & {
  1494. position: relative;
  1495. }
  1496. &.group {
  1497. background: #474747;
  1498. color: #c0c0c0;
  1499. cursor: default;
  1500. z-index: @default-layer + 15;
  1501. box-shadow: 0px 0px 34px -9px black;
  1502. &:hover {
  1503. background: #474747!important;
  1504. color: #dadada!important;
  1505. box-shadow: none;
  1506. }
  1507. }
  1508. & > span:first-child {
  1509. font-weight: bold;
  1510. padding-left: 10px;
  1511. }
  1512. & > span:last-child {
  1513. font-style: oblique;
  1514. padding-left: 7px;
  1515. }
  1516. &:first-child {
  1517. border-top: 0;
  1518. }
  1519. &:hover, &.selected {
  1520. background: #5eb7bf;
  1521. color: #000000;
  1522. box-shadow: inset 0px 0px 12px -1px black!important;
  1523. z-index: @default-layer + 15;
  1524. }
  1525. &.grey-item {
  1526. background: #adadad;
  1527. color: #000000;
  1528. font-weight: bold;
  1529. box-shadow: inset 0px 0px 5px -1px black;
  1530. }
  1531. }
  1532. }
  1533. }
  1534. .heaps-scene {
  1535. outline: none !important;
  1536. #preview {
  1537. position: absolute;
  1538. width: 300px;
  1539. height: 300px;
  1540. background-color: #111;
  1541. border: 1px solid #444;
  1542. right: 290px;
  1543. bottom: 35px;
  1544. }
  1545. #status-bar {
  1546. position: absolute;
  1547. width: 84%;
  1548. min-height: 20px;
  1549. background-color: #111;
  1550. border: 1px solid #444;
  1551. left: -1px;
  1552. bottom: -1px;
  1553. span {
  1554. padding: 10px;
  1555. vertical-align: sub;
  1556. &.error {
  1557. color: #c74848;
  1558. }
  1559. }
  1560. }
  1561. svg {
  1562. g {
  1563. stroke: #202020;
  1564. &.selected {
  1565. .outline {
  1566. stroke: #668fff;
  1567. }
  1568. }
  1569. &.error {
  1570. .outline {
  1571. stroke: #ff6666;
  1572. }
  1573. }
  1574. }
  1575. .outline {
  1576. fill: none;
  1577. }
  1578. .head-box {
  1579. fill: #155358;
  1580. }
  1581. .title-box {
  1582. fill: #ffffff;
  1583. stroke: none;
  1584. user-select: none;
  1585. &::selection {
  1586. background: none;
  1587. }
  1588. }
  1589. .nodes, .properties {
  1590. fill: #737373;
  1591. opacity: 0.75;
  1592. }
  1593. .hasLink {
  1594. .input-field {
  1595. display: none;
  1596. }
  1597. }
  1598. .input-node, .output-node {
  1599. fill: rgb(200, 200, 200);
  1600. stroke-width: 13px;
  1601. stroke-opacity: 0;
  1602. &.nodeMatch {
  1603. fill: #5ca4ab;
  1604. }
  1605. }
  1606. .title-node {
  1607. fill: #ffffff;
  1608. stroke: none;
  1609. user-select: none;
  1610. &::selection {
  1611. background: none;
  1612. }
  1613. }
  1614. .properties-group {
  1615. span {
  1616. color: #ffffff;
  1617. user-select: none;
  1618. &::selection {
  1619. background: none;
  1620. }
  1621. }
  1622. input[type=text], select {
  1623. width: 100%;
  1624. }
  1625. input[type=text].error {
  1626. border: red 1px solid;
  1627. }
  1628. .texture-preview {
  1629. background-size: 50px 50px;
  1630. height: 50px;
  1631. width: 50px;
  1632. margin: auto;
  1633. margin-bottom: 5px;
  1634. }
  1635. .color-preview {
  1636. background-size: 25px 25px;
  1637. height: 25px;
  1638. width: 25px;
  1639. margin: auto;
  1640. margin-bottom: 5px;
  1641. }
  1642. .float-preview {
  1643. background: #222222;
  1644. font-weight: bold;
  1645. width: fit-content;
  1646. padding: 2px 3px;
  1647. margin: auto;
  1648. margin-bottom: 3px;
  1649. user-select: none;
  1650. }
  1651. .preview-parent {
  1652. position: absolute;
  1653. height: 100px;
  1654. width: 100px;
  1655. }
  1656. .propertySubShader {
  1657. span {
  1658. float: left;
  1659. margin-right: 10px;
  1660. }
  1661. }
  1662. }
  1663. .edge {
  1664. stroke-width: 2;
  1665. stroke: rgb(200, 200, 200);
  1666. fill: transparent;
  1667. }
  1668. .edge:not(.draft):hover, .edge:not(.draft).selected {
  1669. stroke-width: 5;
  1670. stroke: rgb(114, 180, 255);
  1671. }
  1672. .rect-selection {
  1673. stroke: rgba(0, 0, 255, 0.7);
  1674. fill: rgba(70, 70, 116, 0.08);
  1675. }
  1676. }
  1677. }
  1678. .tabs {
  1679. width: 280px;
  1680. padding-top: 10px;
  1681. border-left: 1px solid #444444;
  1682. span { // title
  1683. margin-left: 5px;
  1684. font-size: 15px;
  1685. font-weight: bold;
  1686. }
  1687. }
  1688. .paramVisible {
  1689. color: black!important;
  1690. font-weight: bold;
  1691. font-style: italic;
  1692. letter-spacing: -.5px;
  1693. text-align: center;
  1694. user-select: none;
  1695. }
  1696. }
  1697. /* Golden Layout Fixes */
  1698. .lm_header .lm_tabs {
  1699. z-index : @default-layer;
  1700. }
  1701. .lm_dropTargetIndicator {
  1702. box-shadow : none;
  1703. }
  1704. span.lm_title { display: inline-block; padding: 0px 10px; }
  1705. li.lm_tab { padding-left: 0px !important; padding-right: 15px !important; }
  1706. div.lm_close_tab { top : 0px !important; right : 0px !important; width : 15px !important; height : 18px !important; }
  1707. div.lm_close_tab:hover { background-color : #555 !important; }
  1708. body.hide-subview {
  1709. .lm_header .lm_tab {
  1710. padding-right: 10px;
  1711. }
  1712. .lm_close_tab, .lm_controls {
  1713. display : none;
  1714. }
  1715. }
  1716. /* JSTree fixes */
  1717. .jstree {
  1718. background:transparent !important;
  1719. padding-bottom: 40px;
  1720. outline: none;
  1721. position: relative;
  1722. .filtered {
  1723. display: none;
  1724. }
  1725. .hidden {
  1726. color: #555 !important;
  1727. i, a {
  1728. color: #555;
  1729. }
  1730. }
  1731. .disabled {
  1732. a {
  1733. color: #533 !important;
  1734. display: inline;
  1735. }
  1736. i {
  1737. color: #533;
  1738. }
  1739. }
  1740. a.locked {
  1741. color: #666 !important;
  1742. font-style: italic;
  1743. }
  1744. a.locked::after {
  1745. content: " (locked)";
  1746. }
  1747. }
  1748. .jstree-icon.jstree-ocl {
  1749. opacity: 0.7;
  1750. width:18px !important;
  1751. top:-1px;
  1752. }
  1753. .jstree-icon {
  1754. i {
  1755. color : #aaa;
  1756. }
  1757. }
  1758. .jstree-node {
  1759. padding-right: 10px!important;
  1760. }
  1761. .visibility-toggle, .visibility-large-toggle {
  1762. position: absolute;
  1763. right: 4px;
  1764. padding: 4px;
  1765. &:hover {
  1766. color : white;
  1767. background: black;
  1768. }
  1769. }
  1770. .hidden {
  1771. .visibility-toggle, .visibility-large-toggle {
  1772. background: #0000008a;
  1773. i {
  1774. color: #555;
  1775. }
  1776. }
  1777. }
  1778. .visibility-large-toggle {
  1779. font-size: 14px!important;
  1780. }
  1781. .lock-toggle, .lock-large-toggle {
  1782. position: absolute;
  1783. right: 24px;
  1784. padding: 4px;
  1785. }
  1786. .locked {
  1787. .lock-toggle, .lock-large-toggle {
  1788. i {
  1789. color: #555;
  1790. }
  1791. }
  1792. }
  1793. .lock-large-toggle {
  1794. font-size: 14px!important;
  1795. }
  1796. .jstree.small {
  1797. @size: 18px;
  1798. a {
  1799. font-size: 12px;
  1800. }
  1801. .jstree-node {
  1802. min-height: @size;
  1803. line-height: @size;
  1804. margin-left: 12px;
  1805. min-width: @size;
  1806. }
  1807. .jstree-anchor {
  1808. line-height: @size;
  1809. height: @size;
  1810. }
  1811. .jstree-icon {
  1812. width: @size;
  1813. height: @size;
  1814. line-height: @size;
  1815. }
  1816. .jstree-icon:empty {
  1817. width: @size;
  1818. height: @size;
  1819. line-height: @size;
  1820. }
  1821. .jstree-wholerow {
  1822. height: @size;
  1823. }
  1824. }
  1825. /* Spectrum Color picker */
  1826. div.sp-replacer {
  1827. vertical-align:top;
  1828. background-color : #444;
  1829. border : 1px solid #666;
  1830. height : 16px;
  1831. margin-right:5px;
  1832. .sp-preview {
  1833. width: 14px;
  1834. height: 14px;
  1835. }
  1836. .sp-dd {
  1837. padding-top:0px;
  1838. }
  1839. &:hover {
  1840. border-color : white;
  1841. }
  1842. &.sp-active {
  1843. border-color: #888;
  1844. }
  1845. }
  1846. div.sp-container {
  1847. background-color : #444;
  1848. border : 1px solid #666;
  1849. .sp-picker-container {
  1850. border:none;
  1851. }
  1852. input {
  1853. color: #aaa;
  1854. background-color : rgb(34,34,34);
  1855. border-radius:0px;
  1856. &:hover {
  1857. border-color:white;
  1858. }
  1859. }
  1860. }
  1861. /* Animation Event Editor */
  1862. .event-editor {
  1863. .title {
  1864. text-align: center;
  1865. font-weight: bold;
  1866. font-size: 12px;
  1867. margin: 4px;
  1868. background-color : rgb(30,30,30);
  1869. }
  1870. .event {
  1871. .label {
  1872. text-align: center;
  1873. display: inline-block;
  1874. width: 50%;
  1875. }
  1876. }
  1877. }
  1878. /* Script Editor */
  1879. .codeeditor {
  1880. .codeErrorLine {
  1881. background: #400;
  1882. }
  1883. .codeErrorContentLine {
  1884. background : rgba(255,0,0,0.1);
  1885. }
  1886. .codeErrorContent {
  1887. text-decoration: underline dashed red;
  1888. }
  1889. .codeErrorMessage {
  1890. background : rgba(80, 5, 5, 1);
  1891. color : red;
  1892. position: absolute;
  1893. margin-top : -20px;
  1894. padding: 2px;
  1895. right : 13px;
  1896. border: 1px solid #A00;
  1897. }
  1898. }
  1899. .script-editor {
  1900. .codeeditor {
  1901. height: 100%;
  1902. }
  1903. div.codeErrorMessage {
  1904. right : 12px;
  1905. bottom : 0px;
  1906. padding : 5px;
  1907. }
  1908. }
  1909. /* Domkit */
  1910. .domkit {
  1911. width:100%;
  1912. height:100%;
  1913. display:flex;
  1914. >* {
  1915. flex-grow : 100;
  1916. }
  1917. .leftpanel {
  1918. width:600px;
  1919. resize:horizontal;
  1920. border-right:1px solid #333;
  1921. overflow:hidden;
  1922. .html {
  1923. .codeeditor {
  1924. padding: 5px;
  1925. height: 400px;
  1926. }
  1927. }
  1928. .cssErrors {
  1929. background : #840;
  1930. border : 1px solid #F80;
  1931. color : #F80;
  1932. padding : 10px;
  1933. position: absolute;
  1934. z-index: @domkit-layer;
  1935. left : 10px;
  1936. bottom : 10px;
  1937. }
  1938. }
  1939. }
  1940. /* Level 3D */
  1941. .overlay-info {
  1942. background: #000000e0;
  1943. position: absolute;
  1944. z-index: @default-layer;
  1945. left : 0px;
  1946. bottom : 0px;
  1947. overflow-y: scroll;
  1948. overflow-x: hidden;
  1949. padding: 10px;
  1950. max-height: 800px;
  1951. min-width: 600px;
  1952. }
  1953. .context-menu-item {
  1954. .contextmenu-keys {
  1955. float: right;
  1956. font-size: 8pt;
  1957. color: #8d8d8d;
  1958. &:before {
  1959. content: '\a0'; // ' '
  1960. }
  1961. }
  1962. &.context-menu-disabled {
  1963. .contextmenu-keys {
  1964. color: #c9c9c9;
  1965. }
  1966. }
  1967. .tag-disp-expand {
  1968. display: flex;
  1969. .tag-disp {
  1970. color: white;
  1971. flex-grow: 1;
  1972. padding: 2px;
  1973. }
  1974. }
  1975. &.context-menu-input {
  1976. input[type=checkbox] {
  1977. top: auto !important;
  1978. &:after {
  1979. // background-color: rgb(165, 165, 165);
  1980. background-color: white;
  1981. color: black;
  1982. box-shadow: none;
  1983. border: 1px solid black;
  1984. border-radius: 2px;
  1985. }
  1986. }
  1987. }
  1988. }