Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-icon-button/core-icon-button.html">
  3. <link rel="import" href="../core-toolbar/core-toolbar.html">
  4. <link rel="import" href="../core-header-panel/core-header-panel.html">
  5.  
  6. <polymer-element name="my-element">
  7.  
  8. <template>
  9. <style>
  10. :host {
  11. position: absolute;
  12. width: 100%;
  13. height: 100%;
  14. box-sizing: border-box;
  15. }
  16. #section {
  17. box-sizing: border-box;
  18. width: 100%;
  19. height: 100%;
  20. left: 0px;
  21. top: 0px;
  22. position: absolute;
  23. border: 1px;
  24. background-color: rgb(255, 255, 255);
  25. }
  26. #tiles-container {
  27. padding-left: 3px;
  28. height: 85%;
  29. }
  30. #tile-profile {
  31. box-sizing: border-box;
  32. float: left;
  33. height: 30%;
  34. width: 48%;
  35. margin: 3px;
  36. background-color: rgb(204, 204, 204);
  37. }
  38. #core_icon {
  39. height: 128px;
  40. width: 128px;
  41. }
  42. #div {
  43. padding: 8px;
  44. color: rgb(255, 255, 255);
  45. background-color: rgb(0, 128, 255);
  46. }
  47. #tile-general {
  48. box-sizing: border-box;
  49. float: left;
  50. height: 30%;
  51. width: 48%;
  52. margin: 3px;
  53. }
  54. #section2 {
  55. background-color: rgb(255, 255, 141);
  56. }
  57. #core_icon1 {
  58. height: 128px;
  59. width: 128px;
  60. }
  61. #div1 {
  62. padding: 8px;
  63. color: rgb(255, 255, 255);
  64. background-color: rgb(255, 235, 59);
  65. }
  66. #div2 {
  67. box-sizing: border-box;
  68. float: left;
  69. height: 30%;
  70. width: 48%;
  71. margin: 3px;
  72. background-color: rgb(185, 246, 202);
  73. }
  74. #core_icon2 {
  75. height: 128px;
  76. width: 128px;
  77. }
  78. #div3 {
  79. padding: 8px;
  80. color: rgb(255, 255, 255);
  81. background-color: rgb(15, 157, 88);
  82. }
  83. #div4 {
  84. box-sizing: border-box;
  85. float: left;
  86. height: 30%;
  87. width: 48%;
  88. margin: 3px;
  89. background-color: rgb(255, 138, 128);
  90. }
  91. #core_icon3 {
  92. height: 128px;
  93. width: 128px;
  94. }
  95. #div5 {
  96. padding: 8px;
  97. color: rgb(255, 255, 255);
  98. background-color: rgb(219, 68, 55);
  99. }
  100. #div6 {
  101. box-sizing: border-box;
  102. float: left;
  103. height: 30%;
  104. width: 48%;
  105. margin: 3px;
  106. background-color: rgb(130, 177, 255);
  107. }
  108. #core_icon4 {
  109. height: 128px;
  110. width: 128px;
  111. }
  112. #div7 {
  113. padding: 8px;
  114. color: rgb(255, 255, 255);
  115. background-color: rgb(66, 133, 244);
  116. }
  117. #div8 {
  118. box-sizing: border-box;
  119. float: left;
  120. height: 30%;
  121. width: 48%;
  122. margin: 3px;
  123. background-color: rgb(179, 136, 255);
  124. }
  125. #core_icon5 {
  126. height: 128px;
  127. width: 128px;
  128. }
  129. #div9 {
  130. padding: 8px;
  131. color: rgb(255, 255, 255);
  132. background-color: rgb(126, 87, 194);
  133. }
  134. #core_drawer_panel {
  135. position: absolute;
  136. top: 0px;
  137. right: 0px;
  138. bottom: 0px;
  139. left: 0px;
  140. width: 100%;
  141. height: 100%;
  142. }
  143. #section1 {
  144. height: 100%;
  145. box-sizing: border-box;
  146. background-color: rgb(221, 221, 221);
  147. }
  148. #core_header_panel {
  149. width: 100%;
  150. height: 100%;
  151. left: 0px;
  152. top: 0px;
  153. position: absolute;
  154. background-color: rgb(255, 255, 255);
  155. }
  156. #core_toolbar {
  157. color: rgb(255, 255, 255);
  158. opacity: 1;
  159. background-color: rgb(0, 128, 255);
  160. }
  161. #toolBarHeader {
  162. background-color: rgb(0, 128, 255);
  163. }
  164. #mainPageMenu {
  165. background-color: rgb(0, 128, 255);
  166. }
  167. </style>
  168. <core-drawer-panel transition id="mainPageDrawer" touch-action>
  169. <section id="section" drawer></section>
  170. <section id="section1" main>
  171. <core-header-panel mode="standard" id="core_header_panel">
  172. <core-toolbar id="toolBarHeader" center>
  173. <core-icon-button icon="menu" id="mainPageMenu" paper-drawer-toggle></core-icon-button>
  174. <div id="div">Header</div>
  175. </core-toolbar>
  176. <section id="section2"></section>
  177. </core-header-panel>
  178. </section>
  179. </core-drawer-panel>
  180. </template>
  181.  
  182. <script>
  183.  
  184. Polymer({
  185.  
  186. });
  187.  
  188. </script>
  189.  
  190. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement