Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-icon-button/core-icon-button.html">
  3. <link rel="import" href="../core-toolbar/core-toolbar.html">
  4. <link rel="import" href="../core-header-panel/core-header-panel.html">
  5.  
  6. <polymer-element name="my-element">
  7.  
  8. <template>
  9. <style>
  10. :host {
  11. position: absolute;
  12. width: 100%;
  13. height: 100%;
  14. box-sizing: border-box;
  15. }
  16. #core_drawer_panel {
  17. position: absolute;
  18. top: 0px;
  19. right: 0px;
  20. bottom: 0px;
  21. left: 0px;
  22. }
  23. #section {
  24. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  25. background-color: rgb(250, 250, 250);
  26. }
  27. #section1 {
  28. height: 100%;
  29. box-sizing: border-box;
  30. background-color: rgb(221, 221, 221);
  31. }
  32. #core_header_panel {
  33. width: 260px;
  34. height: 860px;
  35. left: 0px;
  36. top: 0px;
  37. position: absolute;
  38. }
  39. #core_toolbar {
  40. color: rgb(255, 255, 255);
  41. background-color: rgb(79, 125, 201);
  42. }
  43. #section2 {
  44. height: 1000px;
  45. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  46. }
  47. </style>
  48. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  49. <section id="section" drawer>
  50. <core-header-panel mode="standard" id="core_header_panel">
  51. <core-toolbar id="core_toolbar">
  52. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  53. <div id="div">Header</div>
  54. </core-toolbar>
  55. <section id="section2"></section>
  56. </core-header-panel>
  57. </section>
  58. <section id="section1" main></section>
  59. </core-drawer-panel>
  60. </template>
  61.  
  62. <script>
  63.  
  64. Polymer({
  65.  
  66. });
  67.  
  68. </script>
  69.  
  70. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement