Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #core_drawer_panel {
  14. position: absolute;
  15. top: 0px;
  16. right: 0px;
  17. bottom: 0px;
  18. left: 0px;
  19. width: 100%;
  20. height: 100%;
  21. }
  22. #menu {
  23. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  24. background-color: rgb(250, 250, 250);
  25. }
  26. #content {
  27. height: 100%;
  28. box-sizing: border-box;
  29. background-color: rgb(221, 221, 221);
  30. }
  31. </style>
  32. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  33. <section id="menu" drawer></section>
  34. <section id="content" main></section>
  35. </core-drawer-panel>
  36. </template>
  37.  
  38. <script>
  39.  
  40. Polymer({
  41.  
  42. });
  43.  
  44. </script>
  45.  
  46. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement