Newer
Older
miracle-tv-backend / src / main / resources / assets / playground.html
@Илья Панфёров Илья Панфёров on 19 Jul 18 KB feat: initial commit
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.  
  5. <head>
  6. <meta charset=utf-8 />
  7. <meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
  8. <title>GraphQL Playground</title>
  9. <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
  10. <link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
  11. <script src="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js"></script>
  12.  
  13. </head>
  14.  
  15. <body>
  16. <style type="text/css">
  17. html {
  18. font-family: "Open Sans", sans-serif;
  19. overflow: hidden;
  20. }
  21. body {
  22. margin: 0;
  23. background: #172a3a;
  24. }
  25. .playgroundIn {
  26. -webkit-animation: playgroundIn 0.5s ease-out forwards;
  27. animation: playgroundIn 0.5s ease-out forwards;
  28. }
  29. @-webkit-keyframes playgroundIn {
  30. from {
  31. opacity: 0;
  32. -webkit-transform: translateY(10px);
  33. -ms-transform: translateY(10px);
  34. transform: translateY(10px);
  35. }
  36. to {
  37. opacity: 1;
  38. -webkit-transform: translateY(0);
  39. -ms-transform: translateY(0);
  40. transform: translateY(0);
  41. }
  42. }
  43. @keyframes playgroundIn {
  44. from {
  45. opacity: 0;
  46. -webkit-transform: translateY(10px);
  47. -ms-transform: translateY(10px);
  48. transform: translateY(10px);
  49. }
  50. to {
  51. opacity: 1;
  52. -webkit-transform: translateY(0);
  53. -ms-transform: translateY(0);
  54. transform: translateY(0);
  55. }
  56. }
  57. </style>
  58.  
  59. <style type="text/css">
  60. .fadeOut {
  61. -webkit-animation: fadeOut 0.5s ease-out forwards;
  62. animation: fadeOut 0.5s ease-out forwards;
  63. }
  64. @-webkit-keyframes fadeIn {
  65. from {
  66. opacity: 0;
  67. -webkit-transform: translateY(-10px);
  68. -ms-transform: translateY(-10px);
  69. transform: translateY(-10px);
  70. }
  71. to {
  72. opacity: 1;
  73. -webkit-transform: translateY(0);
  74. -ms-transform: translateY(0);
  75. transform: translateY(0);
  76. }
  77. }
  78. @keyframes fadeIn {
  79. from {
  80. opacity: 0;
  81. -webkit-transform: translateY(-10px);
  82. -ms-transform: translateY(-10px);
  83. transform: translateY(-10px);
  84. }
  85. to {
  86. opacity: 1;
  87. -webkit-transform: translateY(0);
  88. -ms-transform: translateY(0);
  89. transform: translateY(0);
  90. }
  91. }
  92. @-webkit-keyframes fadeOut {
  93. from {
  94. opacity: 1;
  95. -webkit-transform: translateY(0);
  96. -ms-transform: translateY(0);
  97. transform: translateY(0);
  98. }
  99. to {
  100. opacity: 0;
  101. -webkit-transform: translateY(-10px);
  102. -ms-transform: translateY(-10px);
  103. transform: translateY(-10px);
  104. }
  105. }
  106. @keyframes fadeOut {
  107. from {
  108. opacity: 1;
  109. -webkit-transform: translateY(0);
  110. -ms-transform: translateY(0);
  111. transform: translateY(0);
  112. }
  113. to {
  114. opacity: 0;
  115. -webkit-transform: translateY(-10px);
  116. -ms-transform: translateY(-10px);
  117. transform: translateY(-10px);
  118. }
  119. }
  120. @-webkit-keyframes appearIn {
  121. from {
  122. opacity: 0;
  123. -webkit-transform: translateY(0px);
  124. -ms-transform: translateY(0px);
  125. transform: translateY(0px);
  126. }
  127. to {
  128. opacity: 1;
  129. -webkit-transform: translateY(0);
  130. -ms-transform: translateY(0);
  131. transform: translateY(0);
  132. }
  133. }
  134. @keyframes appearIn {
  135. from {
  136. opacity: 0;
  137. -webkit-transform: translateY(0px);
  138. -ms-transform: translateY(0px);
  139. transform: translateY(0px);
  140. }
  141. to {
  142. opacity: 1;
  143. -webkit-transform: translateY(0);
  144. -ms-transform: translateY(0);
  145. transform: translateY(0);
  146. }
  147. }
  148. @-webkit-keyframes scaleIn {
  149. from {
  150. -webkit-transform: scale(0);
  151. -ms-transform: scale(0);
  152. transform: scale(0);
  153. }
  154. to {
  155. -webkit-transform: scale(1);
  156. -ms-transform: scale(1);
  157. transform: scale(1);
  158. }
  159. }
  160. @keyframes scaleIn {
  161. from {
  162. -webkit-transform: scale(0);
  163. -ms-transform: scale(0);
  164. transform: scale(0);
  165. }
  166. to {
  167. -webkit-transform: scale(1);
  168. -ms-transform: scale(1);
  169. transform: scale(1);
  170. }
  171. }
  172. @-webkit-keyframes innerDrawIn {
  173. 0% {
  174. stroke-dashoffset: 70;
  175. }
  176. 50% {
  177. stroke-dashoffset: 140;
  178. }
  179. 100% {
  180. stroke-dashoffset: 210;
  181. }
  182. }
  183. @keyframes innerDrawIn {
  184. 0% {
  185. stroke-dashoffset: 70;
  186. }
  187. 50% {
  188. stroke-dashoffset: 140;
  189. }
  190. 100% {
  191. stroke-dashoffset: 210;
  192. }
  193. }
  194. @-webkit-keyframes outerDrawIn {
  195. 0% {
  196. stroke-dashoffset: 76;
  197. }
  198. 100% {
  199. stroke-dashoffset: 152;
  200. }
  201. }
  202. @keyframes outerDrawIn {
  203. 0% {
  204. stroke-dashoffset: 76;
  205. }
  206. 100% {
  207. stroke-dashoffset: 152;
  208. }
  209. }
  210. .hHWjkv {
  211. -webkit-transform-origin: 0px 0px;
  212. -ms-transform-origin: 0px 0px;
  213. transform-origin: 0px 0px;
  214. -webkit-transform: scale(0);
  215. -ms-transform: scale(0);
  216. transform: scale(0);
  217. -webkit-animation: scaleIn 0.25s linear forwards 0.2222222222222222s;
  218. animation: scaleIn 0.25s linear forwards 0.2222222222222222s;
  219. }
  220. .gCDOzd {
  221. -webkit-transform-origin: 0px 0px;
  222. -ms-transform-origin: 0px 0px;
  223. transform-origin: 0px 0px;
  224. -webkit-transform: scale(0);
  225. -ms-transform: scale(0);
  226. transform: scale(0);
  227. -webkit-animation: scaleIn 0.25s linear forwards 0.4222222222222222s;
  228. animation: scaleIn 0.25s linear forwards 0.4222222222222222s;
  229. }
  230. .hmCcxi {
  231. -webkit-transform-origin: 0px 0px;
  232. -ms-transform-origin: 0px 0px;
  233. transform-origin: 0px 0px;
  234. -webkit-transform: scale(0);
  235. -ms-transform: scale(0);
  236. transform: scale(0);
  237. -webkit-animation: scaleIn 0.25s linear forwards 0.6222222222222222s;
  238. animation: scaleIn 0.25s linear forwards 0.6222222222222222s;
  239. }
  240. .eHamQi {
  241. -webkit-transform-origin: 0px 0px;
  242. -ms-transform-origin: 0px 0px;
  243. transform-origin: 0px 0px;
  244. -webkit-transform: scale(0);
  245. -ms-transform: scale(0);
  246. transform: scale(0);
  247. -webkit-animation: scaleIn 0.25s linear forwards 0.8222222222222223s;
  248. animation: scaleIn 0.25s linear forwards 0.8222222222222223s;
  249. }
  250. .byhgGu {
  251. -webkit-transform-origin: 0px 0px;
  252. -ms-transform-origin: 0px 0px;
  253. transform-origin: 0px 0px;
  254. -webkit-transform: scale(0);
  255. -ms-transform: scale(0);
  256. transform: scale(0);
  257. -webkit-animation: scaleIn 0.25s linear forwards 1.0222222222222221s;
  258. animation: scaleIn 0.25s linear forwards 1.0222222222222221s;
  259. }
  260. .llAKP {
  261. -webkit-transform-origin: 0px 0px;
  262. -ms-transform-origin: 0px 0px;
  263. transform-origin: 0px 0px;
  264. -webkit-transform: scale(0);
  265. -ms-transform: scale(0);
  266. transform: scale(0);
  267. -webkit-animation: scaleIn 0.25s linear forwards 1.2222222222222223s;
  268. animation: scaleIn 0.25s linear forwards 1.2222222222222223s;
  269. }
  270. .bglIGM {
  271. -webkit-transform-origin: 64px 28px;
  272. -ms-transform-origin: 64px 28px;
  273. transform-origin: 64px 28px;
  274. -webkit-transform: scale(0);
  275. -ms-transform: scale(0);
  276. transform: scale(0);
  277. -webkit-animation: scaleIn 0.25s linear forwards 0.2222222222222222s;
  278. animation: scaleIn 0.25s linear forwards 0.2222222222222222s;
  279. }
  280. .ksxRII {
  281. -webkit-transform-origin: 95.98500061035156px 46.510000228881836px;
  282. -ms-transform-origin: 95.98500061035156px 46.510000228881836px;
  283. transform-origin: 95.98500061035156px 46.510000228881836px;
  284. -webkit-transform: scale(0);
  285. -ms-transform: scale(0);
  286. transform: scale(0);
  287. -webkit-animation: scaleIn 0.25s linear forwards 0.4222222222222222s;
  288. animation: scaleIn 0.25s linear forwards 0.4222222222222222s;
  289. }
  290. .cWrBmb {
  291. -webkit-transform-origin: 95.97162628173828px 83.4900016784668px;
  292. -ms-transform-origin: 95.97162628173828px 83.4900016784668px;
  293. transform-origin: 95.97162628173828px 83.4900016784668px;
  294. -webkit-transform: scale(0);
  295. -ms-transform: scale(0);
  296. transform: scale(0);
  297. -webkit-animation: scaleIn 0.25s linear forwards 0.6222222222222222s;
  298. animation: scaleIn 0.25s linear forwards 0.6222222222222222s;
  299. }
  300. .Wnusb {
  301. -webkit-transform-origin: 64px 101.97999572753906px;
  302. -ms-transform-origin: 64px 101.97999572753906px;
  303. transform-origin: 64px 101.97999572753906px;
  304. -webkit-transform: scale(0);
  305. -ms-transform: scale(0);
  306. transform: scale(0);
  307. -webkit-animation: scaleIn 0.25s linear forwards 0.8222222222222223s;
  308. animation: scaleIn 0.25s linear forwards 0.8222222222222223s;
  309. }
  310. .bfPqf {
  311. -webkit-transform-origin: 32.03982162475586px 83.4900016784668px;
  312. -ms-transform-origin: 32.03982162475586px 83.4900016784668px;
  313. transform-origin: 32.03982162475586px 83.4900016784668px;
  314. -webkit-transform: scale(0);
  315. -ms-transform: scale(0);
  316. transform: scale(0);
  317. -webkit-animation: scaleIn 0.25s linear forwards 1.0222222222222221s;
  318. animation: scaleIn 0.25s linear forwards 1.0222222222222221s;
  319. }
  320. .edRCTN {
  321. -webkit-transform-origin: 32.033552169799805px 46.510000228881836px;
  322. -ms-transform-origin: 32.033552169799805px 46.510000228881836px;
  323. transform-origin: 32.033552169799805px 46.510000228881836px;
  324. -webkit-transform: scale(0);
  325. -ms-transform: scale(0);
  326. transform: scale(0);
  327. -webkit-animation: scaleIn 0.25s linear forwards 1.2222222222222223s;
  328. animation: scaleIn 0.25s linear forwards 1.2222222222222223s;
  329. }
  330. .iEGVWn {
  331. opacity: 0;
  332. stroke-dasharray: 76;
  333. -webkit-animation: outerDrawIn 0.5s ease-out forwards 0.3333333333333333s, appearIn 0.1s ease-out forwards 0.3333333333333333s;
  334. animation: outerDrawIn 0.5s ease-out forwards 0.3333333333333333s, appearIn 0.1s ease-out forwards 0.3333333333333333s;
  335. -webkit-animation-iteration-count: 1, 1;
  336. animation-iteration-count: 1, 1;
  337. }
  338. .bsocdx {
  339. opacity: 0;
  340. stroke-dasharray: 76;
  341. -webkit-animation: outerDrawIn 0.5s ease-out forwards 0.5333333333333333s, appearIn 0.1s ease-out forwards 0.5333333333333333s;
  342. animation: outerDrawIn 0.5s ease-out forwards 0.5333333333333333s, appearIn 0.1s ease-out forwards 0.5333333333333333s;
  343. -webkit-animation-iteration-count: 1, 1;
  344. animation-iteration-count: 1, 1;
  345. }
  346. .jAZXmP {
  347. opacity: 0;
  348. stroke-dasharray: 76;
  349. -webkit-animation: outerDrawIn 0.5s ease-out forwards 0.7333333333333334s, appearIn 0.1s ease-out forwards 0.7333333333333334s;
  350. animation: outerDrawIn 0.5s ease-out forwards 0.7333333333333334s, appearIn 0.1s ease-out forwards 0.7333333333333334s;
  351. -webkit-animation-iteration-count: 1, 1;
  352. animation-iteration-count: 1, 1;
  353. }
  354. .hSeArx {
  355. opacity: 0;
  356. stroke-dasharray: 76;
  357. -webkit-animation: outerDrawIn 0.5s ease-out forwards 0.9333333333333333s, appearIn 0.1s ease-out forwards 0.9333333333333333s;
  358. animation: outerDrawIn 0.5s ease-out forwards 0.9333333333333333s, appearIn 0.1s ease-out forwards 0.9333333333333333s;
  359. -webkit-animation-iteration-count: 1, 1;
  360. animation-iteration-count: 1, 1;
  361. }
  362. .bVgqGk {
  363. opacity: 0;
  364. stroke-dasharray: 76;
  365. -webkit-animation: outerDrawIn 0.5s ease-out forwards 1.1333333333333333s, appearIn 0.1s ease-out forwards 1.1333333333333333s;
  366. animation: outerDrawIn 0.5s ease-out forwards 1.1333333333333333s, appearIn 0.1s ease-out forwards 1.1333333333333333s;
  367. -webkit-animation-iteration-count: 1, 1;
  368. animation-iteration-count: 1, 1;
  369. }
  370. .hEFqBt {
  371. opacity: 0;
  372. stroke-dasharray: 76;
  373. -webkit-animation: outerDrawIn 0.5s ease-out forwards 1.3333333333333333s, appearIn 0.1s ease-out forwards 1.3333333333333333s;
  374. animation: outerDrawIn 0.5s ease-out forwards 1.3333333333333333s, appearIn 0.1s ease-out forwards 1.3333333333333333s;
  375. -webkit-animation-iteration-count: 1, 1;
  376. animation-iteration-count: 1, 1;
  377. }
  378. .dzEKCM {
  379. opacity: 0;
  380. stroke-dasharray: 70;
  381. -webkit-animation: innerDrawIn 1s ease-in-out forwards 1.3666666666666667s, appearIn 0.1s linear forwards 1.3666666666666667s;
  382. animation: innerDrawIn 1s ease-in-out forwards 1.3666666666666667s, appearIn 0.1s linear forwards 1.3666666666666667s;
  383. -webkit-animation-iteration-count: infinite, 1;
  384. animation-iteration-count: infinite, 1;
  385. }
  386. .DYnPx {
  387. opacity: 0;
  388. stroke-dasharray: 70;
  389. -webkit-animation: innerDrawIn 1s ease-in-out forwards 1.5333333333333332s, appearIn 0.1s linear forwards 1.5333333333333332s;
  390. animation: innerDrawIn 1s ease-in-out forwards 1.5333333333333332s, appearIn 0.1s linear forwards 1.5333333333333332s;
  391. -webkit-animation-iteration-count: infinite, 1;
  392. animation-iteration-count: infinite, 1;
  393. }
  394. .hjPEAQ {
  395. opacity: 0;
  396. stroke-dasharray: 70;
  397. -webkit-animation: innerDrawIn 1s ease-in-out forwards 1.7000000000000002s, appearIn 0.1s linear forwards 1.7000000000000002s;
  398. animation: innerDrawIn 1s ease-in-out forwards 1.7000000000000002s, appearIn 0.1s linear forwards 1.7000000000000002s;
  399. -webkit-animation-iteration-count: infinite, 1;
  400. animation-iteration-count: infinite, 1;
  401. }
  402. #loading-wrapper {
  403. position: absolute;
  404. width: 100vw;
  405. height: 100vh;
  406. display: -webkit-box;
  407. display: -webkit-flex;
  408. display: -ms-flexbox;
  409. display: flex;
  410. -webkit-align-items: center;
  411. -webkit-box-align: center;
  412. -ms-flex-align: center;
  413. align-items: center;
  414. -webkit-box-pack: center;
  415. -webkit-justify-content: center;
  416. -ms-flex-pack: center;
  417. justify-content: center;
  418. -webkit-flex-direction: column;
  419. -ms-flex-direction: column;
  420. flex-direction: column;
  421. }
  422. .logo {
  423. width: 75px;
  424. height: 75px;
  425. margin-bottom: 20px;
  426. opacity: 0;
  427. -webkit-animation: fadeIn 0.5s ease-out forwards;
  428. animation: fadeIn 0.5s ease-out forwards;
  429. }
  430. .text {
  431. font-size: 32px;
  432. font-weight: 200;
  433. text-align: center;
  434. color: rgba(255, 255, 255, 0.6);
  435. opacity: 0;
  436. -webkit-animation: fadeIn 0.5s ease-out forwards;
  437. animation: fadeIn 0.5s ease-out forwards;
  438. }
  439. .dGfHfc {
  440. font-weight: 400;
  441. }
  442. </style>
  443. <div id="loading-wrapper">
  444. <svg class="logo" viewBox="0 0 128 128" xmlns:xlink="http://www.w3.org/1999/xlink">
  445. <title>GraphQL Playground Logo</title>
  446. <defs>
  447. <linearGradient id="linearGradient-1" x1="4.86%" x2="96.21%" y1="0%" y2="99.66%">
  448. <stop stop-color="#E00082" stop-opacity=".8" offset="0%"></stop>
  449. <stop stop-color="#E00082" offset="100%"></stop>
  450. </linearGradient>
  451. </defs>
  452. <g>
  453. <rect id="Gradient" width="127.96" height="127.96" y="1" fill="url(#linearGradient-1)" rx="4"></rect>
  454. <path id="Border" fill="#E00082" fill-rule="nonzero" d="M4.7 2.84c-1.58 0-2.86 1.28-2.86 2.85v116.57c0 1.57 1.28 2.84 2.85 2.84h116.57c1.57 0 2.84-1.26 2.84-2.83V5.67c0-1.55-1.26-2.83-2.83-2.83H4.67zM4.7 0h116.58c3.14 0 5.68 2.55 5.68 5.7v116.58c0 3.14-2.54 5.68-5.68 5.68H4.68c-3.13 0-5.68-2.54-5.68-5.68V5.68C-1 2.56 1.55 0 4.7 0z"></path>
  455. <path class="bglIGM" x="64" y="28" fill="#fff" d="M64 36c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8" style="transform: translate(100px, 100px);"></path>
  456. <path class="ksxRII" x="95.98500061035156" y="46.510000228881836" fill="#fff" d="M89.04 50.52c-2.2-3.84-.9-8.73 2.94-10.96 3.83-2.2 8.72-.9 10.95 2.94 2.2 3.84.9 8.73-2.94 10.96-3.85 2.2-8.76.9-10.97-2.94"
  457. style="transform: translate(100px, 100px);"></path>
  458. <path class="cWrBmb" x="95.97162628173828" y="83.4900016784668" fill="#fff" d="M102.9 87.5c-2.2 3.84-7.1 5.15-10.94 2.94-3.84-2.2-5.14-7.12-2.94-10.96 2.2-3.84 7.12-5.15 10.95-2.94 3.86 2.23 5.16 7.12 2.94 10.96"
  459. style="transform: translate(100px, 100px);"></path>
  460. <path class="Wnusb" x="64" y="101.97999572753906" fill="#fff" d="M64 110c-4.43 0-8-3.6-8-8.02 0-4.44 3.57-8.02 8-8.02s8 3.58 8 8.02c0 4.4-3.57 8.02-8 8.02"
  461. style="transform: translate(100px, 100px);"></path>
  462. <path class="bfPqf" x="32.03982162475586" y="83.4900016784668" fill="#fff" d="M25.1 87.5c-2.2-3.84-.9-8.73 2.93-10.96 3.83-2.2 8.72-.9 10.95 2.94 2.2 3.84.9 8.73-2.94 10.96-3.85 2.2-8.74.9-10.95-2.94"
  463. style="transform: translate(100px, 100px);"></path>
  464. <path class="edRCTN" x="32.033552169799805" y="46.510000228881836" fill="#fff" d="M38.96 50.52c-2.2 3.84-7.12 5.15-10.95 2.94-3.82-2.2-5.12-7.12-2.92-10.96 2.2-3.84 7.12-5.15 10.95-2.94 3.83 2.23 5.14 7.12 2.94 10.96"
  465. style="transform: translate(100px, 100px);"></path>
  466. <path class="iEGVWn" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M63.55 27.5l32.9 19-32.9-19z"></path>
  467. <path class="bsocdx" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M96 46v38-38z"></path>
  468. <path class="jAZXmP" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M96.45 84.5l-32.9 19 32.9-19z"></path>
  469. <path class="hSeArx" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M64.45 103.5l-32.9-19 32.9 19z"></path>
  470. <path class="bVgqGk" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M32 84V46v38z"></path>
  471. <path class="hEFqBt" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M31.55 46.5l32.9-19-32.9 19z"></path>
  472. <path class="dzEKCM" id="Triangle-Bottom" stroke="#fff" stroke-width="4" d="M30 84h70" stroke-linecap="round"></path>
  473. <path class="DYnPx" id="Triangle-Left" stroke="#fff" stroke-width="4" d="M65 26L30 87" stroke-linecap="round"></path>
  474. <path class="hjPEAQ" id="Triangle-Right" stroke="#fff" stroke-width="4" d="M98 87L63 26" stroke-linecap="round"></path>
  475. </g>
  476. </svg>
  477. <div class="text">Loading
  478. <span class="dGfHfc">GraphQL Playground</span>
  479. </div>
  480. </div>
  481.  
  482. <div id="root" />
  483. <script type="text/javascript">
  484. window.addEventListener('load', function (event) {
  485. const loadingWrapper = document.getElementById('loading-wrapper');
  486. loadingWrapper.classList.add('fadeOut');
  487. const root = document.getElementById('root');
  488. root.classList.add('playgroundIn');
  489. GraphQLPlayground.init(root, {
  490. // you can add more options here
  491. })
  492. })
  493. </script>
  494.  
  495. </html>