index.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. @import url("https://fonts.googleapis.com/css?family=Montserrat:300,400");
  2. @import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css");
  3. html,
  4. body {
  5. width: 100%;
  6. height: 100%;
  7. margin: 0;
  8. padding: 0;
  9. overflow: hidden;
  10. font-family: sans-serif;
  11. }
  12. #waitDiv {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. display: flex;
  17. align-items: center;
  18. justify-content: center;
  19. background: black;
  20. opacity: 0.8;
  21. top:0px;
  22. left:0px;
  23. z-index: 10;
  24. flex-direction: column;
  25. }
  26. #waitLogo {
  27. -webkit-animation: spin1 2s infinite ease-in-out;
  28. -moz-animation: spin1 2s infinite ease-in-out;
  29. -o-animation: spin1 2s infinite ease-in-out;
  30. -ms-animation: spin1 2s infinite ease-in-out;
  31. animation: spin1 2s infinite ease-in-out;
  32. -webkit-transform-origin: 50% 50%;
  33. -moz-transform-origin: 50% 50%;
  34. -o-transform-origin: 50% 50%;
  35. transform-origin: 50% 50%;
  36. }
  37. @-webkit-keyframes spin1 {
  38. 0% { -webkit-transform: rotate(0deg);}
  39. 100% { -webkit-transform: rotate(360deg);}
  40. }
  41. @-moz-keyframes spin1 {
  42. 0% { -moz-transform: rotate(0deg);}
  43. 100% { -moz-transform: rotate(360deg);}
  44. }
  45. @-o-keyframes spin1 {
  46. 0% { -o-transform: rotate(0deg);}
  47. 100% { -o-transform: rotate(360deg);}
  48. }
  49. @-ms-keyframes spin1 {
  50. 0% { -ms-transform: rotate(0deg);}
  51. 100% { -ms-transform: rotate(360deg);}
  52. }
  53. @keyframes spin1 {
  54. 0% { transform: rotate(0deg);}
  55. 100% { transform: rotate(360deg);}
  56. }
  57. #waitTitle {
  58. text-align: center;
  59. font-size: 38px;
  60. color: #15A4FA;
  61. }
  62. .wrapper {
  63. height: calc(100% - 40px - 30px); /* nvabar top and bottom*/
  64. width: calc(100%);
  65. display: -ms-flexbox;
  66. display: flex;
  67. -ms-flex-direction: row;
  68. flex-direction: row;
  69. }
  70. .wrapper .gutter {
  71. background-color: #f7f7f7;
  72. background-repeat: no-repeat;
  73. background-position: 50%;
  74. }
  75. .wrapper .gutter.light {
  76. background-color: #f7f7f7;
  77. }
  78. .wrapper .gutter.dark {
  79. background-color: #333;
  80. }
  81. .wrapper .gutter:hover {
  82. cursor: ew-resize;
  83. }
  84. .wrapper .gutter.gutter-vertical {
  85. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
  86. }
  87. .wrapper .gutter.gutter-horizontal {
  88. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
  89. }
  90. .pbt-fade {
  91. opacity:0.5
  92. }
  93. .pbt-darken {
  94. opacity:1
  95. }
  96. .pbt-back-highlight {
  97. background-color:#CDC8F9;
  98. }
  99. .pbt-margin-decor-on {
  100. background-color: #364249;
  101. width:5px;
  102. }
  103. .pbt-back-highlight-dark {
  104. background-color:#364249;
  105. }
  106. .pbt-margin-decor-on-dark {
  107. background-color: #CDC8F9;
  108. width:5px;
  109. }
  110. #exampleList {
  111. padding-top: 5px;
  112. display: none;
  113. position: absolute;
  114. top: 40px;
  115. right: 0;
  116. width: 400px;
  117. height: calc(100% - 75px);
  118. overflow-y: auto;
  119. border-right: 1px solid #efefef;
  120. }
  121. #exampleList #exampleBanner {
  122. background-image: url("../css/pattern_ban_1.png");
  123. background-repeat: repeat;
  124. text-align: center;
  125. padding: 10px 0;
  126. margin-left: 2px;
  127. }
  128. #exampleList #exampleBanner h1 {
  129. text-align: center;
  130. font-weight: 700;
  131. color: #00aeef;
  132. font-size: 2em;
  133. margin: .67em 0;
  134. }
  135. #exampleList .horizontalSeparator {
  136. width: 80%;
  137. height: 0;
  138. display: block;
  139. border-top: 1px solid #00aeef;
  140. margin: 0 auto 20px auto;
  141. }
  142. #exampleList #filterBar {
  143. width: 80%;
  144. margin-left: 10%;
  145. }
  146. #exampleList #filterBarClear {
  147. display: none;
  148. height: 10px;
  149. margin-left: -19px;
  150. cursor: pointer;
  151. }
  152. #exampleList #noResultsContainer p {
  153. width: 100%;
  154. text-align: center;
  155. font-weight: 300;
  156. }
  157. #exampleList .categoryContainer p {
  158. margin-left: 5px;
  159. font-size: 20px;
  160. font-weight: 200;
  161. word-wrap: break-word;
  162. }
  163. #exampleList .categoryContainer .itemLine {
  164. cursor: pointer;
  165. background-color: #ebebeb;
  166. height: 120px;
  167. overflow: hidden;
  168. clear: both;
  169. margin: 5px;
  170. margin-bottom: 10px;
  171. }
  172. #exampleList .categoryContainer .itemLine img {
  173. display: inline-block;
  174. max-height: 100%;
  175. max-width: 120px;
  176. border: 0;
  177. }
  178. #exampleList .categoryContainer .itemLine .itemContent {
  179. display: inline-block;
  180. width: calc(100% - 125px);
  181. height: 100%;
  182. vertical-align: top;
  183. padding: 5px;
  184. box-sizing: border-box;
  185. }
  186. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink {
  187. height: 100%;
  188. }
  189. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink h3 {
  190. margin: 0;
  191. font-size: 18px;
  192. margin-bottom: 5px;
  193. text-decoration: none;
  194. }
  195. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink p {
  196. margin: 0;
  197. font-size: 15px;
  198. margin-bottom: 3px;
  199. }
  200. #exampleList .categoryContainer .itemLine .itemContent .itemLineDocLink {
  201. position: relative;
  202. bottom: 20px;
  203. font-size: 15px;
  204. text-decoration: underline;
  205. color: #00aeef;
  206. }
  207. #exampleList .categoryContainer .itemLine .itemContent .itemLinePGLink {
  208. position: relative;
  209. float: right;
  210. bottom: 20px;
  211. text-align: right;
  212. font-size: 15px;
  213. text-decoration: underline;
  214. color: #00aeef;
  215. }
  216. .wrapper #jsEditor {
  217. padding-top:5px;
  218. height: calc(100% - 10px);
  219. }
  220. .wrapper #jsEditor.light {
  221. background-color: white;
  222. }
  223. .wrapper #jsEditor.dark {
  224. background-color: #1e1e1e;
  225. }
  226. .wrapper #canvasZone {
  227. height: 100%;
  228. }
  229. #renderCanvas {
  230. width: 100%;
  231. height: 100%;
  232. touch-action: none;
  233. }
  234. #fpsLabel {
  235. position: absolute;
  236. right: 10px;
  237. top: 50px;
  238. cursor: default;
  239. z-index:10;
  240. background-color: #7283a0;
  241. color:white;
  242. padding:5px;
  243. border-radius: 3px;
  244. font-family: 'Montserrat';
  245. pointer-events: none;
  246. user-select: none;
  247. }
  248. .navbar {
  249. height: 40px;
  250. width: 100%;
  251. font-family: "Montserrat";
  252. font-weight: 400;
  253. -webkit-user-select: none;
  254. -moz-user-select: none;
  255. -ms-user-select: none;
  256. user-select: none;
  257. position: relative;
  258. z-index:5;
  259. line-height: 40px;
  260. }
  261. .navbar.dark {
  262. background-color: #333;
  263. box-shadow: 0 3px 10px #000;
  264. }
  265. .navbar.light {
  266. background-color: #efefef;
  267. box-shadow: 0 3px 10px #999;
  268. }
  269. .navbar .title {
  270. height: 40px;
  271. padding-left: 10px;
  272. color: #15A4FA;
  273. display: inline-block;
  274. }
  275. .navbar .version {
  276. height: 40px;
  277. display: inline-block;
  278. color: #7283a0;
  279. margin-right: 20px;
  280. }
  281. .navbar .category {
  282. height: 40px;
  283. margin: 0 15px 0 15px;
  284. display: inline-block;
  285. }
  286. .navbar .category.right {
  287. position: absolute;
  288. right: 0;
  289. top: 0;
  290. }
  291. .button {
  292. display: inline-block;
  293. height: 25px;
  294. line-height: 25px;
  295. color: white;
  296. background-color: #7283a0;
  297. margin: 0 2px 0 2px;
  298. padding: 0 10px 0 10px;
  299. font-size: 0.85em;
  300. border-radius: 3px;
  301. }
  302. .button i {
  303. margin-left: 10px;
  304. }
  305. .button:hover {
  306. cursor: pointer;
  307. background-color: #15A4FA;
  308. }
  309. .navbar .button.run {
  310. height: 30px;
  311. line-height: 30px;
  312. background-color: #15A4FA;
  313. font-size: 1.0em;
  314. }
  315. .navbar .select {
  316. position: relative;
  317. }
  318. .navbar .select .subSelect {
  319. position: relative;
  320. }
  321. .navbar .select:after {
  322. font-family: 'FontAwesome', sans-serif;
  323. content: "\00a0 \00a0 \00a0 \f078";
  324. }
  325. .navbar .select .toDisplay {
  326. border: 1px solid #7283a0;
  327. position: absolute;
  328. z-index: 10;
  329. left: 0;
  330. top: 25px;
  331. min-width: 100%;
  332. width: 150px;
  333. display: none;
  334. }
  335. .navbar .select .subSelect .toDisplaySub {
  336. border: 1px solid #7283a0;
  337. position: absolute;
  338. z-index: 10;
  339. left: 100%;
  340. top: 0;
  341. min-width: 100%;
  342. display: none;
  343. }
  344. .navbar .select .toDisplay .option {
  345. font-size: 0.9em;
  346. height: 35px;
  347. line-height: 35px;
  348. padding: 0px 5px 0px 5px;
  349. text-align: center;
  350. border-bottom : 1px solid rgba(0,0,0,0.1);
  351. }
  352. .navbar .select .toDisplay .option.light:hover {
  353. cursor: pointer;
  354. background-color: #d9d9d9;
  355. }
  356. .navbar .select .toDisplay .option.dark {
  357. background-color: #333;
  358. color: white;
  359. }
  360. .navbar .select .toDisplay .option.light {
  361. background-color: white;
  362. color: #7283a0;
  363. }
  364. .navbar .select .toDisplay .option.dark:hover {
  365. cursor: pointer;
  366. background-color: #555;
  367. }
  368. .navbar .select .toDisplayBig {
  369. border: 1px solid #7283a0;
  370. border-radius: 5px;
  371. position: absolute;
  372. z-index: 10;
  373. top: 32px;
  374. width:550px;
  375. max-height:390px;
  376. overflow-y: auto;
  377. right:0;
  378. position:absolute;
  379. font-size:0.8em;
  380. display: none;
  381. }
  382. .navbar .select .toDisplayBig.light {
  383. background-color: white;
  384. color: #15A4FA;
  385. }
  386. .navbar .select .toDisplayBig.dark {
  387. background-color: #333;
  388. color:white;
  389. }
  390. .navbar .select .toDisplayBig ul {
  391. column-count: 3;
  392. padding:0;
  393. margin:0;
  394. list-style: none;
  395. }
  396. .navbar .select .toDisplayBig ul li {
  397. padding:0 5px 0 5px;
  398. }
  399. .navbar .select .toDisplayBig ul li:hover {
  400. cursor: pointer;
  401. }
  402. .navbar .select .toDisplayBig ul li.light:hover {
  403. background-color: #d9d9d9;
  404. }
  405. .navbar .select .toDisplayBig ul li.dark:hover {
  406. background-color: #555;
  407. }
  408. .navbar .select .toDisplayBig a {
  409. text-decoration: none;
  410. }
  411. .navbar .select .toDisplayBig a.dark {
  412. color: white;
  413. }
  414. .navbar .select .toDisplayBig a.light {
  415. color: #7283a0;
  416. }
  417. .navbar .check:after {
  418. font-family: 'FontAwesome', sans-serif;
  419. content: "\00a0 \00a0 \00a0 \f14a";
  420. }
  421. .navbar .check.uncheck {
  422. background-color: #8290aa;
  423. }
  424. .navbar .check.uncheck:after {
  425. font-family: 'FontAwesome', sans-serif;
  426. content: "\00a0 \00a0 \00a0 \f096";
  427. }
  428. #errorZone {
  429. display:none;
  430. position: absolute;
  431. width: 50%;
  432. left: 25%;
  433. bottom: 40px;
  434. background-color: #C73228;
  435. padding:20px;
  436. border-radius: 5px;
  437. color:white;
  438. font-family: 'Inconsolata';
  439. }
  440. #errorZone button {
  441. position:absolute;
  442. top : 3px;
  443. right: 10px;
  444. padding: 0;
  445. cursor: pointer;
  446. background: transparent;
  447. border: 0;
  448. -webkit-appearance: none;
  449. color: #000;
  450. text-shadow: 0 1px 0 #fff;
  451. opacity: .4;
  452. font-size: 1.8em;
  453. }
  454. /* Navbar bottom */
  455. .navbarBottom {
  456. height:30px;
  457. width:100%;
  458. line-height:30px;
  459. position:relative;
  460. font-family: 'Montserrat';
  461. }
  462. .navbarBottom.dark {
  463. background-color: #333;
  464. }
  465. .navbarBottom.light {
  466. background-color: #efefef;
  467. }
  468. .navbarBottom #statusBar {
  469. line-height:30px;
  470. color: #E74C3C;
  471. font-family: 'Inconsolata';
  472. padding-left:20px;
  473. }
  474. .navbarBottom .links {
  475. position:absolute;
  476. right : 0;
  477. top:-1px;
  478. height:30px;
  479. padding-right:20px;
  480. }
  481. .navbarBottom .links .link{
  482. height:30px;
  483. display:inline-block;
  484. color:#999;
  485. padding: 0 10px 0 10px;
  486. margin : 0 5px 0 5px;
  487. font-size:0.8em;
  488. }
  489. .navbarBottom .links .link.light:hover{
  490. color:#999;
  491. background-color:#333;
  492. }
  493. .navbarBottom .links .link.dark:hover{
  494. color:#333;
  495. background-color:#eee;
  496. }
  497. .navbarBottom .links .link a{
  498. text-decoration: none;
  499. color:#999;
  500. display: inline-block;
  501. }
  502. /* Save form & co */
  503. .save-layer {
  504. display: none;
  505. position: absolute;
  506. top: 0;
  507. left: 0;
  508. width: 100%;
  509. height: 100%;
  510. background-color: rgba(120, 120, 120, .5);
  511. text-align: center;
  512. }
  513. .save-layer .save-form {
  514. position: absolute;
  515. top: 150px;
  516. left: calc(50% - 205px);
  517. width: 410px;
  518. height: 370px;
  519. padding-top: 15px;
  520. -webkit-border-radius: 6px;
  521. -moz-border-radius: 6px;
  522. border-radius: 6px;
  523. background-color: rgba(27, 27, 27, 0.75);
  524. border-color: #252525;
  525. color: white;
  526. font-family: "Montserrat";
  527. font-size: 14px;
  528. }
  529. .save-layer .save-form .separator {
  530. width: 350px;
  531. border-bottom: 1px solid #999;
  532. margin: auto;
  533. margin-bottom: 10px;
  534. }
  535. .save-layer .save-form input,
  536. .save-layer .save-form textarea {
  537. display:block;
  538. width: 350px;
  539. margin:auto;
  540. margin-bottom: 20px;
  541. font-family: "Montserrat";
  542. padding:5px;
  543. }
  544. /*Media queries*/
  545. @media (min-width: 1475px) {
  546. .navBar1600 { display: block; }
  547. .navBar1475 { display: none; }
  548. .navBar1030 { display: none; }
  549. .navBar750 { display: none; }
  550. .navbar .select .toDisplayBig ul {
  551. column-count: 3;
  552. }
  553. }
  554. @media (max-width: 1475px) {
  555. .navBar1600 { display: none; }
  556. .navBar1475 { display: none; }
  557. .navBar1030 { display: block; }
  558. .navBar750 { display: none; }
  559. .navbar .select .toDisplayBig ul {
  560. column-count: 2;
  561. }
  562. }
  563. @media (max-width: 750px) {
  564. .navBar1600 { display: none; }
  565. .navBar1475 { display: none; }
  566. .navBar1030 { display: none; }
  567. .navBar750 { display: block; }
  568. .removeOnPhone {
  569. display : none !important;
  570. }
  571. .navbar .select .toDisplayBig {
  572. width:350px;
  573. }
  574. .navbar .select .toDisplayBig ul {
  575. column-count: 1;
  576. }
  577. }