index.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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-condensed";
  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% - 55px - 35px); /* navbar 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. display: none;
  127. position: absolute;
  128. top: 55px;
  129. right: 0;
  130. width: 400px;
  131. height: calc(100% - 90px); /* 55px + 35px */
  132. overflow-y: auto;
  133. background-color: white;
  134. }
  135. #exampleList #exampleBanner {
  136. text-align: center;
  137. padding: 10px 0;
  138. }
  139. #exampleList #exampleBanner.languageJS {
  140. background-color: #3f3461;
  141. }
  142. #exampleList #exampleBanner.languageTS {
  143. background-color: #bb464b;
  144. }
  145. #exampleList #exampleBanner h1 {
  146. width: 100%;
  147. text-align: center;
  148. font-weight: 700;
  149. color: white;
  150. font-size: 25px;
  151. line-height: 36px;
  152. }
  153. #exampleList #exampleBanner h1 img {
  154. float: right;
  155. width: 36px;
  156. margin-right: 10px;
  157. margin-left: -45px;
  158. filter: invert(98%) sepia(0%) saturate(7500%) hue-rotate(207deg) brightness(104%) contrast(104%);
  159. }
  160. #exampleList .horizontalSeparator {
  161. width: 80%;
  162. height: 0;
  163. display: block;
  164. margin: 0 auto 20px auto;
  165. }
  166. #exampleList #filterBar {
  167. width: 80%;
  168. margin-left: 10%;
  169. }
  170. #exampleList #filterBarClear {
  171. display: none;
  172. height: 10px;
  173. margin-left: -19px;
  174. cursor: pointer;
  175. }
  176. #exampleList #noResultsContainer p {
  177. width: 100%;
  178. text-align: center;
  179. font-weight: 300;
  180. }
  181. #exampleList .categoryContainer p {
  182. margin-left: 5px;
  183. font-size: 20px;
  184. font-weight: 200;
  185. word-wrap: break-word;
  186. }
  187. #exampleList .categoryContainer .itemLine {
  188. cursor: pointer;
  189. background-color: #ebebeb;
  190. height: 120px;
  191. overflow: hidden;
  192. clear: both;
  193. margin: 5px;
  194. margin-bottom: 10px;
  195. }
  196. #exampleList .categoryContainer .itemLine img {
  197. display: inline-block;
  198. max-height: 100%;
  199. max-width: 120px;
  200. border: 0;
  201. }
  202. #exampleList .categoryContainer .itemLine .itemContent {
  203. display: inline-block;
  204. width: calc(100% - 125px);
  205. height: 100%;
  206. vertical-align: top;
  207. padding: 5px;
  208. box-sizing: border-box;
  209. }
  210. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink {
  211. height: 100%;
  212. }
  213. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink h3 {
  214. margin: 0;
  215. font-size: 18px;
  216. margin-bottom: 5px;
  217. text-decoration: none;
  218. }
  219. #exampleList .categoryContainer .itemLine .itemContent .itemContentLink p {
  220. margin: 0;
  221. font-size: 15px;
  222. margin-bottom: 3px;
  223. }
  224. #exampleList .categoryContainer .itemLine .itemContent .itemLineDocLink {
  225. position: relative;
  226. bottom: 20px;
  227. font-size: 15px;
  228. text-decoration: underline;
  229. color: #BB464B;
  230. }
  231. #exampleList .categoryContainer .itemLine .itemContent .itemLinePGLink {
  232. display: none;
  233. position: relative;
  234. float: right;
  235. bottom: 20px;
  236. text-align: right;
  237. font-size: 15px;
  238. text-decoration: underline;
  239. color: #BB464B;
  240. }
  241. .wrapper #jsEditor {
  242. padding-top: 5px;
  243. }
  244. .wrapper #jsEditor.light {
  245. background-color: white;
  246. }
  247. .wrapper #jsEditor.dark {
  248. background-color: #1e1e1e;
  249. }
  250. .wrapper #canvasZone {
  251. height: 100%;
  252. }
  253. #renderCanvas {
  254. width: 100%;
  255. height: 100%;
  256. touch-action: none;
  257. display: block;
  258. font-size: 0;
  259. }
  260. .fpsLabel {
  261. position: absolute;
  262. top: 80px;
  263. right: 0;
  264. width: 60px;
  265. padding: 2px 8px 5px 0px;
  266. z-index:10;
  267. background-color: #3f3461;
  268. color:white;
  269. font-size: 18px;
  270. text-align: right;
  271. cursor: default;
  272. pointer-events: none;
  273. user-select: none;
  274. }
  275. .fpsLabel.languageJS {
  276. background-color: #3f3461;
  277. }
  278. .fpsLabel.languageTS {
  279. background-color: #bb464b;
  280. }
  281. .navbar {
  282. height: 55px;
  283. line-height: 55px;
  284. width: 100%;
  285. font-weight: 400;
  286. -webkit-user-select: none;
  287. -moz-user-select: none;
  288. -ms-user-select: none;
  289. user-select: none;
  290. position: relative;
  291. z-index:5;
  292. }
  293. .navbar a {
  294. text-decoration: none;
  295. color: inherit;
  296. }
  297. .navbar .categoryTitle {
  298. display: inline-block;
  299. width: 410px;
  300. vertical-align: top;
  301. background-color: #201936;
  302. padding-right: 20px;
  303. }
  304. .navbar .logo {
  305. vertical-align: top;
  306. height: 55px;
  307. float: left;
  308. }
  309. .navbar .version {
  310. float: right;
  311. vertical-align: top;
  312. height: 55px;
  313. margin-right: 20px;
  314. font-size: 20px;
  315. color: #d5d2ca;
  316. }
  317. .navbar .versionSub {
  318. font-size: 20px;
  319. color: #fff;
  320. font-weight: bold;
  321. }
  322. .languageJS {
  323. background-color: #3f3461;
  324. }
  325. .languageTS {
  326. background-color: #bb464b;
  327. }
  328. .navbar .category {
  329. display: inline-block;
  330. vertical-align: top;
  331. height: 55px;
  332. color: white;
  333. }
  334. .navbar .category.right {
  335. position: absolute;
  336. right: 0;
  337. top: 0;
  338. }
  339. .navbar .category .buttonJStoTS {
  340. display: inline-block;
  341. vertical-align: top;
  342. width: 140px;
  343. height: 55px;
  344. border-top-left-radius: 14px;
  345. margin-left: -15px;
  346. padding-right: 4px;
  347. font-size: 18px;
  348. text-align: center;
  349. cursor: pointer;
  350. }
  351. .navbar .category .buttonJStoTS.floatLeft {
  352. float: left;
  353. }
  354. .button {
  355. cursor: pointer;
  356. display: inline-block;
  357. width: 55px;
  358. height: 100%;
  359. vertical-align: top;
  360. line-height: 100%;
  361. text-align: center;
  362. }
  363. .button img {
  364. height: 100%;
  365. width: 100%;
  366. }
  367. .buttonSpaceKiller {
  368. display: none;
  369. width: 0;
  370. margin-left: -20px;
  371. }
  372. .languageJS .button img {
  373. filter: invert(57%) sepia(80%) saturate(2031%) hue-rotate(215deg) brightness(101%) contrast(101%);
  374. }
  375. .languageTS .button img {
  376. filter: invert(64%) sepia(78%) saturate(940%) hue-rotate(323deg) brightness(105%) contrast(103%);
  377. }
  378. .button i {
  379. margin-left: 10px;
  380. }
  381. .button:hover {
  382. cursor: pointer;
  383. background-color: white;
  384. }
  385. .languageJS .button:hover img {
  386. filter: invert(17%) sepia(61%) saturate(651%) hue-rotate(214deg) brightness(91%) contrast(84%);
  387. }
  388. .languageTS .button:hover img {
  389. filter: invert(34%) sepia(21%) saturate(3832%) hue-rotate(324deg) brightness(88%) contrast(82%);
  390. }
  391. .navbar .select {
  392. position: relative;
  393. }
  394. .navbar .select .subSelect {
  395. position: relative;
  396. }
  397. .navbar .select .toDisplay {
  398. font-family: "acumin-pro-extra-condensed";
  399. position: absolute;
  400. z-index: 10;
  401. right: 0;
  402. top: 55px;
  403. width: 190px;
  404. display: none;
  405. text-transform: uppercase;
  406. background-color: #201936;
  407. }
  408. .navbar .select .toDisplay.languageJS {
  409. background-color: #3f3461;
  410. }
  411. .navbar .select .toDisplay.languageJS .option {
  412. background-color: #9379e6;
  413. }
  414. .navbar .select .toDisplay.languageTS {
  415. background-color: #bb464b;
  416. }
  417. .navbar .select .toDisplay.languageTS .option {
  418. background-color: #e0684b;
  419. }
  420. .navbar .select .toDisplay.currentVersionDisplay {
  421. width: auto;
  422. }
  423. .navbar .select .subSelect .toDisplaySub {
  424. position: absolute;
  425. z-index: 10;
  426. left: 100%;
  427. top: 0;
  428. min-width: 100%;
  429. display: none;
  430. }
  431. .navbar .select .subSelect .toDisplaySub .option {
  432. background-color: white;
  433. }
  434. .navbar .select .subSelect .toDisplaySub.languageJS .option {
  435. color: #9379e6
  436. }
  437. .navbar .select .subSelect .toDisplaySub.languageJS .option:hover {
  438. color: white;
  439. background-color: #9379e6;
  440. }
  441. .navbar .select .subSelect .toDisplaySub.languageJS .option.selected {
  442. color: white;
  443. background-color: #bfabff;
  444. }
  445. .navbar .select .subSelect .toDisplaySub.languageTS .option {
  446. color: #e0684b;
  447. }
  448. .navbar .select .subSelect .toDisplaySub.languageTS .option:hover {
  449. color: white;
  450. background-color: #e0684b;
  451. }
  452. .navbar .select .subSelect .toDisplaySub.languageTS .option.selected {
  453. color: white;
  454. background-color: #ff7656;
  455. }
  456. .navbar .select .toDisplay .option {
  457. font-size: 20px;
  458. height: 35px;
  459. line-height: 35px;
  460. padding: 1px 5px 1px 15px;
  461. text-align: left;
  462. }
  463. .navbar .select .toDisplay .option.light {
  464. background-color: white;
  465. color: #E0684B;
  466. }
  467. .navbar .select .toDisplay .option.light:hover {
  468. cursor: pointer;
  469. background-color: #d9d9d9;
  470. }
  471. .navbar .select .toDisplayBig.dark {
  472. background-color: #333;
  473. color:white;
  474. }
  475. .navbar .select .toDisplayBig {
  476. border: 1px solid #E0684B;
  477. border-radius: 5px;
  478. position: absolute;
  479. z-index: 10;
  480. top: 32px;
  481. width:550px;
  482. max-height:390px;
  483. overflow-y: auto;
  484. right:0;
  485. position:absolute;
  486. font-size:0.8em;
  487. display: none;
  488. }
  489. .navbar .select .toDisplayBig ul {
  490. column-count: 3;
  491. padding:0;
  492. margin:0;
  493. list-style: none;
  494. }
  495. .navbar .select .toDisplayBig ul li {
  496. padding:0 5px 0 5px;
  497. }
  498. .navbar .select .toDisplayBig ul li:hover {
  499. cursor: pointer;
  500. }
  501. .navbar .select .toDisplayBig ul li.light:hover {
  502. background-color: #d9d9d9;
  503. }
  504. .navbar .select .toDisplayBig ul li.dark:hover {
  505. background-color: #555;
  506. }
  507. .navbar .select .toDisplayBig a {
  508. text-decoration: none;
  509. }
  510. .navbar .select .toDisplayBig a.dark {
  511. color: white;
  512. }
  513. .navbar .select .toDisplayBig a.light {
  514. color: #E0684B;
  515. }
  516. .navbar .check:after {
  517. font-family: 'FontAwesome', sans-serif;
  518. content: "\00a0 \00a0 \00a0 \f14a";
  519. }
  520. .navbar .check.uncheck {
  521. background-color: #8290aa;
  522. }
  523. .navbar .check.uncheck:after {
  524. font-family: 'FontAwesome', sans-serif;
  525. content: "\00a0 \00a0 \00a0 \f096";
  526. }
  527. #qrCodeImage div {
  528. width: 256px;
  529. height: 256px;
  530. }
  531. #errorZone {
  532. display:none;
  533. position: absolute;
  534. width: 50%;
  535. left: 25%;
  536. bottom: 45px;
  537. background-color: #C73228;
  538. padding:20px;
  539. border-radius: 5px;
  540. color:white;
  541. }
  542. #errorZone button {
  543. position:absolute;
  544. top : 3px;
  545. right: 10px;
  546. padding: 0;
  547. cursor: pointer;
  548. background: transparent;
  549. border: 0;
  550. -webkit-appearance: none;
  551. color: #000;
  552. text-shadow: 0 1px 0 #fff;
  553. opacity: .4;
  554. font-size: 1.8em;
  555. }
  556. /* Navbar bottom */
  557. .navbarBottom {
  558. position:relative;
  559. height:35px;
  560. width:100%;
  561. line-height:35px;
  562. background-color: #201936;
  563. }
  564. .navbarBottom #statusBar {
  565. line-height:35px;
  566. color: #E74C3C;
  567. font-size: 14px;
  568. padding-left:20px;
  569. }
  570. .navbarBottom .links {
  571. position:absolute;
  572. right: 0;
  573. height:35px;
  574. line-height: 35px;
  575. padding-right:20px;
  576. }
  577. .navbarBottom .links .link{
  578. display: inline-block;
  579. line-height: 35px;
  580. font-size: 16px;
  581. color: white;
  582. }
  583. .navbarBottom .links .link:hover{
  584. background-color:#3F3461;
  585. }
  586. .navbarBottom .links .link a{
  587. text-decoration: none;
  588. line-height: 35px;
  589. padding: 6px 15px;
  590. font-size: 16px;
  591. color: white;
  592. }
  593. /* Save form & co */
  594. .save-layer {
  595. display: none;
  596. position: absolute;
  597. top: 0;
  598. left: 0;
  599. width: 100%;
  600. height: 100%;
  601. background-color: rgba(120, 120, 120, .5);
  602. text-align: center;
  603. }
  604. .save-layer .save-form {
  605. position: absolute;
  606. top: 80px;
  607. left: calc(50% - 205px);
  608. width: 410px;
  609. height: 370px;
  610. padding-top: 15px;
  611. -webkit-border-radius: 4px;
  612. -moz-border-radius: 4px;
  613. border-radius: 4px;
  614. color: white;
  615. font-size: 14px;
  616. }
  617. .save-layer .save-form .separator {
  618. width: 350px;
  619. border-bottom: 1px solid #999;
  620. margin: auto;
  621. margin-bottom: 10px;
  622. }
  623. .save-layer .save-form input,
  624. .save-layer .save-form textarea {
  625. display:block;
  626. width: 350px;
  627. margin:auto;
  628. margin-bottom: 20px;
  629. padding:5px;
  630. }
  631. .save-layer .save-form .save-form-buttons div {
  632. cursor: pointer;
  633. display: inline-block;
  634. width: 100px;
  635. }
  636. .save-layer .save-form .save-form-buttons div:hover {
  637. font-weight: bold;
  638. }
  639. /* Media queries */
  640. @media (min-width: 1270px) {
  641. .navBar1280 { display: block; }
  642. .navBar1024 { display: none; }
  643. .navBarMobile { display: none; }
  644. #qrCodeImage {
  645. height:auto;
  646. padding: 20px;
  647. padding-bottom: 10px;
  648. }
  649. .navbar .select .toDisplayBig ul {
  650. column-count: 3;
  651. }
  652. }
  653. @media (max-width: 1270px) and (min-width: 1025px) {
  654. .navBar1280 { display: none; }
  655. .navBar1024 { display: block; }
  656. .navBarMobile { display: none; }
  657. #qrCodeImage {
  658. height:auto;
  659. padding: 20px;
  660. padding-bottom: 10px;
  661. }
  662. .navbar .categoryTitle {
  663. width: 315px;
  664. }
  665. .navbar .select .toDisplayBig ul {
  666. column-count: 2;
  667. }
  668. .navbar .category .buttonJStoTS {
  669. width: 70px;
  670. }
  671. }