Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <link rel="import" href="../core-icon-button/core-icon-button.html">
  2. <link rel="import" href="../core-toolbar/core-toolbar.html">
  3. <link rel="import" href="../core-header-panel/core-header-panel.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_header_panel {
  16. width: 100%;
  17. height: 100%;
  18. position: absolute;
  19. }
  20. #core_toolbar {
  21. color: rgb(255, 255, 255);
  22. background-color: rgb(79, 125, 201);
  23. }
  24. #section {
  25. height: 1000px;
  26. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  27. }
  28. </style>
  29. <core-header-panel mode="standard" id="core_header_panel">
  30. <core-toolbar id="core_toolbar">
  31. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  32. <div id="div" two flex>Header</div>
  33. <core-icon-button icon="supervisor-account" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
  34. </core-toolbar>
  35. <section id="section"></section>
  36. </core-header-panel>
  37. </template>
  38.  
  39. <script>
  40.  
  41. Polymer({
  42.  
  43. });
  44.  
  45. </script>
  46.  
  47. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement