index.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  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. display: none;
  209. position: relative;
  210. float: right;
  211. bottom: 20px;
  212. text-align: right;
  213. font-size: 15px;
  214. text-decoration: underline;
  215. color: #00aeef;
  216. }
  217. .wrapper #jsEditor {
  218. padding-top:5px;
  219. height: calc(100% - 10px);
  220. }
  221. .wrapper #jsEditor.light {
  222. background-color: white;
  223. }
  224. .wrapper #jsEditor.dark {
  225. background-color: #1e1e1e;
  226. }
  227. .wrapper #canvasZone {
  228. height: 100%;
  229. }
  230. #renderCanvas {
  231. width: 100%;
  232. height: 100%;
  233. touch-action: none;
  234. }
  235. #fpsLabel {
  236. position: absolute;
  237. right: 10px;
  238. top: 50px;
  239. cursor: default;
  240. z-index:10;
  241. background-color: #7283a0;
  242. color:white;
  243. padding:5px;
  244. border-radius: 3px;
  245. font-family: 'Montserrat';
  246. pointer-events: none;
  247. user-select: none;
  248. }
  249. .navbar {
  250. height: 40px;
  251. width: 100%;
  252. font-family: "Montserrat";
  253. font-weight: 400;
  254. -webkit-user-select: none;
  255. -moz-user-select: none;
  256. -ms-user-select: none;
  257. user-select: none;
  258. position: relative;
  259. z-index:5;
  260. line-height: 40px;
  261. }
  262. .navbar.dark {
  263. background-color: #333;
  264. box-shadow: 0 3px 10px #000;
  265. }
  266. .navbar.light {
  267. background-color: #efefef;
  268. box-shadow: 0 3px 10px #999;
  269. }
  270. .navbar .title {
  271. height: 40px;
  272. padding-left: 10px;
  273. color: #15A4FA;
  274. display: inline-block;
  275. }
  276. .navbar .version {
  277. height: 40px;
  278. display: inline-block;
  279. color: #7283a0;
  280. margin-right: 20px;
  281. }
  282. .navbar .category {
  283. height: 40px;
  284. margin: 0 15px 0 15px;
  285. display: inline-block;
  286. }
  287. .navbar .category.right {
  288. position: absolute;
  289. right: 0;
  290. top: 0;
  291. }
  292. .button {
  293. display: inline-block;
  294. height: 25px;
  295. line-height: 25px;
  296. color: white;
  297. background-color: #7283a0;
  298. margin: 0 2px 0 2px;
  299. padding: 0 10px 0 10px;
  300. font-size: 0.85em;
  301. border-radius: 3px;
  302. }
  303. .button i {
  304. margin-left: 10px;
  305. }
  306. .button:hover {
  307. cursor: pointer;
  308. background-color: #15A4FA;
  309. }
  310. .navbar .button.run {
  311. height: 30px;
  312. line-height: 30px;
  313. background-color: #15A4FA;
  314. font-size: 1.0em;
  315. }
  316. .navbar .select {
  317. position: relative;
  318. }
  319. .navbar .select .subSelect {
  320. position: relative;
  321. }
  322. .navbar .select:after {
  323. font-family: 'FontAwesome', sans-serif;
  324. content: "\00a0 \00a0 \00a0 \f078";
  325. }
  326. .navbar .select .toDisplay {
  327. border: 1px solid #7283a0;
  328. position: absolute;
  329. z-index: 10;
  330. left: 0;
  331. top: 25px;
  332. min-width: 100%;
  333. width: 150px;
  334. display: none;
  335. }
  336. .navbar .select .subSelect .toDisplaySub {
  337. border: 1px solid #7283a0;
  338. position: absolute;
  339. z-index: 10;
  340. left: 100%;
  341. top: 0;
  342. min-width: 100%;
  343. display: none;
  344. }
  345. .navbar .select .toDisplay .option {
  346. font-size: 0.9em;
  347. height: 35px;
  348. line-height: 35px;
  349. padding: 0px 5px 0px 5px;
  350. text-align: center;
  351. border-bottom : 1px solid rgba(0,0,0,0.1);
  352. }
  353. .navbar .select .toDisplay .option.light:hover {
  354. cursor: pointer;
  355. background-color: #d9d9d9;
  356. }
  357. .navbar .select .toDisplay .option.dark {
  358. background-color: #333;
  359. color: white;
  360. }
  361. .navbar .select .toDisplay .option.light {
  362. background-color: white;
  363. color: #7283a0;
  364. }
  365. .navbar .select .toDisplay .option.dark:hover {
  366. cursor: pointer;
  367. background-color: #555;
  368. }
  369. .navbar .select .toDisplayBig {
  370. border: 1px solid #7283a0;
  371. border-radius: 5px;
  372. position: absolute;
  373. z-index: 10;
  374. top: 32px;
  375. width:550px;
  376. max-height:390px;
  377. overflow-y: auto;
  378. right:0;
  379. position:absolute;
  380. font-size:0.8em;
  381. display: none;
  382. }
  383. .navbar .select .toDisplayBig.light {
  384. background-color: white;
  385. color: #15A4FA;
  386. }
  387. .navbar .select .toDisplayBig.dark {
  388. background-color: #333;
  389. color:white;
  390. }
  391. .navbar .select .toDisplayBig ul {
  392. column-count: 3;
  393. padding:0;
  394. margin:0;
  395. list-style: none;
  396. }
  397. .navbar .select .toDisplayBig ul li {
  398. padding:0 5px 0 5px;
  399. }
  400. .navbar .select .toDisplayBig ul li:hover {
  401. cursor: pointer;
  402. }
  403. .navbar .select .toDisplayBig ul li.light:hover {
  404. background-color: #d9d9d9;
  405. }
  406. .navbar .select .toDisplayBig ul li.dark:hover {
  407. background-color: #555;
  408. }
  409. .navbar .select .toDisplayBig a {
  410. text-decoration: none;
  411. }
  412. .navbar .select .toDisplayBig a.dark {
  413. color: white;
  414. }
  415. .navbar .select .toDisplayBig a.light {
  416. color: #7283a0;
  417. }
  418. .navbar .check:after {
  419. font-family: 'FontAwesome', sans-serif;
  420. content: "\00a0 \00a0 \00a0 \f14a";
  421. }
  422. .navbar .check.uncheck {
  423. background-color: #8290aa;
  424. }
  425. .navbar .check.uncheck:after {
  426. font-family: 'FontAwesome', sans-serif;
  427. content: "\00a0 \00a0 \00a0 \f096";
  428. }
  429. #errorZone {
  430. display:none;
  431. position: absolute;
  432. width: 50%;
  433. left: 25%;
  434. bottom: 40px;
  435. background-color: #C73228;
  436. padding:20px;
  437. border-radius: 5px;
  438. color:white;
  439. font-family: 'Inconsolata';
  440. }
  441. #errorZone button {
  442. position:absolute;
  443. top : 3px;
  444. right: 10px;
  445. padding: 0;
  446. cursor: pointer;
  447. background: transparent;
  448. border: 0;
  449. -webkit-appearance: none;
  450. color: #000;
  451. text-shadow: 0 1px 0 #fff;
  452. opacity: .4;
  453. font-size: 1.8em;
  454. }
  455. /* Navbar bottom */
  456. .navbarBottom {
  457. height:30px;
  458. width:100%;
  459. line-height:30px;
  460. position:relative;
  461. font-family: 'Montserrat';
  462. }
  463. .navbarBottom.dark {
  464. background-color: #333;
  465. }
  466. .navbarBottom.light {
  467. background-color: #efefef;
  468. }
  469. .navbarBottom #statusBar {
  470. line-height:30px;
  471. color: #E74C3C;
  472. font-family: 'Inconsolata';
  473. padding-left:20px;
  474. }
  475. .navbarBottom .links {
  476. position:absolute;
  477. right : 0;
  478. top:-1px;
  479. height:30px;
  480. padding-right:20px;
  481. }
  482. .navbarBottom .links .link{
  483. height:30px;
  484. display:inline-block;
  485. color:#999;
  486. padding: 0 10px 0 10px;
  487. margin : 0 5px 0 5px;
  488. font-size:0.8em;
  489. }
  490. .navbarBottom .links .link.light:hover{
  491. color:#999;
  492. background-color:#333;
  493. }
  494. .navbarBottom .links .link.dark:hover{
  495. color:#333;
  496. background-color:#eee;
  497. }
  498. .navbarBottom .links .link a{
  499. text-decoration: none;
  500. color:#999;
  501. display: inline-block;
  502. }
  503. /* Save form & co */
  504. .save-layer {
  505. display: none;
  506. position: absolute;
  507. top: 0;
  508. left: 0;
  509. width: 100%;
  510. height: 100%;
  511. background-color: rgba(120, 120, 120, .5);
  512. text-align: center;
  513. }
  514. .save-layer .save-form {
  515. position: absolute;
  516. top: 150px;
  517. left: calc(50% - 205px);
  518. width: 410px;
  519. height: 370px;
  520. padding-top: 15px;
  521. -webkit-border-radius: 6px;
  522. -moz-border-radius: 6px;
  523. border-radius: 6px;
  524. background-color: rgba(27, 27, 27, 0.75);
  525. border-color: #252525;
  526. color: white;
  527. font-family: "Montserrat";
  528. font-size: 14px;
  529. }
  530. .save-layer .save-form .separator {
  531. width: 350px;
  532. border-bottom: 1px solid #999;
  533. margin: auto;
  534. margin-bottom: 10px;
  535. }
  536. .save-layer .save-form input,
  537. .save-layer .save-form textarea {
  538. display:block;
  539. width: 350px;
  540. margin:auto;
  541. margin-bottom: 20px;
  542. font-family: "Montserrat";
  543. padding:5px;
  544. }
  545. /*Media queries*/
  546. @media (min-width: 1475px) {
  547. .navBar1600 { display: block; }
  548. .navBar1475 { display: none; }
  549. .navBar1030 { display: none; }
  550. .navBar750 { display: none; }
  551. .navbar .select .toDisplayBig ul {
  552. column-count: 3;
  553. }
  554. }
  555. @media (max-width: 1475px) {
  556. .navBar1600 { display: none; }
  557. .navBar1475 { display: none; }
  558. .navBar1030 { display: block; }
  559. .navBar750 { display: none; }
  560. .navbar .select .toDisplayBig ul {
  561. column-count: 2;
  562. }
  563. }
  564. @media (max-width: 750px) {
  565. .navBar1600 { display: none; }
  566. .navBar1475 { display: none; }
  567. .navBar1030 { display: none; }
  568. .navBar750 { display: block; }
  569. .removeOnPhone {
  570. display : none !important;
  571. }
  572. .navbar .select .toDisplayBig {
  573. width:350px;
  574. }
  575. .navbar .select .toDisplayBig ul {
  576. column-count: 1;
  577. }
  578. }