Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. <link rel="import" href="../core-icon-button/core-icon-button.html">
  2. <link rel="import" href="../core-toolbar/core-toolbar.html">
  3. <link rel="import" href="../core-pages/core-pages.html">
  4. <link rel="import" href="../core-scaffold/core-scaffold.html">
  5. <link rel="import" href="../core-header-panel/core-header-panel.html">
  6. <link rel="import" href="../core-menu/core-menu.html">
  7. <link rel="import" href="../core-item/core-item.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_toolbar {
  21. right: 0px;
  22. left: -10px;
  23. color: rgb(255, 255, 255);
  24. fill: rgb(255, 255, 255);
  25. top: 0px;
  26. position: absolute;
  27. background-color: rgb(79, 125, 201);
  28. }
  29. #core_pages {
  30. width: 400px;
  31. height: 400px;
  32. border: 1px solid silver;
  33. left: 230px;
  34. top: 190px;
  35. position: absolute;
  36. }
  37. #core_scaffold {
  38. position: absolute;
  39. top: -1px;
  40. right: 0px;
  41. bottom: 0px;
  42. left: -31px;
  43. }
  44. #core_header_panel {
  45. background-color: rgb(255, 255, 255);
  46. }
  47. #core_toolbar1 {
  48. color: rgb(255, 255, 255);
  49. background-color: rgb(79, 125, 201);
  50. }
  51. #core_menu {
  52. font-size: 16px;
  53. }
  54. #section2 {
  55. left: 680px;
  56. top: 300px;
  57. position: absolute;
  58. }
  59. #section3 {
  60. left: 720px;
  61. top: 310px;
  62. position: absolute;
  63. }
  64. </style>
  65. <core-toolbar id="core_toolbar">
  66. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  67. <div id="div" flex>Figaro Administration</div>
  68. </core-toolbar>
  69. <core-pages selected="0" selectedindex="0" notap id="core_pages">
  70. <section id="section" active>
  71. <core-scaffold id="core_scaffold">
  72. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  73. <core-toolbar id="core_toolbar1"></core-toolbar>
  74. <core-menu valueattr="label" id="core_menu" theme="core-light-theme">
  75. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  76. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  77. </core-menu>
  78. </core-header-panel>
  79. <div id="div1" tool>Title</div>
  80. </core-scaffold>
  81. </section>
  82. <section id="section1">Page Two</section>
  83. </core-pages>
  84. <section id="section2"></section>
  85. <section id="section3"></section>
  86. </template>
  87.  
  88. <script>
  89.  
  90. Polymer({
  91.  
  92. });
  93.  
  94. </script>
  95.  
  96. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement