index.css 13 KB

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