Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. <link rel="import" href="../paper-button/paper-button.html">
  2. <link rel="import" href="../topeka-elements/category-icons.html">
  3. <link rel="import" href="../core-icon/core-icon.html">
  4. <link rel="import" href="../topeka-elements/category-images.html">
  5. <link rel="import" href="../core-icons/core-icons.html">
  6. <link rel="import" href="../core-icons/av-icons.html">
  7. <link rel="import" href="../paper-fab/paper-fab.html">
  8. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  9. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  10. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  11. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  12. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  13. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  14.  
  15. <polymer-element name="my-element">
  16.  
  17. <template>
  18. <style>
  19. :host {
  20. position: absolute;
  21. width: 100%;
  22. height: 100%;
  23. box-sizing: border-box;
  24. }
  25. #section {
  26. box-sizing: border-box;
  27. width: 420px;
  28. height: 582px;
  29. left: 150px;
  30. top: 130px;
  31. position: absolute;
  32. }
  33. #section1 {
  34. background-color: rgb(255, 255, 141);
  35. }
  36. #core_icon {
  37. height: 256px;
  38. width: 256px;
  39. z-index: 100;
  40. }
  41. #div {
  42. box-sizing: border-box;
  43. position: relative;
  44. height: 80px;
  45. padding: 24px;
  46. color: rgb(255, 255, 255);
  47. font-size: 32px;
  48. background-color: rgb(255, 235, 59);
  49. }
  50. #div2 {
  51. position: absolute;
  52. color: rgb(255, 255, 255);
  53. bottom: 50px;
  54. right: 24px;
  55. }
  56. #paper_fab {
  57. background-color: rgb(255, 64, 129);
  58. }
  59. #section2 {
  60. box-sizing: border-box;
  61. width: 420px;
  62. height: 582px;
  63. left: 600px;
  64. top: 100px;
  65. position: absolute;
  66. }
  67. #toolbar {
  68. box-sizing: border-box;
  69. height: 15%;
  70. position: relative;
  71. color: rgb(255, 255, 255);
  72. font-size: 48px;
  73. background-color: rgb(0, 187, 211);
  74. }
  75. #tiles-container {
  76. padding-left: 3px;
  77. height: 85%;
  78. }
  79. #tile-profile {
  80. box-sizing: border-box;
  81. float: left;
  82. height: 30%;
  83. width: 48%;
  84. margin: 3px;
  85. background-color: rgb(204, 204, 204);
  86. }
  87. #core_icon1 {
  88. height: 128px;
  89. width: 128px;
  90. }
  91. #div3 {
  92. padding: 8px;
  93. color: rgb(255, 255, 255);
  94. background-color: rgb(170, 170, 170);
  95. }
  96. #tile-general {
  97. box-sizing: border-box;
  98. float: left;
  99. height: 30%;
  100. width: 48%;
  101. margin: 3px;
  102. }
  103. #section4 {
  104. background-color: rgb(255, 255, 141);
  105. }
  106. #core_icon2 {
  107. height: 128px;
  108. width: 128px;
  109. }
  110. #div4 {
  111. padding: 8px;
  112. color: rgb(255, 255, 255);
  113. background-color: rgb(255, 235, 59);
  114. }
  115. #div5 {
  116. box-sizing: border-box;
  117. float: left;
  118. height: 30%;
  119. width: 48%;
  120. margin: 3px;
  121. background-color: rgb(185, 246, 202);
  122. }
  123. #core_icon3 {
  124. height: 128px;
  125. width: 128px;
  126. }
  127. #div6 {
  128. padding: 8px;
  129. color: rgb(255, 255, 255);
  130. background-color: rgb(15, 157, 88);
  131. }
  132. #div7 {
  133. box-sizing: border-box;
  134. float: left;
  135. height: 30%;
  136. width: 48%;
  137. margin: 3px;
  138. background-color: rgb(255, 138, 128);
  139. }
  140. #core_icon4 {
  141. height: 128px;
  142. width: 128px;
  143. }
  144. #div8 {
  145. padding: 8px;
  146. color: rgb(255, 255, 255);
  147. background-color: rgb(219, 68, 55);
  148. }
  149. #div9 {
  150. box-sizing: border-box;
  151. float: left;
  152. height: 30%;
  153. width: 48%;
  154. margin: 3px;
  155. background-color: rgb(130, 177, 255);
  156. }
  157. #core_icon5 {
  158. height: 128px;
  159. width: 128px;
  160. }
  161. #div10 {
  162. padding: 8px;
  163. color: rgb(255, 255, 255);
  164. background-color: rgb(66, 133, 244);
  165. }
  166. #div11 {
  167. box-sizing: border-box;
  168. float: left;
  169. height: 30%;
  170. width: 48%;
  171. margin: 3px;
  172. background-color: rgb(179, 136, 255);
  173. }
  174. #core_icon6 {
  175. height: 128px;
  176. width: 128px;
  177. }
  178. #div12 {
  179. padding: 8px;
  180. color: rgb(255, 255, 255);
  181. background-color: rgb(126, 87, 194);
  182. }
  183. #paper_button {
  184. left: 1230px;
  185. top: 580px;
  186. position: absolute;
  187. width: 120px;
  188. height: 30px;
  189. }
  190. #core_animated_pages {
  191. width: 420px;
  192. height: 582px;
  193. overflow: hidden;
  194. left: 1080px;
  195. top: 130px;
  196. position: absolute;
  197. background-color: rgb(238, 238, 238);
  198. }
  199. </style>
  200. <paper-button id="paper_button">button</paper-button>
  201. <section id="section2" layout vertical designmeta="quiz-demo-grid">
  202. <div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout>
  203. <span id="span1">Quiz Demo</span>
  204. </div>
  205. <div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative>
  206. <div id="tile-profile" class="tile" layout vertical relative>
  207. <section id="section3" class="tile-top" flex layout horizontal center center-justified>
  208. <core-icon icon="category-icons:food" id="core_icon1" designmeta="topeka-icon"></core-icon>
  209. </section>
  210. <div id="div3" class="tile-bottom">
  211. Category 1
  212. </div>
  213. </div>
  214. <div id="tile-general" class="tile" layout vertical relative>
  215. <section id="section4" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
  216. <core-icon icon="category-icons:knowledge" id="core_icon2" cross-fade-delayed designmeta="topeka-icon"></core-icon>
  217. </section>
  218. <div id="div4" class="tile-bottom" hero hero-id="bottom">
  219. <span id="span2">General Knowledge</span>
  220. </div>
  221. </div>
  222. <div id="div5" class="tile" layout vertical relative>
  223. <section id="section5" class="tile-top" flex layout horizontal center center-justified>
  224. <core-icon icon="category-icons:history" id="core_icon3" designmeta="topeka-icon"></core-icon>
  225. </section>
  226. <div id="div6" class="tile-bottom">
  227. Category 2
  228. </div>
  229. </div>
  230. <div id="div7" class="tile" layout vertical relative>
  231. <section id="section6" class="tile-top" flex layout horizontal center center-justified>
  232. <core-icon icon="category-icons:geography" id="core_icon4" designmeta="topeka-icon"></core-icon>
  233. </section>
  234. <div id="div8" class="tile-bottom">
  235. Category 3
  236. </div>
  237. </div>
  238. <div id="div9" class="tile" layout vertical relative>
  239. <section id="section7" class="tile-top" flex layout horizontal center center-justified>
  240. <core-icon icon="category-icons:entertainment" id="core_icon5" designmeta="topeka-icon"></core-icon>
  241. </section>
  242. <div id="div10" class="tile-bottom">
  243. Category 4
  244. </div>
  245. </div>
  246. <div id="div11" class="tile" layout vertical relative>
  247. <section id="section8" class="tile-top" flex layout horizontal center center-justified>
  248. <core-icon icon="category-icons:music" id="core_icon6" designmeta="topeka-icon"></core-icon>
  249. </section>
  250. <div id="div12" class="tile-bottom">
  251. Category 5
  252. </div>
  253. </div>
  254. </div>
  255. </section>
  256. <section id="section" layout vertical>
  257. <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
  258. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  259. </section>
  260. <div id="div" class="bottom" hero hero-id="bottom">
  261. <span id="span">General Knowledge</span>
  262. </div>
  263. <div id="div1" hero class="dummy"></div>
  264. <div id="div2" class="fab fab-0">
  265. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  266. </div>
  267. </section>
  268. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  269. <section id="section9" layout horizontal center center-justified active>
  270. </section>
  271. <section id="section10">
  272. </section>
  273. <section id="section11">
  274. </section>
  275. </core-animated-pages>
  276. </template>
  277.  
  278. <script>
  279.  
  280. Polymer({
  281.  
  282. });
  283.  
  284. </script>
  285.  
  286. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement