Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
170
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="../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-input/core-input.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: 10px;
  23. right: 0px;
  24. bottom: 0px;
  25. left: 0px;
  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. #input {
  38. padding: 15px;
  39. left: 0px;
  40. top: 10px;
  41. position: absolute;
  42. width: auto;
  43. height: auto;
  44. background-color: rgb(255, 255, 255);
  45. }
  46. </style>
  47. <core-scaffold id="core_scaffold">
  48. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  49. <core-toolbar id="core_toolbar">
  50. <input id="input" placeholder="type something..." is="core-input">
  51. </core-toolbar>
  52. <core-menu valueattr="label" id="core_menu" theme="core-light-theme">
  53. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  54. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  55. </core-menu>
  56. </core-header-panel>
  57. <div id="div" tool>Title</div>
  58. </core-scaffold>
  59. </template>
  60.  
  61. <script>
  62.  
  63. Polymer({
  64.  
  65. });
  66.  
  67. </script>
  68.  
  69. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement