Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 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_scroll_header_panel {
  20. width: 380px;
  21. height: 460px;
  22. left: 990px;
  23. top: 310px;
  24. }
  25. #core_scaffold {
  26. position: absolute;
  27. top: 360px;
  28. right: 0px;
  29. bottom: 0px;
  30. left: 850px;
  31. }
  32. #core_header_panel {
  33. background-color: rgb(255, 255, 255);
  34. }
  35. #core_toolbar {
  36. color: rgb(255, 255, 255);
  37. background-color: rgb(79, 125, 201);
  38. }
  39. #core_menu {
  40. font-size: 16px;
  41. }
  42. #core_scaffold1 {
  43. position: absolute;
  44. top: 340px;
  45. right: 0px;
  46. bottom: 0px;
  47. left: 700px;
  48. }
  49. #core_header_panel1 {
  50. background-color: rgb(255, 255, 255);
  51. }
  52. #core_toolbar1 {
  53. color: rgb(255, 255, 255);
  54. background-color: rgb(79, 125, 201);
  55. }
  56. #core_menu1 {
  57. font-size: 16px;
  58. }
  59. #core_scaffold2 {
  60. position: absolute;
  61. top: -40px;
  62. right: 0px;
  63. bottom: 0px;
  64. left: 190px;
  65. }
  66. </style>
  67. <core-scaffold id="core_scaffold">
  68. <core-header-panel id="core_header_panel" navigation flex>
  69. <core-toolbar id="core_toolbar"></core-toolbar>
  70. <core-menu id="core_menu" valueattr="label" theme="core-light-theme">
  71. <core-item id="core_item" icon="settings" label="Item1"></core-item>
  72. <core-item id="core_item1" icon="settings" label="Item2"></core-item>
  73. </core-menu>
  74. </core-header-panel>
  75. <div id="div" tool>Title</div>
  76. </core-scaffold>
  77. <core-scaffold id="core_scaffold1">
  78. <core-header-panel id="core_header_panel1" navigation flex>
  79. <core-toolbar id="core_toolbar1"></core-toolbar>
  80. <core-menu id="core_menu1" valueattr="label" theme="core-light-theme">
  81. <core-item id="core_item2" icon="settings" label="Item1"></core-item>
  82. <core-item id="core_item3" icon="settings" label="Item2"></core-item>
  83. </core-menu>
  84. </core-header-panel>
  85. <div id="div1" tool>Title</div>
  86. </core-scaffold>
  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