Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-icons/core-icons.html">
  3. <link rel="import" href="../paper-icon-button/paper-icon-button.html">
  4.  
  5. <polymer-element name="my-element">
  6.  
  7. <template>
  8. <style>
  9. :host {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. box-sizing: border-box;
  14. }
  15. #core_drawer_panel {
  16. position: absolute;
  17. top: 0px;
  18. right: 0px;
  19. bottom: 0px;
  20. left: 0px;
  21. }
  22. #section {
  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. #section1 {
  27. height: 100%;
  28. box-sizing: border-box;
  29. background-color: rgb(221, 221, 221);
  30. }
  31. #core_card {
  32. position: relative;
  33. border-radius: 2px;
  34. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  35. top: 14px;
  36. background-color: rgb(255, 255, 255);
  37. }
  38. </style>
  39. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  40. <section id="section" drawer></section>
  41. <section id="section1" main>
  42. <core-card id="core_card" layout vertical>
  43. <paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
  44. </core-card>
  45. </section>
  46. </core-drawer-panel>
  47. </template>
  48.  
  49. <script>
  50.  
  51. Polymer({
  52.  
  53. });
  54.  
  55. </script>
  56.  
  57. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement