/html/help-popup.html

https://github.com/ajanthanm/cssfilterlab · HTML · 86 lines · 41 code · 9 blank · 36 comment · 0 complexity · d2414415bd19ae66863d884e42ae9220 MD5 · raw file

  1. <div id="help-popup" class="popup hidden">
  2. <div class="popup-inner">
  3. <h2>
  4. <a href="#" id="help-popup-close" class="icon icon-close">Close</a>
  5. Welcome to CSS FilterLab!
  6. </h2>
  7. <p>CSS FilterLab is a great way to explore <a href="http://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html" target="_blank">CSS Filters</a>.</p>
  8. <span class="button-group" id="help-nav">
  9. <a href="#what-explore" class="button large start selected">Explore</a>
  10. <a href="#what-animate" class="button large inside">Animate</a>
  11. <!-- Disable CSS Custom Filters
  12. <a href="#what-create" class="button large inside">Create</a>
  13. <a href="#what-share" class="button large inside">Share</a>
  14. -->
  15. <a href="#what-contribute" class="button large end">Contribute</a>
  16. </span>
  17. <article>
  18. <div id="what-explore">
  19. <h3>Getting Started</h3>
  20. <p>Click on the <strong>Add Filter</strong> button on the top left corner to start exploring available filters you can apply on the sample content.</p>
  21. <!-- Disable CSS Custom Filters
  22. <ul>
  23. <li><strong>Built-in filters</strong> are those that are available by default in your browser.</li>
  24. <li><strong>Custom filters</strong> use GLSL shaders and provide textures &amp; effects that are not possible with built-in filters.</li>
  25. <li><strong>Forked custom filters</strong> are filters that you create, stored locally. If you think they are worthy of being available as custom filters for everyone to use, please contribute!</li>
  26. <li><strong>Import via Gist</strong> allows you to open a GitHub gist file that contains a shader and see how it works on the sample content.</li>
  27. </ul>
  28. -->
  29. <p>Apply filters by clicking on them. You can tweak them for cool effects using the controls they display once activated. Controls to reorder filters, toggle them on or off, and to remove them are available next to their names.</p>
  30. <p>Once you're happy with your tweaks, use the <strong>Save as Preset</strong> button, located above the sample content, to save them for later.</p>
  31. </div>
  32. <div id="what-animate">
  33. <h3>Animating Filters</h3>
  34. <p>Check out the <strong>Timeline</strong> controls on the lower end of the screen. You can use them to create animations with filters.</p>
  35. <ul>
  36. <li>Make sure to apply at least one filter using the <strong>Add Filter</strong> menu.</li>
  37. <li>Click anywhere along the timeline to move the playhead to that position.</li>
  38. <li>Now, make some changes to the applied filter parameters. <br />This creates a new <strong>keyframe</strong> on the timeline.</li>
  39. <li>Click the play button from <strong>Timeline</strong> panel to view your animation. Use the input field next to the timeline to change the animation's duration.</li>
  40. <li>The controls next to the play button allow you to navigate through keyframes and toggle them on or off.</li>
  41. </ul>
  42. <h3>CSS Output</h3>
  43. <p>As you make changes to the filters you'll see the corresponding CSS output in the <strong>CSS Syntax</strong> panel. The same goes for animations and the <strong>CSS Animation Syntax</strong> panel.</p>
  44. <p>This is valid CSS code you can reuse in your own projects.</p>
  45. </div>
  46. <!-- Disable CSS Custom Filters
  47. <div id="what-create">
  48. <h3>Creating Custom Filters</h3>
  49. <ul>
  50. <li>Click on <strong>Add Filter</strong>, select the <strong>Custom</strong> filters tab and fork one of the filters.</li>
  51. <li>Your forked filter will appear under the <strong>Forked Custom</strong> filters tab. Click the edit icon next to it to reveal the editor and make changes.</li>
  52. <li>You can change the filter's parameters or even edit the <strong>Vertex</strong> and <strong>Fragment</strong> shaders. The <strong>Error Panel</strong> helps you identify errors.</li>
  53. <li>Shaders are written in <a href="http://www.opengl.org/documentation/glsl/" target="_blank">GLSL (OpenGL Shading Language)</a>.</li>
  54. <li>Your changes are saved automatically and stored locally.</li>
  55. </ul>
  56. </div>
  57. <div id="what-share">
  58. <h3>Sharing your filters</h3>
  59. <ul>
  60. <li>Use the <strong>Publish as Gist</strong> button from the editor panel to share your filter as a <a href="https://gist.github.com/" target="_blank">gist on GitHub</a>.</li>
  61. <li>Share that gist URL with others.</li>
  62. <li>Other people can use that gist URL to import your filter using <strong>Import via Gist</strong> from the <strong>Add Filter</strong> menu.</li>
  63. </ul>
  64. </div>
  65. -->
  66. <div id="what-contribute">
  67. <h3>Contributing to CSS FilterLab</h3>
  68. <p>If you would like to contribute to CSS FilterLab, please submit a pull request to <a href="https://github.com/adobe/cssfilterlab" target="_blank">our GitHub repository</a>.</p>
  69. <p>We do require you to sign a <a href="<%= project.homepage %>dev/cssfilterlab-cla.html" target="_blank">Contributor's License Agreement</a>.</p>
  70. <!-- Disable CSS Custom Filters
  71. <p>If you would like to get your filter in the Custom Filters directory, please submit a pull request to <a href="https://github.com/adobe/cssfilterlab" target="_blank">our GitHub repository</a>.</p>
  72. -->
  73. </div>
  74. </article>
  75. </div>
  76. </div>