Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 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="../chart-js/chart-js.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_toolbar {
  16. right: 0px;
  17. left: 0px;
  18. color: rgb(255, 255, 255);
  19. fill: rgb(255, 255, 255);
  20. top: 0px;
  21. position: absolute;
  22. background-color: rgb(79, 125, 201);
  23. }
  24. #chart_js {
  25. width: 300px;
  26. height: 200px;
  27. left: 40px;
  28. top: 80px;
  29. position: absolute;
  30. }
  31. </style>
  32. <core-toolbar id="core_toolbar">
  33. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  34. <div id="div" flex>Toolbar</div>
  35. </core-toolbar>
  36. <chart-js id="chart_js"></chart-js>
  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