Advertisement
Guest User

Untitled

a guest
May 6th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-input/core-input.html">
  3. <link rel="import" href="../core-icon-button/core-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. #input {
  32. padding: 15px;
  33. }
  34. </style>
  35. <core-drawer-panel transition selected="main" rightdrawer id="core_drawer_panel" touch-action>
  36. <section id="section" drawer vertical layout>
  37. <div id="listChats" twelve flex>
  38. </div>
  39. <input id="input" placeholder="type something..." is="core-input" one flex>
  40. <core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme" one flex center-justified horizontal layout center>Submit</core-icon-button>
  41. </section>
  42. <section id="section1" main></section>
  43. </core-drawer-panel>
  44. </template>
  45.  
  46. <script>
  47.  
  48. Polymer({
  49.  
  50. });
  51.  
  52. </script>
  53.  
  54. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement