Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. <link rel="import" href="../google-map/google-map.html">
  2. <link rel="import" href="../core-scaffold/core-scaffold.html">
  3. <link rel="import" href="../core-header-panel/core-header-panel.html">
  4. <link rel="import" href="../core-menu/core-menu.html">
  5. <link rel="import" href="../core-item/core-item.html">
  6. <link rel="import" href="../core-icon-button/core-icon-button.html">
  7. <link rel="import" href="../core-toolbar/core-toolbar.html">
  8. <link rel="import" href="../core-menu/core-submenu.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_scaffold {
  21. position: absolute;
  22. top: 60px;
  23. right: 0px;
  24. bottom: 0px;
  25. left: 660px;
  26. }
  27. #core_header_panel {
  28. background-color: rgb(255, 255, 255);
  29. }
  30. #core_toolbar {
  31. color: rgb(255, 255, 255);
  32. background-color: rgb(79, 125, 201);
  33. }
  34. #core_menu {
  35. font-size: 16px;
  36. }
  37. #div {
  38. position: absolute;
  39. top: 330px;
  40. left: 10px;
  41. width: 100%;
  42. height: 100%;
  43. }
  44. #google_map {
  45. width: 100px;
  46. height: 100px;
  47. display: block;
  48. left: 390px;
  49. top: 280px;
  50. position: absolute;
  51. }
  52. </style>
  53. <google-map id="google_map"></google-map>
  54. <core-scaffold id="core_scaffold">
  55. <core-header-panel id="core_header_panel" navigation flex>
  56. <core-toolbar id="core_toolbar"></core-toolbar>
  57. <core-menu id="core_menu" valueattr="label" theme="core-light-theme">
  58. <core-item id="core_item" icon="settings" label="Item1"></core-item>
  59. <core-item id="core_item1" icon="settings" label="Item2"></core-item>
  60. </core-menu>
  61. </core-header-panel>
  62. <div id="div" tool>Titletest</div>
  63. </core-scaffold>
  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