Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 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-header-panel/core-header-panel.html">
  4. <link rel="import" href="../core-field/core-field.html">
  5. <link rel="import" href="../core-icon/core-icon.html">
  6. <link rel="import" href="../core-input/core-input.html">
  7. <link rel="import" href="../google-map/google-map.html">
  8.  
  9. <polymer-element name="my-element">
  10.  
  11. <template>
  12. <style>
  13. :host {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. box-sizing: border-box;
  18. }
  19. #core_header_panel {
  20. width: 100%;
  21. height: 100%;
  22. left: 0px;
  23. top: 0px;
  24. position: absolute;
  25. }
  26. #core_toolbar {
  27. color: rgb(255, 255, 255);
  28. background-color: rgb(79, 125, 201);
  29. }
  30. #section {
  31. height: 1000px;
  32. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  33. }
  34. #google_map {
  35. width: 100%;
  36. height: 100%;
  37. display: block;
  38. left: 0px;
  39. top: 0px;
  40. position: absolute;
  41. }
  42. #core_field {
  43. left: 58px;
  44. top: 10px;
  45. position: absolute;
  46. }
  47. #input {
  48. padding: 15px;
  49. background-color: rgb(245, 245, 245);
  50. }
  51. </style>
  52. <core-header-panel mode="standard" id="core_header_panel">
  53. <core-toolbar id="core_toolbar">
  54. <core-icon icon="custom-icons:fancy-circles" size="30"></core-icon>
  55. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  56. <core-input id="core_input" flex></core-input>
  57. </core-field>
  58. <input committedvalue="hello" id="input" value="hello" placeholder="type something..." is="core-input" two flex>
  59. </core-toolbar>
  60. <section id="section">
  61. <google-map latitude="37.69945059138476" longitude="-122.00811934082031" id="google_map"></google-map>
  62. </section>
  63. </core-header-panel>
  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