Guest User

Untitled

a guest
Oct 23rd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.15 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-scaffold/core-scaffold.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="../paper-button/paper-button.html">
  9. <link rel="import" href="../core-menu/core-submenu.html">
  10. <link rel="import" href="../paper-tabs/paper-tabs.html">
  11. <link rel="import" href="../paper-tabs/paper-tab.html">
  12.  
  13. <polymer-element name="my-element">
  14.  
  15. <template>
  16. <style>
  17. #core_header_panel {
  18. width: 100%;
  19. height: 100%;
  20. left: 20px;
  21. top: 0px;
  22. position: absolute;
  23. }
  24. #core_toolbar {
  25. background-color: rgb(0, 0, 0);
  26. color: rgb(255, 255, 255);
  27. }
  28. #section {
  29. height: 100%;
  30. background: linear-gradient(rgb(214, 227, 231), lightblue);
  31. position: absolute;
  32. top: 0px;
  33. left: 0px;
  34. width: 100%;
  35. }
  36. #core_drawer_panel {
  37. position: absolute;
  38. top: 0px;
  39. right: 0px;
  40. bottom: 0px;
  41. left: 0px;
  42. width: 100%;
  43. height: 100%;
  44. }
  45. #section1 {
  46. background-color: rgb(250, 250, 250);
  47. box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
  48. position: absolute;
  49. top: 0px;
  50. left: 0px;
  51. width: 100%;
  52. height: 100%;
  53. }
  54. #core_scaffold {
  55. position: absolute;
  56. top: 0px;
  57. right: 0px;
  58. bottom: 0px;
  59. left: 0px;
  60. width: 100%;
  61. height: 100%;
  62. }
  63. #core_header_panel1 {
  64. background-color: rgb(255, 255, 255);
  65. left: 0px;
  66. top: 6px;
  67. position: absolute;
  68. }
  69. #core_toolbar1 {
  70. background-color: rgb(255, 255, 255);
  71. color: rgb(255, 255, 255);
  72. margin: 23px;
  73. }
  74. #core_menu {
  75. font-size: 16px;
  76. }
  77. #core_item {
  78. background-color: rgb(255, 255, 255);
  79. }
  80. #core_icon_button1 {
  81. left: 1780px;
  82. top: 710px;
  83. }
  84. #paper_icon_button {
  85. left: 1750px;
  86. top: 580px;
  87. }
  88. #paper_toggle_button {
  89. left: 1800px;
  90. top: 790px;
  91. }
  92. #div2 {
  93. height: 100%;
  94. width: 100%;
  95. overflow: hidden;
  96. left: 1820px;
  97. top: 680px;
  98. }
  99. #topeka_app {
  100. width: 300px;
  101. height: 300px;
  102. min-height: 450px;
  103. left: 1890px;
  104. top: 500px;
  105. }
  106. #topeka_categories {
  107. width: 300px;
  108. height: 300px;
  109. left: 1710px;
  110. top: 490px;
  111. }
  112. #paper_button {
  113. background-color: rgb(0, 0, 128);
  114. height: 50px;
  115. }
  116. #paper_tabs {
  117. width: 100%;
  118. background-color: rgb(0, 188, 212);
  119. color: rgb(255, 255, 255);
  120. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  121. left: 0px;
  122. top: 0px;
  123. position: absolute;
  124. height: 100%;
  125. }
  126. </style>
  127. <core-header-panel mode="standard" id="core_header_panel">
  128. <core-toolbar id="core_toolbar">
  129. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  130. <div id="div">Header</div>
  131. </core-toolbar>
  132. <section id="section">
  133. <core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
  134. <section id="section1" drawer>
  135. <core-scaffold id="core_scaffold">
  136. <div id="div1" tool>Title</div>
  137. <core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
  138. <core-toolbar id="core_toolbar1">
  139. <paper-button id="paper_button" one flex vertical layout>button</paper-button>
  140. </core-toolbar>
  141. <core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme">
  142. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  143. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout active></core-item>
  144. </core-menu>
  145. </core-header-panel>
  146. </core-scaffold>
  147. </section>
  148. <paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
  149. <paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  150. <paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  151. <paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
  152. <paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
  153. <paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
  154. </paper-tabs>
  155. </core-drawer-panel>
  156. </section>
  157. </core-header-panel>
  158. </template>
  159.  
  160. <script>
  161.  
  162. Polymer({
  163.  
  164. });
  165.  
  166. </script>
  167.  
  168. </polymer-element>
Add Comment
Please, Sign In to add comment