Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. <link rel="import" href="../core-scaffold/core-scaffold.html">
  2. <link rel="import" href="../core-header-panel/core-header-panel.html">
  3. <link rel="import" href="../core-menu/core-menu.html">
  4. <link rel="import" href="../core-item/core-item.html">
  5. <link rel="import" href="../core-icon-button/core-icon-button.html">
  6. <link rel="import" href="../core-toolbar/core-toolbar.html">
  7. <link rel="import" href="../core-menu/core-submenu.html">
  8. <link rel="import" href="../google-map/google-map.html">
  9.  
  10. <polymer-element name="my-element">
  11.  
  12. <template>
  13. <style>
  14. :host {
  15. position: absolute;
  16. width: 100%;
  17. height: 100%;
  18. box-sizing: border-box;
  19. }
  20. #core_card {
  21. position: absolute;
  22. width: 300px;
  23. height: 300px;
  24. border-radius: 2px;
  25. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  26. left: 1170px;
  27. top: 430px;
  28. background-color: rgb(255, 255, 255);
  29. }
  30. #core_scaffold {
  31. position: absolute;
  32. top: 0px;
  33. right: 0px;
  34. bottom: 0px;
  35. left: 0px;
  36. width: 100%;
  37. height: 100%;
  38. }
  39. #core_header_panel {
  40. background-color: rgb(255, 255, 255);
  41. }
  42. #core_toolbar {
  43. color: rgb(255, 255, 255);
  44. background-color: rgb(79, 125, 201);
  45. }
  46. #core_menu {
  47. font-size: 16px;
  48. }
  49. #google_map {
  50. width: 100%;
  51. height: 100%;
  52. display: block;
  53. left: 0px;
  54. top: 0px;
  55. position: absolute;
  56. }
  57. </style>
  58. <core-scaffold id="core_scaffold">
  59. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  60. <core-toolbar id="core_toolbar"></core-toolbar>
  61. <core-menu valueattr="label" id="core_menu" theme="core-light-theme">
  62. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  63. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  64. </core-menu>
  65. </core-header-panel>
  66. <div id="div" tool>Title</div>
  67. <google-map latitude="33.85659832911511" longitude="-88.197007890625" zoom="9" id="google_map"></google-map>
  68. </core-scaffold>
  69. </template>
  70.  
  71. <script>
  72.  
  73. Polymer({
  74.  
  75. });
  76.  
  77. </script>
  78.  
  79. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement