header_actions.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Action menu</title>
  6. <meta name="description" content="Presenting a list of actions related to the App content">
  7. <link rel="stylesheet" href="../action_menu.css">
  8. <!--
  9. - This <style> element is only used for the example code;
  10. - it is not required for the real use case.
  11. -->
  12. <style type="text/css">
  13. html, body {
  14. font-family: sans-serif;
  15. margin: 0;
  16. padding: 0;
  17. font-size: 10px;
  18. background-color: #fff;
  19. }
  20. body {
  21. background: none;
  22. }
  23. </style>
  24. </head>
  25. <body role="application">
  26. <p dir="ltr">
  27. <label>
  28. <input type="checkbox"
  29. onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
  30. RTL mode
  31. </label>
  32. </p>
  33. <form role="dialog" data-type="action" onsubmit="return false;">
  34. <header>
  35. <button><span class="icon icon-close">close</span></button>
  36. <menu type="toolbar">
  37. <button>done</button>
  38. </menu>
  39. <h1>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</h1>
  40. </header>
  41. <section>
  42. <p>Curabitur condimentum diam mollis lacus hendrerit congue. Phasellus porttitor orci elit, ac consequat est mollis ut. Ut consequat ipsum a ullamcorper aliquam.</p>
  43. </section>
  44. </form>
  45. </body>
  46. </html>