Advertisement
Guest User

Untitled

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