index.css 13 KB

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