kyleAI_13

example of screenshot capture ui

Aug 10th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>File Share</title>
  5.          <!-- <link rel="stylesheet" href="/site/scripts/shared/bootstrap.min.css">
  6.           <script src="/site/scripts/shared/bootstrap.min.js"></script> -->
  7.           <script src="dew://lib/jquery-2.2.1.min.js"></script>
  8.           <script>$(document).ready(function () {
  9.            $.getScript("dew://lib/dew.js").done(function () {
  10.             dew.command('game.screenshot', {}).then(function (img) {
  11.                 $('#savedto').html(document.createTextNode(e === undefined ? '' : img));
  12.             });
  13.            });
  14.            setTimeout("window.close()",6000);
  15.           }); </script>
  16.           <style>
  17.             @font-face{ font-family:"Conduit ITC"; src:url(dew://lib/Conduit-ITC.woff); }
  18.             @keyframes slideInFromRight {
  19.               0% { transform: translateX(100%); }
  20.               100% { transform: translateX(0);  }
  21.             }
  22.             * {
  23.                 margin: 0;
  24.                 padding: 0;
  25.                 font-family: "Conduit ITC";
  26.                 -webkit-user-select: none;
  27.                 user-select: none;
  28.                 -webkit-font-smoothing: antialiased;
  29.             }
  30.             html {
  31.                 color: #FFF;
  32.                 zoom: 0.85;
  33.             }
  34.             html:before {
  35.                 content: "";
  36.                 position: absolute;
  37.                 width: 100%;
  38.                 height: 100%;
  39.                 background-color: rgba(0, 0, 0, 0.7);
  40.                 filter: blur(2px);
  41.             }
  42.             </style>
  43.     </head>
  44.     <body>
  45.         <div style="padding:30px;
  46.         border-radius:20px;
  47.         animation:1s ease-out 0s 1 slideInFromRight;
  48.         box-shadow:0px 0px 45px rgba(0,0,0,0.7);
  49.         background:linear-gradient(rgba(25,41,77, 1.0),rgba(21, 30, 39, 0.9));
  50.         position:absolute;
  51.         bottom:10px;
  52.         right:10px;">Screenshot saved to:<br /><span id='savedto'></span></div>
  53.     </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment