Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 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-icons/av-icons.html">
  5. <link rel="import" href="../paper-fab/paper-fab.html">
  6. <link rel="import" href="../core-input/core-input.html">
  7.  
  8. <polymer-element name="my-element">
  9.  
  10. <template>
  11. <style>
  12. :host {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. box-sizing: border-box;
  17. }
  18. #core_card {
  19. position: absolute;
  20. width: 360px;
  21. height: 600px;
  22. border-radius: 2px;
  23. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  24. left: 370px;
  25. top: 90px;
  26. background-color: rgb(255, 255, 255);
  27. }
  28. #paper_fab {
  29. left: 290px;
  30. top: 530px;
  31. position: absolute;
  32. }
  33. #core_toolbar {
  34. right: 0px;
  35. left: 0px;
  36. color: rgb(255, 255, 255);
  37. fill: rgb(255, 255, 255);
  38. top: 0px;
  39. position: absolute;
  40. background-color: rgb(79, 125, 201);
  41. }
  42. #title {
  43. left: 15px;
  44. padding: 15px;
  45. position: absolute;
  46. top: 80px;
  47. font-family: menlo;
  48. }
  49. #input {
  50. padding: 15px;
  51. left: 80px;
  52. top: 80px;
  53. position: absolute;
  54. }
  55. </style>
  56. <core-card id="core_card">
  57. <core-toolbar id="core_toolbar">
  58. <div id="div" flex>New</div>
  59. </core-toolbar>
  60. <paper-fab icon="add" id="paper_fab"></paper-fab>
  61. <div id="title">Title:</div>
  62. <input id="input" placeholder="type something..." is="core-input">
  63. </core-card>
  64. </template>
  65.  
  66. <script>
  67.  
  68. Polymer({
  69.  
  70. });
  71.  
  72. </script>
  73.  
  74. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement