Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-icon-button/core-icon-button.html">
  3. <link rel="import" href="../core-toolbar/core-toolbar.html">
  4. <link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
  5. <link rel="import" href="../google-map/google-map.html">
  6.  
  7. <polymer-element name="my-element">
  8.  
  9. <template>
  10. <style>
  11. #core_drawer_panel {
  12. position: absolute;
  13. top: 0px;
  14. right: 0px;
  15. bottom: 0px;
  16. left: 0px;
  17. width: 100%;
  18. height: 100%;
  19. }
  20. #section {
  21. background-color: rgb(250, 250, 250);
  22. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  23. }
  24. #section1 {
  25. height: 100%;
  26. box-sizing: border-box;
  27. background-color: rgb(221, 221, 221);
  28. }
  29. #core_scroll_header_panel {
  30. width: 100%;
  31. height: 100%;
  32. left: 0px;
  33. top: 0px;
  34. position: absolute;
  35. }
  36. #core_toolbar {
  37. background-color: rgb(66, 133, 244);
  38. color: rgb(241, 241, 241);
  39. fill: #f1f1f1;
  40. }
  41. #section2 {
  42. height: 5000px;
  43. background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  44. }
  45. #core_card {
  46. background-color: rgb(221, 221, 221);
  47. border-top-left-radius: 2px;
  48. border-top-right-radius: 2px;
  49. border-bottom-right-radius: 2px;
  50. border-bottom-left-radius: 2px;
  51. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  52. width: 100%;
  53. height: 300px;
  54. }
  55. #core_item {
  56. left: 1070px;
  57. top: 490px;
  58. }
  59. #google_map {
  60. width: 100%;
  61. height: 500px;
  62. display: block;
  63. left: 0px;
  64. top: 0px;
  65. position: absolute;
  66. }
  67. </style>
  68. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  69. <section id="section" drawer>
  70. <core-card id="core_card" layout vertical start start-justified></core-card>
  71. </section>
  72. <section id="section1" main>
  73. <core-scroll-header-panel headermargin="128" keepcondensedheader headerheight="192" id="core_scroll_header_panel">
  74. <core-toolbar id="core_toolbar" class="tall">
  75. <core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
  76. <div id="div" flex></div>
  77. <core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
  78. <core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
  79. <div id="div1" class="bottom indent">connector .im</div>
  80. </core-toolbar>
  81. <section id="section2" content>
  82. <google-map latitude="37.95598296501377" longitude="-122.22853254882813" id="google_map"></google-map>
  83. </section>
  84. </core-scroll-header-panel>
  85. </section>
  86. </core-drawer-panel>
  87. </template>
  88.  
  89. <script>
  90.  
  91. Polymer({
  92.  
  93. });
  94.  
  95. </script>
  96.  
  97. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement