Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <link rel="import" href="../paper-toast/paper-toast.html">
  2. <link rel="import" href="../core-tooltip/core-tooltip.html">
  3. <link rel="import" href="../core-icons/core-icons.html">
  4. <link rel="import" href="../core-icons/av-icons.html">
  5. <link rel="import" href="../paper-fab/paper-fab.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. }
  17. #paper_button {
  18. left: 1380px;
  19. top: 620px;
  20. }
  21. #paper_fab {
  22. left: 620px;
  23. top: 110px;
  24. position: absolute;
  25. }
  26. #paper_toast {
  27. left: 220px;
  28. top: 40px;
  29. position: absolute;
  30. }
  31. #core_tooltip {
  32. left: 710px;
  33. top: 70px;
  34. position: absolute;
  35. width: 20px;
  36. height: 0px;
  37. }
  38. </style>
  39. <paper-toast text="Toast!" id="paper_toast" touch-action="none" class="core-transition-bottom core-transition"></paper-toast>
  40. <core-tooltip label="Keep on pressing!" id="core_tooltip">
  41. <paper-fab icon="create" active="{{ $.paper_toast.opened }}" id="paper_fab"></paper-fab>
  42. </core-tooltip>
  43. </template>
  44.  
  45. <script>
  46.  
  47. Polymer({
  48.  
  49. });
  50.  
  51. </script>
  52.  
  53. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement