Guest User

Untitled

a guest
Nov 19th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 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-header-panel/core-header-panel.html">
  4. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  5. <link rel="import" href="../core-menu/core-submenu.html">
  6. <link rel="import" href="../core-item/core-item.html">
  7.  
  8. <polymer-element name="my-element">
  9.  
  10. <template>
  11. <style>
  12. :host {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. box-sizing: border-box;
  17. }
  18. #core_header_panel {
  19. width: 1000px;
  20. height: 1000px;
  21. left: 0px;
  22. top: 0px;
  23. position: absolute;
  24. }
  25. #core_toolbar {
  26. background-color: rgb(79, 125, 201);
  27. color: rgb(255, 255, 255);
  28. width: 930px;
  29. height: 50px;
  30. }
  31. #section {
  32. height: 1000px;
  33. background: linear-gradient(rgb(214, 227, 231), lightblue);
  34. }
  35. #core_drawer_panel {
  36. position: absolute;
  37. top: 0px;
  38. right: 0px;
  39. bottom: 0px;
  40. left: 0px;
  41. }
  42. #section1 {
  43. background-color: rgb(250, 250, 250);
  44. box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
  45. }
  46. #section2 {
  47. height: 100%;
  48. box-sizing: border-box;
  49. background-color: rgb(221, 221, 221);
  50. }
  51. #paper_item {
  52. left: 1020px;
  53. top: 500px;
  54. }
  55. #core_menu {
  56. font-size: 16px;
  57. left: 32px;
  58. top: 22px;
  59. position: absolute;
  60. }
  61. </style>
  62. <core-header-panel mode="standard" id="core_header_panel">
  63. <core-toolbar id="core_toolbar">
  64. <div id="div">Aplicación</div>
  65. </core-toolbar>
  66. <section id="section">
  67. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  68. <section id="section1" drawer>
  69. <core-menu selected="0" selectedindex="0" id="core_menu">
  70. <core-submenu opened active id="core_submenu" icon="settings" label="Topics">
  71. <core-item id="core_item" label="Topic 1" horizontal center layout>Hola</core-item>
  72. <core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
  73. </core-submenu>
  74. <core-submenu id="core_submenu1" icon="settings" label="Favorites">
  75. <core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
  76. <core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
  77. <core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
  78. </core-submenu>
  79. </core-menu>
  80. </section>
  81. <section id="section2" main></section>
  82. </core-drawer-panel>
  83. </section>
  84. </core-header-panel>
  85. </template>
  86.  
  87. <script>
  88.  
  89. Polymer({
  90.  
  91. });
  92.  
  93. </script>
  94.  
  95. </polymer-element>
Add Comment
Please, Sign In to add comment