Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. <link rel="import" href="../google-map/google-map.html">
  2. <link rel="import" href="../paper-button/paper-button.html">
  3. <link rel="import" href="../core-icon-button/core-icon-button.html">
  4. <link rel="import" href="../core-toolbar/core-toolbar.html">
  5. <link rel="import" href="../core-icons/core-icons.html">
  6. <link rel="import" href="../core-icon/core-icon.html">
  7. <link rel="import" href="../core-input/core-input.html">
  8. <link rel="import" href="../paper-checkbox/paper-checkbox.html">
  9. <link rel="import" href="../core-field/core-field.html">
  10.  
  11. <polymer-element name="my-element">
  12.  
  13. <template>
  14. <style>
  15. :host {
  16. position: absolute;
  17. width: 100%;
  18. height: 100%;
  19. box-sizing: border-box;
  20. top: 0px;
  21. left: 0px;
  22. }
  23. #paper_button {
  24. left: 710px;
  25. top: 180px;
  26. position: absolute;
  27. background-color: rgb(117, 177, 252);
  28. }
  29. #google_map {
  30. width: 910px;
  31. height: 520px;
  32. display: block;
  33. left: 290px;
  34. top: 230px;
  35. position: absolute;
  36. }
  37. #core_menu {
  38. font-size: 16px;
  39. left: 70px;
  40. top: 50px;
  41. }
  42. #core_toolbar {
  43. right: 0px;
  44. left: 0px;
  45. color: rgb(255, 255, 255);
  46. fill: rgb(255, 255, 255);
  47. top: 0px;
  48. position: absolute;
  49. background-color: rgb(79, 125, 201);
  50. }
  51. #core_card {
  52. position: absolute;
  53. width: 300px;
  54. height: 300px;
  55. border-radius: 2px;
  56. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  57. left: 1230px;
  58. top: 250px;
  59. background-color: rgb(255, 255, 255);
  60. }
  61. #input {
  62. padding: 15px;
  63. }
  64. #core_icon {
  65. left: 870px;
  66. top: 180px;
  67. position: absolute;
  68. }
  69. #paper_checkbox {
  70. left: 380px;
  71. top: 120px;
  72. position: absolute;
  73. }
  74. #core_field {
  75. left: 140px;
  76. top: 230px;
  77. position: absolute;
  78. }
  79. </style>
  80. <google-map latitude="37.63477040615048" longitude="-121.01591658203125" id="google_map"></google-map>
  81. <paper-button raised id="paper_button">Search</paper-button>
  82. <core-toolbar id="core_toolbar">
  83. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  84. <div id="div" flex>Toolbar</div>
  85. </core-toolbar>
  86. <core-icon icon="alarm" id="core_icon"></core-icon>
  87. <core-card id="core_card" layout vertical>
  88. <input id="input" placeholder="type something..." is="core-input">
  89. </core-card>
  90. <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
  91. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  92. <core-icon icon="search" id="core_icon1"></core-icon>
  93. <core-input id="core_input" flex></core-input>
  94. </core-field>
  95. </template>
  96.  
  97. <script>
  98.  
  99. Polymer({
  100. search: 'search'
  101. });
  102.  
  103. </script>
  104.  
  105. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement