Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 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-icons/core-icons.html">
  4. <link rel="import" href="../core-icon/core-icon.html">
  5. <link rel="import" href="../core-ajax/core-ajax.html">
  6.  
  7. <polymer-element name="my-element">
  8.  
  9. <template>
  10. <style>
  11. :host {
  12. position: absolute;
  13. width: 100%;
  14. height: 100%;
  15. box-sizing: border-box;
  16. top: 0px;
  17. left: 0px;
  18. }
  19. #core_toolbar {
  20. right: 0px;
  21. left: -10px;
  22. color: rgb(255, 255, 255);
  23. fill: rgb(255, 255, 255);
  24. top: 0px;
  25. position: absolute;
  26. background-color: rgb(79, 125, 201);
  27. }
  28. #core_icon {
  29. left: 1338px;
  30. top: 20px;
  31. position: absolute;
  32. }
  33. #core_ajax {
  34. left: 560px;
  35. top: 340px;
  36. position: absolute;
  37. }
  38. #core_ajax1 {
  39. left: 640px;
  40. top: 360px;
  41. position: absolute;
  42. }
  43. </style>
  44. <core-toolbar id="core_toolbar">
  45. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  46. <div id="div" flex>Toolbar</div>
  47. <core-icon icon="search" id="core_icon"></core-icon>
  48. </core-toolbar>
  49. <core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
  50. <core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax>
  51. </template>
  52.  
  53. <script>
  54.  
  55. Polymer({
  56.  
  57. });
  58.  
  59. </script>
  60.  
  61. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement