Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
199
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="../notification-elements/notification-alert.html">
  2. <link rel="import" href="../core-input/core-input.html">
  3. <link rel="import" href="../paper-button/paper-button.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. #notification_alert {
  16. left: 830px;
  17. top: 380px;
  18. position: absolute;
  19. }
  20. #input {
  21. padding: 15px;
  22. left: 140px;
  23. top: 60px;
  24. position: absolute;
  25. }
  26. #paper_button {
  27. left: 540px;
  28. top: 60px;
  29. position: absolute;
  30. }
  31. </style>
  32. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
  33. <input id="input" placeholder="Pole do uzupełnienia" is="core-input">
  34. <paper-button id="paper_button">ok</paper-button>
  35. </template>
  36.  
  37. <script>
  38.  
  39. Polymer({
  40.  
  41. });
  42.  
  43. </script>
  44.  
  45. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement