Advertisement
Guest User

Untitled

a guest
Jul 4th, 2015
184
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-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.  
  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_scaffold {
  20. position: absolute;
  21. top: 0px;
  22. right: 0px;
  23. bottom: 0px;
  24. left: 0px;
  25. width: 100%;
  26. height: 100%;
  27. }
  28. #core_header_panel {
  29. background-color: rgb(255, 255, 255);
  30. }
  31. #core_toolbar {
  32. color: rgb(255, 255, 255);
  33. background-color: rgb(79, 125, 201);
  34. }
  35. #core_menu {
  36. font-size: 16px;
  37. }
  38. #core_card {
  39. position: absolute;
  40. width: 100%;
  41. height: 100%;
  42. border-radius: 2px;
  43. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  44. left: 0px;
  45. top: 0px;
  46. display: flex;
  47. background-color: rgb(255, 255, 255);
  48. }
  49. </style>
  50. <core-scaffold id="core_scaffold">
  51. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  52. <core-toolbar id="core_toolbar"></core-toolbar>
  53. <core-menu valueattr="label" id="core_menu" theme="core-light-theme">
  54. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  55. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  56. </core-menu>
  57. </core-header-panel>
  58. <div id="div" tool>Title</div>
  59. <core-card id="core_card" center vertical layout center-justified></core-card>
  60. </core-scaffold>
  61. </template>
  62.  
  63. <script>
  64.  
  65. Polymer({
  66.  
  67. });
  68.  
  69. </script>
  70.  
  71. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement