index.css 13 KB

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